Structured Data Capture - Data Element Exchange 2.0 (STU2)

This page is part of the Structured Data Capture - Data Element Exchange Specification (v2.0: STU 2) based on FHIR R3. This is the current published version. For a full list of available versions, see the Directory of published versions

The official URL for this profile is:

http://hl7.org/fhir/us/sdcde/StructureDefinition/sdcde-valueset

This profile sets expectations for use of the ValueSet resource within the Structured Data Capture Data Element Exchange implementation guide. This includes identifying which core elements and extensions must be supported.

For the purposes of this profile, Supported means that clients SHALL be capable of processing the element/extension and use the information to control the display and information capture associated with the ValueSet. It means that servers SHALL be capable of persisting those elements and returning them in response to requests. For systems rendering Questionnaires, these Supported elements and extensions must be supported in the rendering of allowed choices associated with questions.

This profile relies on the use of the valueset-extensions profile which defines a number of less common properties for value sets, several of which are mandated for this profile. It also makes use of the rendering-extensions which defines rendering information for display names and labels of codes.

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from ValueSet

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet 0..*
... url S0..1uri
... identifier S1..1Identifier
... version S0..1string
... name S1..1string
... title S0..1string
... status S1..1code
... experimental S0..1boolean
... date S0..1dateTime
... publisher S0..1string
... description S0..1markdown
... useContext S0..*UsageContext
... jurisdiction S0..*CodeableConcept
... immutable S0..1boolean
... extensible S0..1boolean
... compose S0..1BackboneElement
.... lockedDate S0..1date
.... inactive S0..1boolean
.... include S1..*BackboneElement
..... system S0..1uri
..... version S0..1string
..... concept S0..*BackboneElement
...... code S1..1code
...... display S0..1string
...... valueset-conceptOrder S0..1integerAppearance order for user selection
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
..... filter S0..*BackboneElement
...... property S1..1code
...... op S1..1code
...... value S1..1code
..... valueSet S0..*uri
.... exclude S0..*
... expansion S0..1BackboneElement
.... identifier S1..1uri
.... timestamp S1..1dateTime
.... contains S0..*BackboneElement
..... system S0..1uri
..... abstract S0..1boolean
..... version S0..1string
..... code S0..1code
..... display S0..1string
..... contains S0..*
..... valueset-conceptOrder S0..1integerAppearance order for user selection
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
..... valueset-definition S0..1stringA definition for this code
URL: http://hl7.org/fhir/StructureDefinition/valueset-definition
..... valueset-systemName S1..1stringCode system name
URL: http://hl7.org/fhir/StructureDefinition/valueset-systemName
... rendering-styleSensitive S0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... valueset-trusted-expansion S0..1uriReference to a trusted expansion
URL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion
... valueset-effectiveDate S0..1dateWhen the value set version becomes Active and is available for use
URL: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate
... valueset-expirationDate S0..1dateWhen the value set version should no longer be used
URL: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*A set of codes drawn from one or more code systems
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... rendering-styleSensitive SI0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... valueset-trusted-expansion SI0..1uriExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion
... valueset-effectiveDate SI0..1dateExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate
... valueset-expirationDate SI0..1dateExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url SΣ0..1uriLogical URI to reference this value set (globally unique)
... identifier SΣ1..1IdentifierAdditional identifier for the value set
... version SΣ0..1stringBusiness version of the value set
... name SΣ1..1stringName for this value set (computer friendly)
... title SΣ0..1stringName for this value set (human friendly)
... status ?!SΣ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental ?!SΣ0..1booleanFor testing purposes, not real usage
... date SΣ0..1dateTimeDate this was last changed
... publisher SΣ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description S0..1markdownNatural language description of the value set
... useContext SΣ0..*UsageContextContext the content is intended to support
... jurisdiction SΣ0..*CodeableConceptIntended jurisdiction for value set (if applicable)
Binding: Jurisdiction ValueSet (extensible)
... immutable SΣ0..1booleanIndicates whether or not any change to the content logical definition may occur
... purpose 0..1markdownWhy this value set is defined
... copyright 0..1markdownUse and/or publishing restrictions
... extensible SΣ0..1booleanWhether this is intended to be used with an extensible binding
... compose SI0..1BackboneElementDefinition of the content of the value set (CLD)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... lockedDate SΣ0..1dateFixed date for version-less references (transitive)
.... inactive SΣ0..1booleanWhether inactive codes are in the value set
.... include SΣI1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... system SΣI0..1uriThe system the codes come from
..... version SΣ0..1stringSpecific version of the code system referred to
..... concept SI0..*BackboneElementA concept defined in the system
...... id 0..1stringxml:id (or equivalent in JSON)
...... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
...... code S1..1codeCode or expression from system
...... display S0..1stringText to display for this code for this value set in this valueset
...... designation I0..*BackboneElementAdditional representations for this concept
....... id 0..1stringxml:id (or equivalent in JSON)
....... extension 0..*ExtensionAdditional Content defined by implementations
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
....... language 0..1codeHuman language of the designation
Binding: Common Languages (extensible)
....... use 0..1CodingDetails how this designation would be used
Binding: Designation Use (extensible)
....... value 1..1stringThe text value for this designation
..... filter ?!SΣI0..*BackboneElementSelect codes/concepts by their properties (including relationships)
...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
...... property SΣ1..1codeA property defined by the code system
...... op SΣ1..1code= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists
Binding: FilterOperator (required)
...... value SΣ1..1codeCode from the system, or regex criteria, or boolean value for exists
..... valueSet SΣI0..*uriSelect only contents included in this value set
.... exclude SI0..*Unknown reference to #ValueSet:sdcvalueset.compose.include
Explicitly exclude codes from a code system or other value sets
... expansion SI0..1BackboneElementUsed when the value set is "expanded"
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... identifier S1..1uriUniquely identifies this expansion
.... timestamp S1..1dateTimeTime ValueSet expansion happened
.... total 0..1integerTotal number of codes in the expansion
.... offset 0..1integerOffset at which this resource starts
.... parameter I0..*BackboneElementParameter that controlled the expansion process
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... name 1..1stringName as assigned by the server
..... value[x] 0..1string, boolean, integer, decimal, uri, codeValue of the named parameter
.... contains SI0..*BackboneElementCodes in the value set
..... id 0..1stringxml:id (or equivalent in JSON)
..... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
..... valueset-definition SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-definition
..... valueset-systemName SI1..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-systemName
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... system S0..1uriSystem value for the code
..... abstract S0..1booleanIf user cannot select this entry
..... inactive 0..1booleanIf concept is inactive in the code system
..... version S0..1stringVersion in which this code/display is defined
..... code SI0..1codeCode - if blank, this is not a selectable code
..... display SI0..1stringUser display for the concept
..... designation 0..*Unknown reference to #ValueSet:sdcvalueset.compose.include.concept.designation
Additional representations for this item
..... contains S0..*Unknown reference to #ValueSet:sdcvalueset.expansion.contains
Codes contained under this entry

