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": "includeNumberOfMostRecent",
"valueInteger": 3
}
]
},
{
"name": "includeProblems",
"part": [
{
"name": "includeStatus",
"valueCode": "active"
}
]
}
]
}
Response payload
The response payload is available as a json file by clicking on the link below. The first consultation in the example is in line with the diagram on the consultation guidance page. It also contains a further two consultations which are described in the spreadsheet that can be downloaded using the link below.Response payload
Spreadsheet description of example