NHSD Implementation Guide - Outbound
4.0.1 - active

NHSD Implementation Guide - Outbound - Local Development build (v4.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : Bundle - example HealthcareService search response - JSON Representation

Raw json | Download

    {
      "resourceType" : "Bundle",
      "id" : "search2",
      "meta" : {
        "lastUpdated" : "2018-09-11T05:14:32.921+00:00"
      },
      "type" : "searchset",
      "total" : 1,
      "link" : [
        {
          "relation" : "self",
          "url" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/HealthcareService?active=true&name=Downunder&endpoint.payload-type=http://hl7.org.au/fhir/CodeSystem/codesystem-au-endpoint-payload-type%7Chttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706&_include=HealthcareService:endpoint&_include=HealthcareService:location&_include=HealthcareService:organization&_snapshot=636722396729219835"
        },
        {
          "relation" : "first",
          "url" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/HealthcareService?active=true&name=Downunder&endpoint.payload-type=http://hl7.org.au/fhir/CodeSystem/codesystem-au-endpoint-payload-type%7Chttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706&_include=HealthcareService:endpoint&_include=HealthcareService:location&_include=HealthcareService:organization&_snapshot=636722396729219835"
        },
        {
          "relation" : "last",
          "url" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/HealthcareService?active=true&name=Downunder&endpoint.payload-type=http://hl7.org.au/fhir/CodeSystem/codesystem-au-endpoint-payload-type%7Chttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706&_include=HealthcareService:endpoint&_include=HealthcareService:location&_include=HealthcareService:organization&_snapshot=636722396729219835&_page=0"
        }
      ],
      "entry" : [
        {
          "fullUrl" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/HealthcareService/healthcareservice0",
          "resource" : {
            "resourceType" : "HealthcareService",
            "id" : "healthcareservice0",
            "meta" : {
              "versionId" : "12",
              "lastUpdated" : "2018-04-19T05:34:08.193+00:00"
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"HealthcareService_healthcareservice0\"> </a>\n                        <p>\n                            <b>Generated Narrative with Details</b>\n                        </p>\n                        <p>\n                            <b>id</b>: example0\n                        </p>\n                        <p>\n                            <b>active</b>: true\n                        </p>\n                        <p>\n                            <b>providedBy</b>:\n                            <a href=\"Organization-example0.html\">Generated Summary: id: example0; HPI-O = 8003627500000328; active; \n                    \n                                <span title=\"Codes: {http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0 8401}\">Hospitals (except Psychiatric Hospitals)</span>,\n                                <span title=\"Codes: {http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0 8401-15}\">Public acute care Hospital</span>; name: Downunder Hospital; helen.mayo@downunderhospital.com.au(WORK)\n                            </a>\n                        </p>\n                        <p>\n                            <b>category</b>: Hospitals (except Psychiatric Hospitals)\n                            <span style=\"background: LightGoldenRodYellow\">(Details : {http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0 code '8401' = 'Hospitals (except Psychiatric Hospitals)', given as 'Hospitals (except Psychiatric Hospitals)'})</span>\n                        </p>\n                        <p>\n                            <b>type</b>: Accident and Emergency service\n                            <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '310000008' = 'Accident and Emergency service (qualifier value)', given as 'Accident and Emergency service'})</span>\n                        </p>\n                        <p>\n                            <b>location</b>:\n                            <a href=\"Location-example0.html\">Generated Summary: id: example0; status: active; name: Downunder Hospital Blacktown; ph: 025553555(WORK)</a>\n                        </p>\n                        <p>\n                            <b>name</b>: Downunder Hospital Accident and Emergency\n                        </p>\n                        <p>\n                            <b>telecom</b>: ph: 025553333(WORK)\n                        </p>\n                        <p>\n                            <b>endpoint</b>:\n                            <a href=\"Endpoint-example0.html\">Generated Summary: id: example0; status: active; \n                    \n                                <span title=\"{http://ns.electronichealth.net.au/smd/intf http://ns.electronichealth.net.au/smd/intf/SealedMessageDelivery/TLS/2010}\">Sealed Message Delivery</span>; name: Medical Objects Test Secure Messaging Endpoint; jared@example.org(WORK); period: 18/08/2017 --&gt; (ongoing);\n                                <span title=\"Codes: {http://hl7.org.au/fhir/CodeSystem/codesystem-au-endpoint-payload-type http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706}, {http://hl7.org.au/fhir/CodeSystem/codesystem-au-endpoint-payload-type http://ns.electronichealth.net.au/ds/sc/deliver/hl7Mdm/2012}\">Simplified Profile for HL7 V2.4 REF message</span>; payloadMimeType: application/hl7-v2; address: https://smd-ep.test.medical-objects.com.au/smd/2010\n                            </a>\n                        </p>\n                    </div>"
            },
            "identifier" : [
              {
                "system" : "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
                "value" : "8003627500000328"
              }
            ],
            "active" : true,
            "providedBy" : {
              "reference" : "Organization/organization0",
              "display" : "Downunder Hospital"
            },
            "category" : [
              {
                "coding" : [
                  {
                    "system" : "http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0",
                    "code" : "8401",
                    "display" : "Hospitals (except Psychiatric Hospitals)"
                  }
                ]
              }
            ],
            "specialty" : [
              {
                "coding" : [
                  {
                    "system" : "http://snomed.info/sct",
                    "code" : "310000008",
                    "display" : "Accident and Emergency service"
                  }
                ]
              }
            ],
            "location" : [
              {
                "reference" : "Location/location0"
              }
            ],
            "name" : "Downunder Hospital Accident and Emergency",
            "telecom" : [
              {
                "system" : "phone",
                "value" : "025553333",
                "use" : "work"
              }
            ],
            "endpoint" : [
              {
                "reference" : "Endpoint/endpoint0"
              }
            ]
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/Endpoint/endpoint0",
          "resource" : {
            "resourceType" : "Endpoint",
            "id" : "endpoint0",
            "meta" : {
              "versionId" : "18",
              "lastUpdated" : "2018-04-19T05:34:07.568+00:00"
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Endpoint_endpoint0\"> </a>\n                        <b>Medical Objects Test Secure Messaging Endpoint</b>\n                        <hr/>\n                        <span style=\"color: gray;\">Work - Email:</span> jared@example.org\n                    </div>"
            },
            "extension" : [
              {
                "url" : "http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509",
                "valueString" : "-----BEGIN   CERTIFICATE-----"
              },
              {
                "url" : "http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility",
                "extension" : [
                  {
                    "url" : "namespace-id",
                    "valueString" : "Buderim Medical Center"
                  },
                  {
                    "url" : "universal-id",
                    "valueString" : "877F9695-1298-4E6A-B432-0FDD46AD80B8"
                  },
                  {
                    "url" : "universal-id-type",
                    "valueString" : "GUID"
                  }
                ]
              },
              {
                "url" : "http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication",
                "extension" : [
                  {
                    "url" : "namespace-id",
                    "valueString" : "Equator"
                  },
                  {
                    "url" : "universal-id",
                    "valueString" : "Equator:3.1.4"
                  },
                  {
                    "url" : "universal-id-type",
                    "valueString" : "L"
                  }
                ]
              }
            ],
            "status" : "active",
            "connectionType" : {
              "system" : "http://hl7.org.au/fhir/CodeSystem/smd-interfaces",
              "code" : "http://ns.electronichealth.net.au/smd/intf/SealedMessageDelivery/TLS/2010"
            },
            "name" : "Medical Objects Test Secure Messaging Endpoint",
            "managingOrganization" : {
              "display" : "Medical Objects"
            },
            "contact" : [
              {
                "system" : "email",
                "value" : "jared@example.org",
                "use" : "work"
              }
            ],
            "period" : {
              "start" : "2017-08-18"
            },
            "payloadType" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org.au/fhir/CodeSystem/endpoint-payload-type",
                    "code" : "http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706"
                  },
                  {
                    "system" : "http://hl7.org.au/fhir/CodeSystem/endpoint-payload-type",
                    "code" : "http://ns.electronichealth.net.au/ds/sc/deliver/hl7Mdm/2012"
                  }
                ]
              }
            ],
            "payloadMimeType" : [
              "application/hl7-v2"
            ],
            "address" : "https://smd-ep.test.medical-objects.com.au/smd/2010"
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/Location/location0",
          "resource" : {
            "resourceType" : "Location",
            "id" : "location0",
            "meta" : {
              "versionId" : "18",
              "lastUpdated" : "2018-04-19T05:33:11.811+00:00"
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_location0\"> </a>\n                        <p>\n                            <b>Generated Narrative with Details</b>\n                        </p>\n                        <p>\n                            <b>id</b>: example0\n                        </p>\n                        <p>\n                            <b>status</b>: active\n                        </p>\n                        <p>\n                            <b>name</b>: Downunder Hospital Blacktown\n                        </p>\n                        <p>\n                            <b>telecom</b>: ph: 025553555(WORK)\n                        </p>\n                        <p>\n                            <b>address</b>: 3 McGregor Street Blacktown NSW 2148 Australia (WORK)\n                        </p>\n                    </div>"
            },
            "status" : "active",
            "name" : "Downunder Hospital Blacktown",
            "telecom" : [
              {
                "system" : "phone",
                "value" : "025553555",
                "use" : "work"
              }
            ],
            "address" : {
              "use" : "work",
              "line" : [
                "3 McGregor Street"
              ],
              "city" : "Blacktown",
              "state" : "NSW",
              "postalCode" : "2148",
              "country" : "Australia"
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "https://sqlonfhir-aupd.azurewebsites.net/fhir/Organization/organization0",
          "resource" : {
            "resourceType" : "Organization",
            "id" : "organization0",
            "meta" : {
              "versionId" : "22",
              "lastUpdated" : "2018-04-19T05:34:05.14+00:00"
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_organization0\"> </a>\n                        <p>\n                            <b>Generated Narrative with Details</b>\n                        </p>\n                        <p>\n                            <b>id</b>: example0\n                        </p>\n                        <p>\n                            <b>identifier</b>: HPI-O = 8003627500000328\n                        </p>\n                        <p>\n                            <b>active</b>: true\n                        </p>\n                        <p>\n                            <b>type</b>: Hospitals (except Psychiatric Hospitals)\n                            <span style=\"background: LightGoldenRodYellow\">(Details : {http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0 code '8401' = 'Hospitals (except Psychiatric Hospitals)', given as 'Hospitals (except Psychiatric Hospitals)'})</span>, Public acute care Hospital\n                            <span style=\"background: LightGoldenRodYellow\">(Details : {http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0 code '8401-15' = 'Public acute care Hospital', given as 'Public acute care Hospital'})</span>\n                        </p>\n                        <p>\n                            <b>name</b>: Downunder Hospital\n                        </p>\n                        <p>\n                            <b>telecom</b>: helen.mayo@downunderhospital.com.au(WORK)\n                        </p>\n                        <p>\n                            <b>address</b>: 3 McGregor Street Blacktown NSW 2148 Australia (WORK)\n                        </p>\n                    </div>"
            },
            "identifier" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                      "code" : "NOI",
                      "display" : "National Organisation Identifier"
                    }
                  ],
                  "text" : "HPI-O"
                },
                "system" : "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
                "value" : "8003627500000328"
              }
            ],
            "active" : true,
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0",
                    "code" : "8401",
                    "display" : "Hospitals (except Psychiatric Hospitals)"
                  }
                ]
              },
              {
                "coding" : [
                  {
                    "system" : "http://www.abs.gov.au/ausstats/abs@.nsf/mf/1292.0",
                    "code" : "8401-15",
                    "display" : "Public acute care Hospital"
                  }
                ]
              }
            ],
            "name" : "Downunder Hospital",
            "telecom" : [
              {
                "system" : "email",
                "value" : "helen.mayo@downunderhospital.com.au",
                "use" : "work"
              }
            ],
            "address" : [
              {
                "use" : "work",
                "line" : [
                  "3 McGregor Street"
                ],
                "city" : "Blacktown",
                "state" : "NSW",
                "postalCode" : "2148",
                "country" : "Australia"
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        }
      ]
    }