{ "resourceType": "Bundle", "type": "transaction", "entry": [ { "resource": { "resourceType": "Encounter", "id": "mom-first-contact", "status": "in-progress", "class": { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "AMB", "display": "ambulatory" }, "type": [ { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" } ], "subject": { "reference": "Patient/mom" }, "episodeOfCare": [ { "reference": "EpisodeOfCare/mom-pregnancy-episode" } ], "participant": [ { "type": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "code": "PPRF", "display": "primary performer" } ] } ], "individual": { "reference": "Practitioner/midwife" } } ], "period": { "fhir_comments": [ " TODO: appointment " ], "start": "2019-05-24" }, "diagnosis": [ { "fhir_comments": [ " TODO: account ", " TODO: location ", " TODO: serviceProvider " ], "condition": { "reference": "Condition/mom-pregnancy" }, "rank": 1 } ] }, "request": { "method": "PUT", "url": "Encounter/mom-first-contact" } }, { "resource": { "resourceType": "Goal", "id": "mom-pregnancy-goal", "lifecycleStatus": "active", "description": { "fhir_comments": [ " TODO: Category? " ], "text": "Maintain patient's health throughout pregnancy and ensure a healthy child" }, "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" } }, "request": { "method": "PUT", "url": "Goal/mom-pregnancy-goal" } }, { "resource": { "resourceType": "Practitioner", "id": "midwife", "meta": { "profile": [ "http://fhir.org/guides/who/anc-cds/StructureDefinition/ancpractitioner" ] }, "active": true, "_active": { "fhir_comments": [ " TODO: identifier " ] }, "name": [ { "family": "Midwife", "given": [ "Mabel" ] } ], "address": [ { "fhir_comments": [ " TODO: telecom " ], "use": "home", "line": [ "534 Erewhon St" ], "city": "PleasantVille", "state": "Vic", "postalCode": "3999" } ], "gender": "female" }, "request": { "method": "PUT", "url": "Practitioner/midwife" } }, { "resource": { "resourceType": "PractitionerRole", "id": "example", "meta": { "profile": [ "http://fhir.org/guides/who/anc-cds/StructureDefinition/ancmidwifepractitionerrole" ] }, "active": true, "_active": { "fhir_comments": [ " TODO: identifier " ] }, "practitioner": { "reference": "Practitioner/midwife", "display": "Mabel Midwife" }, "code": [ { "fhir_comments": [ " TODO: organization " ], "coding": [ { "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona", "code": "2222", "display": "Midwifery professional" } ], "text": "Midwifery professional" } ], "telecom": [ { "fhir_comments": [ " TODO: specialty ", " TODO: location ", " TODO: healthcareService " ], "system": "phone", "value": "(03) 5555 6473", "use": "work" } ], "availableTime": [ { "daysOfWeek": [ "mon", "tue", "wed" ], "availableStartTime": "09:00:00", "availableEndTime": "16:30:00" }, { "daysOfWeek": [ "thu", "fri" ], "availableStartTime": "09:00:00", "availableEndTime": "12:00:00" } ], "notAvailable": [ { "description": "Mabel will be on extended leave during May 2017", "during": { "start": "2017-05-01", "end": "2017-05-20" } } ], "availabilityExceptions": "Mabel is generally unavailable on public holidays and during the Christmas/New Year break" }, "request": { "method": "PUT", "url": "PractitionerRole/example" } }, { "resource": { "resourceType": "EpisodeOfCare", "id": "mom-pregnancy-episode", "identifier": [ { "system": "http://example.org/sampleepisodeofcare-identifier", "value": "123" } ], "status": "active", "type": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/episodeofcare-type", "code": "hacc", "display": "Home and Community Care" } ] } ], "diagnosis": [ { "condition": { "reference": "Condition/mom-pregnancy" }, "role": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role", "code": "CC", "display": "Chief complaint" } ] }, "rank": 1 } ], "patient": { "reference": "Patient/mom" }, "period": { "fhir_comments": [ " TODO: managingOrganization ", " TODO: careManager ", " TODO: team ", " TODO: account " ], "start": "2019-05-22" } }, "request": { "method": "PUT", "url": "EpisodeOfCare/mom-pregnancy-episode" } }, { "resource": { "resourceType": "MedicationRequest", "id": "mom-daily-elemental-iron-recommendation", "meta": { "profile": [ "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest" ] }, "status": "active", "intent": "proposal", "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "encounter": { "reference": "Encounter/mom-first-contact" }, "authoredOn": "2019-05-24", "reasonCode": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "271737000", "display": "Anemia (disorder)" }, { "system": "http://openmrs.org/concepts", "code": "121629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "display": "Anaemia" } ] } ], "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/ActivityDefinition/anc-daily-elemental-iron" ], "dosageInstruction": [ { "text": "120mg daily", "timing": { "repeat": { "frequency": 1, "period": 1, "periodUnit": "d" } }, "route": { "coding": [ { "code": "26643006", "display": "Oral route (qualifier value)" } ], "text": "Oral route (qualifier value)" }, "doseAndRate": [ { "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", "code": "ordered", "display": "Ordered" } ] }, "doseQuantity": { "value": 120, "unit": "mg" } } ] } ] }, "request": { "method": "PUT", "url": "MedicationRequest/mom-daily-elemental-iron-recommendation" } }, { "resource": { "resourceType": "CarePlan", "id": "mom-pregnancy-plan", "extension": [ { "url": "http://fhir.org/guides/who/anc-cds/StructureDefinition/careplan-episodeOfCare", "valueReference": { "reference": "EpisodeOfCare/mom-pregnancy-episode" } } ], "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule" ], "status": "active", "intent": "plan", "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "period": { "start": "2019-05-24", "_start": { "fhir_comments": [ " The likely duration of the pregnancy " ] }, "end": "2020-02-24" }, "careTeam": [ { "reference": "CareTeam/anc-team" } ], "addresses": [ { "reference": "Condition/mom-pregnancy", "display": "pregnancy" } ], "goal": [ { "reference": "Goal/mom-pregnancy-goal" } ], "activity": [ { "fhir_comments": [ " First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01 " ], "outcomeReference": [ { "reference": "Encounter/mom-first-contact" } ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "in-progress", "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "First antenatal care contact" } }, { "fhir_comments": [ " Second contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "scheduled", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-07-26" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Second contact to occur at 20 weeks of gestational age" } }, { "fhir_comments": [ " Third contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "not-started", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-09-06" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Third contact to occur at 26 weeks of gestational age" } }, { "fhir_comments": [ " Fourth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "not-started", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-10-04" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Fourth contact to occur at 30 weeks of gestational age" } }, { "fhir_comments": [ " Fifth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "not-started", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-11-01" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Fifth contact to occur at 34 weeks of gestational age" } }, { "fhir_comments": [ " Sixth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "not-started", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-11-15" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Sixth contact to occur at 36 weeks of gestational age" } }, { "fhir_comments": [ " Seventh contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "not-started", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-11-29" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Seventh contact to occur at 38 weeks of gestational age" } }, { "fhir_comments": [ " Eighth contact, scheduled based on gestational age from LMP of 2019-03-01, gathered during the first contact " ], "detail": { "kind": "Appointment", "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" ], "code": { "coding": [ { "system": "http://example.org/CodeSystem/encounter-type", "code": "anc-contact", "display": "Antenatal care contact" } ], "text": "Antenatal care contact" }, "status": "not-started", "scheduledPeriod": { "fhir_comments": [ " Scheduled based on gestational age calculation " ], "start": "2019-12-13" }, "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Eighth contact to occur at 40 weeks of gestational age" } }, { "detail": { "kind": "Appointment", "_kind": { "fhir_comments": [ " This will be the delivery. It is not yet scheduled. " ] }, "code": { "coding": [ { "system": "http://example.org/mySystem", "code": "del" } ], "text": "Delivery" }, "status": "not-started", "scheduledPeriod": { "start": "2019-12-13", "end": "2019-12-27" }, "performer": [ { "fhir_comments": [ " TODO: location " ], "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "description": "Delivery" } } ] }, "request": { "method": "PUT", "url": "CarePlan/mom-pregnancy-plan" } }, { "resource": { "resourceType": "CareTeam", "id": "anc-team", "participant": [ { "role": [ { "coding": [ { "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona", "code": "2222", "display": "Midwifery professional" } ], "text": "Midwifery professional" } ], "member": { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } } ] }, "request": { "method": "PUT", "url": "CareTeam/anc-team" } }, { "resource": { "resourceType": "Appointment", "id": "mom-second-contact", "status": "booked", "serviceCategory": [ { "fhir_comments": [ " TODO: serviceCategory " ], "coding": [ { "system": "http://example.org/service-category", "code": "gp", "display": "General Practice" } ] } ], "serviceType": [ { "fhir_comments": [ " TODO: serviceType " ], "coding": [ { "code": "52", "display": "General Discussion" } ] } ], "specialty": [ { "fhir_comments": [ " TODO: specialty " ], "coding": [ { "system": "http://snomed.info/sct", "code": "394814009", "display": "General practice" } ] } ], "appointmentType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0276", "code": "FOLLOWUP", "display": "A follow up visit from a previous appointment" } ] }, "reasonReference": [ { "reference": "Condition/mom-pregnancy" } ], "description": "Antenatal care first contact", "start": "2019-07-26T15:00:00Z", "minutesDuration": 30, "created": "2019-05-24", "participant": [ { "actor": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "required": "required", "status": "accepted" }, { "type": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "code": "ATND" } ] } ], "actor": { "reference": "Practitioner/midwife", "display": "Mabel Midwife" }, "required": "required", "status": "accepted" } ] }, "request": { "method": "PUT", "url": "Appointment/mom-second-contact" } }, { "resource": { "resourceType": "Observation", "id": "mom-lmp", "meta": { "profile": [ "http://fhir.org/guides/who/anc-cds/StructureDefinition/lmpobservation" ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "exam" } ] } ], "code": { "coding": [ { "system": "http://openmrs.org/concepts", "code": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "display": "LMP" } ], "text": "Date of last menstrual period" }, "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "encounter": { "reference": "Encounter/mom-first-contact" }, "effectiveDateTime": "2019-05-24T15:30:00Z", "issued": "2019-05-24T15:30:00Z", "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "valueDateTime": "2019-03-01" }, "request": { "method": "PUT", "url": "Observation/mom-lmp" } }, { "resource": { "resourceType": "Observation", "id": "mom-gest-age-method", "meta": { "profile": [ "http://fhir.org/guides/who/anc-cds/StructureDefinition/lmpobservation" ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "exam" } ] } ], "code": { "coding": [ { "system": "http://openmrs.org/concepts", "code": "GestAgeMethod", "display": "Selected Gestational Age Determination Method" } ], "text": "Selected Gestational Age Determination Method" }, "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "encounter": { "reference": "Encounter/mom-first-contact" }, "effectiveDateTime": "2019-05-24T15:30:00Z", "issued": "2019-05-24T15:30:00Z", "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "valueCodeableConcept": { "coding": [ { "system": "http://fhir.org/guides/who/anc-cds/CodeSystem/anc-codes", "code": "UseLMP" } ], "text": "Last Menstrual Period Date Method" } }, "request": { "method": "PUT", "url": "Observation/mom-gest-age-method" } }, { "resource": { "resourceType": "Condition", "id": "mom-pregnancy", "clinicalStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active" } ] }, "verificationStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", "code": "confirmed" } ] }, "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-category", "code": "problem-list-item", "display": "Problem List Item" } ] } ], "code": { "coding": [ { "system": "http://example.org/tbd", "code": "TBD", "display": "Pregnancy" } ], "text": "Pregnancy" }, "subject": { "reference": "Patient/mom" }, "onsetDateTime": "2019-05-22" }, "request": { "method": "PUT", "url": "Condition/mom-pregnancy" } }, { "resource": { "resourceType": "Observation", "id": "mom-hb", "meta": { "profile": [ "http://fhir.org/guides/who/anc-cds/StructureDefinition/hbobservation" ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "exam" } ] } ], "code": { "fhir_comments": [ " NOTE: Loinc code here, current CQL still references the OpenMRS concept for this ", " \n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t " ], "coding": [ { "system": "http://openmrs.org/concepts", "code": "165395AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "display": "Haemoglobin measured from haemoglobinometer (g/dl)" } ] }, "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "encounter": { "reference": "Encounter/mom-first-contact" }, "effectivePeriod": { "start": "2019-05-24T15:30:00Z", "end": "2019-05-24T15:30:00Z" }, "issued": "2019-05-24T15:30:00Z", "performer": [ { "reference": "Practitioner/midwife", "display": "Mabel Midwife" } ], "valueQuantity": { "value": 7.2, "unit": "g/dl", "system": "http://unitsofmeasure.org", "code": "g/dL" }, "interpretation": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", "code": "L", "display": "Low" } ] } ], "referenceRange": [ { "low": { "value": 7.5, "unit": "g/dl", "system": "http://unitsofmeasure.org", "code": "g/dL" }, "high": { "value": 10, "unit": "g/dl", "system": "http://unitsofmeasure.org", "code": "g/dL" } } ] }, "request": { "method": "PUT", "url": "Observation/mom-hb" } }, { "resource": { "resourceType": "Patient", "id": "mom", "meta": { "profile": [ "http://fhir.org/guides/who/anc-cds/StructureDefinition/ancpatient" ] }, "identifier": [ { "use": "official", "value": "1000" } ], "active": true, "name": [ { "use": "official", "family": "Everywoman", "given": [ "Eve" ] } ], "telecom": [ { "system": "phone", "value": "555-555-2003", "use": "mobile" } ], "gender": "female", "birthDate": "1993-05-31", "address": [ { "use": "home", "text": "2222 Home Street" } ] }, "request": { "method": "PUT", "url": "Patient/mom" } }, { "resource": { "resourceType": "MedicationRequest", "id": "mom-daily-elemental-iron-prescription", "meta": { "profile": [ "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest" ] }, "status": "active", "intent": "order", "subject": { "reference": "Patient/mom", "display": "Eve Everywoman" }, "encounter": { "reference": "Encounter/mom-first-contact" }, "authoredOn": "2019-05-24", "requester": { "reference": "Practitioner/midwife", "display": "Mabel Midwife" }, "reasonCode": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "271737000", "display": "Anemia (disorder)" }, { "system": "http://openmrs.org/concepts", "code": "121629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "display": "Anaemia" } ] } ], "instantiatesCanonical": [ "http://fhir.org/guides/who/anc-cds/ActivityDefinition/anc-daily-elemental-iron" ], "dosageInstruction": [ { "text": "120mg daily", "timing": { "repeat": { "frequency": 1, "period": 1, "periodUnit": "d" } }, "route": { "coding": [ { "code": "26643006", "display": "Oral route (qualifier value)" } ], "text": "Oral route (qualifier value)" }, "doseAndRate": [ { "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", "code": "ordered", "display": "Ordered" } ] }, "doseQuantity": { "value": 120, "unit": "mg" } } ] } ] }, "request": { "method": "PUT", "url": "MedicationRequest/mom-daily-elemental-iron-prescription" } } ] }