This page is part of the Structured Data Capture FHIR IG (v1.6: STU 2 Ballot 1) based on FHIR v1.6.0. . For a full list of available versions, see the Directory of published versions

This is a pre-release of a future version of SDC (expected to be STU 2). The current version is STU 2.
For a full list of available versions, see the Directory of published versions .

11.1 StructureDefinition: Profile sdc-valueset

The official URL for this profile is:

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

11.1.2 Formal Views of Profile Content

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

This structure is derived from ValueSet

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet 0..*
... url S0..1uri
... name S1..1string
... status S1..1code
... experimental S0..1boolean
... date S0..1dateTime
... lockedDate S0..1date
... description S1..1markdown
... useContext S0..*CodeableConcept
... immutable S1..1boolean
... extensible S1..1boolean
... compose S0..1BackboneElement
.... import S0..*uri
.... include S0..*BackboneElement
..... system S1..1uri
..... version S0..1string
..... concept S0..*BackboneElement
...... code S1..1code
...... display S0..1string
....... rendering-style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
....... rendering-xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
...... valueset-label S0..1stringE.g. "(a)", "1.", etc.
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
....... valueString 1..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
.... 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
...... rendering-style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
...... rendering-xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... contains S0..*
..... valueset-label S0..1stringE.g. "(a)", "1.", etc.
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
...... valueString 1..1string
..... valueset-conceptOrder S0..1integerAppearance order for user selection
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
... rendering-styleSensitive S0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*A set of codes drawn from one or more code systems
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
vsd-2: A value set with only one import SHALL also have an include and/or an exclude
vsd-5: Value set SHALL contain at least one of a a compose, or an expansion element
... 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
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url S0..1uriGlobally unique logical identifier for value set
... identifier 0..*IdentifierAdditional identifier for the value set (e.g. HL7 v2 / CDA)
... version 0..1stringLogical identifier for this version of the value set
... name S1..1stringInformal name for this value set
... status ?!S1..1codedraft | active | retired
Binding: ConformanceResourceStatus (required)
... experimental S0..1booleanIf for testing purposes, not real usage
... publisher 0..1stringName of the publisher (organization or individual)
... contact 0..*BackboneElementContact details of the publisher
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... name 0..1stringName of an individual to contact
.... telecom 0..*ContactPointContact details for individual or publisher
... date S0..1dateTimeDate for given status
... lockedDate S0..1dateFixed date for all referenced code systems and value sets
... description S1..1markdownHuman language description of the value set
... useContext S0..*CodeableConceptContent intends to support these contexts
Binding: Context of Use ValueSet (extensible)
... immutable S1..1booleanIndicates whether or not any change to the content logical definition may occur
... requirements 0..1markdownWhy needed
... copyright 0..1stringUse and/or publishing restrictions
... extensible S1..1booleanWhether this is intended to be used with an extensible binding
... compose SI0..1BackboneElementWhen value set includes codes from elsewhere
vsd-1: A value set composition SHALL have an include or an import
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... import SI0..*uriImport the contents of another value set
.... include SI0..*BackboneElementInclude one or more codes from a code system
vsd-11: Cannot have both concept and filter
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... system S1..1uriThe system the codes come from
..... version S0..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-label SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... id 0..1stringxml:id (or equivalent in JSON)
....... url 1..1uri"http://hl7.org/fhir/StructureDefinition/valueset-label"
....... valueString 1..1stringValue of extension
........ id 0..1idxml:id (or equivalent in JSON)
........ rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ value 0..1Primitive value for string
...... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... 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
....... id 0..1idxml:id (or equivalent in JSON)
....... rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... value 0..1Primitive value for string
...... designation 0..*BackboneElementAdditional representations for this valueset
....... 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 SI0..*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 S1..1codeA property defined by the code system
...... op S1..1code= | is-a | is-not-a | regex | in | not-in | generalizes
Binding: FilterOperator (required)
...... value S1..1codeCode from the system, or regex criteria
.... exclude SI0..*Unknown reference to #ValueSet:sdcdevalueset.compose.include
Explicitly exclude codes
... 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 0..*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
vsd-6: SHALL have a code or a display
vsd-9: Must have a code if not abstract
vsd-10: Must have a system if a code is present
..... id 0..1stringxml:id (or equivalent in JSON)
..... valueset-label SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... id 0..1stringxml:id (or equivalent in JSON)
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/valueset-label"
...... valueString 1..1stringValue of extension
....... id 0..1idxml:id (or equivalent in JSON)
....... rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... value 0..1Primitive value for string
..... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... system S0..1uriSystem value for the code
..... abstract S0..1booleanIf user cannot select this entry
..... 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
...... id 0..1idxml:id (or equivalent in JSON)
...... rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... value 0..1Primitive value for string
..... contains S0..*Unknown reference to #ValueSet:sdcdevalueset.expansion.contains
Codes contained under this entry

