Update salud-eps.json

parent 3fa0c4fa
......@@ -678,6 +678,59 @@
}
}
},
"/v2/pacientes": {
"get": {
"tags": [
"cols-salud-paciente"
],
"summary": "Consulta de datos del paciente",
"description": "Servicio de consulta de datos de paciente, buscando por tipo de identificación y número de identificación.",
"operationId": "getDatosPacientePorDocumento",
"parameters": [
{
"name": "tipoId",
"in": "query",
"description": "Tipo de identificacion.<br>CC - Cedula<br>NIT - NIT",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "numId",
"in": "query",
"description": "Número de identificación",
"required": true,
"schema": {
"type": "number"
}
}
],
"responses": {
"200": {
"description": "Operación exitosa",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/getDatosPacientePorDocumentoResponse"
}
}
}
},
"400": {
"description": "Estado inválido"
}
},
"security": [
{
"apigee_auth": [
"write:apigee",
"read:apigee"
]
}
]
}
},
"/v2/pacientes/convenio": {
"get": {
"tags": [
......@@ -1717,6 +1770,10 @@
"paciente": {
"type": "object",
"properties": {
"id":{
"type":"number",
"description": "Id del paciente, no llega en el servicio /detalle."
},
"documento": {
"$ref": "#/components/schemas/documento"
},
......@@ -1740,7 +1797,8 @@
"type": "boolean"
},
"fechaNacimiento": {
"type": "string"
"type": "string",
"format": "date-time"
},
"genero": {
"$ref": "#/components/schemas/genero"
......@@ -2597,6 +2655,26 @@
}
}
},
"getDatosPacientePorDocumentoResponse": {
"type": "object",
"required": [
"resultados"
],
"properties": {
"resultados": {
"type": "array",
"xml": {
"name": "resultado"
},
"items": {
"$ref": "#/components/schemas/resultado"
}
},
"paciente": {
"$ref": "#/components/schemas/paciente"
}
}
},
"convenioPacienteResponse": {
"type": "object",
"required": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment