Update salud-eps.json

parent 7a17365b
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
], ],
"responses": { "responses": {
"200": { "200": {
"description": "successful operation", "description": "Operación exitosa",
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
} }
}, },
"400": { "400": {
"description": "Invalid status value" "description": "Estado inválido"
} }
}, },
"security": [ "security": [
...@@ -144,6 +144,162 @@ ...@@ -144,6 +144,162 @@
"name": "resultado" "name": "resultado"
} }
}, },
"documento": {
"type": "object",
"properties": {
"tipo": {
"type": "string",
"description": "Tipo de documento"
},
"numero": {
"type": "string",
"description": "Número de identificación del documento"
}
},
"xml": {
"name": "documento"
}
},
"nombre": {
"type": "object",
"properties": {
"primero": {
"type": "string",
"description": "Primer nombre"
},
"segundo": {
"type": "string",
"description": "Segundo nombre"
},
"primerApellido": {
"type": "string",
"description": "Primer apellido"
},
"segundoApellido": {
"type": "string",
"description": "Segundo apellido"
}
},
"xml": {
"name": "nombre"
}
},
"categoria": {
"type": "object",
"properties": {
"codigo": {
"type": "string",
"description": "Código de la categoría"
}
},
"xml": {
"name": "categoria"
}
},
"tipo": {
"type": "object",
"properties": {
"codigo": {
"type": "string",
"description": "Código del tipo"
}
},
"xml": {
"name": "tipo"
}
},
"estado": {
"type": "object",
"properties": {
"codigo": {
"type": "string",
"description": "Código del estado"
}
},
"xml": {
"name": "estado"
}
},
"convenio": {
"type": "object",
"properties": {
"codigo": {
"type": "string",
"description": "Código del convenio"
},
"estado": {
"type": "string",
"description": "Estado del convenio"
},
"nombre": {
"type": "string",
"description": "Nombre del convenio"
},
"clase": {
"type": "string",
"description": "Clase del convenio"
}
},
"xml": {
"name": "convenio"
}
},
"eps": {
"type": "object",
"properties": {
"documento": {
"$ref": "#/components/schemas/documento"
},
"nombre": {
"type": "string",
"description": "Nombre de la EPS"
},
"convenio": {
"$ref": "#/components/schemas/convenio"
}
},
"xml": {
"name": "eps"
}
},
"afiliado": {
"type": "object",
"properties": {
"fechaComprobacion": {
"type": "string",
"description": "Fecha de comprobación",
"format": "date-time"
},
"documento": {
"$ref": "#/components/schemas/documento"
},
"nombre": {
"$ref": "#/components/schemas/nombre"
},
"categoria": {
"$ref": "#/components/schemas/categoria"
},
"tipo": {
"$ref": "#/components/schemas/tipo"
},
"estado": {
"$ref": "#/components/schemas/estado"
},
"semanasCotizadas": {
"type": "integer",
"description": "Semanas cotizadas"
},
"convenio": {
"$ref": "#/components/schemas/convenio"
},
"eps": {
"$ref": "#/components/schemas/eps"
}
},
"xml": {
"name": "afiliado"
}
},
"validadorPacienteResponse": { "validadorPacienteResponse": {
"type": "object", "type": "object",
"required": [ "required": [
...@@ -158,6 +314,9 @@ ...@@ -158,6 +314,9 @@
"items": { "items": {
"$ref": "#/components/schemas/resultado" "$ref": "#/components/schemas/resultado"
} }
},
"afiliado": {
"$ref": "#/components/schemas/afiliado"
} }
} }
} }
......
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