Stream: implementers
Topic: Extensions and future versions
Jay Lyle (Mar 20 2020 at 14:38):
I think we figured out that you can design an extension for DSTU2 that points to an R4 property. Not clear how to make it so.
Is it just my copy, or is it a reference? Whose domain should it assert? Does it need a version?
Current: http://myorg.com/fhir/StructureDefinition/my-extension
Options:
http://myorg.com/fhir/StructureDefinition/MedicationRequest.statusReason
http://hl7.org/fhir/StructureDefinition/MedicationRequest.statusReason
http://hl7.org/fhir/StructureDefinition/R4/MedicationRequest.statusReason
etc.
Eric Haas (Mar 20 2020 at 15:15):
I used a R4 element as a"pre-adopted extensions" in a R3 Ig such as :
http://hl7.org/fhir/4.0/StructureDefinition/extension-ElementDefinition.isModifierReason
[base]/ver/[Type]/extension-ElementDefinition.[element]
can't find the doco in the spec but it is there somewhere.
Jay Lyle (Mar 23 2020 at 12:27):
I read that as [base]/ver/[Type]/extension-[Resource].[element]
I.e., there's no special dependency on ElementDefinition, right?
Joel Schneider (Apr 04 2020 at 05:40):
This may also be relevant - "Extensions for converting between versions"
http://hl7.org/fhir/versions.html#extensions
Last updated: Apr 12 2022 at 19:14 UTC