doco Documentation for this format

Differential View

This structure is derived from ValueSet

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet 0..*
... url S0..1uri
... identifier S1..1Identifier
... version S0..1string
... name S1..1string
... title S0..1string
... status S1..1code
... experimental S0..1boolean
... date S0..1dateTime
... publisher S0..1string
... description S0..1markdown
... useContext S0..*UsageContext
... jurisdiction S0..*CodeableConcept
... immutable S0..1boolean
... extensible S0..1boolean
... compose S0..1BackboneElement
.... lockedDate S0..1date
.... inactive S0..1boolean
.... include S1..*BackboneElement
..... system S0..1uri
..... version S0..1string
..... concept S0..*BackboneElement
...... code S1..1code
...... display S0..1string
...... valueset-conceptOrder S0..1integerAppearance order for user selection
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
..... filter S0..*BackboneElement
...... property S1..1code
...... op S1..1code
...... value S1..1code
..... valueSet S0..*uri
.... exclude S0..*
... expansion S0..1BackboneElement
.... identifier S1..1uri
.... timestamp S1..1dateTime
.... contains S0..*BackboneElement
..... system S0..1uri
..... abstract S0..1boolean
..... version S0..1string
..... code S0..1code
..... display S0..1string
..... contains S0..*
..... valueset-conceptOrder S0..1integerAppearance order for user selection
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
..... valueset-definition S0..1stringA definition for this code
URL: http://hl7.org/fhir/StructureDefinition/valueset-definition
..... valueset-systemName S1..1stringCode system name
URL: http://hl7.org/fhir/StructureDefinition/valueset-systemName
... rendering-styleSensitive S0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... valueset-trusted-expansion S0..1uriReference to a trusted expansion
URL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion
... valueset-effectiveDate S0..1dateWhen the value set version becomes Active and is available for use
URL: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate
... valueset-expirationDate S0..1dateWhen the value set version should no longer be used
URL: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*A set of codes drawn from one or more code systems
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... rendering-styleSensitive SI0..1booleanExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... valueset-trusted-expansion SI0..1uriExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion
... valueset-effectiveDate SI0..1dateExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate
... valueset-expirationDate SI0..1dateExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url SΣ0..1uriLogical URI to reference this value set (globally unique)
... identifier SΣ1..1IdentifierAdditional identifier for the value set
... version SΣ0..1stringBusiness version of the value set
... name SΣ1..1stringName for this value set (computer friendly)
... title SΣ0..1stringName for this value set (human friendly)
... status ?!SΣ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental ?!SΣ0..1booleanFor testing purposes, not real usage
... date SΣ0..1dateTimeDate this was last changed
... publisher SΣ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description S0..1markdownNatural language description of the value set
... useContext SΣ0..*UsageContextContext the content is intended to support
... jurisdiction SΣ0..*CodeableConceptIntended jurisdiction for value set (if applicable)
Binding: Jurisdiction ValueSet (extensible)
... immutable SΣ0..1booleanIndicates whether or not any change to the content logical definition may occur
... purpose 0..1markdownWhy this value set is defined
... copyright 0..1markdownUse and/or publishing restrictions
... extensible SΣ0..1booleanWhether this is intended to be used with an extensible binding
... compose SI0..1BackboneElementDefinition of the content of the value set (CLD)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... lockedDate SΣ0..1dateFixed date for version-less references (transitive)
.... inactive SΣ0..1booleanWhether inactive codes are in the value set
.... include SΣI1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... system SΣI0..1uriThe system the codes come from
..... version SΣ0..1stringSpecific version of the code system referred to
..... concept SI0..*BackboneElementA concept defined in the system
...... id 0..1stringxml:id (or equivalent in JSON)
...... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
...... code S1..1codeCode or expression from system
...... display S0..1stringText to display for this code for this value set in this valueset
...... designation I0..*BackboneElementAdditional representations for this concept
....... id 0..1stringxml:id (or equivalent in JSON)
....... extension 0..*ExtensionAdditional Content defined by implementations
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
....... language 0..1codeHuman language of the designation
Binding: Common Languages (extensible)
....... use 0..1CodingDetails how this designation would be used
Binding: Designation Use (extensible)
....... value 1..1stringThe text value for this designation
..... filter ?!SΣI0..*BackboneElementSelect codes/concepts by their properties (including relationships)
...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
...... property SΣ1..1codeA property defined by the code system
...... op SΣ1..1code= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists
Binding: FilterOperator (required)
...... value SΣ1..1codeCode from the system, or regex criteria, or boolean value for exists
..... valueSet SΣI0..*uriSelect only contents included in this value set
.... exclude SI0..*Unknown reference to #ValueSet:sdcvalueset.compose.include
Explicitly exclude codes from a code system or other value sets
... expansion SI0..1BackboneElementUsed when the value set is "expanded"
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... identifier S1..1uriUniquely identifies this expansion
.... timestamp S1..1dateTimeTime ValueSet expansion happened
.... total 0..1integerTotal number of codes in the expansion
.... offset 0..1integerOffset at which this resource starts
.... parameter I0..*BackboneElementParameter that controlled the expansion process
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... name 1..1stringName as assigned by the server
..... value[x] 0..1string, boolean, integer, decimal, uri, codeValue of the named parameter
.... contains SI0..*BackboneElementCodes in the value set
..... id 0..1stringxml:id (or equivalent in JSON)
..... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
..... valueset-definition SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-definition
..... valueset-systemName SI1..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-systemName
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
..... system S0..1uriSystem value for the code
..... abstract S0..1booleanIf user cannot select this entry
..... inactive 0..1booleanIf concept is inactive in the code system
..... version S0..1stringVersion in which this code/display is defined
..... code SI0..1codeCode - if blank, this is not a selectable code
..... display SI0..1stringUser display for the concept
..... designation 0..*Unknown reference to #ValueSet:sdcvalueset.compose.include.concept.designation
Additional representations for this item
..... contains S0..*Unknown reference to #ValueSet:sdcvalueset.expansion.contains
Codes contained under this entry

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathNameConformanceValueSet
ValueSet.languageCommon LanguagesextensibleCommon Languages
ValueSet.statusPublicationStatusrequiredPublicationStatus
ValueSet.jurisdictionJurisdiction ValueSetextensibleJurisdiction ValueSet
ValueSet.compose.include.concept.designation.languageCommon LanguagesextensibleCommon Languages
ValueSet.compose.include.concept.designation.useDesignation UseextensibleDesignation Use
ValueSet.compose.include.filter.opFilterOperatorrequiredFilterOperator

