{
    "resourceType": "Bundle",
    "id": "ncdhc-estimated-date-birth-document-example",
    "meta": {"lastUpdated": "2019-12-27T16:13:03Z"},
    "identifier": {
        "system": "urn:ietf:rfc:3986",
        "value": "urn:uuid:301e425c-2be0-443e-8bb6-3b6499d9a17a"
    },
    "type": "document",
    "entry": [
        {
            "fullUrl": "urn:uuid:e4787091-f1b6-42e0-927c-ac8d89984607",
            "resource": {
                "resourceType": "Composition",
                "id": "e4787091-f1b6-42e0-927c-ac8d89984607",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-12-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-estimated-date-birth"]
                },
                "status": "final",
                "type": {
                    "coding": [{
                        "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-hi-type-1",
                        "code": "ANTVSTCLC"
                    }],
                    "text": "Estimated date of birth"
                },
                "subject": {
                    "reference": "Patient/dd78393f-37ca-4738-81d6-d9595b2e5d0f",
                    "display": "Eve Bill"
                },
                "encounter": {"reference": "urn:uuid:741a72a8-df75-4484-ac89-ac4923f04b42"},
                "date": "2019-12-24T12:30:02Z",
                "author": [{
                    "reference": "Practitioner/3db74777-fd3d-4d3b-92ec-d405977a11a5",
                    "display": "Dr. Adam Dev"
                }],
                "title": "Estimated date of birth",
                "confidentiality": "N",
                "attester": [{
                    "mode": ["professional"],
                    "time": "2019-12-24T12:30:02Z",
                    "party": {"reference": "Organization/od78393f-37ca-4738-81d6-d9595b2e5d0f"}
                }],
                "section": [
                    {
                        "title": "Estimated date of delivery",
                        "code": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "161714006"
                        }]},
                        "text": {
                            "status": "additional",
                            "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sample estimated date of birth.<\/div>"
                        },
                        "entry": [
                            {"reference": "urn:uuid:7981943f-d364-490b-bb35-cb053b26c797"},
                            {"reference": "urn:uuid:dd74dcc9-5f97-4831-ad5b-acb2ae069823"},
                            {"reference": "urn:uuid:ec847d0a-7052-45f7-ae9c-73445b4431a0"},
                            {"reference": "urn:uuid:8e409125-4900-4868-889f-9d93481ae7ce"},
                            {"reference": "urn:uuid:0434c5b9-a139-4af8-bd78-31e5c5cf5102"}
                        ]
                    },
                    {
                        "title": "Obstetric history",
                        "code": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "248983002"
                        }]},
                        "text": {
                            "status": "additional",
                            "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sample.<\/div>"
                        },
                        "entry": [
                            {"reference": "urn:uuid:88f18b1b-445a-4d79-b3be-34d0fbc94851"},
                            {"reference": "urn:uuid:dc831ed2-207f-48c7-890c-cc6d0b5b3173"}
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f",
            "resource": {
                "resourceType": "Patient",
                "id": "dd78393f-37ca-4738-81d6-d9595b2e5d0f",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2018-12-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-expectant-mother"]
                },
                "identifier": [
                    {
                        "type": {
                            "coding": [{
                                "system": "http://hl7.org/fhir/v2/0203",
                                "code": "NI",
                                "display": "National unique individual identifier"
                            }],
                            "text": "IHI"
                        },
                        "system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
                        "value": "8003608000024083"
                    },
                    {
                        "type": {
                            "coding": [{
                                "system": "http://hl7.org/fhir/v2/0203",
                                "code": "MR",
                                "display": "Medical Record Number"
                            }],
                            "text": "Medical Record Number"
                        },
                        "system": "http://ns.electronichealth.net.au/id/hpio-scoped/medicalrecord/1.0/8003620000000000/02134000",
                        "value": "02134000",
                        "assigner": {"display": "Blacktown Hospital"}
                    }
                ],
                "active": true,
                "name": [{
                    "text": "Eve Bill",
                    "family": "Bill",
                    "given": ["Eve"]
                }],
                "gender": "female"
            }
        },
        {
            "fullUrl": "urn:uuid:741a72a8-df75-4484-ac89-ac4923f04b42",
            "resource": {
                "resourceType": "Encounter",
                "id": "741a72a8-df75-4484-ac89-ac4923f04b42",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2018-12-24T12:30:02Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-dphr-encounter"]
                },
                "contained": [
                    {
                        "resourceType": "Location",
                        "id": "lc78393f-37ca-4738-81d6-d9595b2e5d0f",
                        "status": "active",
                        "name": "Blacktown Hospital"
                    },
                    {
                        "resourceType": "Appointment",
                        "id": "2c78393f-37ca-4738-81d6-d9595b2e5d0f",
                        "status": "proposed",
                        "participant": [{
                            "actor": {"reference": "Patient/ncdhc-patient-expectant-mother-example"},
                            "required": "required",
                            "status": "accepted"
                        }],
                        "requestedPeriod": [{
                            "start": "2020-04-23T08:00:00+11:00",
                            "end": "2020-04-23T08:01:00+11:00"
                        }]
                    }
                ],
                "status": "finished",
                "subject": {"reference": "Patient/ncdhc-patient-expectant-mother-example"},
                "participant": [
                    {
                        "type": [{
                            "coding": [{
                                "system": "http://hl7.org/fhir/participant-type",
                                "code": "translator",
                                "display": "Translator"
                            }],
                            "text": "Registered Interpreter"
                        }],
                        "individual": {"reference": "Practitioner/examiner-practitioner"}
                    },
                    {
                        "type": [{
                            "coding": [{
                                "system": "http://hl7.org/fhir/v3/ParticipationType",
                                "code": "CALLBCK",
                                "display": "callback contact"
                            }],
                            "text": "Clinically responsible person"
                        }],
                        "individual": {"reference": "Practitioner/examiner-practitioner"}
                    }
                ],
                "appointment": {"reference": "#2c78393f-37ca-4738-81d6-d9595b2e5d0f"},
                "period": {
                    "start": "2019-12-23T08:00:00+11:00",
                    "end": "2019-12-23T08:01:00+11:00"
                },
                "location": [{"location": {"reference": "#lc78393f-37ca-4738-81d6-d9595b2e5d0f"}}],
                "serviceProvider": {"reference": "Organization/examiner-organization"}
            }
        },
        {
            "fullUrl": "urn:uuid:od78393f-37ca-4738-81d6-d9595b2e5d0f",
            "resource": {
                "resourceType": "Organization",
                "id": "od78393f-37ca-4738-81d6-d9595b2e5d0f",
                "identifier": [{
                    "type": {
                        "coding": [{
                            "system": "http://hl7.org.au/fhir/v2/0203",
                            "code": "NOI",
                            "display": "National Organisation Identifier"
                        }],
                        "text": "HPI-O"
                    },
                    "system": "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
                    "value": "8003621566684455"
                }],
                "type": [{"coding": [{
                    "system": "http://hl7.org/fhir/organization-type",
                    "code": "prov",
                    "display": "Healthcare Provider"
                }]}],
                "name": "Blacktown Hospital",
                "telecom": [{
                    "system": "email",
                    "value": "enquiries@blacktownhospital.com.au",
                    "use": "work"
                }]
            }
        },
        {
            "fullUrl": "urn:uuid:3db74777-fd3d-4d3b-92ec-d405977a11a5",
            "resource": {
                "resourceType": "Practitioner",
                "id": "3db74777-fd3d-4d3b-92ec-d405977a11a5",
                "identifier": [{
                    "type": {
                        "coding": [{
                            "system": "http://hl7.org/fhir/v2/0203",
                            "code": "NPI",
                            "display": "National provider identifier"
                        }],
                        "text": "HPI-I"
                    },
                    "system": "http://ns.electronichealth.net.au/id/hi/hpii/1.0",
                    "value": "8003610833334085"
                }],
                "active": true,
                "name": [{
                    "family": "Dev",
                    "given": ["Adam"],
                    "prefix": ["Dr"]
                }],
                "qualification": [{
                    "identifier": [{
                        "type": {
                            "coding": [{
                                "system": "http://hl7.org.au/fhir/v2/0203",
                                "code": "AHPRA",
                                "display": "Australian Health Practitioner Regulation Agency Registration Number"
                            }],
                            "text": "AHPRA Registration Number"
                        },
                        "system": "http://hl7.org.au/id/ahpra-registration-number",
                        "value": "MED0000932850"
                    }],
                    "code": {
                        "coding": [{
                            "system": "http://www.abs.gov.au/ausstats/abs@.nsf/mf/1220.0",
                            "code": "254111",
                            "display": "Midwife"
                        }],
                        "text": "AHPRA qualification for Midwife"
                    },
                    "issuer": {"display": "AHPRA"}
                }]
            }
        },
        {
            "fullUrl": "urn:uuid:7981943f-d364-490b-bb35-cb053b26c797",
            "resource": {
                "resourceType": "Observation",
                "id": "7981943f-d364-490b-bb35-cb053b26c797",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-12-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-estimated-date-birth"]
                },
                "status": "final",
                "code": {
                    "coding": [{
                        "system": "http://snomed.info/sct",
                        "code": "161714006"
                    }],
                    "text": "Estimated date of delivery"
                },
                "subject": {
                    "reference": "Patient/ncdhc-patient-expectant-mother-example",
                    "display": "Eve Bill"
                },
                "effectiveDateTime": "2019-12-24",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueDateTime": "2020-04-23",
                "related": [{
                    "type": "derived-from",
                    "target": {
                        "reference": "Observation/observation-estimated-date-birth-last-period-example",
                        "display": "Estimated date of birth from last known menstrual period"
                    }
                }]
            }
        },
        {
            "fullUrl": "urn:uuid:dd74dcc9-5f97-4831-ad5b-acb2ae069823",
            "resource": {
                "resourceType": "Observation",
                "id": "dd74dcc9-5f97-4831-ad5b-acb2ae069823",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-12-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-estimated-date-birth-last-period"]
                },
                "status": "final",
                "code": {
                    "coding": [{
                        "system": "http://snomed.info/sct",
                        "code": "289206005"
                    }],
                    "text": "Estimated date of birth from last known menstrual period"
                },
                "subject": {
                    "reference": "Patient/ncdhc-patient-expectant-mother-example",
                    "display": "Eve Bill"
                },
                "effectiveDateTime": "2019-12-24",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueDateTime": "2020-04-24",
                "component": [
                    {
                        "code": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "161713000"
                        }]},
                        "valueDateTime": "2019-07-14"
                    },
                    {
                        "code": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "161716008"
                        }]},
                        "valueQuantity": {
                            "value": 28,
                            "unit": "days",
                            "system": "http://unitsofmeasure.org",
                            "code": "d"
                        }
                    },
                    {
                        "code": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "246103008"
                        }]},
                        "valueCodeableConcept": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "64957009",
                            "display": "Uncertain"
                        }]}
                    },
                    {
                        "code": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "246202005"
                        }]},
                        "valueCodeableConcept": {"coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "49608001",
                            "display": "Irregular"
                        }]}
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:88f18b1b-445a-4d79-b3be-34d0fbc94851",
            "resource": {
                "resourceType": "Observation",
                "id": "88f18b1b-445a-4d79-b3be-34d0fbc94851",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-12-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-breastfeeding-time-conception"]
                },
                "status": "final",
                "code": {
                    "coding": [{
                        "system": "http://snomed.info/sct",
                        "code": "1376561000168109"
                    }],
                    "text": "Breastfeeding at time of conception"
                },
                "subject": {
                    "reference": "Patient/ncdhc-patient-expectant-mother-example",
                    "display": "Eve Bill"
                },
                "effectiveDateTime": "2019-12-24",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueCodeableConcept": {"coding": [{
                    "system": "http://snomed.info/sct",
                    "code": "373066001"
                }]}
            }
        },
        {
            "fullUrl": "urn:uuid:ec847d0a-7052-45f7-ae9c-73445b4431a0",
            "resource": {
                "resourceType": "Observation",
                "id": "ec847d0a-7052-45f7-ae9c-73445b4431a0",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-10-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-edb-by-clinical-examination"]
                },
                "status": "final",
                "code": {
                    "coding": [{
                        "system": "http://snomed.info/sct",
                        "display": "Estimated date of delivery calculated by clinical examination",
                        "code": "1384451000168107"
                    }],
                    "text": "Estimated date of delivery calculated by clinical examination"
                },
                "subject": {
                    "reference": "Patient/patient-baby-example",
                    "display": "Baby of Eve Bill"
                },
                "effectiveDateTime": "2019-08-27T16:13:03Z",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueDateTime": "2020-04-23"
            }
        },
        {
            "fullUrl": "urn:uuid:8e409125-4900-4868-889f-9d93481ae7ce",
            "resource": {
                "resourceType": "Observation",
                "id": "8e409125-4900-4868-889f-9d93481ae7ce",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-10-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-fetal-gestational-age-at-ultrasound"]
                },
                "status": "final",
                "code": {
                    "coding": [{
                        "system": "http://snomed.info/sct",
                        "code": "57036006",
                        "display": "Fetal gestational age"
                    }],
                    "text": "Fetal gestational age"
                },
                "subject": {
                    "reference": "Patient/patient-baby-example",
                    "display": "Baby of Eve Bill"
                },
                "effectiveDateTime": "2019-08-27T16:13:03Z",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueQuantity": {
                    "value": 257,
                    "unit": "days",
                    "system": "http://unitsofmeasure.org",
                    "code": "d"
                }
            }
        },
        {
            "fullUrl": "urn:uuid:0434c5b9-a139-4af8-bd78-31e5c5cf5102",
            "resource": {
                "resourceType": "Observation",
                "id": "0434c5b9-a139-4af8-bd78-31e5c5cf5102",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-10-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-ultrasound-scan-obstetric"]
                },
                "status": "final",
                "code": {
                    "text": "Ultrasound scan - obstetric",
                    "coding": [{
                        "display": "Ultrasound scan - obstetric",
                        "code": "268445003",
                        "system": "http://snomed.info/sct"
                    }]
                },
                "subject": {
                    "reference": "Patient/patient-baby-example",
                    "display": "Baby of Eve Bill"
                },
                "effectiveDateTime": "2019-08-27T16:13:03Z",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueDateTime": "2020-04-23"
            }
        },
        {
            "fullUrl": "urn:uuid:dc831ed2-207f-48c7-890c-cc6d0b5b3173",
            "resource": {
                "resourceType": "Observation",
                "id": "dc831ed2-207f-48c7-890c-cc6d0b5b3173",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2019-12-27T16:13:03Z",
                    "profile": ["http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-hormonal-contraception-at-time-of-conception"]
                },
                "status": "final",
                "code": {
                    "coding": [{
                        "system": "http://snomed.info/sct",
                        "code": "1376571000168103"
                    }],
                    "text": "Hormonal contraception"
                },
                "subject": {
                    "reference": "Patient/ncdhc-patient-expectant-mother-example",
                    "display": "Eve Bill"
                },
                "effectiveDateTime": "2019-12-24",
                "performer": [
                    {
                        "reference": "Practitioner/examiner-practitioner",
                        "display": "Examiner"
                    },
                    {
                        "reference": "Organization/examiner-organization",
                        "display": "Organisation"
                    }
                ],
                "valueCodeableConcept": {"coding": [{
                    "system": "http://snomed.info/sct",
                    "code": "373066001"
                }]}
            }
        }
    ]
}