WARNING
This guidance is under active development by NHS England and content may be added or updated on a regular basis.Use case - Get CareTeam
A clinician treating a child submits a query to CP-IS to see if any child protection information exists. The querying clinician is a registered "smartcard" user. The care episode is unscheduled.
The system issues a GET call to CP-IS for the child's NHS Number.
Get call
GET [base]/CareTeam?patient:identifier=https://fhir.nhs.uk/Id/nhs-number|[nhs-number]
Headers
Authorization: Bearer Z2NVIitD7bQOzsoCpO3P
TraceID: 6ede3b9d-a81b-4c75-9d77-e1d64d85c323
IsUnscheduledAccessEvent: true
Payload
None
Success case
The system responds with a SearchSet Bundle containing the CareTeam responsible for the Care Plan, Period, and Contact information.
Http response
HTTP/1.1 200 OK
Headers
Date: Tue, 05 Sep 2023 11:23:34 GMT
Content-Type: application/fhir+json
Payload
Command 'json' could not render: File was not found for 9daf8ceb-46eb-4314-9c6f-6900571a7dfa
No record found case
The system responds with a 0 total record SearchSet Bundle.
Http response
HTTP/1.1 200 OK
Headers
Date: Tue, 05 Sep 2023 11:23:34 GMT
Content-Type: application/fhir+json
Payload
Command 'json' could not render: File was not found for 7eb1bc82-da03-427b-b2d3-237bd6038cb7
Error / Fail condition
The system responds with an OperationOutcome.
Http response
HTTP/1.1 400 Bad Request
Headers
Date: Tue, 05 Sep 2023 11:23:34 GMT
Content-Type: application/fhir+json
Payload
Command 'json' could not render: File was not found for 57073625-1428-49e7-9ac5-abf1910cc58b