{
  "resourceType": "Bundle",
  "id": "ncdhc-bundle-document-create-child",
  "meta": {
    "lastUpdated": "2019-11-05T00:00:00Z"
  },
  "type": "document",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:uuid:0d4151bd-1cbf-4d64-b04d-cd9187a4c6e0"
  },
  "entry": [
    {
      "fullUrl": "url:uuid:37700024-070c-4141-8109-9d9fa34dd24b",
      "resource": {
        "resourceType": "Composition",
        "id": "37700024-070c-4141-8109-9d9fa34dd24b",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2019-11-05T00:00:00Z",
          "profile": [
            "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-child-registration"
          ]
        },
        "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>: Register Representative </p><p><b>title</b>: Register Representative</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": "REGCHLD",
              "display": "Register Child"
            }
          ],
          "text": "Register Child"
        },
        "date": "2018-12-24T12:30:02Z",
        "author": [
          {
            "reference": "urn:uuid:3db74777-fd3d-4d3b-92ec-d405977a11a5",
            "display": "GOM Flow"
          }
        ],
        "title": "Register Child",
        "confidentiality": "N",
        "attester": [
          {
            "mode": [
              "professional"
            ],
            "time": "2018-12-24T12:30:02Z",
            "party": {
              "reference": "urn:uuid:od78393f-37ca-4738-81d6-d9595b2e5d0f",
              "display": "NSW Health"
            }
          }
        ],
        "section": [
          {
            "title": "Auth Representative Details",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "184140000"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0a"
              }
            ]
          },
          {
            "title": "Child Patient Details",
            "code": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "302147001"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f"
              }
            ]
          }
        ],
        "identifier": {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:uuid:0r4151bd-1cbf-4d64-b04d-cd9187a4c6e0"
        },
        "subject": {
          "reference": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:dd78393f-37ca-4738-81d6-d9595b2e5d0f",
      "resource": {
        "resourceType": "Patient",
        "id": "dd78393f-37ca-4738-81d6-d9595b2e5d0f",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2019-06-25T14: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"
          }
        ],
        "active": true,
        "name": [
          {
            "text": "Baby of Eve Bill",
            "family": "Bill",
            "given": [
              "Baby of Eve"
            ]
          }
        ],
        "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:3db74777-fd3d-4d3b-92ec-d405977a11a5",
      "resource": {
        "resourceType": "Device",
        "id": "3db74777-fd3d-4d3b-92ec-d405977a11a5",
        "meta": {
          "profile": [
            "http://hl7.org.au/fhir/StructureDefinition/au-device"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Gom Flow</div>"
        },
        "version": "v1.0.0",
        "status": "active"
      }
    },
    {
      "fullUrl": "urn:uuid:od78393f-37ca-4738-81d6-d9595b2e5d0f",
      "resource": {
        "resourceType": "Organization",
        "id": "od78393f-37ca-4738-81d6-d9595b2e5d0f",
        "meta": {
          "profile": [
            "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
          ]
        },
        "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"
          }
        ],
        "active": true,
        "name": "eHealth NSW"
      }
    },
    {
      "fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0a",
      "resource": {
        "resourceType": "Person",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Eve Bill Registered as Authorised Representative</div>"
        },
        "meta": {
          "versionId": "1",
          "lastUpdated": "2019-11-05T00:00:00Z",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Person"
          ]
        },
        "id": "61ebe359-bfdc-4613-8bf2-c5e300945f0a",
        "name": [
          {
            "text": "Eve Bill",
            "family": "Bill",
            "given": [
              "Eve"
            ]
          }
        ],
        "telecom": [
          {
            "system": "email",
            "value": "e.bill@kill.com",
            "use": "home"
          },
          {
            "system": "phone",
            "value": "0444 123 125",
            "use": "mobile"
          }
        ],
        "gender": "female",
        "address": [
          {
            "use": "home",
            "line": [
              "534 Erewhon St"
            ],
            "city": "PleasantVille",
            "state": "NSW",
            "postalCode": "2134"
          }
        ],
        "active": true
      }
    }
  ]
}