Stream: implementers
Topic: JPA Server: add additional field to resource
Siarhei P (Apr 12 2022 at 13:46):
Dear collogues,
I'm require to expand fhir resource with additional field and search or order by it.
For example Patient- created at.
Is it possible and where I can read about it?
David Pyke (Apr 12 2022 at 13:47):
So you're needing to extend the Patient resource and add a search field. Here is a good place to start reading
https://www.hl7.org/fhir/profiling.html
Lloyd McKenzie (Apr 12 2022 at 16:14):
Also, look at https://hl7.org/fhir/extensibility.html
Be aware that you can capture the location of creation using the Provenance resource without needing extensions, though at the cost of needing an additional resource. If you decide an extension is more appropriate, using a generic one on Resource.meta is probably most appropriate.
Last updated: Apr 12 2022 at 19:14 UTC