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/immunizationvacunasv3.
| Immunization_Vacunas_v3 (Immunization) | http://hl7.org/fhir/StructureDefinition/Immunization | ||
| status | |||
| vaccineCode | |||
| coding | |||
| code | |||
| display | |||
| text | |||
| patient | Reference(Patient_apimin_v3) | ||
| date | |||
| location | Reference(Location_apimin_v3) | ||
| lotNumber | |||
| doseQuantity | |||
| explanation | |||
| reason | |||
| text | |||
| reaction | |||
| detail | Reference(Observation_apimin_v3) | ||
| vaccinationProtocol | |||
| series |
- Definición de estructura para los datos del paciente. También puedes encontrar el recurso en https://simplifier.net/test-api-minsal/patientapiminv3.
| Patient_apimin_v3 (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/observationapiminv3.
| Observation_apimin_v3 (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/locationapiminv3.
| Location_apimin_v3 (Location) | http://hl7.org/fhir/StructureDefinition/Location | ||
| identifier | |||
| system | |||
| value | |||
| name | |||
| address | |||
| text |
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 |
| 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?patient.identifer=23504868 - Búsqueda por rut y rango de fechas
GET [base]/Immunization?patient.identifer=23504868&date=ge2016-01-03&date=lt2018-01-03 - Búsqueda por rut y tipo de vacunas
GET [base]/Immunization?patient.identifer=23504868&vaccine-code=INTERNACIONAL - Búsqueda por rut, rango de fechas y tipo
GET [base]/Immunization?patient.identifer=23504868&vaccine-code=INTERNACIONAL&date=ge2016-01-03&date=lt2018-01-03
Ejemplo de response
{
"resourceType": "Bundle",
"id": "819c58ce-44ff-475a-9a76-c9f0c59b35a2",
"meta": {
"lastUpdated": "2019-01-15T09:43:35.354-03:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "http://192.168.60.24:8080/hospital-digital-fhir-server-3.0/fhir/Immunization?patient.identifer=23504868&vaccine-code=INTERNACIONAL"
}
],
"entry": [
{
"fullUrl": "http://192.168.60.24:8080/hospital-digital-fhir-server-3.0/fhir/Immunization/v242254420",
"resource": {
"resourceType": "Immunization",
"id": "v242254420",
"contained": [
{
"resourceType": "Patient",
"id": "p1",
"identifier": [
{
"system": "https://www.srcei.cl/RUT",
"value": "23504868"
}
]
},
{
"resourceType": "Location",
"id": "l1",
"identifier": [
{
"system": "http://www.deis.cl",
"value": "9999"
}
],
"name": "Clínica Alemana"
},
{
"resourceType": "Observation",
"id": "ob1",
"status": "registered",
"code": {
"text": "indeterminado"
},
"valueString": "SinReaccion"
}
],
"status": "completed",
"vaccineCode": {
"coding": [
{
"system": "https://vacunas.minsal.cl",
"display": "VACUNA FIEBRE AMARILLA"
}
]
},
"patient": {
"reference": "#p1"
},
"date": "2016-01-05T00:00:00-03:00",
"location": {
"reference": "#l1"
},
"lotNumber": "L5058-3",
"doseQuantity": {
"code": "Única (0,5ml)"
},
"reaction": [
{
"detail": {
"reference": "#ob1"
}
}
],
"vaccinationProtocol": [
{
"series": "INTERNACIONAL"
}
]
}
},
{
"fullUrl": "http://192.168.60.24:8080/hospital-digital-fhir-server-3.0/fhir/Immunization/v242322222",
"resource": {
"resourceType": "Immunization",
"id": "v242322222",
"contained": [
{
"resourceType": "Patient",
"id": "p1",
"identifier": [
{
"system": "https://www.srcei.cl/RUT",
"value": "23504868"
}
]
},
{
"resourceType": "Location",
"id": "l1",
"identifier": [
{
"system": "http://www.deis.cl",
"value": "9999"
}
],
"name": "Clínica Alemana"
},
{
"resourceType": "Observation",
"id": "ob1",
"status": "registered",
"code": {
"text": "indeterminado"
},
"valueString": "SinReaccion"
}
],
"status": "completed",
"vaccineCode": {
"coding": [
{
"system": "https://vacunas.minsal.cl",
"display": "VACUNA FIEBRE AMARILLA"
}
]
},
"patient": {
"reference": "#p1"
},
"date": "2016-01-05T00:00:00-03:00",
"location": {
"reference": "#l1"
},
"lotNumber": "L5058-3",
"doseQuantity": {
"code": "Única (0,5ml)"
},
"reaction": [
{
"detail": {
"reference": "#ob1"
}
}
],
"vaccinationProtocol": [
{
"series": "INTERNACIONAL"
}
]
}
}
]
}
Dicccionario de Datos
Diccionario de Immunization
| Immunization.status | |
| Mappings |
|
| Immunization.vaccineCode.coding.code | |
| Short | Código representativo de un sistema. |
| Definition | Código que representa un valor dentro de un sistema. |
| Mappings |
|
| Immunization.vaccineCode.coding.display | |
| Short | Nombre de la vacuna. |
| Definition | Texto explicativo del nombre de la vacuna. |
| Immunization.vaccineCode.text | |
| Mappings |
|
| Immunization.patient | |
| Short | Paciente vacunado. |
| Definition | Paciente al cual se le aplicó la vacuna. |
| Type | Reference(Patient_apimin_v3) |
| Immunization.date | |
| Short | Fecha de administración. |
| Definition | Fecha en la que se administro la vacuna. |
| Mappings |
|
| Immunization.location | |
| Type | Reference(Location_apimin_v3) |
| Immunization.lotNumber | |
| Short | Número del lote de la vacuna. |
| Definition | Número del lote de la vacuna. |
| Mappings |
|
| Immunization.doseQuantity | |
| Short | Dosis administrada. |
| Definition | La cantidad de la vacuna que se administro. |
| Mappings |
|
| Immunization.explanation.reason | |
| Short | Porque se administro la vacuna. |
| Definition | Razón o Razones del porque se administro la vacuna. |
| Immunization.explanation.reason.text | |
| Short | Razón porque se eligio la vacuna. |
| Definition | Razón porque se eligio la vacuna. |
| Mappings |
|
| Immunization.reaction.detail | |
| Type | Reference(Observation_apimin_v3) |
| Immunization.vaccinationProtocol.series | |
| Mappings |
|