Commit 1522a954 by Cristian_Camargo

Update medicamentos-prescripciones.json

parent 3178bda1
...@@ -307,8 +307,51 @@ ...@@ -307,8 +307,51 @@
} }
] ]
} }
},
"/v2/medicamentos/prescripcion/coom": {
"get": {
"tags": [
"coom-medicamentos-prescripcion"
],
"summary": "Obtener prescripcion",
"description": "Obtener prescripción paciente",
"operationId": "obtenerPrescripcionCoomeva.v2",
"parameters": [
{
"name": "idPrescripcion",
"in": "query",
"description": "Número de la prescripcion.",
"required": true,
"schema": {
"type": "number"
}
}
],
"responses": {
"200": {
"description": "Operación exitosa",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/obtenerPrescripcionCoomResponseV2"
}
}
}
},
"400": {
"description": "Estado inválido"
}
},
"security": [
{
"apigee_auth": [
"write:apigee",
"read:apigee"
]
}
]
}
} }
}, },
"externalDocs": { "externalDocs": {
"description": "Encontrar más información en EnterpriseArchitect", "description": "Encontrar más información en EnterpriseArchitect",
...@@ -316,6 +359,292 @@ ...@@ -316,6 +359,292 @@
}, },
"components": { "components": {
"schemas": { "schemas": {
"obtenerPrescripcionCoomResponseV2": {
"type": "object",
"required": [
"resultado"
],
"properties": {
"resultado": {
"type": "array",
"xml": {
"name": "resultado"
},
"items": {
"$ref": "#/components/schemas/resultado"
}
},
"obtenerPrescripcion": {
"type": "array",
"items": {
"$ref": "#/components/schemas/obtenerPrescripcionCoomV2"
}
}
}
},
"obtenerPrescripcionCoomV2": {
"type": "object",
"properties": {
"paciente": {
"$ref": "#/components/schemas/pacienteCoomV2"
},
"formula": {
"$ref": "#/components/schemas/formulaCoomV2"
}
}
},
"formulaCoomV2": {
"type": "object",
"properties": {
"mipres": {
"type": "string",
"description": "Numero MIPRES"
},
"autorizacion": {
"type": "string",
"description": "Numero de autorizacion"
},
"observaciones": {
"type": "string",
"description": "Observaciones"
},
"canal": {
"type": "string",
"description": "Canal"
},
"fechaServicio": {
"type": "string",
"format": "date-time",
"description": "Fecha del servicio."
},
"fechaVencimiento": {
"type": "string",
"format": "date-time",
"description": "Fecha de vencimiento."
},
"orden": {
"type": "string",
"description": "Numero de orden."
},
"fechaSolicitud": {
"type": "string",
"format": "date-time",
"description": "Fecha de solicitud."
},
"contratacion": {
"type": "string",
"description": "Tipo de contratacion."
},
"cobro": {
"$ref": "#/components/schemas/cobro"
},
"actividad": {
"type": "string",
"description": "Actividad."
},
"servicio": {
"$ref": "#/components/schemas/servicioCoomV2"
},
"autorizador": {
"$ref": "#/components/schemas/autorizadorCoomV2"
},
"prestador": {
"$ref": "#/components/schemas/prestadorCoomV2"
},
"tratamiento": {
"type": "array",
"items":{
"$ref": "#/components/schemas/tratamientoCoomV2"
}
},
}
},
"tratamientoCoomV2": {
"type": "object",
"properties": {
"orden": {
"type": "string",
"description": "Telefono del prestador"
},
"numeroEntrega": {
"type": "string",
"description": "Telefono del prestador"
},
"producto":{
"$ref": "#/components/schemas/productoCoom"
},
"cantidad": {
"type": "string",
"description": "Telefono del prestador"
},
"dosis":{
"$ref": "#/components/schemas/dosisCoomV2"
}
}
},
"dosisCoomV2": {
"type": "object",
"properties": {
"duracion": {
"type": "object",
"properties": {
"cantidad": {
"type": "string",
"description": "Cantidad de duracion."
}
}
},
"indicacionesEspeciales": {
"type": "string",
"description": "Indicaciones especiales."
}
}
},
"prestadorCoomV2": {
"type": "object",
"properties": {
"codigo": {
"type": "string",
"description": "Codigo de ips"
},
"documento":{
"$ref": "#/components/schemas/documentoCoom"
},
"nombre":{
"type": "object",
"properties":{
"razonSocial": {
"type": "string",
"description": "Nombre de razon social."
},
}
},
"direccion":{
"$ref": "#/components/schemas/direccion"
},
"telefono": {
"type": "string",
"description": "Telefono del prestador"
},
"ordenador":{
"$ref": "#/components/schemas/ordenador"
}
}
},
"autorizadorCoomV2": {
"type": "object",
"properties": {
"nombre": {
"type": "object",
"properties":{
"completo": {
"type": "string",
"description": "Nombre completo."
},
}
},
"cargo": {
"$ref": "#/components/schemas/cargo"
},
"telefono": {
"type": "string",
"description": "Telefono de autorizador"
},
"extension": {
"type": "string",
"description": "Extension de autorizador"
},
"telefonoAlternativo": {
"type": "string",
"description": "Telefono alternativo de autorizador"
},
"celular": {
"type": "string",
"description": "Celular de autorizador"
}
}
},
"servicioCoomV2": {
"type": "object",
"properties": {
"codigo": {
"type": "string",
"description": "Codigo del servicio."
},
"hospitalizacion": {
"$ref": "#/components/schemas/hospitalizacion"
},
"guiaAtencion": {
"type": "string",
"description": "Guia de atencion."
}
}
},
"pacienteCoomV2": {
"type": "object",
"properties": {
"documento": {
"$ref": "#/components/schemas/documento"
},
"nombre": {
"$ref": "#/components/schemas/nombre"
},
"fechaNacimiento": {
"type": "string",
"format": "date-time",
"description": "Fecha de nacimiento."
},
"direccion": {
"$ref": "#/components/schemas/direccionCoomV2"
},
"telefono": {
"type": "string",
"description": "Telefono del paciente."
},
"direccionPrincipal": {
"type": "string",
"description": "Direccion principal del paciente."
},
"regimen": {
"$ref": "#/components/schemas/regimen"
},
"semanasCotizadas": {
"type": "string",
"description": "Semanas cotizadas del paciente."
},
"celular": {
"type": "string",
"description": "Celular del paciente."
},
"correoElectronico": {
"type": "string",
"description": "Correo electronico del paciente."
}
}
},
"direccionCoomV2": {
"type": "object",
"properties": {
"departamento": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Numero de identificacion del departamento."
}
}
},
"ciudad": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Numero de identificacion de la ciudad."
}
}
},
}
},
"anexoAutorizacion": { "anexoAutorizacion": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -3049,4 +3378,4 @@ ...@@ -3049,4 +3378,4 @@
} }
} }
} }
} }
\ No newline at end of file
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