Search loading...

API Hub

Explore and Make use of Nationally Defined Messaging APIs

 

Clinical Decision Support API Patient Journey

This page is intended for UEC supplier product specialists to understand the business context when adopting the CDS API standard, through an attempt to describe how CDS API FHIR resources and interactions could be used to support a simple patient journey.

Clinical Scenario

This scenario describes the triage journey of a patient, who contacts NHS 111 after injuring her leg.

Patient Persona

Karen is in her mid-thirties and works part time at the local post office.

Staff Persona

Claire is a Health Advisor for an NHS 111 Service Provider and has worked there for almost a year. She finds the job interesting and whilst it is challenging at times, she likes having the ability to help people in need and has a high level of job satisfaction.

Simple patient journey using the CDS API

Business view System view

Whilst rushing to work, Karen tripped and injured her leg, which is still painful despite taking over the counter painkillers. She is not sure if it is bad enough to go to the Emergency Department, so she calls 111.

Health Advisor, Claire, answers the call. She establishes Karen's identity and records that a leg injury is the reason for the contact. She enters this information into her organisation's Encounter Management System (EMS) whilst speaking to the patient.

The EMS creates the encounter and captures the patient's details including demographic information and the presenting complaint.

1. Find appropriate Clinical Decision Support to enable triage of the presenting complaint

Business view System view

Claire requests clinical decision support to assist her in the triage of Karen's leg injury

The EMS must first select an appropriate ServiceDefinition from a Clinical Decision Support System (CDSS).

The EMS searches for a ServiceDefinition using a $search operation to search for a ServiceDefinition which corresponds to selected search criteria known to the EMS (e.g. patient gender, patient age group, user role). The EMS selects the appropriate ServiceDefinition and invokes the CDSS ServiceDefinition.

The key interactions for the CDS API are represented in diagram format on the Solution Interactions section of the CDS API implementation guide.

2. Initiate and run triage questionnaire with selected ServiceDefinition

Business view System view

Claire is presented with clinical decision support to assist her with the triage of Karen's leg injury.

The EMS has patient age and gender details that partially meet the ServiceDefinition.DataRequirements and posts these to the CDSS in the ServiceDefinition.$evaluate.inputData element.

This information is 'inspected' by the CDSS and is insufficient to render a result as the CDSS needs more information about the nature of Karen's injury. The CDSS identifies an appropriate Questionnaire resource to elicit more information about the patient's injury. The reference to the Questionnaire resource is returned to the EMS as part of the GuidanceResponse.

Claire asks Karen the questions displayed by the EMS and records her responses.

The EMS displays the question(s) from the CDSS Questionnaire resource and captures the answers from the user. The EMS creates a QuestionnaireResponse resource and populates this with the answers.

The EMS posts the captured responses to the CDSS by invoking the same ServiceDefinition.$evaluate operation as in the step above, but now with a reference to the newly created QuestionnaireResponse in the $evaluate.inputData element.

The CDSS, in turn, reads the response and creates a clinical assertion as an Observation resource.

In line with RESTful behaviour (where each request from client to server must contain all the information necessary to understand the request and cannot take advantage of any stored context on the server) the assertions are referenced in the GuidanceResponse.outputParameters.

The GuidanceResponse.status is set to 'data-required' and the reference to the next Questionnaire resource is populated in the GuidanceResponse.dataRequirement element.

The next Questionnaire is sent as a request for more information from the EMS. The EMS collects answers from the user and invokes $evaluate again, populating input data with the QuestionnaireResponse and all assertions received in the GuidanceResponse.outputParameters, as per the Restful behaviour described above.

This loop is repeated until there is enough information for the CDSS to populate the result.

3. The CDSS provides a Result against a chief concern, post assessment

Business view System view

Claire reaches the end of the questions and a triage outcome, which in this case is to have her leg examined by her GP within 24 hours, is displayed on screen.

The CDSS has enough information to arrive at a triage outcome which determined that the patient required a primary care assessment within 24 hours.

The GuidanceResponse.status is set to 'success'.

The result element in GuidanceResponse is populated with a RequestGroup resource which references a ReferralRequest.

The details of the referral carried in the ReferralRequest include:

  • reasonReference of 'Injury of Lower Leg'
  • ProcedureRequest of 'Physical examination of limb by primary care clinician'
  • Occurrence of 'within 24 hours'

As it is within Primary Care opening hours, Claire advises Karen to make an appointment with her GP within 24 hours, using the information displayed on the EMS.

4. End of CDS API interactions

Because the GuidanceResponse.status has been set as 'success', the EMS knows that the recommended result can be acted on, and that no additional information is needed which would improve the recommendation.

The EMS displays the recommendation to Claire, who has no reason in her judgement to override the recommendation. As the call happens during GP opening hours, Claire advises Karen to make an appointment with her GP. Since the EMS is connected to the Personal Demographics Service (PDS), and Karen has been identified in the EMS, Claire can see Karen's registered GP.

The EMS to CDSS interactions are concluded.


All content is available under the Open Government Licence v3.0, except where otherwise stated