Search loading...

API Hub

Explore and Make use of Nationally Defined Messaging APIs

 

FHIR® Consultations and Problems examples

Access Record Structured FHIR examples

The following is a set of request/response examples for Consultations and problems:

Example 1

Request

Example of a call to return the following items from a patient's structured record:

  • Consultations
  • Problems

Request payload

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "patientNHSNumber",
      "valueIdentifier": {
        "system": "https://fhir.nhs.uk/Id/nhs-number",
        "value": "9999999999"
      }
    },
    {
      "name": "includeConsultations",
      "part": [
        {
          "name": "numberOfMostRecent",
          "valueInteger": "3"
        }
      ]
    },
    {
      "name": "includeProblems",
      "part": [
        {
          "name": "includeStatus",
          "valueCode": "active"
        }
      ]
    }
  ]
}

Response payload

Response payload

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