FHIR Chat · Assuring uniqueness in sub-extensions · conformance

Stream: conformance

Topic: Assuring uniqueness in sub-extensions


view this post on Zulip Noemi Deppenwiese (Nov 14 2019 at 08:34):

In one of my profiles, i have a complex extension with a cardinality of 0..n. This extension has (among others) a sub-extension with cardinality 1..n and a ValueSet binding. Now, I want to make sure that no value from this ValueSet appears more than once in all repetitions of the complex extension...
I assume I need to define a constraint, but on what level? On the complex extension or on the resource root?

view this post on Zulip Grahame Grieve (Nov 14 2019 at 08:38):

in the context constraint of the extension

view this post on Zulip Grahame Grieve (Nov 14 2019 at 08:38):

(StructureDefinition.contextInvariant)

view this post on Zulip Noemi Deppenwiese (Nov 14 2019 at 08:41):

Thanks!


Last updated: Apr 12 2022 at 19:14 UTC