doco Documentation for this format

yet to be done: Xml template

yet to be done: Json template

yet to be done: Turtle template

Differential View

This structure is derived from ValueSet

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet 0..*
... url S0..1uri
... name S1..1string
... status S1..1code
... experimental S0..1boolean
... date S0..1dateTime
... lockedDate S0..1date
... description S1..1markdown
... useContext S0..*CodeableConcept
... immutable S1..1boolean
... extensible S1..1boolean
... compose S0..1BackboneElement
.... import S0..*uri
.... include S0..*BackboneElement
..... system S1..1uri
..... version S0..1string
..... concept S0..*BackboneElement
...... code S1..1code
...... display S0..1string
....... rendering-style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
....... rendering-xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
...... valueset-label S0..1stringE.g. "(a)", "1.", etc.
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
....... valueString 1..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
.... 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
...... rendering-style 0..1stringHtml style value
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
...... rendering-xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... contains S0..*
..... valueset-label S0..1stringE.g. "(a)", "1.", etc.
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
...... valueString 1..1string
..... valueset-conceptOrder S0..1integerAppearance order for user selection
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
... rendering-styleSensitive S0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*A set of codes drawn from one or more code systems
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
vsd-2: A value set with only one import SHALL also have an include and/or an exclude
vsd-5: Value set SHALL contain at least one of a a compose, or an expansion element
... 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
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url S0..1uriGlobally unique logical identifier for value set
... identifier 0..*IdentifierAdditional identifier for the value set (e.g. HL7 v2 / CDA)
... version 0..1stringLogical identifier for this version of the value set
... name S1..1stringInformal name for this value set
... status ?!S1..1codedraft | active | retired
Binding: ConformanceResourceStatus (required)
... experimental S0..1booleanIf for testing purposes, not real usage
... publisher 0..1stringName of the publisher (organization or individual)
... contact 0..*BackboneElementContact details of the publisher
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... name 0..1stringName of an individual to contact
.... telecom 0..*ContactPointContact details for individual or publisher
... date S0..1dateTimeDate for given status
... lockedDate S0..1dateFixed date for all referenced code systems and value sets
... description S1..1markdownHuman language description of the value set
... useContext S0..*CodeableConceptContent intends to support these contexts
Binding: Context of Use ValueSet (extensible)
... immutable S1..1booleanIndicates whether or not any change to the content logical definition may occur
... requirements 0..1markdownWhy needed
... copyright 0..1stringUse and/or publishing restrictions
... extensible S1..1booleanWhether this is intended to be used with an extensible binding
... compose SI0..1BackboneElementWhen value set includes codes from elsewhere
vsd-1: A value set composition SHALL have an include or an import
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... import SI0..*uriImport the contents of another value set
.... include SI0..*BackboneElementInclude one or more codes from a code system
vsd-11: Cannot have both concept and filter
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... system S1..1uriThe system the codes come from
..... version S0..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-label SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... id 0..1stringxml:id (or equivalent in JSON)
....... url 1..1uri"http://hl7.org/fhir/StructureDefinition/valueset-label"
....... valueString 1..1stringValue of extension
........ id 0..1idxml:id (or equivalent in JSON)
........ rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ value 0..1Primitive value for string
...... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... 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
....... id 0..1idxml:id (or equivalent in JSON)
....... rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... value 0..1Primitive value for string
...... designation 0..*BackboneElementAdditional representations for this valueset
....... 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 SI0..*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 S1..1codeA property defined by the code system
...... op S1..1code= | is-a | is-not-a | regex | in | not-in | generalizes
Binding: FilterOperator (required)
...... value S1..1codeCode from the system, or regex criteria
.... exclude SI0..*Unknown reference to #ValueSet:sdcdevalueset.compose.include
Explicitly exclude codes
... 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 0..*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
vsd-6: SHALL have a code or a display
vsd-9: Must have a code if not abstract
vsd-10: Must have a system if a code is present
..... id 0..1stringxml:id (or equivalent in JSON)
..... valueset-label SI0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-label
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... id 0..1stringxml:id (or equivalent in JSON)
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/valueset-label"
...... valueString 1..1stringValue of extension
....... id 0..1idxml:id (or equivalent in JSON)
....... rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... value 0..1Primitive value for string
..... valueset-conceptOrder SI0..1integerExtension
URL: http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... system S0..1uriSystem value for the code
..... abstract S0..1booleanIf user cannot select this entry
..... 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
...... id 0..1idxml:id (or equivalent in JSON)
...... rendering-style I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-style
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... rendering-xhtml I0..1stringExtension
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... value 0..1Primitive value for string
..... contains S0..*Unknown reference to #ValueSet:sdcdevalueset.expansion.contains
Codes contained under this entry

