Description
When retrieving resources from the Patient Everything operation, I'm correctly receiving resources directly linked to the Patient (e.g. Observation based on Subject reference), however the FHIR documentation suggests that 'supporting resources' should also be included in the response.
From here: Operation-Patient-Everything
At a minimum, the patient resource(s) itself is returned, along with any other resources that the server has that are related to the patient(s), and that are available for the given user. The server also returns whatever resources are needed to support the records - e.g. linked practitioners, medications, locations, organizations etc.
For example, the following Observation (simplified) references an Organization via the Performer
field:
{
"resourceType": "Observation",
"id": "802d77fd-07b0-4b74-bc87-73044eecdbab",
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "43741000",
"display": "Site of care (environment)"
}
]
},
"subject": {
"reference": "Patient/e4ec69b6-7883-43a1-bb4d-084ae97aca96"
},
"effectivePeriod": {
"start": "2021-02-11T10:31:42+00:00",
"end": "2022-06-23T14:45:24+00:00"
},
"performer": [
{
"reference": "Organization/18a36004-053a-49bc-be1c-c9cf1e8682c6"
}
]
}
The two related resources I would like to see are Organization and Practitioner, and it's worth noting that these are not resource types included in the Patient Compartment. I'm using a proxy in front of the FHIR Server, so I'll most likely work around this and load these on-the-fly to include them in the response, however I just wondered if this is something that's currently supported or on the road map for inclusion.
Thanks,
Paul