FHIR Resource ≠ openEHR Archetype

This is a repost from my LinkedIn post

I often hear people say that an openEHR archetype is the same as a FHIR resource. While there are some similarities, this is not entirely accurate.

In my view, the artifacts that serve similar functions in both standards can be compared as shown in the diagram below. However, there is no straightforward one-to-one mapping between them.

A FHIR Resource Is Not an openEHR Archetype.

Most data types in openEHR have equivalent data types in FHIR. That said, some FHIR data types are more complex and would be modeled as a Cluster archetype in openEHR. For example, FHIR’s Timing data type is comparable to the Timing archetype in openEHR.

Similarly, some openEHR Cluster archetypes correspond to FHIR BackboneElement. For instance, the openEHR Language archetype is similar to the communication element inside the FHIR Patient resource, which is modeled as a BackboneElement.

In some cases, a Cluster archetype in openEHR resembles an entire FHIR resource. A good example is the openEHR Medication archetype, which aligns closely with the FHIR Medication resource.

Many openEHR Entry archetypes are comparable to FHIR resources, and This is what people often think when comparing between the two standards. Examples include the openEHR Medication Order archetype and the FHIR MedicationRequest resource.

However, openEHR archetypes can often be more detailed or complex than typical FHIR resources or data types. To capture equivalent information in FHIR, you would often need to create specific profiles and extensions. For example, to fully represent the data contained in the openEHR Blood Pressure archetype, you would need to define a FHIR profile on the Observation resource, a common practice for almost all observation archetypes. (To be more precise, creating a FHIR profile is not the only option. What is needed is a way to customize FHIR so that it matches the expected structure, whether by profiling, or applying other methods.)

Even the Timing example mentioned earlier is not a perfect match: openEHR distinguishes between daily and non-daily timing patterns, which would require additional customization of the FHIR Timing data type to represent accurately.

Finally, an openEHR Template is conceptually similar to profiling a FHIR document — specifically, a Bundle resource of type document. However, openEHR requires that all data be contained within a document structure, whereas FHIR does not enforce this constraint.

This is my perspective. I welcome any corrections or additional insights if you believe I have missed or misunderstood something.

Originally published on February 8, 2024.
Republished on this blog on April 25, 2025.
Featured image by Manav Bahl on Unsplash


Rath Panyowat Avatar

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

©2025 Rath Panyowat. All rights reserved.