Constraints

IdPathDetailsRequirements
dom-2ValueSetIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1ValueSetIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4ValueSetIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3ValueSetIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
vsd-5ValueSetValue set SHALL contain at least one of a compose or an expansion element
: compose.exists() or expansion.exists()
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.composeAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ValueSet.compose.includeAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
vsd-2ValueSet.compose.includeA value set with concepts or filters SHALL include a system
: (concept.exists() or filter.exists()) implies system.exists()
vsd-3ValueSet.compose.includeCannot have both concept and filter
: concept.empty() or filter.empty()
vsd-1ValueSet.compose.includeA value set include/exclude SHALL have a value set or a system
: valueSet.exists() or system.exists()
ele-1ValueSet.compose.include.conceptAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ValueSet.compose.include.concept.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.compose.include.concept.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.concept.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.compose.include.concept.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.concept.designationAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ValueSet.compose.include.filterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ValueSet.expansionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ValueSet.expansion.parameterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ValueSet.expansion.containsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
vsd-6ValueSet.expansion.containsSHALL have a code or a display
: code.exists() or display.exists()
vsd-9ValueSet.expansion.containsMust have a code if not abstract
: code.exists() or abstract = true
vsd-10ValueSet.expansion.containsMust have a system if a code is present
: code.empty() or system.exists()
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()