Commit 209bb46a by Cristian_Camargo

Update medicamentos-prescripciones.json

parent 1522a954
...@@ -211,6 +211,50 @@ ...@@ -211,6 +211,50 @@
] ]
} }
}, },
"/v2/medicamentos/prescripcion/neps": {
"get": {
"tags": [
"neps-medicamentos-prescripcion"
],
"summary": "Obtener prescripcion",
"description": "Obtener prescripcion de paciente",
"operationId": "obtenerPrescripcion.v2",
"parameters": [
{
"name": "idPrescripcion",
"in": "query",
"description": "Número de la prescripción que el operador desea consultar, esta información se lee directamente del sistema MIPRES de Nueva EPS.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Operación exitosa",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/obtenerPrescripcionNepsResponseV2"
}
}
}
},
"400": {
"description": "Estado inválido"
}
},
"security": [
{
"apigee_auth": [
"write:apigee",
"read:apigee"
]
}
]
}
},
"/v1/medicamentos/prescripcion/neps/autorizaciones": { "/v1/medicamentos/prescripcion/neps/autorizaciones": {
"post": { "post": {
"tags": [ "tags": [
...@@ -359,6 +403,124 @@ ...@@ -359,6 +403,124 @@
}, },
"components": { "components": {
"schemas": { "schemas": {
"obtenerPrescripcionNepsResponseV2": {
"type": "object",
"required": [
"resultado"
],
"properties": {
"resultado": {
"type": "array",
"xml": {
"name": "resultado"
},
"items": {
"$ref": "#/components/schemas/resultado"
}
},
"obtenerPrescripcion": {
"type": "array",
"items": {
"$ref": "#/components/schemas/obtenerPrescripcionNepsV2"
}
}
}
},
"obtenerPrescripcionNepsV2": {
"type": "object",
"properties": {
"paciente": {
"$ref": "#/components/schemas/pacienteNepsV2"
},
"formula": {
"$ref": "#/components/schemas/formulaNepsV2"
}
}
},
"formulaNepsV2": {
"type": "object",
"properties": {
"mipres": {
"type": "string",
"description": "Numero MIPRES"
},
"preautorizacion": {
"type": "string",
"description": "Numero de preautorizacion."
},
"autorizacion": {
"type": "string",
"description": "Numero de autorizacion"
},
"servicio": {
"type":"object",
"properties":{
"nombre": {
"type": "string",
"description": "Nombre del servicio."
}
}
},
"tratamiento": {
"type": "array",
"items":{
"$ref": "#/components/schemas/tratamientoNepsV2"
}
}
}
},
"tratamientoNepsV2": {
"type": "object",
"properties": {
"orden": {
"type": "string",
"description": "Numero de orden"
},
"numeroEntrega": {
"type": "string",
"description": "Numero de entrega"
},
"producto":{
"$ref": "#/components/schemas/productoNepsV2"
},
"cantidad": {
"type": "string",
"description": "Cantidad"
},
"dispensacion":{
"$ref": "#/components/schemas/dispensacionNepsV2"
}
}
},
"dispensacionNepsV2": {
"type": "object",
"properties": {
"sucursal": {
"type": "string",
"description": "Sucursal de dispensacion."
}
}
},
"productoNepsV2": {
"type": "object",
"properties": {
"mapis": {
"type": "string",
"description": "Numero de entrega"
},
"tecnologia": {
"$ref": "#/components/schemas/tecnologia"
}
}
},
"pacienteNepsV2": {
"type": "object",
"properties": {
"documento": {
"$ref": "#/components/schemas/documento"
}
}
},
"obtenerPrescripcionCoomResponseV2": { "obtenerPrescripcionCoomResponseV2": {
"type": "object", "type": "object",
"required": [ "required": [
...@@ -464,18 +626,18 @@ ...@@ -464,18 +626,18 @@
"properties": { "properties": {
"orden": { "orden": {
"type": "string", "type": "string",
"description": "Telefono del prestador" "description": "Numero de orden"
}, },
"numeroEntrega": { "numeroEntrega": {
"type": "string", "type": "string",
"description": "Telefono del prestador" "description": "Numero de entrega"
}, },
"producto":{ "producto":{
"$ref": "#/components/schemas/productoCoom" "$ref": "#/components/schemas/productoCoom"
}, },
"cantidad": { "cantidad": {
"type": "string", "type": "string",
"description": "Telefono del prestador" "description": "Cantidad"
}, },
"dosis":{ "dosis":{
"$ref": "#/components/schemas/dosisCoomV2" "$ref": "#/components/schemas/dosisCoomV2"
......
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