ips-nodo-dominio/tests/fixtures/iti65/bundle-document-meow.json
Alejandro Gomez Auad df87fc5ee7 Agregadas variantes de ITI-65 para MeOW e IT ademas de IPS
Se generaliza el controller para recibir el tipo de documento (LOINC)
en vez de hardcodear el de IPS, y se agregan las rutas y mapeos de
nginx para /fhir/MeOWTransaction, /fhir/MeOWDocument, /fhir/ITTransaction
y /fhir/ITDocument, siguiendo la misma logica que las rutas IPS existentes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-15 03:14:32 +00:00

178 lines
4.6 KiB
JSON

{
"resourceType": "Bundle",
"id": "medication-overview-example",
"meta": {
"profile": [
"http://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview"
]
},
"identifier": {
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a71"
},
"type": "document",
"timestamp": "2025-06-17T18:36:18+00:00",
"entry": [
{
"fullUrl": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a72",
"resource": {
"resourceType": "Composition",
"id": "composition-example",
"meta": {
"profile": [
"http://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewComposition"
]
},
"status": "final",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "56445-0",
"display": "Medication summary"
}
]
},
"subject": {
"reference": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a73"
},
"date": "2025-06-17T18:36:18+00:00",
"author": [
{
"reference": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a73"
}
],
"title": "Medication Overview",
"section": [
{
"title": "Medicamentos",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "55112-7",
"display": "Document summary"
}
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Resumen de medicamentos</p></div>"
},
"entry": [
{
"reference": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a74"
},
{
"reference": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a75"
}
]
}
]
}
},
{
"fullUrl": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a73",
"resource": {
"resourceType": "Patient",
"id": "patient-example",
"identifier": [
{
"system": "http://hospital.example.org",
"value": "12345"
}
],
"name": [
{
"family": "Doe",
"given": [
"John"
]
}
],
"gender": "male",
"birthDate": "1970-01-01"
}
},
{
"fullUrl": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a74",
"resource": {
"resourceType": "MedicationStatement",
"id": "medication-statement-1",
"status": "active",
"medicationCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "1222004",
"display": "Metronidazole-containing product"
}
],
"text": "Metronidazole-containing product"
},
"subject": {
"reference": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a73"
},
"effectiveDateTime": "2025-01-01",
"effectivePeriod": {
"start": "2025-01-01",
"end": "2025-12-31"
},
"dateAsserted": "2025-06-17T18:36:18+00:00",
"dosage": [
{
"text": "500 mg daily",
"route": {
"text": "Oral"
}
}
],
"reasonCode": [
{
"text": "Infection"
}
]
}
},
{
"fullUrl": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a75",
"resource": {
"resourceType": "MedicationStatement",
"id": "medication-statement-2",
"status": "active",
"medicationCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "796001",
"display": "Digoxin-containing product"
}
],
"text": "Digoxin-containing product"
},
"subject": {
"reference": "urn:uuid:68c15694-52f1-4171-bc01-e63d666d2a73"
},
"effectiveDateTime": "2025-01-01",
"effectivePeriod": {
"start": "2025-01-01"
},
"dateAsserted": "2025-06-17T18:36:18+00:00",
"dosage": [
{
"text": "0.125 mg daily",
"route": {
"text": "Oral"
}
}
],
"reasonCode": [
{
"text": "Heart failure"
}
]
}
}
]
}