valueset-expand-group.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="valueset-expand-group" /> 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-expand-group" /> 11 <version value="4.0.1" /> 12 <name value="expand-group" /> 13 <status value="draft" /> 14 <date value="2019-10-31T23:29:23.0000000+01:00" /> 15 <publisher value="HL7" /> 16 <description value="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)." /> 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" /> 28 </context> 29 <type value="Extension" /> 30 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 31 <derivation value="constraint" /> 32 <snapshot> 33 <element id="Extension"> 34 <path value="Extension" /> 35 <short value="Defines a hierarchy structure (when in UI mode)" /> 36 <definition value="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)." /> 37 <comment value="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." /> 38 <min value="0" /> 39 <max value="*" /> 40 <base> 41 <path value="Extension" /> 42 <min value="0" /> 43 <max value="*" /> 44 </base> 45 <condition value="ele-1" /> 46 <constraint> 47 <key value="ele-1" /> 48 <severity value="error" /> 49 <human value="All FHIR elements must have a @value or children" /> 50 <expression value="hasValue() or (children().count() > id.count())" /> 51 <xpath value="@value|f:*|h:div" /> 52 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 53 </constraint> 54 <constraint> 55 <key value="ext-1" /> 56 <severity value="error" /> 57 <human value="Must have either extensions or value[x], not both" /> 58 <expression value="extension.exists() != value.exists()" /> 59 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 60 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 61 </constraint> 62 <isModifier value="false" /> 63 </element> 64 <element id="Extension.id"> 65 <path value="Extension.id" /> 66 <representation value="xmlAttr" /> 67 <short value="Unique id for inter-element referencing" /> 68 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 69 <min value="0" /> 70 <max value="1" /> 71 <base> 72 <path value="Element.id" /> 73 <min value="0" /> 74 <max value="1" /> 75 </base> 76 <type> 77 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 78 <valueUrl value="string" /> 79 </extension> 80 <code value="http://hl7.org/fhirpath/System.String" /> 81 </type> 82 <isModifier value="false" /> 83 <isSummary value="false" /> 84 <mapping> 85 <identity value="rim" /> 86 <map value="n/a" /> 87 </mapping> 88 </element> 89 <element id="Extension.extension"> 90 <path value="Extension.extension" /> 91 <slicing> 92 <discriminator> 93 <type value="value" /> 94 <path value="url" /> 95 </discriminator> 96 <description value="Extensions are always sliced by (at least) url" /> 97 <rules value="open" /> 98 </slicing> 99 <short value="Additional content defined by implementations" /> 100 <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." /> 101 <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." /> 102 <alias value="extensions" /> 103 <alias value="user content" /> 104 <min value="0" /> 105 <max value="*" /> 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 <mapping> 133 <identity value="rim" /> 134 <map value="n/a" /> 135 </mapping> 136 </element> 137 <element id="Extension.extension:code"> 138 <path value="Extension.extension" /> 139 <sliceName value="code" /> 140 <short value="Underlying code from the system" /> 141 <definition value="A reference to a code from the include.system that defines the meaning associated with the group. Note that including the code in this extension does not include the code in the value set; if the code is intended to be in the value set, it must be listed directly as well." /> 142 <comment value="If there is no code, the group purely exists for display, and has no underlying meaning." /> 143 <min value="0" /> 144 <max value="1" /> 145 <base> 146 <path value="Element.extension" /> 147 <min value="0" /> 148 <max value="*" /> 149 </base> 150 <type> 151 <code value="Extension" /> 152 </type> 153 <constraint> 154 <key value="ele-1" /> 155 <severity value="error" /> 156 <human value="All FHIR elements must have a @value or children" /> 157 <expression value="hasValue() or (children().count() > id.count())" /> 158 <xpath value="@value|f:*|h:div" /> 159 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 160 </constraint> 161 <constraint> 162 <key value="ext-1" /> 163 <severity value="error" /> 164 <human value="Must have either extensions or value[x], not both" /> 165 <expression value="extension.exists() != value.exists()" /> 166 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 167 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 168 </constraint> 169 <isModifier value="false" /> 170 <isSummary value="false" /> 171 </element> 172 <element id="Extension.extension:code.id"> 173 <path value="Extension.extension.id" /> 174 <representation value="xmlAttr" /> 175 <short value="Unique id for inter-element referencing" /> 176 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 177 <min value="0" /> 178 <max value="1" /> 179 <base> 180 <path value="Element.id" /> 181 <min value="0" /> 182 <max value="1" /> 183 </base> 184 <type> 185 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 186 <valueUrl value="string" /> 187 </extension> 188 <code value="http://hl7.org/fhirpath/System.String" /> 189 </type> 190 <isModifier value="false" /> 191 <isSummary value="false" /> 192 <mapping> 193 <identity value="rim" /> 194 <map value="n/a" /> 195 </mapping> 196 </element> 197 <element id="Extension.extension:code.extension"> 198 <path value="Extension.extension.extension" /> 199 <slicing> 200 <discriminator> 201 <type value="value" /> 202 <path value="url" /> 203 </discriminator> 204 <description value="Extensions are always sliced by (at least) url" /> 205 <rules value="open" /> 206 </slicing> 207 <short value="Extension" /> 208 <definition value="An Extension" /> 209 <min value="0" /> 210 <max value="0" /> 211 <base> 212 <path value="Element.extension" /> 213 <min value="0" /> 214 <max value="*" /> 215 </base> 216 <type> 217 <code value="Extension" /> 218 </type> 219 <constraint> 220 <key value="ele-1" /> 221 <severity value="error" /> 222 <human value="All FHIR elements must have a @value or children" /> 223 <expression value="hasValue() or (children().count() > id.count())" /> 224 <xpath value="@value|f:*|h:div" /> 225 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 226 </constraint> 227 <constraint> 228 <key value="ext-1" /> 229 <severity value="error" /> 230 <human value="Must have either extensions or value[x], not both" /> 231 <expression value="extension.exists() != value.exists()" /> 232 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 233 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 234 </constraint> 235 <isModifier value="false" /> 236 <isSummary value="false" /> 237 </element> 238 <element id="Extension.extension:code.url"> 239 <path value="Extension.extension.url" /> 240 <representation value="xmlAttr" /> 241 <short value="identifies the meaning of the extension" /> 242 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 243 <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." /> 244 <min value="1" /> 245 <max value="1" /> 246 <base> 247 <path value="Extension.url" /> 248 <min value="1" /> 249 <max value="1" /> 250 </base> 251 <type> 252 <code value="uri" /> 253 </type> 254 <fixedUri value="code" /> 255 <isModifier value="false" /> 256 <isSummary value="false" /> 257 <mapping> 258 <identity value="rim" /> 259 <map value="N/A" /> 260 </mapping> 261 </element> 262 <element id="Extension.extension:code.value[x]"> 263 <path value="Extension.extension.value[x]" /> 264 <short value="Value of extension" /> 265 <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)." /> 266 <min value="1" /> 267 <max value="1" /> 268 <base> 269 <path value="Extension.value[x]" /> 270 <min value="0" /> 271 <max value="1" /> 272 </base> 273 <type> 274 <code value="code" /> 275 </type> 276 <constraint> 277 <key value="ele-1" /> 278 <severity value="error" /> 279 <human value="All FHIR elements must have a @value or children" /> 280 <expression value="hasValue() or (children().count() > id.count())" /> 281 <xpath value="@value|f:*|h:div" /> 282 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 283 </constraint> 284 <isModifier value="false" /> 285 <isSummary value="false" /> 286 <mapping> 287 <identity value="rim" /> 288 <map value="N/A" /> 289 </mapping> 290 </element> 291 <element id="Extension.extension:display"> 292 <path value="Extension.extension" /> 293 <sliceName value="display" /> 294 <short value="Display for the group" /> 295 <definition value="The description for the group (goes in ValueSet.expansion.contains.dispaly). All groups need a display; this can only be omitted if there is a code that can be used to determine the display." /> 296 <min value="0" /> 297 <max value="1" /> 298 <base> 299 <path value="Element.extension" /> 300 <min value="0" /> 301 <max value="*" /> 302 </base> 303 <type> 304 <code value="Extension" /> 305 </type> 306 <constraint> 307 <key value="ele-1" /> 308 <severity value="error" /> 309 <human value="All FHIR elements must have a @value or children" /> 310 <expression value="hasValue() or (children().count() > id.count())" /> 311 <xpath value="@value|f:*|h:div" /> 312 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 313 </constraint> 314 <constraint> 315 <key value="ext-1" /> 316 <severity value="error" /> 317 <human value="Must have either extensions or value[x], not both" /> 318 <expression value="extension.exists() != value.exists()" /> 319 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 320 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 321 </constraint> 322 <isModifier value="false" /> 323 <isSummary value="false" /> 324 </element> 325 <element id="Extension.extension:display.id"> 326 <path value="Extension.extension.id" /> 327 <representation value="xmlAttr" /> 328 <short value="Unique id for inter-element referencing" /> 329 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 330 <min value="0" /> 331 <max value="1" /> 332 <base> 333 <path value="Element.id" /> 334 <min value="0" /> 335 <max value="1" /> 336 </base> 337 <type> 338 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 339 <valueUrl value="string" /> 340 </extension> 341 <code value="http://hl7.org/fhirpath/System.String" /> 342 </type> 343 <isModifier value="false" /> 344 <isSummary value="false" /> 345 <mapping> 346 <identity value="rim" /> 347 <map value="n/a" /> 348 </mapping> 349 </element> 350 <element id="Extension.extension:display.extension"> 351 <path value="Extension.extension.extension" /> 352 <slicing> 353 <discriminator> 354 <type value="value" /> 355 <path value="url" /> 356 </discriminator> 357 <description value="Extensions are always sliced by (at least) url" /> 358 <rules value="open" /> 359 </slicing> 360 <short value="Extension" /> 361 <definition value="An Extension" /> 362 <min value="0" /> 363 <max value="0" /> 364 <base> 365 <path value="Element.extension" /> 366 <min value="0" /> 367 <max value="*" /> 368 </base> 369 <type> 370 <code value="Extension" /> 371 </type> 372 <constraint> 373 <key value="ele-1" /> 374 <severity value="error" /> 375 <human value="All FHIR elements must have a @value or children" /> 376 <expression value="hasValue() or (children().count() > id.count())" /> 377 <xpath value="@value|f:*|h:div" /> 378 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 379 </constraint> 380 <constraint> 381 <key value="ext-1" /> 382 <severity value="error" /> 383 <human value="Must have either extensions or value[x], not both" /> 384 <expression value="extension.exists() != value.exists()" /> 385 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 386 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 387 </constraint> 388 <isModifier value="false" /> 389 <isSummary value="false" /> 390 </element> 391 <element id="Extension.extension:display.url"> 392 <path value="Extension.extension.url" /> 393 <representation value="xmlAttr" /> 394 <short value="identifies the meaning of the extension" /> 395 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 396 <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." /> 397 <min value="1" /> 398 <max value="1" /> 399 <base> 400 <path value="Extension.url" /> 401 <min value="1" /> 402 <max value="1" /> 403 </base> 404 <type> 405 <code value="uri" /> 406 </type> 407 <fixedUri value="display" /> 408 <isModifier value="false" /> 409 <isSummary value="false" /> 410 <mapping> 411 <identity value="rim" /> 412 <map value="N/A" /> 413 </mapping> 414 </element> 415 <element id="Extension.extension:display.value[x]"> 416 <path value="Extension.extension.value[x]" /> 417 <short value="Value of extension" /> 418 <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)." /> 419 <min value="1" /> 420 <max value="1" /> 421 <base> 422 <path value="Extension.value[x]" /> 423 <min value="0" /> 424 <max value="1" /> 425 </base> 426 <type> 427 <code value="string" /> 428 </type> 429 <constraint> 430 <key value="ele-1" /> 431 <severity value="error" /> 432 <human value="All FHIR elements must have a @value or children" /> 433 <expression value="hasValue() or (children().count() > id.count())" /> 434 <xpath value="@value|f:*|h:div" /> 435 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 436 </constraint> 437 <isModifier value="false" /> 438 <isSummary value="false" /> 439 <mapping> 440 <identity value="rim" /> 441 <map value="N/A" /> 442 </mapping> 443 </element> 444 <element id="Extension.extension:member"> 445 <path value="Extension.extension" /> 446 <sliceName value="member" /> 447 <short value="Codes or other groups in this group" /> 448 <definition value="One of more codes that identify codes in the expansion or other groups." /> 449 <comment value="A group without a code can be included by giving it an id and using #[id] in place of the code." /> 450 <min value="1" /> 451 <max value="*" /> 452 <base> 453 <path value="Element.extension" /> 454 <min value="0" /> 455 <max value="*" /> 456 </base> 457 <type> 458 <code value="Extension" /> 459 </type> 460 <constraint> 461 <key value="ele-1" /> 462 <severity value="error" /> 463 <human value="All FHIR elements must have a @value or children" /> 464 <expression value="hasValue() or (children().count() > id.count())" /> 465 <xpath value="@value|f:*|h:div" /> 466 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 467 </constraint> 468 <constraint> 469 <key value="ext-1" /> 470 <severity value="error" /> 471 <human value="Must have either extensions or value[x], not both" /> 472 <expression value="extension.exists() != value.exists()" /> 473 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 474 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 475 </constraint> 476 <isModifier value="false" /> 477 <isSummary value="false" /> 478 </element> 479 <element id="Extension.extension:member.id"> 480 <path value="Extension.extension.id" /> 481 <representation value="xmlAttr" /> 482 <short value="Unique id for inter-element referencing" /> 483 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 484 <min value="0" /> 485 <max value="1" /> 486 <base> 487 <path value="Element.id" /> 488 <min value="0" /> 489 <max value="1" /> 490 </base> 491 <type> 492 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 493 <valueUrl value="string" /> 494 </extension> 495 <code value="http://hl7.org/fhirpath/System.String" /> 496 </type> 497 <isModifier value="false" /> 498 <isSummary value="false" /> 499 <mapping> 500 <identity value="rim" /> 501 <map value="n/a" /> 502 </mapping> 503 </element> 504 <element id="Extension.extension:member.extension"> 505 <path value="Extension.extension.extension" /> 506 <slicing> 507 <discriminator> 508 <type value="value" /> 509 <path value="url" /> 510 </discriminator> 511 <description value="Extensions are always sliced by (at least) url" /> 512 <rules value="open" /> 513 </slicing> 514 <short value="Extension" /> 515 <definition value="An Extension" /> 516 <min value="0" /> 517 <max value="0" /> 518 <base> 519 <path value="Element.extension" /> 520 <min value="0" /> 521 <max value="*" /> 522 </base> 523 <type> 524 <code value="Extension" /> 525 </type> 526 <constraint> 527 <key value="ele-1" /> 528 <severity value="error" /> 529 <human value="All FHIR elements must have a @value or children" /> 530 <expression value="hasValue() or (children().count() > id.count())" /> 531 <xpath value="@value|f:*|h:div" /> 532 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 533 </constraint> 534 <constraint> 535 <key value="ext-1" /> 536 <severity value="error" /> 537 <human value="Must have either extensions or value[x], not both" /> 538 <expression value="extension.exists() != value.exists()" /> 539 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 540 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 541 </constraint> 542 <isModifier value="false" /> 543 <isSummary value="false" /> 544 </element> 545 <element id="Extension.extension:member.url"> 546 <path value="Extension.extension.url" /> 547 <representation value="xmlAttr" /> 548 <short value="identifies the meaning of the extension" /> 549 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 550 <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." /> 551 <min value="1" /> 552 <max value="1" /> 553 <base> 554 <path value="Extension.url" /> 555 <min value="1" /> 556 <max value="1" /> 557 </base> 558 <type> 559 <code value="uri" /> 560 </type> 561 <fixedUri value="member" /> 562 <isModifier value="false" /> 563 <isSummary value="false" /> 564 <mapping> 565 <identity value="rim" /> 566 <map value="N/A" /> 567 </mapping> 568 </element> 569 <element id="Extension.extension:member.value[x]"> 570 <path value="Extension.extension.value[x]" /> 571 <short value="Value of extension" /> 572 <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)." /> 573 <min value="1" /> 574 <max value="1" /> 575 <base> 576 <path value="Extension.value[x]" /> 577 <min value="0" /> 578 <max value="1" /> 579 </base> 580 <type> 581 <code value="code" /> 582 </type> 583 <constraint> 584 <key value="ele-1" /> 585 <severity value="error" /> 586 <human value="All FHIR elements must have a @value or children" /> 587 <expression value="hasValue() or (children().count() > id.count())" /> 588 <xpath value="@value|f:*|h:div" /> 589 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 590 </constraint> 591 <isModifier value="false" /> 592 <isSummary value="false" /> 593 <mapping> 594 <identity value="rim" /> 595 <map value="N/A" /> 596 </mapping> 597 </element> 598 <element id="Extension.url"> 599 <path value="Extension.url" /> 600 <representation value="xmlAttr" /> 601 <short value="identifies the meaning of the extension" /> 602 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 603 <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." /> 604 <min value="1" /> 605 <max value="1" /> 606 <base> 607 <path value="Extension.url" /> 608 <min value="1" /> 609 <max value="1" /> 610 </base> 611 <type> 612 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 613 <valueUrl value="uri" /> 614 </extension> 615 <code value="http://hl7.org/fhirpath/System.String" /> 616 </type> 617 <fixedUri value="http://hl7.org/fhir/StructureDefinition/valueset-expand-group" /> 618 <isModifier value="false" /> 619 <isSummary value="false" /> 620 <mapping> 621 <identity value="rim" /> 622 <map value="N/A" /> 623 </mapping> 624 </element> 625 <element id="Extension.value[x]"> 626 <path value="Extension.value[x]" /> 627 <short value="Value of extension" /> 628 <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)." /> 629 <min value="0" /> 630 <max value="0" /> 631 <base> 632 <path value="Extension.value[x]" /> 633 <min value="0" /> 634 <max value="1" /> 635 </base> 636 <type> 637 <code value="base64Binary" /> 638 </type> 639 <type> 640 <code value="boolean" /> 641 </type> 642 <type> 643 <code value="canonical" /> 644 </type> 645 <type> 646 <code value="code" /> 647 </type> 648 <type> 649 <code value="date" /> 650 </type> 651 <type> 652 <code value="dateTime" /> 653 </type> 654 <type> 655 <code value="decimal" /> 656 </type> 657 <type> 658 <code value="id" /> 659 </type> 660 <type> 661 <code value="instant" /> 662 </type> 663 <type> 664 <code value="integer" /> 665 </type> 666 <type> 667 <code value="markdown" /> 668 </type> 669 <type> 670 <code value="oid" /> 671 </type> 672 <type> 673 <code value="positiveInt" /> 674 </type> 675 <type> 676 <code value="string" /> 677 </type> 678 <type> 679 <code value="time" /> 680 </type> 681 <type> 682 <code value="unsignedInt" /> 683 </type> 684 <type> 685 <code value="uri" /> 686 </type> 687 <type> 688 <code value="url" /> 689 </type> 690 <type> 691 <code value="uuid" /> 692 </type> 693 <type> 694 <code value="Address" /> 695 </type> 696 <type> 697 <code value="Age" /> 698 </type> 699 <type> 700 <code value="Annotation" /> 701 </type> 702 <type> 703 <code value="Attachment" /> 704 </type> 705 <type> 706 <code value="CodeableConcept" /> 707 </type> 708 <type> 709 <code value="Coding" /> 710 </type> 711 <type> 712 <code value="ContactPoint" /> 713 </type> 714 <type> 715 <code value="Count" /> 716 </type> 717 <type> 718 <code value="Distance" /> 719 </type> 720 <type> 721 <code value="Duration" /> 722 </type> 723 <type> 724 <code value="HumanName" /> 725 </type> 726 <type> 727 <code value="Identifier" /> 728 </type> 729 <type> 730 <code value="Money" /> 731 </type> 732 <type> 733 <code value="Period" /> 734 </type> 735 <type> 736 <code value="Quantity" /> 737 </type> 738 <type> 739 <code value="Range" /> 740 </type> 741 <type> 742 <code value="Ratio" /> 743 </type> 744 <type> 745 <code value="Reference" /> 746 </type> 747 <type> 748 <code value="SampledData" /> 749 </type> 750 <type> 751 <code value="Signature" /> 752 </type> 753 <type> 754 <code value="Timing" /> 755 </type> 756 <type> 757 <code value="ContactDetail" /> 758 </type> 759 <type> 760 <code value="Contributor" /> 761 </type> 762 <type> 763 <code value="DataRequirement" /> 764 </type> 765 <type> 766 <code value="Expression" /> 767 </type> 768 <type> 769 <code value="ParameterDefinition" /> 770 </type> 771 <type> 772 <code value="RelatedArtifact" /> 773 </type> 774 <type> 775 <code value="TriggerDefinition" /> 776 </type> 777 <type> 778 <code value="UsageContext" /> 779 </type> 780 <type> 781 <code value="Dosage" /> 782 </type> 783 <type> 784 <code value="Meta" /> 785 </type> 786 <constraint> 787 <key value="ele-1" /> 788 <severity value="error" /> 789 <human value="All FHIR elements must have a @value or children" /> 790 <expression value="hasValue() or (children().count() > id.count())" /> 791 <xpath value="@value|f:*|h:div" /> 792 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 793 </constraint> 794 <isModifier value="false" /> 795 <isSummary value="false" /> 796 <mapping> 797 <identity value="rim" /> 798 <map value="N/A" /> 799 </mapping> 800 </element> 801 </snapshot> 802 <differential> 803 <element id="Extension"> 804 <path value="Extension" /> 805 <short value="Defines a hierarchy structure (when in UI mode)" /> 806 <definition value="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)." /> 807 <comment value="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." /> 808 <min value="0" /> 809 <max value="*" /> 810 <isModifier value="false" /> 811 </element> 812 <element id="Extension.extension:code"> 813 <path value="Extension.extension" /> 814 <sliceName value="code" /> 815 <short value="Underlying code from the system" /> 816 <definition value="A reference to a code from the include.system that defines the meaning associated with the group. Note that including the code in this extension does not include the code in the value set; if the code is intended to be in the value set, it must be listed directly as well." /> 817 <comment value="If there is no code, the group purely exists for display, and has no underlying meaning." /> 818 <min value="0" /> 819 <max value="1" /> 820 <type> 821 <code value="Extension" /> 822 </type> 823 </element> 824 <element id="Extension.extension:code.extension"> 825 <path value="Extension.extension.extension" /> 826 <max value="0" /> 827 </element> 828 <element id="Extension.extension:code.url"> 829 <path value="Extension.extension.url" /> 830 <type> 831 <code value="uri" /> 832 </type> 833 <fixedUri value="code" /> 834 </element> 835 <element id="Extension.extension:code.value[x]"> 836 <path value="Extension.extension.value[x]" /> 837 <min value="1" /> 838 <type> 839 <code value="code" /> 840 </type> 841 </element> 842 <element id="Extension.extension:display"> 843 <path value="Extension.extension" /> 844 <sliceName value="display" /> 845 <short value="Display for the group" /> 846 <definition value="The description for the group (goes in ValueSet.expansion.contains.dispaly). All groups need a display; this can only be omitted if there is a code that can be used to determine the display." /> 847 <min value="0" /> 848 <max value="1" /> 849 <type> 850 <code value="Extension" /> 851 </type> 852 </element> 853 <element id="Extension.extension:display.extension"> 854 <path value="Extension.extension.extension" /> 855 <max value="0" /> 856 </element> 857 <element id="Extension.extension:display.url"> 858 <path value="Extension.extension.url" /> 859 <type> 860 <code value="uri" /> 861 </type> 862 <fixedUri value="display" /> 863 </element> 864 <element id="Extension.extension:display.value[x]"> 865 <path value="Extension.extension.value[x]" /> 866 <min value="1" /> 867 <type> 868 <code value="string" /> 869 </type> 870 </element> 871 <element id="Extension.extension:member"> 872 <path value="Extension.extension" /> 873 <sliceName value="member" /> 874 <short value="Codes or other groups in this group" /> 875 <definition value="One of more codes that identify codes in the expansion or other groups." /> 876 <comment value="A group without a code can be included by giving it an id and using #[id] in place of the code." /> 877 <min value="1" /> 878 <max value="*" /> 879 <type> 880 <code value="Extension" /> 881 </type> 882 </element> 883 <element id="Extension.extension:member.extension"> 884 <path value="Extension.extension.extension" /> 885 <max value="0" /> 886 </element> 887 <element id="Extension.extension:member.url"> 888 <path value="Extension.extension.url" /> 889 <type> 890 <code value="uri" /> 891 </type> 892 <fixedUri value="member" /> 893 </element> 894 <element id="Extension.extension:member.value[x]"> 895 <path value="Extension.extension.value[x]" /> 896 <min value="1" /> 897 <type> 898 <code value="code" /> 899 </type> 900 </element> 901 <element id="Extension.url"> 902 <path value="Extension.url" /> 903 <fixedUri value="http://hl7.org/fhir/StructureDefinition/valueset-expand-group" /> 904 </element> 905 <element id="Extension.value[x]"> 906 <path value="Extension.value[x]" /> 907 <min value="0" /> 908 <max value="0" /> 909 </element> 910 </differential> 911 </StructureDefinition>