The ‘_history’ parameter gives you access to all changes made to a resource.
Observation value changes. Name and address changes. Procedure status changes. The major and the minor.
Most managed FHIR servers support the _history parameter.
Here’s a GET request for a Patient I added to the HAPI server:
A single patient is returned.
– Edgar Allen Poe, 77 Yorktown Avenue
– firstname.lastname@example.org, 555-1234
And an almost identical GET request, with _history appended to the URL:
This request returns a Bundle of 4 Patient resources, each one the same but for a small change I made, and each with a different versionId and updatedDate in the Meta section.
Same patient — different address, different phone number, different email.
If you’re building an app or a solution on the back of a FHIR server that supports versioning, don’t ignore it. It’s filled with possibility!
Sign up to “The Tuesday FHIR Sessions” and receive an email every Tuesday where I go deep on a single FHIR topic.