FHIR Chat · Are all parent's elements inherited by child Resource? · fhir/infrastructure-wg

Stream: fhir/infrastructure-wg

Topic: Are all parent's elements inherited by child Resource?


view this post on Zulip Yunwei Wang (Apr 06 2021 at 15:02):

Looking at any FHIR resource, the root has "Elements defined in Ancestors", like this one in Citation: image.png
Does the child resource, Citation, have all the elements listed in this section? I noticed that some of "Ancestors" elements are also listed as element under the Citation, such as "jurisdiction", while others are not, such as "copyright". I would like to clarify what the difference is. Does Citation have copyright inherited from CanonicalResource?

view this post on Zulip Lloyd McKenzie (Apr 06 2021 at 16:22):

There's a problem with this logic because if an ancestor is 'pattern', we don't necessarily inherit everything. Can you submit an issue against the 'kindling' project to get this fixed?


Last updated: Apr 12 2022 at 19:14 UTC