Schema: NativeMedicamentoDTO
All schemas · API reference · Data mapping guide
Fields
Section titled “Fields”| Field | Required | Type / allowed values |
|---|---|---|
codPrestador |
Yes | string |
numAutorizacion |
No | union |
idMIPRES |
No | union |
fechaDispensAdmon |
Yes | string |
codDiagnosticoPrincipal |
Yes | string |
codDiagnosticoRelacionado |
No | union |
tipoMedicamento |
Yes | string |
codTecnologiaSalud |
Yes | string |
nomTecnologiaSalud |
No | union |
concentracionMedicamento |
No | integer |
unidadMedida |
No | integer |
formaFarmaceutica |
No | string or null |
unidadMinDispensa |
No | integer |
cantidadMedicamento |
No | integer |
diasTratamiento |
No | integer |
tipoDocumentoIdentificacion |
No | union |
numDocumentoIdentificacion |
No | union |
vrUnitMedicamento |
Yes | number |
vrServicio |
Yes | number |
vrDispensacion |
Yes | number |
conceptoRecaudo |
Yes | string |
valorPagoModerador |
Yes | number |
numFEVPagoModerador |
No | union |
codDiagnosticoPrincipalECIE11 |
No | union |
nomCodDiagnosticoPrincipalECIE11 |
No | union |
codDiagnosticoPrincipalCIE11 |
No | union |
nomCodDiagnosticoPrincipalCIE11 |
No | union |
codDiagnosticoRelacionadoCIE11 |
No | union |
nomCodDiagnosticoRelacionadoCIE11 |
No | union |
codigoVIDA |
No | union |
consecutivo |
Yes | integer |
JSON definition
Section titled “JSON definition”The JSON retains the source contract descriptions. Do not translate property names or enum values.
{ "type": "object", "properties": { "codPrestador": { "type": "string", "minLength": 3, "maxLength": 12, "description": "Código verificado del prestador o sede: use providerCodes de GET /rips-packages/context. No es el documento del profesional." }, "numAutorizacion": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string" }, { "type": "null" } ] }, "idMIPRES": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "pattern": "^[0-9]{1,19}$" }, { "type": "null" } ] }, "fechaDispensAdmon": { "type": "string", "pattern": "[1-2]{1}[9|0]{1}[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) (2[0-3]|[01][0-9]):[0-5][0-9]", "description": "Hora local clínica en formato AAAA-MM-DD HH:mm. No convertir este campo a una marca UTC." }, "codDiagnosticoPrincipal": { "type": "string", "minLength": 4, "maxLength": 4 }, "codDiagnosticoRelacionado": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 4, "maxLength": 4 }, { "type": "null" } ] }, "tipoMedicamento": { "type": "string", "minLength": 2, "maxLength": 2 }, "codTecnologiaSalud": { "type": "string", "minLength": 1, "maxLength": 20 }, "nomTecnologiaSalud": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 128 }, { "type": "null" } ] }, "concentracionMedicamento": { "type": "integer", "minimum": 0, "maximum": 999 }, "unidadMedida": { "type": "integer", "minimum": 0, "maximum": 9999 }, "formaFarmaceutica": { "type": [ "string", "null" ], "minLength": 6, "maxLength": 8 }, "unidadMinDispensa": { "type": "integer", "minimum": 1, "maximum": 999 }, "cantidadMedicamento": { "type": "integer", "minimum": 0, "maximum": 9999999999 }, "diasTratamiento": { "type": "integer", "minimum": 0, "maximum": 999 }, "tipoDocumentoIdentificacion": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "enum": [ "", "CC", "CE", "CD", "PA", "SC", "PE", "DE", "PT" ] }, { "type": "null" } ], "description": "Identificación del profesional que prestó el servicio; no es la identificación del paciente." }, "numDocumentoIdentificacion": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 4, "maxLength": 20, "pattern": "^[a-zA-Z0-9]+$" }, { "type": "null" } ], "description": "Identificación del profesional que prestó el servicio; no es la identificación del paciente." }, "vrUnitMedicamento": { "type": "number", "minimum": 0, "maximum": 999999999999 }, "vrServicio": { "type": "number", "minimum": 0, "maximum": 999999999999 }, "vrDispensacion": { "type": "number", "minimum": 0, "maximum": 999999999999 }, "conceptoRecaudo": { "type": "string" }, "valorPagoModerador": { "type": "number", "minimum": 0, "maximum": 999999999999 }, "numFEVPagoModerador": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 30 }, { "type": "null" } ] }, "codDiagnosticoPrincipalECIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "nomCodDiagnosticoPrincipalECIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ] }, "codDiagnosticoPrincipalCIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ], "description": "Alias de entrada nativo; el envío usa el campo canónico. No envíe ambos con valores diferentes." }, "nomCodDiagnosticoPrincipalCIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ], "description": "Alias de entrada nativo; el envío usa el campo canónico. No envíe ambos con valores diferentes." }, "codDiagnosticoRelacionadoCIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "nomCodDiagnosticoRelacionadoCIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ] }, "codigoVIDA": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "consecutivo": { "type": "integer", "minimum": 1, "maximum": 999999 } }, "required": [ "codPrestador", "fechaDispensAdmon", "codDiagnosticoPrincipal", "tipoMedicamento", "codTecnologiaSalud", "vrUnitMedicamento", "vrServicio", "vrDispensacion", "conceptoRecaudo", "valorPagoModerador", "consecutivo" ], "description": "Estructura del perfil native-d558206. Las reglas clínicas, referencias y catálogos se verifican por separado."}