FHIR Chat · Elements with themselves as base · implementers

Stream: implementers

Topic: Elements with themselves as base


view this post on Zulip Nick George (Jan 04 2019 at 19:16):

Hello, why do elements in R4 that are new in resources (i.e., not inherited) list themselves as base?

view this post on Zulip Nick George (Jan 04 2019 at 19:16):

e.g., the ElementDefinition Patient.identifier has base.path = Patient.identifier

view this post on Zulip Nick George (Jan 04 2019 at 19:18):

this is new in R4 - previously you'd only list a base if there was one

view this post on Zulip Nick George (Jan 04 2019 at 19:20):

it makes it a bit tougher to handler, because in the case of a constraint, it's totally reasonable to have an element with id Patient.identifier have a base.path of Patient.identifier, but in a specialization, this is recursive. And just looking at an element definition, I'm not sure if you can tell them apart

view this post on Zulip Lloyd McKenzie (Jan 06 2019 at 00:00):

@Grahame Grieve @Ewout Kramer

view this post on Zulip Michel Rutten (Jan 07 2019 at 10:37):

https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=12295


Last updated: Apr 12 2022 at 19:14 UTC