Layer reference

Care Inspectorate

Care Inspectorate (Scotland)

ci-scotland

Care services registered in Scotland and the providers that run them, with their grades, service types and places.

Licence: Open Government Licence v3.0. Attribution travels in every answer: Contains Care Inspectorate data.

The API answers this reference with a JSON Schema and an example per field, to a key holder: GET https://api.atlas.oromiq.com/v1/layers/ci-scotland/schema

Facts on the entity

One current value each, in the entity's facts list under its key. The name, address, postcode, status and identifiers reach you through the entity itself. Each field's full description comes with the layer's schema from the API (GET /v1/layers/{layer}/schema), for key holders.

Client keyLabelTypeSearchNotes
ci-scotland.careServiceCare servicetextyes, with a narrowing condition
ci-scotland.subtypeSubtypetextyes, with a narrowing condition
ci-scotland.serviceTypeService typetextyes, with a narrowing condition
ci-scotland.statusCare Inspectorate (Scotland) statusone of a listyes; can carry a search alonethe register's own status word; history kept
ci-scotland.registeredCare Inspectorate (Scotland): registereddatenoa dated event
ci-scotland.bedsBedsnumberyes, with a narrowing conditionhistory kept
ci-scotland.registeredPlacesRegistered placesnumberyes, with a narrowing conditionhistory kept
ci-scotland.clientGroupClient grouptextyes, with a narrowing condition
ci-scotland.healthBoardHealth boardtextyes, with a narrowing condition
ci-scotland.gradeMinLowest gradenumberyes, with a narrowing conditionhistory kept
ci-scotland.gradeMaxHighest gradenumbernohistory kept
ci-scotland.gradeChangeLowest grade changeone of a listImprove, Decline, Sameyes; can carry a search alonehistory kept
ci-scotland.gradeWellbeingWellbeingnumbernohistory kept
ci-scotland.gradePlanningCare and support planningnumbernohistory kept
ci-scotland.gradeSettingSettingnumbernohistory kept
ci-scotland.gradeStaffStaff teamnumbernohistory kept
ci-scotland.gradeLeadershipLeadershipnumbernohistory kept
ci-scotland.gradePlayLearningCarenumbernohistory kept
ci-scotland.gradeSpreadGrade spreadtextno
ci-scotland.gradesPublishedCare Inspectorate (Scotland): grades publisheddatenoa dated event
ci-scotland.combinedServiceCombined with another servicetextno
ci-scotland.combinedWithCombined service numbertextno
ci-scotland.additionalSubtypesOther subtypesa list of valuesno
ci-scotland.dataZoneData zonetextno
ci-scotland.simdRankSIMD rank of the data zonenumberno
ci-scotland.simdDecileSIMD 2020 decilenumberyes, with a narrowing condition
ci-scotland.integrationAuthorityHealth and social care partnershiptextyes, with a narrowing condition
ci-scotland.singleBedroomsSingle bedroomsnumberno
ci-scotland.bedsInDoubleRoomsBeds in double roomsnumberno
ci-scotland.bedsInLargerRoomsBeds in rooms for three or morenumberno
ci-scotland.mainAreaOfCareMain area of caretextyes, with a narrowing condition
ci-scotland.areasOfProvisionAreas of provisiona list of valuesno
ci-scotland.staffStaff (whole-time equivalent)numberno
ci-scotland.riskAssessmentCare Inspectorate risk assessmentone of a listLOW, MEDIUM, HIGHno
ci-scotland.latestGradeMonthLatest gradetextno
ci-scotland.lastInspectedCare Inspectorate (Scotland): last inspecteddatenoa dated event; history kept
ci-scotland.localAuthorityProviderRun by a local authoritytextno

How a change reaches you

Within a major version a layer only ever gains: a new key, a new option, a new list. A key, a type or an option is never taken away without a deprecation first: the catalogue and the layer schema mark it with the day it may go, the changelog records it, and every answer carries the surface version in x-atlas-surface so you know when your picture of the API is out of date.

Reading this layer
GET /v1/entities/{entityId}?layers=ci-scotland
Authorization: Bearer ck_…

{
  "data": {
    "facts": [
      { "layer": "ci-scotland", "key": "ci-scotland.careService", "value": "…" },
      { "layer": "ci-scotland", "key": "ci-scotland.subtype", "value": "…" },
      { "layer": "ci-scotland", "key": "ci-scotland.serviceType", "value": "…" }
    ]
  }
}