Vacunas
Aquí se presentan todos los recursos que se utilizaron para mapear la información de las Vacunas.
- Definición de estructura para los datos de las Vacunas, aqui se definen principalmente los campos utilizados del recurso Immunization de HL7 FHIR. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/immunizationapimin.
| Immunization_apimin (Immunization) | http://hl7.org/fhir/StructureDefinition/Immunization | ||
| vaccineCode | |||
| coding | |||
| code | |||
| text | |||
| patient | Reference(Patient_apimin) | ||
| date | |||
| location | Reference(Location_apimin) | ||
| lotNumber | |||
| doseQuantity | |||
| explanation | |||
| reason | |||
| text | |||
| reaction | |||
| detail | Reference(Observation_apimin) |
- Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapimin.
| Patient_apimin (Patient) | http://hl7.org/fhir/StructureDefinition/Patient | ||
| identifier | S | 1.. | |
| system | |||
| value | S | ||
| birthDate | S |
- Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/observationapimin.
| Observation_apimin (Observation) | http://hl7.org/fhir/StructureDefinition/Observation | ||
| category | |||
| coding | |||
| system | |||
| code | |||
| code | |||
| text | |||
| value[x] | |||
| valueQuantity | Quantity | ||
| valueString | string |
- Definición de estructura para los datos del lugar el cual pertenece a la organización que relizó la vacuna. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/locationapimin.
| Location_apimin (Location) | http://hl7.org/fhir/StructureDefinition/Location | ||
| address | |||
| text | |||
| managingOrganization | Reference(Organization_apimin) |
- Definición de estructura para los datos del establecimiento. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/organizationapimin.
| Organization_apimin (Organization) | http://hl7.org/fhir/StructureDefinition/Organization | ||
| identifier | S | 1.. | |
| system | S | ||
| value | S | ||
| name | S |
Parámetros de Búsqueda Vacunas
| Nombre | Tipo | Descripción | Expresión | Ejemplo |
|---|---|---|---|---|
| patient | token | Utilizado como el rut del paciente sin dígito verificador | Immunization.patient | patient.identifier=1111111 |
| _tag | token | Utilizado como parámetro identificador de esquema de datos por minsal | _tag | _tag=vacunas |
| date | date | Fecha de la vacuna en formato YYYY-MM-DD | Immunization.date | date=2018-10-12 date=ge2018-10-12 date=lt2018-10-12 |
| vaccine-code | token | Tipo de programa de Vacuna | Immunization.vaccineCode | vaccine-code=INTERNACIONAL |
Prefijos implementados para búsquedas por fecha
| Expresión | Definición | Ejemplo | Significado |
|---|---|---|---|
| ge | Mayor o Igual que | ge2018-10-12 | Resultados con fecha posterior o igual a 2018-10-12 |
| lt | Menor que | lt2018-10-12 | Resultados con fecha anterior a 2018-10-12 |
Referencia: Documentación completa en FHIR
Ejemplos de búsqueda
- Búsqueda solo por rut
GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868 - Búsqueda por rut y rango de fechas
GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868&date=ge2016-01-03&date=lt2018-01-03 - Búsqueda por rut y tipo de vacunas
GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868&vaccine-code=INTERNACIONAL - Búsqueda por rut, rango de fechas y tipo
GET [base]/Immunization?_tag=vacunas&patient.identifer=23504868&vaccine-code=INTERNACIONAL&date=ge2016-01-03&date=lt2018-01-03
Ejemplo de response
{
"resourceType": "Bundle",
"id": "a18a0678-4f04-4164-bbe4-68da979e53d4",
"meta": {
"lastUpdated": "2018-08-14T20:11:53.048-03:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "http://localhost:8080/hospital-digital-fhir-server/fhir/Immunization?_format=html%2Fjson&_tag=vacunas&date=ge2016-01-03&date=lt2018-01-03&patient.identifer=23504868"
}
],
"entry": [
{
"fullUrl": "http://localhost:8080/hospital-digital-fhir-server/fhir/Immunization/v110742600",
"resource": {
"resourceType": "Immunization",
"id": "v110742600",
"contained": [
{
"resourceType": "Organization",
"id": "o1",
"identifier": [
{
"system": "http://www.deis.cl",
"value": "9999"
}
]
},
{
"resourceType": "Patient",
"id": "p1",
"identifier": [
{
"system": "https://www.srcei.cl/RUT",
"value": "23504868"
}
]
},
{
"resourceType": "Location",
"id": "l1",
"managingOrganization": {
"reference": "#o1"
}
},
{
"resourceType": "Observation",
"id": "ob1",
"status": "registered",
"code": {
"text": "indeterminado"
},
"valueString": "SinReaccion"
}
],
"vaccineCode": {
"text": "INTERNACIONAL"
},
"patient": {
"reference": "#p1"
},
"date": "2016-01-05T00:00:00-03:00",
"location": {
"reference": "#l1"
},
"lotNumber": "L5058-3",
"doseQuantity": {
"code": "Única (0,5ml)"
},
"explanation": {
"reason": [
{
"text": "CRITERIO_ELEGIBILIDAD GLOSA"
}
]
},
"reaction": [
{
"detail": {
"reference": "#ob1"
}
}
]
}
}
]
}