Stream: implementers
Topic: ValueSet expansion clarification
John Timm (Dec 06 2019 at 16:24):
Could someone please clarify this statement (from http://hl7.org/fhir/valueset.html#expansion):
Add the intersection of the result set from the system and the result sets from the value sets to the expansion
If there are no value sets than the intersection of any set and the empty set is the empty set. Should it be union?
Grahame Grieve (Dec 06 2019 at 18:15):
the principle is that the includes are unioned, and within the include is intersectioned
Grahame Grieve (Dec 06 2019 at 18:16):
so no, it should not be union
John Timm (Dec 06 2019 at 18:50):
Okay. Does this mean the intersection occurs if and only if Include.valueSet.exists()?
John Timm (Dec 06 2019 at 18:51):
because otherwise you'd always end up with an empty set if there were no valueSets on a given include
Grahame Grieve (Dec 06 2019 at 18:52):
yes it does mean that
John Timm (Dec 06 2019 at 18:53):
Okay, thanks for the clarification @Grahame Grieve .
Last updated: Apr 12 2022 at 19:14 UTC