This is a repost from my LinkedIn post
A recurring challenge I’ve encountered when working with FHIR is inconsistent resource referencing.
For example, the ChargeItemDefinition.instance element can reference both Device and DeviceDefinition. However, it can only reference Medication — not MedicationKnowledge — even though both DeviceDefinition and MedicationKnowledge are definition resources, share significant similarities, and are part of the Order Catalog Implementation Guide.

Similarly, in request resources such as MedicationRequest and DeviceRequest, it is possible to assign a HealthcareService as the performer. However, in corresponding event resources like MedicationDispense and DeviceDispense, there is no option to reference a HealthcareService as the performer. As a result, to indicate that a pharmacy service is performing the dispensing, I have to create an extension.


Additionally, while a request’s performer can be a HealthcareService, the requester is restricted to entities such as Organization — HealthcareService is not permitted.

These are just some examples. There may be valid reasons for these modeling choices, but they’re not always clear to me. Don’t get me wrong — I really like FHIR overall :). I just sometimes run into designs that I find a bit puzzling.
Originally published on May 12, 2024.
Republished on this blog on April 25, 2025.
Featured image by Tamanna Rumee on Unsplash

Leave a Reply