<Bundle xmlns="http://hl7.org/fhir">
  <id value="87fce214-e677-4664-8b04-4615549e4a2c" />
  <meta>
    <lastUpdated value="2020-08-25T16:42:14.138+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=23%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/141" />
    <resource>
      <HealthcareService>
        <id value="141" />
        <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="511" />
            </identifier>
            <type>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="33" />
                <display value="COUNTY COUNCIL" />
              </coding>
            </type>
            <name value="Nottinghamshire County 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="139" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3015" />
            </identifier>
            <name value="Broxtowe Borough Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="34" />
                <display value="BOROUGH COUNCIL" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Location>
            <id value="l2" />
            <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="195" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3020" />
            </identifier>
            <name value="Gedling Borough Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="34" />
                <display value="BOROUGH COUNCIL" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Location>
            <id value="l3" />
            <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="286" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3040" />
            </identifier>
            <name value="Rushcliffe Borough Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="34" />
                <display value="BOROUGH COUNCIL" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Location>
            <id value="l4" />
            <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="127" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3010" />
            </identifier>
            <name value="Bassetlaw District Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="36" />
                <display value="DISTRICT COUNCIL" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Location>
            <id value="l5" />
            <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="120" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3005" />
            </identifier>
            <name value="Ashfield District Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="36" />
                <display value="DISTRICT COUNCIL" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Location>
            <id value="l6" />
            <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="244" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3025" />
            </identifier>
            <name value="Mansfield District Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="36" />
                <display value="DISTRICT COUNCIL" />
              </coding>
            </physicalType>
          </Location>
        </contained>
        <contained>
          <Location>
            <id value="l7" />
            <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="255" />
            </identifier>
            <identifier>
              <system value="http://ordnancesurvey.co.uk/addressbase/custodian-code" />
              <value value="3030" />
            </identifier>
            <name value="Newark And Sherwood District Council" />
            <physicalType>
              <coding>
                <system value="https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1" />
                <code value="36" />
                <display value="DISTRICT COUNCIL" />
              </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="hl7-fhir-rest" />
              <display value="HL7 FHIR" />
            </connectionType>
            <managingOrganization>
              <reference value="#o1" />
            </managingOrganization>
            <payloadType>
              <coding>
                <system value="http://hl7.org/fhir/resource-types" />
                <code value="ReferralRequest" />
              </coding>
            </payloadType>
            <payloadMimeType value="application/fhir+json" />
            <payloadMimeType value="application/fhir+xml" />
            <address value="https://fhir-test.nottinghamshire.gov.uk/ReferralService/v3/" />
          </Endpoint>
        </contained>
        <contained>
          <Endpoint>
            <id value="e2" />
            <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@nottscc.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="Nottinghamshire County Council - Social Care" />
        <coverageArea>
          <reference value="#l1" />
        </coverageArea>
        <coverageArea>
          <reference value="#l2" />
        </coverageArea>
        <coverageArea>
          <reference value="#l3" />
        </coverageArea>
        <coverageArea>
          <reference value="#l4" />
        </coverageArea>
        <coverageArea>
          <reference value="#l5" />
        </coverageArea>
        <coverageArea>
          <reference value="#l6" />
        </coverageArea>
        <coverageArea>
          <reference value="#l7" />
        </coverageArea>
        <endpoint>
          <reference value="#e1" />
        </endpoint>
        <endpoint>
          <reference value="#e2" />
        </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/bd0153de-d9c3-425a-9406-afed049db5c8" />
    <resource>
      <OperationOutcome>
        <id value="bd0153de-d9c3-425a-9406-afed049db5c8" />
        <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>