description: 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). package_name: rs/hl7.fhir.r4b.examples derivation: constraint name: expand-group type: Extension elements: extension: short: Underlying code from the system type: Extension index: 0 slicing: slices: code: match: {} schema: short: Underlying code from the system type: Extension index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: uri, value: code} index: 2 value: choices: [valueCode] index: 4 valueCode: {type: code, choiceOf: value, index: 5} required: [value, valueCode] display: match: {} schema: type: Extension short: Display for the group index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: uri, value: display} index: 8 value: choices: [valueString] index: 10 valueString: {type: string, choiceOf: value, index: 11} required: [value, valueString] member: match: {} schema: min: 1 short: Codes or other groups in this group index: 12 type: Extension array: true elements: extension: {index: 13} url: type: uri pattern: {type: uri, value: member} index: 14 value: choices: [valueCode] index: 16 valueCode: {type: code, choiceOf: value, index: 17} _required: true extensions: {} required: [value, valueCode] url: pattern: {type: uri, value: 'http://hl7.org/fhir/StructureDefinition/valueset-expand-group'} type: uri index: 18 value: choices: [] index: 20 package_version: 4.3.0 extensions: code: url: null short: Underlying code from the system type: Extension index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: uri, value: code} index: 2 value: choices: [valueCode] index: 4 valueCode: {type: code, choiceOf: value, index: 5} required: [value, valueCode] display: url: null type: Extension short: Display for the group index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: uri, value: display} index: 8 value: choices: [valueString] index: 10 valueString: {type: string, choiceOf: value, index: 11} required: [value, valueString] member: min: 1 short: Codes or other groups in this group index: 12 type: Extension array: true elements: extension: {index: 13} url: type: uri pattern: {type: uri, value: member} index: 14 value: choices: [valueCode] index: 16 valueCode: {type: code, choiceOf: value, index: 17} _required: true extensions: {} url: null required: [value, valueCode] class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/valueset-expand-group base: http://hl7.org/fhir/StructureDefinition/Extension version: 4.3.0