CQC Syndication

(1 review)

2. Locations Examples

Example 1 - List Page 1 of all Locations, 5 per page

Request: https://api.cqc.org.uk/public/v1/locations?page=1&perPage=5&partnerCode=OpenAnswers

Response:

{
   "total":88503,
   "firstPageUri":"/locations?page=1&perPage=5&partnerCode=OpenAnswers",
   "page":1,
   "previousPageUri":null,
   "lastPageUri":"/locations?page=17701&perPage=5&partnerCode=OpenAnswers",
   "nextPageUri":"/locations?page=2&perPage=5&partnerCode=OpenAnswers",
   "perPage":5,
   "totalPages":17701,
   "locations":[
      {
         "locationId":"1-1000210669",
         "locationName":"Kingswood House Nursing Home",
         "postalCode":"TN37 6HR"
      },
      {
         "locationId":"1-1000270393",
         "locationName":"Red Kite Home Care",
         "postalCode":"SL1 7JZ"
      },
      {
         "locationId":"1-1000312641",
         "locationName":"Human Support Group Limited - Sale",
         "postalCode":"M33 7HF"
      },
      {
         "locationId":"1-1000401911",
         "locationName":"Little Haven",
         "postalCode":"SE6 1HP"
      },
      {
         "locationId":"1-1000587219",
         "locationName":"Highlands Borders Care Home",
         "postalCode":"EX1 2QE"
      }
   ],
   "uri":"/locations"
}

Example 2 - Retrieve Location with CQC Location ID 1-545611283

Request: https://api.cqc.org.uk/public/v1/locations/1-545611283?partnerCode=OpenAnswers

Response:

