Stream: implementers
Topic: Extensions to represent new elements in older FHIR versions
Michele Mottini (Jun 09 2020 at 15:44):
Is there a standard way to create extension to represent newly introduced elements in older FHIR versions that do not have them? (I vaguely remember someone mentioning it but cannot find reference to that)
Michele Mottini (Jun 09 2020 at 15:45):
(Specifically I am interested in Provenance.agent.onBehalfOf in DSTU2)
Jenni Syed (Jun 09 2020 at 15:58):
yes, there's a backport... let me find it in the spec...
Jenni Syed (Jun 09 2020 at 16:00):
http://build.fhir.org/versions.html#extensions
Jenni Syed (Jun 09 2020 at 16:01):
original zulip chat: https://chat.fhir.org/#narrow/stream/179166-implementers/topic/R4.20-.3E.20STU3.20.22backport.22.20extensions
Michele Mottini (Jun 09 2020 at 16:01):
Great, thank you very much Jenni
Jenni Syed (Jun 09 2020 at 16:03):
Having fun finding it in R4 so I am not sure if it landed there or not :)
Jenni Syed (Jun 09 2020 at 16:04):
http://hl7.org/fhir/r4/versions.html#extensions
Jenni Syed (Jun 09 2020 at 16:04):
(duh, was on wrong version page)
Michele Mottini (Jun 18 2020 at 18:33):
Follow up question! What if the element is there but with a different cardinality? so I have a list of organization types - that I can fit in Organization.type in R4 and STU3 but not in DSTU2 - where type is 0..1 ?
Michele Mottini (Jun 18 2020 at 18:35):
Put one type in DSTU2 Organization.type and then the complete list in multiple http://hl7.org/fhir/3.0/StructureDefinition/extension-Organization.type
extensions ?
Grahame Grieve (Jun 18 2020 at 18:53):
we haven't resolved this problem (or really even talked about it)
Michele Mottini (Jun 18 2020 at 19:00):
OK, thanks Grahame
Jay Lyle (Aug 07 2020 at 20:53):
So, if the versions page says do it like this: [http://hl7.org/fhir/4.0/StructureDefinition/extension-Bundle.signature], is there a reason the Subscription Backport IG does it like this: "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-topic-canonical"?
Gino Canessa (Aug 07 2020 at 20:55):
Probably because I did it wrong and nobody's noticed/brought it up
Gino Canessa (Aug 07 2020 at 21:02):
(the backport IG is still early in development, if that helps)
Grahame Grieve (Aug 07 2020 at 21:37):
no those are different things
Grahame Grieve (Aug 07 2020 at 21:37):
the versions is page is talking about how to refer to something defined in R4. Gino's extension is not defined in R4
Gino Canessa (Aug 07 2020 at 22:15):
Then never mind :-) Though, it's still wrong on the current IG since we changed to universal realm, but I've fixed that locally already.
Cheers!
Last updated: Apr 12 2022 at 19:14 UTC