{
  "resourceType": "Bundle",
  "id": "ncdhc-bundle-transaction-nbdelivery-request-payload",
  "type": "transaction",
  "entry": [
    {
      "fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0a",
      "resource": {
        "resourceType": "Bundle",
        "type": "document",
        "id": "61ebe359-bfdc-4613-8bf2-c5e300945f0a",
        "meta": {
          "lastUpdated": "2020-01-13T14:36:03Z"
        },
        "identifier": {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:uuid:0c4151bd-1cbf-4d64-b04d-cd9187a4c6e0"
        },
        "entry": [
          {
            "fullUrl": "urn:uuid:27700024-070c-4141-8109-9d9fa34dd24b",
            "resource": {
              "resourceType": "Composition",
              "meta": {
                "versionId": "1",
                "lastUpdated": "2020-01-13T14:36:03Z",
                "profile": [
                  "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-nbdelivery"
                ]
              },
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 180f219f-97a8-486d-99d9-ed631fe4fc57</p><p><b>meta</b>: </p><p><b>status</b>: final</p><p><b>type</b>: Newborn Delivery </p><p><b>title</b>: Newborn Delivery</p><p><b>confidentiality</b>: N</p></div>"
              },
              "status": "final",
              "type": {
                "coding": [
                  {
                    "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-hi-type-1",
                    "code": "NEWBRNDEL"
                  }
                ],
                "text": "Newborn Delivery Health Interaction"
              },
              "subject": {
                "reference": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f",
                "display": "Baby of Eve Bill"
              },
              "encounter": {
                "reference": "urn:uuid:03140538-3e2a-486b-8993-aab0e8d5c20a"
              },
              "date": "2018-12-24T12:30:02Z",
              "author": [
                {
                  "reference": "urn:uuid:3db74777-fd3d-4d3b-92ec-d405977a11a5",
                  "display": "Dr. Adam Dev"
                }
              ],
              "title": "Newborn Delivery Health Interaction",
              "confidentiality": "N",
              "attester": [
                {
                  "mode": ["professional"],
                  "time": "2018-12-24T12:30:02Z",
                  "party": {
                    "reference": "urn:uuid:od78393f-37ca-4738-81d6-d9595b2e5d0f"
                  }
                }
              ],
              "section": [
                {
                  "title": "Estimated Gestation",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "57036006"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                },
                {
                  "title": "Abnormalities noted at birth",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "414025005"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                },
                {
                  "title": "Apgar scores",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "302083008"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                },
                {
                  "title": "Medication administered",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "18629005"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                },
                {
                  "title": "Vital signs and measurements",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "118227000"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                },
                {
                  "title": "Maternal morbidity",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "198609003"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                },
                {
                  "title": "Labour and delivery",
                  "code": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "code": "118215003"
                      }
                    ]
                  },
                  "text": {
                    "status": "additional",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No Information Recorded.</div>"
                  },
                  "emptyReason": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/list-empty-reason",
                        "code": "unavailable",
                        "display": "Unavailable"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "fullUrl": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f",
            "resource": {
              "resourceType": "Patient",
              "meta": {
                "versionId": "1",
                "lastUpdated": "2020-01-13T14:36:03Z",
                "profile": [
                  "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-baby"
                ]
              },
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t\t\t\t\n<h1>Baby of Eve Bill</h1>\n\t\t\t\t\t\n</div>"
              },
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/birthPlace",
                  "valueAddress": {
                    "text": "Blacktown Hospital"
                  }
                }
              ],
              "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",
                  "value": "8003620000000000",
                  "assigner": {
                    "display": "Blacktown Hospital"
                  }
                }
              ],
              "active": true,
              "name": [
                {
                  "text": "Baby of Eve Bill",
                  "family": "Bill",
                  "given": [
                    "Baby of Eve Bill"
                  ]
                }
              ],
              "gender": "female",
              "birthDate": "2018-12-24",
              "_birthDate": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
                    "valueDateTime": "2018-12-24T14:35:45-05:00"
                  }
                ]
              },
              "address": [
                {
                  "text": "home",
                  "line": [
                    "31 Pacquola Street"
                  ],
                  "city": "Blacktown",
                  "state": "NSW",
                  "postalCode": "2148",
                  "country": "Australia"
                }
              ],
              "contact": [
                {
                  "relationship": [
                    {
                      "coding": [
                        {
                          "system": "http://hl7.org/fhir/v3/RoleCode",
                          "code": "MTH",
                          "display": "mother"
                        }
                      ],
                      "text": "Mother"
                    }
                  ],
                  "name": {
                    "text": "Eve Bill",
                    "family": "Bill",
                    "given": [
                      "Eve"
                    ]
                  }
                },
                {
                  "relationship": [
                    {
                      "coding": [
                        {
                          "system": "http://hl7.org/fhir/v3/RoleCode",
                          "code": "FTH",
                          "display": "father"
                        }
                      ],
                      "text": "Father"
                    }
                  ],
                  "name": {
                    "text": "Simmons Bill",
                    "family": "Bill",
                    "given": [
                      "Simmons"
                    ]
                  }
                }
              ]
            }
          },
          {
            "fullUrl": "urn:uuid:od78393f-37ca-4738-81d6-d9595b2e5d0f",
            "resource": {
              "resourceType": "Organization",
              "meta": {
                "versionId": "1",
                "lastUpdated": "2019-11-19T00:00:00Z",
                "profile": [
                  "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
                ]
              },
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: od78393f-37ca-4738-81d6-d9595b2e5d0f</p><p><b>identifier</b>: ABN = 51824753556</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})</span></p><p><b>name</b>: Blacktown Hospital</p><p><b>telecom</b>: enquiries@blacktownhospital.com.au(WORK)</p></div>"
              },
              "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",
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t\t\t\t\n<p>Dr Adam Dev</p>\n\t\t\t\t\t\n</div>"
              },
              "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": "Midwife"
                  },
                  "issuer": {
                    "display": "AHPRA"
                  }
                }
              ]
            }
          },
          {
            "fullUrl": "urn:uuid:03140538-3e2a-486b-8993-aab0e8d5c20a",
            "resource": {
              "resourceType": "Encounter",
              "contained": [
                {
                  "resourceType": "Location",
                  "id": "lc78393f-37ca-4738-81d6-d9595b2e5d0f",
                  "status": "active",
                  "name": "Blacktown Hospital"
                }
              ],
              "meta": {
                "versionId": "1",
                "lastUpdated": "2019-11-19T00:00:00Z",
                "profile": [
                  "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-encounter"
                ]
              },
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Sample Encounter</b></p></div>"
              },
              "status": "finished",
              "subject": {
                "reference": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f"
              },
              "participant": [
                {
                  "type": [
                    {
                      "coding": [
                        {
                          "system": "http://hl7.org/fhir/v3/ParticipationType",
                          "code": "CALLBCK",
                          "display": "callback contact"
                        }
                      ],
                      "text": "Clinically responsible person"
                    }
                  ],
                  "individual": {
                    "reference": "Practitioner/examiner-practitioner"
                  }
                }
              ],
              "period": {
                "start": "2019-11-17T16:00:00+10:00",
                "end": "2019-11-17T16:00:00+10:00"
              },
              "serviceProvider": {
                "reference": "Organization/examiner-organization"
              },
              "location": [
                {
                  "location": {
                    "reference": "#lc78393f-37ca-4738-81d6-d9595b2e5d0f"
                  }
                }
              ]
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Bundle"
      }
    },
    {
      "request": {
        "method": "GET",
        "url": "Patient/person-who-has-provided-consent"
      }
    }
  ]
}