From 209bb46a9c59fd5ed1f6fea8b565c89231121fe2 Mon Sep 17 00:00:00 2001 From: Cristian_Camargo Date: Mon, 8 Jul 2019 19:17:47 +0000 Subject: [PATCH] Update medicamentos-prescripciones.json --- apigee/medicamentos-prescripciones.json | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 166 insertions(+), 4 deletions(-) diff --git a/apigee/medicamentos-prescripciones.json b/apigee/medicamentos-prescripciones.json index 49a6cdc..6e25aea 100644 --- a/apigee/medicamentos-prescripciones.json +++ b/apigee/medicamentos-prescripciones.json @@ -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": { "post": { "tags": [ @@ -359,6 +403,124 @@ }, "components": { "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": { "type": "object", "required": [ @@ -464,18 +626,18 @@ "properties": { "orden": { "type": "string", - "description": "Telefono del prestador" + "description": "Numero de orden" }, "numeroEntrega": { "type": "string", - "description": "Telefono del prestador" + "description": "Numero de entrega" }, "producto":{ "$ref": "#/components/schemas/productoCoom" }, "cantidad": { "type": "string", - "description": "Telefono del prestador" + "description": "Cantidad" }, "dosis":{ "$ref": "#/components/schemas/dosisCoomV2" @@ -3378,4 +3540,4 @@ } } } -} \ No newline at end of file +} -- libgit2 0.26.0