{
  "locationId": "1-545611283",
  "providerId": "1-199747506",
  "organisationType": "Location",
  "type": "Primary Medical Services",
  "name": "Morden Hall Medical Centre",
  "onspdCcgCode": "E38000105",
  "onspdCcgName": "NHS Merton CCG",
  "odsCcgCode": "08R",
  "odsCcgName": "NHS Merton CCG",
  "odsCode": "H85037",
  "uprn": "48130060",
  "registrationStatus": "Registered",
  "registrationDate": "2013-04-01",
  "numberOfBeds": 0,
  "postalAddressLine1": "256 Morden Road",
  "postalAddressTownCity": "London",
  "region": "London",
  "postalCode": "SW19 3DA",
  "onspdLatitude": 51.404562,
  "onspdLongitude": -0.192098,
  "careHome": "N",
  "inspectionDirectorate": "Primary medical services",
  "mainPhoneNumber": "02085400585",
  "constituency": "Wimbledon",
  "localAuthority": "Merton",
  "lastInspection": {
    "date": "2015-11-05"
  },
  "lastReport": {
    "publicationDate": "2016-02-04"
  },
  "relationships": [

  ],
  "locationTypes": [
    {
      "type": "GP Practice"
    }
  ],
  "regulatedActivities": [
    {
      "name": "Maternity and midwifery services",
      "code": "RA11",
      "contacts": [
        {
          "personTitle": "Dr",
          "personGivenName": "fn mn",
          "personFamilyName": "ln",
          "personRoles": [
            "Registered Manager"
          ]
        }
      ]
    },
    {
      "name": "Family planning",
      "code": "RA15",
      "contacts": [
        {
          "personTitle": "Dr",
          "personGivenName": "fn mn",
          "personFamilyName": "ln",
          "personRoles": [
            "Registered Manager"
          ]
        }
      ]
    },
    {
      "name": "Treatment of disease, disorder or injury",
      "code": "RA5",
      "contacts": [
        {
          "personTitle": "Dr",
          "personGivenName": "fn mn",
          "personFamilyName": "ln",
          "personRoles": [
            "Registered Manager"
          ]
        }
      ]
    },
    {
      "name": "Surgical procedures",
      "code": "RA7",
      "contacts": [
        {
          "personTitle": "Dr",
          "personGivenName": "fn mn",
          "personFamilyName": "ln",
          "personRoles": [
            "Registered Manager"
          ]
        }
      ]
    },
    {
      "name": "Diagnostic and screening procedures",
      "code": "RA8",
      "contacts": [
        {
          "personTitle": "Dr",
          "personGivenName": "fn mn",
          "personFamilyName": "ln",
          "personRoles": [
            "Registered Manager"
          ]
        }
      ]
    }
  ],
  "gacServiceTypes": [
    {
      "name": "Doctors/Gps",
      "description": "Doctors consultation service"
    }
  ],
  "inspectionCategories": [
    {
      "code": "P2",
      "primary": "true",
      "name": "GP Practices"
    }
  ],
  "specialisms": [
    {
      "name": "Services for everyone"
    }
  ],
  "inspectionAreas": [
    {
      "inspectionAreaId": "conditions",
      "inspectionAreaName": "People with long term conditions",
      "status": "Active"
    },
    {
      "inspectionAreaId": "mothers",
      "inspectionAreaName": "Families, children and young people",
      "status": "Active"
    },
    {
      "inspectionAreaId": "old",
      "inspectionAreaName": "Older people",
      "status": "Active"
    },
    {
      "inspectionAreaId": "population",
      "inspectionAreaName": "Working age people (including those recently retired and students)",
      "status": "Active"
    },
    {
      "inspectionAreaId": "problems",
      "inspectionAreaName": "People experiencing poor mental health (including people with dementia)",
      "status": "Active"
    },
    {
      "inspectionAreaId": "vulnerable",
      "inspectionAreaName": "People whose circumstances may make them vulnerable",
      "status": "Active"
    }
  ],
  "currentRatings": {
    "overall": {
      "rating": "Good",
      "reportDate": "2016-02-04",
      "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39",
      "useOfResources": {

      },
      "keyQuestionRatings": [
        {
          "name": "Safe",
          "rating": "Good",
          "reportDate": "2016-02-04",
          "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
        },
        {
          "name": "Well-led",
          "rating": "Good",
          "reportDate": "2016-02-04",
          "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
        },
        {
          "name": "Caring",
          "rating": "Good",
          "reportDate": "2016-02-04",
          "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
        },
        {
          "name": "Responsive",
          "rating": "Good",
          "reportDate": "2016-02-04",
          "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
        },
        {
          "name": "Effective",
          "rating": "Good",
          "reportDate": "2016-02-04",
          "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
        }
      ]
    },
    "reportDate": "2016-02-04",
    "serviceRatings": [
      {
        "name": "conditions",
        "rating": "Good",
        "reportDate": "2016-02-04",
        "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
      },
      {
        "name": "mothers",
        "rating": "Good",
        "reportDate": "2016-02-04",
        "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
      },
      {
        "name": "old",
        "rating": "Good",
        "reportDate": "2016-02-04",
        "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
      },
      {
        "name": "population",
        "rating": "Good",
        "reportDate": "2016-02-04",
        "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
      },
      {
        "name": "problems",
        "rating": "Good",
        "reportDate": "2016-02-04",
        "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
      },
      {
        "name": "vulnerable",
        "rating": "Good",
        "reportDate": "2016-02-04",
        "reportLinkId": "79727ce9-7eee-4ac2-98df-05d110f02f39"
      }
    ]
  },
  "historicRatings": [
    {
      "reportLinkId": "ebb60a35-1a38-4d39-81f0-f89699d365a8",
      "reportDate": "2014-09-17",
      "overall": {
        "rating": "No published rating",
        "keyQuestionRatings": [
          {
            "name": "Safe",
            "rating": "Do not include in report"
          },
          {
            "name": "Caring",
            "rating": "Do not include in report"
          },
          {
            "name": "Effective",
            "rating": "Do not include in report"
          }
        ]
      }
    }
  ],
  "reports": [
    {
      "linkId": "008083f9-65fa-4498-9e61-63cc9deb0c52",
      "reportDate": "2014-09-02",
      "reportUri": "/reports/008083f9-65fa-4498-9e61-63cc9deb0c52",
      "firstVisitDate": "2014-05-15"
    },
    {
      "linkId": "ebb60a35-1a38-4d39-81f0-f89699d365a8",
      "reportDate": "2014-09-17",
      "reportUri": "/reports/ebb60a35-1a38-4d39-81f0-f89699d365a8",
      "reportType": "Location"
    },
    {
      "linkId": "79727ce9-7eee-4ac2-98df-05d110f02f39",
      "reportDate": "2016-02-04",
      "reportUri": "/reports/79727ce9-7eee-4ac2-98df-05d110f02f39",
      "firstVisitDate": "2015-11-05",
      "reportType": "Location"
    }
  ]
}

The GET request below lists locations that are Care Homes in the North West or North East Region:

Request: https://api.cqc.org.uk/public/v1/locations?page=1&perPage=5&careHome=Y&region=North%20East&region=North%20West&partnerCode=OpenAnswers

Response:

{
   "total":4690,
   "firstPageUri":"/locations?page=1&perPage=5&careHome=Y&region=North+West&region=North+East&partnerCode=OpenAnswers",
   "page":1,
   "previousPageUri":null,
   "lastPageUri":"/locations?page=938&perPage=5&careHome=Y&region=North+West&region=North+East&partnerCode=OpenAnswers",
   "nextPageUri":"/locations?page=2&perPage=5&careHome=Y&region=North+West&region=North+East&partnerCode=OpenAnswers",
   "perPage":5,
   "totalPages":938,
   "locations":[
      {
         "locationId":"1-1000711804",
         "locationName":"Belmont Grange Nursing and Residential Home",
         "postalCode":"DH1 2QW"
      },
      {
         "locationId":"1-1004589685",
         "locationName":"The Spinney Nursing Home",
         "postalCode":"WN8 0PY"
      },
      {
         "locationId":"1-1034321453",
         "locationName":"Manchester House Nursing Home",
         "postalCode":"PR9 9LN"
      },
      {
         "locationId":"1-1040452175",
         "locationName":"Springfield Care Home Limited",
         "postalCode":"DL1 2QA"
      },
      {
         "locationId":"1-1041284604",
         "locationName":"Hilbre Lodge",
         "postalCode":"CH47 1HB"
      }
   ],
   "uri":"/locations"
}

Reviews