doco Documentation for this format

XML Template

yet to be done: Xml template

JSON Template

yet to be done: Json template

TTL Template

yet to be done: Turtle template

 

Other representations of profile: Schematron

11.1.3 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
ValueSet.languageCommon LanguagesextensibleCommon Languages
ValueSet.statusConformanceResourceStatusrequiredConformanceResourceStatus
ValueSet.useContextContext of Use ValueSetextensibleContext of Use ValueSet
ValueSet.compose.include.concept.designation.languageCommon LanguagesextensibleCommon Languages
ValueSet.compose.include.concept.designation.useDesignation UseextensibleDesignation Use
ValueSet.compose.include.filter.opFilterOperatorrequiredFilterOperator

11.1.4 Constraints

Constraints

IdPathDetailsRequirements
dom-2ValueSetIf the resource is contained in another resource, it SHALL NOT contain nested Resources
XPath: not(parent::f:contained and f:contained)
dom-1ValueSetIf the resource is contained in another resource, it SHALL NOT contain any narrative
XPath: not(parent::f:contained and f:text)
dom-4ValueSetIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
dom-3ValueSetIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
vsd-2ValueSetA value set with only one import SHALL also have an include and/or an exclude
XPath: not(exists(f:compose)) or (count(f:compose/f:import)!=1 or exists(f:compose/f:include) or exists(f:compose/f:exclude))
vsd-5ValueSetValue set SHALL contain at least one of a a compose, or an expansion element
XPath: exists(f:compose) or exists(f:expansion)
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
vsd-1ValueSet.composeA value set composition SHALL have an include or an import
XPath: exists(f:include) or exists(f:import)
vsd-11ValueSet.compose.includeCannot have both concept and filter
XPath: not(exists(f:concept)) or not(exists(f:filter))
ele-1ValueSet.compose.include.concept.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.extension.valueString.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.extension.valueString.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.extension.valueString.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.extension.valueString.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.extension.valueString.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.extension.valueString.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.display.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.display.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.display.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.display.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.compose.include.concept.display.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.compose.include.concept.display.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
vsd-6ValueSet.expansion.containsSHALL have a code or a display
XPath: exists(f:code) or exists(f:display)
vsd-9ValueSet.expansion.containsMust have a code if not abstract
XPath: exists(f:code) or (f:abstract/@value = true())
vsd-10ValueSet.expansion.containsMust have a system if a code is present
XPath: exists(f:system) or not(exists(f:code))
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.extension.valueString.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.extension.valueString.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.extension.valueString.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.extension.valueString.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.extension.valueString.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.extension.valueString.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.display.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.display.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.display.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.display.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
ele-1ValueSet.expansion.contains.display.extensionAll FHIR elements must have a @value or children
XPath: @value|f:*|h:div
ext-1ValueSet.expansion.contains.display.extensionMust have either extensions or value[x], not both
XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])