Schema: NativeConsultaDTO
All schemas · API reference · Data mapping guide
Fields
Section titled “Fields”| Field | Required | Type / allowed values |
|---|---|---|
codPrestador |
Yes | string |
fechaInicioAtencion |
Yes | string |
numAutorizacion |
No | union |
codConsulta |
No | string or null |
modalidadGrupoServicioTecSal |
Yes | string |
grupoServicios |
Yes | string |
codServicio |
Yes | integer |
finalidadTecnologiaSalud |
Yes | string |
causaMotivoAtencion |
Yes | string |
codDiagnosticoPrincipal |
Yes | string |
codDiagnosticoRelacionado1 |
No | union |
codDiagnosticoRelacionado2 |
No | union |
codDiagnosticoRelacionado3 |
No | union |
tipoDiagnosticoPrincipal |
Yes | string |
tipoDocumentoIdentificacion |
Yes | CC, CE, CD, PA, SC, PE, DE, PT |
numDocumentoIdentificacion |
Yes | string |
vrServicio |
Yes | number |
conceptoRecaudo |
Yes | string |
valorPagoModerador |
Yes | number |
numFEVPagoModerador |
No | union |
codigoVIDA |
No | union |
codDiagnosticoPrincipalCIE11 |
No | union |
nomCodDiagnosticoPrincipalCIE11 |
No | union |
codDiagnosticoPrincipalECIE11 |
No | union |
nomCodDiagnosticoPrincipalECIE11 |
No | union |
codDiagnosticoRelacionado1CIE11 |
No | union |
nomCodDiagnosticoRelacionado1CIE11 |
No | union |
codDiagnosticoRelacionado2CIE11 |
No | union |
nomCodDiagnosticoRelacionado2CIE11 |
No | union |
codDiagnosticoRelacionado3CIE11 |
No | union |
nomCodDiagnosticoRelacionado3CIE11 |
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": 12, "maxLength": 12, "description": "Código verificado del prestador o sede: use providerCodes de GET /rips-packages/context. No es el documento del profesional." }, "fechaInicioAtencion": { "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." }, "numAutorizacion": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 30 }, { "type": "null" } ] }, "codConsulta": { "type": [ "string", "null" ], "minLength": 6, "maxLength": 6 }, "modalidadGrupoServicioTecSal": { "type": "string", "minLength": 2, "maxLength": 2 }, "grupoServicios": { "type": "string", "minLength": 2, "maxLength": 2 }, "codServicio": { "type": "integer", "minimum": 100, "maximum": 9999 }, "finalidadTecnologiaSalud": { "type": "string", "minLength": 2, "maxLength": 2 }, "causaMotivoAtencion": { "type": "string", "minLength": 2, "maxLength": 2 }, "codDiagnosticoPrincipal": { "type": "string", "minLength": 4, "maxLength": 4 }, "codDiagnosticoRelacionado1": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 4, "maxLength": 4, "pattern": "^\\S+$" }, { "type": "null" } ] }, "codDiagnosticoRelacionado2": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 4, "maxLength": 4 }, { "type": "null" } ] }, "codDiagnosticoRelacionado3": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 4, "maxLength": 4 }, { "type": "null" } ] }, "tipoDiagnosticoPrincipal": { "type": "string", "minLength": 2, "maxLength": 2 }, "tipoDocumentoIdentificacion": { "type": "string", "enum": [ "CC", "CE", "CD", "PA", "SC", "PE", "DE", "PT" ], "description": "Identificación del profesional que prestó el servicio; no es la identificación del paciente." }, "numDocumentoIdentificacion": { "type": "string", "minLength": 2, "maxLength": 20, "pattern": "^[a-zA-Z0-9]+$", "description": "Identificación del profesional que prestó el servicio; no es la identificación del paciente." }, "vrServicio": { "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" } ] }, "codigoVIDA": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "codDiagnosticoPrincipalCIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "nomCodDiagnosticoPrincipalCIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ] }, "codDiagnosticoPrincipalECIE11": { "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." }, "nomCodDiagnosticoPrincipalECIE11": { "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." }, "codDiagnosticoRelacionado1CIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "nomCodDiagnosticoRelacionado1CIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ] }, "codDiagnosticoRelacionado2CIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "nomCodDiagnosticoRelacionado2CIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ] }, "codDiagnosticoRelacionado3CIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 256 }, { "type": "null" } ] }, "nomCodDiagnosticoRelacionado3CIE11": { "anyOf": [ { "type": "string", "enum": [ "" ] }, { "type": "string", "minLength": 0, "maxLength": 1000 }, { "type": "null" } ] }, "consecutivo": { "type": "integer", "minimum": 1, "maximum": 999999 } }, "required": [ "codPrestador", "fechaInicioAtencion", "modalidadGrupoServicioTecSal", "grupoServicios", "codServicio", "finalidadTecnologiaSalud", "causaMotivoAtencion", "codDiagnosticoPrincipal", "tipoDiagnosticoPrincipal", "tipoDocumentoIdentificacion", "numDocumentoIdentificacion", "vrServicio", "conceptoRecaudo", "valorPagoModerador", "consecutivo" ], "description": "Estructura del perfil native-d558206. Las reglas clínicas, referencias y catálogos se verifican por separado."}