FHIR Chat · Requirement for extending resources · implementers

Stream: implementers

Topic: Requirement for extending resources


view this post on Zulip Jafer Khan (Jan 14 2019 at 16:28):

Hello people,
I am looking for a change in a couple of resources for adding extra fields in them. The project that I've been looking so far is hapi-fhir-jpaserver-base but it isn't helping much as the conversion from a resource (as an instance of any of the model classes) to the actual entity which is persisted in the database is difficult to review. As I fear my change could unintentionally break something, can anyone help me out in this regard?

view this post on Zulip Yunwei Wang (Jan 14 2019 at 17:19):

You can try adding extensions

view this post on Zulip Lloyd McKenzie (Jan 14 2019 at 23:49):

Adding elements to a resource would make your implementation non-conformant (and would mean it wouldn't work with the test servers, validators, etc. The FHIR extension mechanism allows you to introduce additional content pretty much everywhere using a mechanism that will produce instances that are compliant and will work with standard schemas, etc. Read the http://hl7.org/fhir/extensibility.html page for information.


Last updated: Apr 12 2022 at 19:14 UTC