Stream: implementers
Topic: Modifier extension on ElementDefinition
Shamil Nizamov (Sep 19 2018 at 20:56):
The modifier extension can be used "on a few specially selected data types", ElementDefinition included. But ElementDefinition defines every element in a resource. This leads to a conclusion that modifier extension can be used on any element including those that "have a data type", does it not?
Lloyd McKenzie (Sep 19 2018 at 21:25):
ElementDefinition defines the elements, but the elements don't extend from ElementDefinition.
Lloyd McKenzie (Sep 19 2018 at 21:26):
So you can use modifierExtension in StructureDefinition.snapshot.element and StructureDefinition.differential.element. But that doesn't mean you can use modifierExtension in Address.use just because Address is defined using StructureDefinition.
Last updated: Apr 12 2022 at 19:14 UTC