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