valueset-conceptOrder.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="valueset-conceptOrder" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="vocab" /> 6 </extension> 7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> 8 <valueInteger value="1" /> 9 </extension> 10 <url value="http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" /> 11 <version value="4.0.1" /> 12 <name value="conceptOrder" /> 13 <status value="draft" /> 14 <date value="2019-10-31T23:29:23.0000000+01:00" /> 15 <publisher value="HL7" /> 16 <description value="Identifies the relative order in which concepts within the value set should be presented to a user." /> 17 <fhirVersion value="4.0.1" /> 18 <mapping> 19 <identity value="rim" /> 20 <uri value="http://hl7.org/v3" /> 21 <name value="RIM Mapping" /> 22 </mapping> 23 <kind value="complex-type" /> 24 <abstract value="false" /> 25 <context> 26 <type value="element" /> 27 <expression value="ValueSet.compose.include.concept" /> 28 </context> 29 <context> 30 <type value="element" /> 31 <expression value="ValueSet.expansion.contains" /> 32 </context> 33 <type value="Extension" /> 34 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 35 <derivation value="constraint" /> 36 <snapshot> 37 <element id="Extension"> 38 <path value="Extension" /> 39 <short value="Appearance order for user selection" /> 40 <definition value="Identifies the relative order in which concepts within the value set should be presented to a user." /> 41 <min value="0" /> 42 <max value="1" /> 43 <base> 44 <path value="Extension" /> 45 <min value="0" /> 46 <max value="*" /> 47 </base> 48 <condition value="ele-1" /> 49 <constraint> 50 <key value="ele-1" /> 51 <severity value="error" /> 52 <human value="All FHIR elements must have a @value or children" /> 53 <expression value="hasValue() or (children().count() > id.count())" /> 54 <xpath value="@value|f:*|h:div" /> 55 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 56 </constraint> 57 <constraint> 58 <key value="ext-1" /> 59 <severity value="error" /> 60 <human value="Must have either extensions or value[x], not both" /> 61 <expression value="extension.exists() != value.exists()" /> 62 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 63 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 64 </constraint> 65 <isModifier value="false" /> 66 </element> 67 <element id="Extension.id"> 68 <path value="Extension.id" /> 69 <representation value="xmlAttr" /> 70 <short value="Unique id for inter-element referencing" /> 71 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 72 <min value="0" /> 73 <max value="1" /> 74 <base> 75 <path value="Element.id" /> 76 <min value="0" /> 77 <max value="1" /> 78 </base> 79 <type> 80 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 81 <valueUrl value="string" /> 82 </extension> 83 <code value="http://hl7.org/fhirpath/System.String" /> 84 </type> 85 <isModifier value="false" /> 86 <isSummary value="false" /> 87 <mapping> 88 <identity value="rim" /> 89 <map value="n/a" /> 90 </mapping> 91 </element> 92 <element id="Extension.extension"> 93 <path value="Extension.extension" /> 94 <slicing> 95 <discriminator> 96 <type value="value" /> 97 <path value="url" /> 98 </discriminator> 99 <description value="Extensions are always sliced by (at least) url" /> 100 <rules value="open" /> 101 </slicing> 102 <short value="Extension" /> 103 <definition value="An Extension" /> 104 <min value="0" /> 105 <max value="0" /> 106 <base> 107 <path value="Element.extension" /> 108 <min value="0" /> 109 <max value="*" /> 110 </base> 111 <type> 112 <code value="Extension" /> 113 </type> 114 <constraint> 115 <key value="ele-1" /> 116 <severity value="error" /> 117 <human value="All FHIR elements must have a @value or children" /> 118 <expression value="hasValue() or (children().count() > id.count())" /> 119 <xpath value="@value|f:*|h:div" /> 120 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 121 </constraint> 122 <constraint> 123 <key value="ext-1" /> 124 <severity value="error" /> 125 <human value="Must have either extensions or value[x], not both" /> 126 <expression value="extension.exists() != value.exists()" /> 127 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 128 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 129 </constraint> 130 <isModifier value="false" /> 131 <isSummary value="false" /> 132 </element> 133 <element id="Extension.url"> 134 <path value="Extension.url" /> 135 <representation value="xmlAttr" /> 136 <short value="identifies the meaning of the extension" /> 137 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 138 <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." /> 139 <min value="1" /> 140 <max value="1" /> 141 <base> 142 <path value="Extension.url" /> 143 <min value="1" /> 144 <max value="1" /> 145 </base> 146 <type> 147 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 148 <valueUrl value="uri" /> 149 </extension> 150 <code value="http://hl7.org/fhirpath/System.String" /> 151 </type> 152 <fixedUri value="http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" /> 153 <isModifier value="false" /> 154 <isSummary value="false" /> 155 <mapping> 156 <identity value="rim" /> 157 <map value="N/A" /> 158 </mapping> 159 </element> 160 <element id="Extension.value[x]"> 161 <path value="Extension.value[x]" /> 162 <short value="Value of extension" /> 163 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)." /> 164 <min value="1" /> 165 <max value="1" /> 166 <base> 167 <path value="Extension.value[x]" /> 168 <min value="0" /> 169 <max value="1" /> 170 </base> 171 <type> 172 <code value="integer" /> 173 </type> 174 <constraint> 175 <key value="ele-1" /> 176 <severity value="error" /> 177 <human value="All FHIR elements must have a @value or children" /> 178 <expression value="hasValue() or (children().count() > id.count())" /> 179 <xpath value="@value|f:*|h:div" /> 180 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 181 </constraint> 182 <isModifier value="false" /> 183 <isSummary value="false" /> 184 <mapping> 185 <identity value="rim" /> 186 <map value="N/A" /> 187 </mapping> 188 </element> 189 </snapshot> 190 <differential> 191 <element id="Extension"> 192 <path value="Extension" /> 193 <short value="Appearance order for user selection" /> 194 <definition value="Identifies the relative order in which concepts within the value set should be presented to a user." /> 195 <min value="0" /> 196 <max value="1" /> 197 <isModifier value="false" /> 198 </element> 199 <element id="Extension.extension"> 200 <path value="Extension.extension" /> 201 <max value="0" /> 202 </element> 203 <element id="Extension.url"> 204 <path value="Extension.url" /> 205 <fixedUri value="http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" /> 206 </element> 207 <element id="Extension.value[x]"> 208 <path value="Extension.value[x]" /> 209 <min value="1" /> 210 <type> 211 <code value="integer" /> 212 </type> 213 </element> 214 </differential> 215 </StructureDefinition>