StructureDefinition-ch-ext-epr-dataenterer.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="ch-ext-epr-dataenterer" /> 4 <url value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer" /> 5 <version value="6.0.0-ballot-ci-build" /> 6 <name value="EPRDataEnterer" /> 7 <title value="EPR Data Enterer" /> 8 <status value="active" /> 9 <date value="2025-01-29T14:29:51.0000000+01:00" /> 10 <publisher value="HL7 Switzerland" /> 11 <contact> 12 <name value="HL7 Switzerland" /> 13 <telecom> 14 <system value="url" /> 15 <value value="https://www.hl7.ch/" /> 16 </telecom> 17 </contact> 18 <contact> 19 <name value="HL7 Switzerland" /> 20 <telecom> 21 <system value="url" /> 22 <value value="https://www.hl7.ch/" /> 23 <use value="work" /> 24 </telecom> 25 </contact> 26 <description value="Extension to define the information about the person and organisation that entered data and the time of the data input" /> 27 <jurisdiction> 28 <coding> 29 <system value="urn:iso:std:iso:3166" /> 30 <code value="CH" /> 31 </coding> 32 </jurisdiction> 33 <copyright value="CC0-1.0" /> 34 <fhirVersion value="4.0.1" /> 35 <mapping> 36 <identity value="rim" /> 37 <uri value="http://hl7.org/v3" /> 38 <name value="RIM Mapping" /> 39 </mapping> 40 <kind value="complex-type" /> 41 <abstract value="false" /> 42 <context> 43 <type value="element" /> 44 <expression value="Composition" /> 45 </context> 46 <type value="Extension" /> 47 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 48 <derivation value="constraint" /> 49 <snapshot> 50 <element id="Extension"> 51 <path value="Extension" /> 52 <short value="Extension" /> 53 <definition value="Extension to define the information about the person and organization that entered data and the time of the data input" /> 54 <min value="0" /> 55 <max value="*" /> 56 <base> 57 <path value="Extension" /> 58 <min value="0" /> 59 <max value="*" /> 60 </base> 61 <condition value="ele-1" /> 62 <constraint> 63 <key value="ele-1" /> 64 <severity value="error" /> 65 <human value="All FHIR elements must have a @value or children" /> 66 <expression value="hasValue() or (children().count() > id.count())" /> 67 <xpath value="@value|f:*|h:div" /> 68 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 69 </constraint> 70 <constraint> 71 <key value="ext-1" /> 72 <severity value="error" /> 73 <human value="Must have either extensions or value[x], not both" /> 74 <expression value="extension.exists() != value.exists()" /> 75 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 76 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 77 </constraint> 78 <isModifier value="false" /> 79 </element> 80 <element id="Extension.id"> 81 <path value="Extension.id" /> 82 <representation value="xmlAttr" /> 83 <short value="Unique id for inter-element referencing" /> 84 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 85 <min value="0" /> 86 <max value="1" /> 87 <base> 88 <path value="Element.id" /> 89 <min value="0" /> 90 <max value="1" /> 91 </base> 92 <type> 93 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 94 <valueUrl value="string" /> 95 </extension> 96 <code value="http://hl7.org/fhirpath/System.String" /> 97 </type> 98 <isModifier value="false" /> 99 <isSummary value="false" /> 100 <mapping> 101 <identity value="rim" /> 102 <map value="n/a" /> 103 </mapping> 104 </element> 105 <element id="Extension.extension"> 106 <path value="Extension.extension" /> 107 <slicing> 108 <discriminator> 109 <type value="value" /> 110 <path value="url" /> 111 </discriminator> 112 <description value="Extensions are always sliced by (at least) url" /> 113 <rules value="open" /> 114 </slicing> 115 <short value="Extension" /> 116 <definition value="An Extension" /> 117 <min value="1" /> 118 <max value="*" /> 119 <base> 120 <path value="Element.extension" /> 121 <min value="0" /> 122 <max value="*" /> 123 </base> 124 <type> 125 <code value="Extension" /> 126 </type> 127 <constraint> 128 <key value="ele-1" /> 129 <severity value="error" /> 130 <human value="All FHIR elements must have a @value or children" /> 131 <expression value="hasValue() or (children().count() > id.count())" /> 132 <xpath value="@value|f:*|h:div" /> 133 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 134 </constraint> 135 <constraint> 136 <key value="ext-1" /> 137 <severity value="error" /> 138 <human value="Must have either extensions or value[x], not both" /> 139 <expression value="extension.exists() != value.exists()" /> 140 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 141 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 142 </constraint> 143 <isModifier value="false" /> 144 <isSummary value="false" /> 145 </element> 146 <element id="Extension.extension:enterer"> 147 <path value="Extension.extension" /> 148 <sliceName value="enterer" /> 149 <short value="Information about the person and organization that entered data" /> 150 <definition value="An Extension" /> 151 <min value="1" /> 152 <max value="1" /> 153 <base> 154 <path value="Element.extension" /> 155 <min value="0" /> 156 <max value="*" /> 157 </base> 158 <type> 159 <code value="Extension" /> 160 </type> 161 <constraint> 162 <key value="ele-1" /> 163 <severity value="error" /> 164 <human value="All FHIR elements must have a @value or children" /> 165 <expression value="hasValue() or (children().count() > id.count())" /> 166 <xpath value="@value|f:*|h:div" /> 167 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 168 </constraint> 169 <constraint> 170 <key value="ext-1" /> 171 <severity value="error" /> 172 <human value="Must have either extensions or value[x], not both" /> 173 <expression value="extension.exists() != value.exists()" /> 174 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 175 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 176 </constraint> 177 <isModifier value="false" /> 178 <isSummary value="false" /> 179 </element> 180 <element id="Extension.extension:enterer.id"> 181 <path value="Extension.extension.id" /> 182 <representation value="xmlAttr" /> 183 <short value="Unique id for inter-element referencing" /> 184 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 185 <min value="0" /> 186 <max value="1" /> 187 <base> 188 <path value="Element.id" /> 189 <min value="0" /> 190 <max value="1" /> 191 </base> 192 <type> 193 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 194 <valueUrl value="string" /> 195 </extension> 196 <code value="http://hl7.org/fhirpath/System.String" /> 197 </type> 198 <isModifier value="false" /> 199 <isSummary value="false" /> 200 <mapping> 201 <identity value="rim" /> 202 <map value="n/a" /> 203 </mapping> 204 </element> 205 <element id="Extension.extension:enterer.extension"> 206 <path value="Extension.extension.extension" /> 207 <slicing> 208 <discriminator> 209 <type value="value" /> 210 <path value="url" /> 211 </discriminator> 212 <description value="Extensions are always sliced by (at least) url" /> 213 <rules value="open" /> 214 </slicing> 215 <short value="Extension" /> 216 <definition value="An Extension" /> 217 <min value="0" /> 218 <max value="0" /> 219 <base> 220 <path value="Element.extension" /> 221 <min value="0" /> 222 <max value="*" /> 223 </base> 224 <type> 225 <code value="Extension" /> 226 </type> 227 <constraint> 228 <key value="ele-1" /> 229 <severity value="error" /> 230 <human value="All FHIR elements must have a @value or children" /> 231 <expression value="hasValue() or (children().count() > id.count())" /> 232 <xpath value="@value|f:*|h:div" /> 233 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 234 </constraint> 235 <constraint> 236 <key value="ext-1" /> 237 <severity value="error" /> 238 <human value="Must have either extensions or value[x], not both" /> 239 <expression value="extension.exists() != value.exists()" /> 240 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 241 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 242 </constraint> 243 <isModifier value="false" /> 244 <isSummary value="false" /> 245 </element> 246 <element id="Extension.extension:enterer.url"> 247 <path value="Extension.extension.url" /> 248 <representation value="xmlAttr" /> 249 <short value="identifies the meaning of the extension" /> 250 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 251 <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." /> 252 <min value="1" /> 253 <max value="1" /> 254 <base> 255 <path value="Extension.url" /> 256 <min value="1" /> 257 <max value="1" /> 258 </base> 259 <type> 260 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 261 <valueUrl value="uri" /> 262 </extension> 263 <code value="http://hl7.org/fhirpath/System.String" /> 264 </type> 265 <fixedUri value="enterer" /> 266 <isModifier value="false" /> 267 <isSummary value="false" /> 268 <mapping> 269 <identity value="rim" /> 270 <map value="N/A" /> 271 </mapping> 272 </element> 273 <element id="Extension.extension:enterer.value[x]"> 274 <path value="Extension.extension.value[x]" /> 275 <slicing> 276 <discriminator> 277 <type value="type" /> 278 <path value="$this" /> 279 </discriminator> 280 <ordered value="false" /> 281 <rules value="closed" /> 282 </slicing> 283 <short value="Value of extension" /> 284 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." /> 285 <min value="1" /> 286 <max value="1" /> 287 <base> 288 <path value="Extension.value[x]" /> 289 <min value="0" /> 290 <max value="1" /> 291 </base> 292 <type> 293 <code value="Reference" /> 294 </type> 295 <constraint> 296 <key value="ele-1" /> 297 <severity value="error" /> 298 <human value="All FHIR elements must have a @value or children" /> 299 <expression value="hasValue() or (children().count() > id.count())" /> 300 <xpath value="@value|f:*|h:div" /> 301 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 302 </constraint> 303 <isModifier value="false" /> 304 <isSummary value="false" /> 305 <mapping> 306 <identity value="rim" /> 307 <map value="N/A" /> 308 </mapping> 309 </element> 310 <element id="Extension.extension:enterer.value[x]:valueReference"> 311 <path value="Extension.extension.value[x]" /> 312 <sliceName value="valueReference" /> 313 <short value="Person other than the author" /> 314 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." /> 315 <min value="1" /> 316 <max value="1" /> 317 <base> 318 <path value="Extension.value[x]" /> 319 <min value="0" /> 320 <max value="1" /> 321 </base> 322 <type> 323 <code value="Reference" /> 324 <targetProfile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole" /> 325 </type> 326 <constraint> 327 <key value="ele-1" /> 328 <severity value="error" /> 329 <human value="All FHIR elements must have a @value or children" /> 330 <expression value="hasValue() or (children().count() > id.count())" /> 331 <xpath value="@value|f:*|h:div" /> 332 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 333 </constraint> 334 <isModifier value="false" /> 335 <isSummary value="false" /> 336 <mapping> 337 <identity value="rim" /> 338 <map value="N/A" /> 339 </mapping> 340 </element> 341 <element id="Extension.extension:timestamp"> 342 <path value="Extension.extension" /> 343 <sliceName value="timestamp" /> 344 <short value="Timestamp of the authorship/data input" /> 345 <definition value="Extension to define the timestamp of the authorship/data input" /> 346 <min value="0" /> 347 <max value="1" /> 348 <base> 349 <path value="Element.extension" /> 350 <min value="0" /> 351 <max value="*" /> 352 </base> 353 <type> 354 <code value="Extension" /> 355 <profile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time" /> 356 </type> 357 <constraint> 358 <key value="ele-1" /> 359 <severity value="error" /> 360 <human value="All FHIR elements must have a @value or children" /> 361 <expression value="hasValue() or (children().count() > id.count())" /> 362 <xpath value="@value|f:*|h:div" /> 363 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 364 </constraint> 365 <constraint> 366 <key value="ext-1" /> 367 <severity value="error" /> 368 <human value="Must have either extensions or value[x], not both" /> 369 <expression value="extension.exists() != value.exists()" /> 370 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 371 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 372 </constraint> 373 <isModifier value="false" /> 374 <isSummary value="false" /> 375 </element> 376 <element id="Extension.url"> 377 <path value="Extension.url" /> 378 <representation value="xmlAttr" /> 379 <short value="identifies the meaning of the extension" /> 380 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 381 <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." /> 382 <min value="1" /> 383 <max value="1" /> 384 <base> 385 <path value="Extension.url" /> 386 <min value="1" /> 387 <max value="1" /> 388 </base> 389 <type> 390 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 391 <valueUrl value="uri" /> 392 </extension> 393 <code value="http://hl7.org/fhirpath/System.String" /> 394 </type> 395 <fixedUri value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer" /> 396 <isModifier value="false" /> 397 <isSummary value="false" /> 398 <mapping> 399 <identity value="rim" /> 400 <map value="N/A" /> 401 </mapping> 402 </element> 403 <element id="Extension.value[x]"> 404 <path value="Extension.value[x]" /> 405 <short value="Value of extension" /> 406 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." /> 407 <min value="0" /> 408 <max value="0" /> 409 <base> 410 <path value="Extension.value[x]" /> 411 <min value="0" /> 412 <max value="1" /> 413 </base> 414 <type> 415 <code value="base64Binary" /> 416 </type> 417 <type> 418 <code value="boolean" /> 419 </type> 420 <type> 421 <code value="canonical" /> 422 </type> 423 <type> 424 <code value="code" /> 425 </type> 426 <type> 427 <code value="date" /> 428 </type> 429 <type> 430 <code value="dateTime" /> 431 </type> 432 <type> 433 <code value="decimal" /> 434 </type> 435 <type> 436 <code value="id" /> 437 </type> 438 <type> 439 <code value="instant" /> 440 </type> 441 <type> 442 <code value="integer" /> 443 </type> 444 <type> 445 <code value="markdown" /> 446 </type> 447 <type> 448 <code value="oid" /> 449 </type> 450 <type> 451 <code value="positiveInt" /> 452 </type> 453 <type> 454 <code value="string" /> 455 </type> 456 <type> 457 <code value="time" /> 458 </type> 459 <type> 460 <code value="unsignedInt" /> 461 </type> 462 <type> 463 <code value="uri" /> 464 </type> 465 <type> 466 <code value="url" /> 467 </type> 468 <type> 469 <code value="uuid" /> 470 </type> 471 <type> 472 <code value="Address" /> 473 </type> 474 <type> 475 <code value="Age" /> 476 </type> 477 <type> 478 <code value="Annotation" /> 479 </type> 480 <type> 481 <code value="Attachment" /> 482 </type> 483 <type> 484 <code value="CodeableConcept" /> 485 </type> 486 <type> 487 <code value="Coding" /> 488 </type> 489 <type> 490 <code value="ContactPoint" /> 491 </type> 492 <type> 493 <code value="Count" /> 494 </type> 495 <type> 496 <code value="Distance" /> 497 </type> 498 <type> 499 <code value="Duration" /> 500 </type> 501 <type> 502 <code value="HumanName" /> 503 </type> 504 <type> 505 <code value="Identifier" /> 506 </type> 507 <type> 508 <code value="Money" /> 509 </type> 510 <type> 511 <code value="Period" /> 512 </type> 513 <type> 514 <code value="Quantity" /> 515 </type> 516 <type> 517 <code value="Range" /> 518 </type> 519 <type> 520 <code value="Ratio" /> 521 </type> 522 <type> 523 <code value="Reference" /> 524 </type> 525 <type> 526 <code value="SampledData" /> 527 </type> 528 <type> 529 <code value="Signature" /> 530 </type> 531 <type> 532 <code value="Timing" /> 533 </type> 534 <type> 535 <code value="ContactDetail" /> 536 </type> 537 <type> 538 <code value="Contributor" /> 539 </type> 540 <type> 541 <code value="DataRequirement" /> 542 </type> 543 <type> 544 <code value="Expression" /> 545 </type> 546 <type> 547 <code value="ParameterDefinition" /> 548 </type> 549 <type> 550 <code value="RelatedArtifact" /> 551 </type> 552 <type> 553 <code value="TriggerDefinition" /> 554 </type> 555 <type> 556 <code value="UsageContext" /> 557 </type> 558 <type> 559 <code value="Dosage" /> 560 </type> 561 <type> 562 <code value="Meta" /> 563 </type> 564 <constraint> 565 <key value="ele-1" /> 566 <severity value="error" /> 567 <human value="All FHIR elements must have a @value or children" /> 568 <expression value="hasValue() or (children().count() > id.count())" /> 569 <xpath value="@value|f:*|h:div" /> 570 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 571 </constraint> 572 <isModifier value="false" /> 573 <isSummary value="false" /> 574 <mapping> 575 <identity value="rim" /> 576 <map value="N/A" /> 577 </mapping> 578 </element> 579 </snapshot> 580 <differential> 581 <element id="Extension"> 582 <path value="Extension" /> 583 <definition value="Extension to define the information about the person and organization that entered data and the time of the data input" /> 584 </element> 585 <element id="Extension.extension"> 586 <path value="Extension.extension" /> 587 <min value="1" /> 588 </element> 589 <element id="Extension.extension:enterer"> 590 <path value="Extension.extension" /> 591 <sliceName value="enterer" /> 592 <short value="Information about the person and organization that entered data" /> 593 <min value="1" /> 594 <max value="1" /> 595 </element> 596 <element id="Extension.extension:enterer.extension"> 597 <path value="Extension.extension.extension" /> 598 <max value="0" /> 599 </element> 600 <element id="Extension.extension:enterer.url"> 601 <path value="Extension.extension.url" /> 602 <fixedUri value="enterer" /> 603 </element> 604 <element id="Extension.extension:enterer.value[x]"> 605 <path value="Extension.extension.value[x]" /> 606 <slicing> 607 <discriminator> 608 <type value="type" /> 609 <path value="$this" /> 610 </discriminator> 611 <ordered value="false" /> 612 <rules value="open" /> 613 </slicing> 614 <min value="1" /> 615 </element> 616 <element id="Extension.extension:enterer.value[x]:valueReference"> 617 <path value="Extension.extension.value[x]" /> 618 <sliceName value="valueReference" /> 619 <short value="Person other than the author" /> 620 <min value="1" /> 621 <max value="1" /> 622 <type> 623 <code value="Reference" /> 624 <targetProfile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole" /> 625 </type> 626 </element> 627 <element id="Extension.extension:timestamp"> 628 <path value="Extension.extension" /> 629 <sliceName value="timestamp" /> 630 <short value="Timestamp of the authorship/data input" /> 631 <min value="0" /> 632 <max value="1" /> 633 <type> 634 <code value="Extension" /> 635 <profile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time" /> 636 </type> 637 </element> 638 <element id="Extension.url"> 639 <path value="Extension.url" /> 640 <fixedUri value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer" /> 641 </element> 642 <element id="Extension.value[x]"> 643 <path value="Extension.value[x]" /> 644 <max value="0" /> 645 </element> 646 </differential> 647 </StructureDefinition>