<Bundle xmlns="http://hl7.org/fhir">
  <id value="1a755361-659a-49fa-ae69-6f59e01cf055" />
  <meta>
    <lastUpdated value="2020-08-25T16:44:00.256+01:00" />
  </meta>
  <type value="searchset" />
  <total value="2" />
  <link>
    <relation value="self" />
    <url value="https://fhir-test.nottinghamshire.gov.uk/LocatorService/v2/HealthcareService?_format=json&amp;_query=responsibleLAfromAddress&amp;address=15%20Deer%20Park%20Drive%5C%2C%20Nottingham&amp;postcode=NG5%208SA&amp;type=http%3A%2F%2Fsnomed.info%2Fsct%7C715591000000108" />
  </link>
  <entry>
    <fullUrl value="https://fhir-test.nottinghamshire.gov.uk/LocatorService/v2/HealthcareService/63" />
    <resource>
      <HealthcareService>
        <id value="63" />
        <meta>
          <profile value="https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/CareConnect-LocatorService-HealthcareService-1|0.0.1" />
        </meta>
        <contained>
          <Organization>
            <id value="o1" />
            <meta>
              <profile value="https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/CareConnect-LocatorService-Organization-1|0.0.1" />
            </meta>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
              <value value="512" />
            </identifier>
            <type>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="40" />
                <display value="UNITARY AUTHORITY" />
              </coding>
            </type>
            <name value="Nottingham City Council" />
          </Organization>
        </contained>
        <contained>
          <Location>
            <id value="l1" />
            <meta>
              <profile value="https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/CareConnect-LocatorService-Location-1|0.0.1" />
            </meta>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
              <value value="512" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3060" />
            </identifier>
            <name value="Nottingham City Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="40" />
                <display value="UNITARY AUTHORITY" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Endpoint>
            <id value="e1" />
            <meta>
              <profile value="https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/LocatorService-Endpoint|0.0.1" />
            </meta>
            <status value="active" />
            <connectionType>
              <system value="http://hl7.org/fhir/endpoint-connection-type" />
              <code value="secure-email" />
              <display value="Secure email" />
            </connectionType>
            <managingOrganization>
              <reference value="#o1" />
            </managingOrganization>
            <payloadType>
              <coding>
                <system value="http://hl7.org/fhir/endpoint-payload-type" />
                <code value="any" />
                <display value="Any" />
              </coding>
            </payloadType>
            <address value="mailto:adult-social-care.test@nottinghamcity.gov.uk" />
          </Endpoint>
        </contained>
        <active value="true" />
        <providedBy>
          <reference value="#o1" />
        </providedBy>
        <type>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="715591000000108" />
            <display value="Hospital Discharge Notification to Social Care" />
          </coding>
        </type>
        <name value="Nottingham City Council - Social Care" />
        <coverageArea>
          <reference value="#l1" />
        </coverageArea>
        <endpoint>
          <reference value="#e1" />
        </endpoint>
      </HealthcareService>
    </resource>
    <search>
      <mode value="match" />
      <score value="0.8" />
    </search>
  </entry>
  <entry>
    <fullUrl value="https://fhir-test.nottinghamshire.gov.uk/LocatorService/v2/OperationOutcome/333e7a34-7c34-4a6b-bfbe-c70e6cec625c" />
    <resource>
      <OperationOutcome>
        <id value="333e7a34-7c34-4a6b-bfbe-c70e6cec625c" />
        <issue>
          <severity value="information" />
          <code value="processing" />
          <diagnostics value="HealthcareService resource returned is based on an approximate address match" />
        </issue>
      </OperationOutcome>
    </resource>
    <search>
      <mode value="outcome" />
    </search>
  </entry>
</Bundle>