Skip to content

Instantly share code, notes, and snippets.

@ajohnstone
Created September 17, 2018 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajohnstone/ffab0e1fa366fff2e2e0e833d1212a70 to your computer and use it in GitHub Desktop.
Save ajohnstone/ffab0e1fa366fff2e2e0e833d1212a70 to your computer and use it in GitHub Desktop.
$ curl -s https://api.cqc.org.uk/public/v1/providers/1-101614751 | jq '.';
{
"providerId": "1-101614751",
"locationIds": [
"1-107338589",
"1-107338606"
],
"organisationType": "Provider",
"ownershipType": "Organisation",
"type": "Social Care Org",
"name": "Larchwood Court Limited",
"registrationStatus": "Registered",
"registrationDate": "2010-10-01",
"postalAddressLine1": "Bryant House",
"postalAddressLine2": "Bryant Road, Strood",
"postalAddressTownCity": "Rochester",
"postalAddressCounty": "Kent",
"region": "South East",
"postalCode": "ME2 3EW",
"mainPhoneNumber": "01474824122",
"constituency": "Rochester and Strood",
"localAuthority": "Medway",
"lastInspection": {
"date": "2018-05-17"
},
"contacts": [],
"relationships": [],
"regulatedActivities": [
{
"name": "Accommodation for persons who require nursing or personal care",
"code": "RA2",
"nominatedIndividual": {
"personTitle": "Miss",
"personGivenName": "Janet",
"personFamilyName": "Aldridge"
}
}
]
}
$ curl -s 'https://mocksvc-proxy.anypoint.mulesoft.com/exchange/4d36bd23-127d-4acf-8903-ba292ea615d4/cqc-syndication/1.0.3/public/v1/providers/1-101614751' | jq '.'
{
"providerId": "RXL",
"locationIds": [
"RXL01",
"RXL04",
"RXL06",
"RXL07",
"RXL08",
"RXL09",
"RXL36",
"RXLX1",
"RXLX2",
"RXLX3",
"RXLX4",
"RXLX5",
"RXLX8",
"RXLX9"
],
"organisationType": "Provider",
"type": "NHS Healthcare Organisation",
"name": "Blackpool Teaching Hospitals NHS Foundation Trust",
"registrationStatus": "Registered",
"registrationDate": "2010-04-01",
"website": "www.bfwhospitals.nhs.uk",
"postalAddressLine1": "Trust Headquarters, Blackpool Victoria Hospital",
"postalAddressLine2": "Whinney Heys Road",
"postalAddressTownCity": "Blackpool",
"postalAddressCounty": "Lancashire",
"region": "North West",
"postalCode": "FY3 8NR",
"mainPhoneNumber": "01253306853",
"constituency": "Blackpool North and Cleveleys",
"localAuthority": "Blackpool",
"lastReport": {
"publicationDate": "2014-09-17"
},
"contacts": [
{
"personTitle": "Mrs",
"personGivenName": "Anne",
"personFamilyName": "Smith",
"personRoles": [
"Partner"
]
}
],
"relationships": [
{
"relatedProviderId": "5NF",
"relatedProviderName": "North Lancashire Teaching PCT",
"type": "HSCA Predecessor",
"reason": "NHS Transfer"
},
{
"relatedProviderId": "5HP",
"relatedProviderName": "Blackpool PCT",
"type": "HSCA Predecessor",
"reason": "NHS Transfer"
}
],
"regulatedActivities": [
{
"name": "Maternity and midwifery services",
"code": "RA11",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Termination of pregnancies",
"code": "RA12",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Nursing care",
"code": "RA14",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Family planning",
"code": "RA15",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Treatment of disease, disorder or injury",
"code": "RA5",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Assessment or medical treatment for persons detained under the Mental Health Act 1983",
"code": "RA6",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Surgical procedures",
"code": "RA7",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Diagnostic and screening procedures",
"code": "RA8",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
},
{
"name": "Management of supply of blood and blood derived products",
"code": "RA9",
"nominatedIndividual": {
"personTitle": "Ms",
"personGivenName": "Marie",
"personFamilyName": "Thompson"
}
}
],
"currentRatings": {
"overall": {
"rating": "Good",
"reportDate": "2018-01-30",
"keyQuestionRatings": [
{
"name": "Safe",
"reportDate": "2018-01-30",
"rating": "Good"
},
{
"name": "Well-led",
"reportDate": "2018-01-30",
"rating": "Good"
},
{
"name": "Caring",
"reportDate": "2017-01-30",
"rating": "Requires improvement"
},
{
"name": "Responsive",
"reportDate": "2017-01-30",
"rating": "Compliance action"
},
{
"name": "Effective",
"reportDate": "2016-01-30",
"rating": "Outstanding"
}
]
},
"reportDate": "2018-01-30",
"serviceRatings": [
{
"name": "urgent",
"rating": "Not rated"
},
{
"name": "care",
"rating": "Outstanding",
"reportDate": "2017-01-02"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment