Extension: expand-group
URL for this extension:
http://hl7.org/fhir/StructureDefinition/valueset-expand-group
Status: draft. Extension maintained by: HL7
This extension declares a group of concepts that is generated into the ValueSet.expansion.contains hierarchy when the expansion is generated for a UI. THere is no inherent assigned meaning to the hierarchy; it is used to help the user navigate the concepts. Each group has a display and/or a code, and a list of members, which are either concepts in the value set, or other groups (by code).
Comment:
Note that there are inter-relationships between concept status/properties and the way the groups are built; these are described and documented in the (value set hierarchical example)[d.html]. Note that this extension should be ignored when the expansion is not generated for UI.
Context of Use: Use on Element ID ValueSet.compose.include
Extension Content
JSON Template
{ // expand-group
"extension" : [ // sliced by value:url in the specified order, Open
{ // Underlying code from the system // C?
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
"url" : "code", // R!
"valueCode" : "<code>" // C? R! Value of extension
},
{ // Display for the group // C?
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
"url" : "display", // R!
"valueString" : "<string>" // C? R! Value of extension
},
{ // Codes or other groups in this group // C? R!
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
"url" : "member", // R!
"valueCode" : "<code>" // C? R! Value of extension
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-group", // R!
// value[x]: Value of extension. One of these 51:
}
JSON Template
{ // expand-group
"extension" : [ // sliced by value:url in the specified order, Open
{ // Underlying code from the system // C?
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
"url" : "code", // R!
"valueCode" : "<code>" // C? R! Value of extension
},
{ // Display for the group // C?
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
"url" : "display", // R!
"valueString" : "<string>" // C? R! Value of extension
},
{ // Codes or other groups in this group // C? R!
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
"url" : "member", // R!
"valueCode" : "<code>" // C? R! Value of extension
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-group", // R!
// value[x]: Value of extension. One of these 51:
}
Constraints
- ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource (xpath: @value|f:*|h:div|self::f:Parameters)
- ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))
- ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
- ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
- ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
- ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
- ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
- ele-1: On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div)