PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.laboratory@1.0.0-ballot.1
    https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp
description: 'Dieses Profil bildet eine Probe ab.\n\nIdentifizierung und Eigenschaften der primären oder sekundären Probe, auf deren Basis die Laboruntersuchung als Messung durchgeführt wird. Ein inhaltliches Beispiel für die Unterscheidung von Primär- und Sekundärprobe:\n\n* Primärprobe: Probenart = Vollblut (über LOINC® oder ergänzende Spezifizierung Probenart); Probengewinnung / Methode = Blutabnahme; Probenverarbeitung / Methode = Zentrifugieren\n\n* Sekundärprobe: Probenart = Serum (über LOINC® oder ergänzende Spezifizierung Probenart); Probengewinnung / Methode = Zentrifugieren zur Serumgewinnung; Probe / Ausgangsmaterial = Vollblut'
package_name: de.gematik.epa.laboratory
derivation: constraint
name: SpecimendgLP
type: Specimen
elements:
  request: {index: 35}
  receivedTime:
    constraint:
      epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
    index: 29
  processing:
    elements:
      procedure:
        elements:
          coding:
            elements:
              system: {index: 87}
              code: {index: 88}
              display: {index: 89}
              userSelected: {index: 90}
            required: [display, system, code]
      additive:
        type: Reference
        refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-additive-substance-dglp']
        index: 91
        elements:
          reference: {index: 92}
          type: {index: 93}
          identifier: {index: 94}
          display: {index: 95}
        required: [reference]
      time:
        choices: [timePeriod]
        index: 100
        slicing:
          slices:
            timePeriod:
              match: {}
              schema:
                choices: [timePeriod]
                index: 100
      timeDateTime:
        type: dateTime
        constraint:
          epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
        choiceOf: time
        index: 98
        slicing:
          slices:
            timeDateTime:
              match: {}
              schema:
                type: dateTime
                constraint:
                  epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
                choiceOf: time
                index: 98
      timePeriod:
        type: Period
        choiceOf: time
        index: 101
        slicing:
          slices:
            timePeriod:
              match: {}
              schema: {type: Period, choiceOf: time, index: 101}
      time[x]:
        elements:
          start:
            constraint:
              epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
            index: 102
          end:
            constraint:
              epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
            index: 103
        required: [start, end]
  parent:
    type: Reference
    refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp']
    index: 30
    elements:
      reference: {index: 31}
      type: {index: 32}
      identifier: {index: 33}
      display: {index: 34}
    required: [reference]
  type:
    elements:
      coding:
        index: 19
        elements:
          system: {index: 20}
          code: {index: 21}
          display: {index: 22}
        required: [display, system, code]
        slicing:
          slices:
            snomed:
              match: {}
              schema:
                index: 23
                elements:
                  system: {index: 24}
                  version: {index: 25}
                  code: {index: 26}
                  display: {index: 27}
                  userSelected: {index: 28}
                required: [version, display, system, code]
  note:
    elements:
      author:
        choices: []
        index: 127
      time: {index: 128}
  extension:
    index: 0
    slicing:
      slices:
        focus:
          match: {}
          schema:
            index: 0
            elements:
              value:
                choices: [valueReference]
                index: 2
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/device-specimen-subject-dglp']
                index: 3
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 4}
                  type: {index: 5}
                  identifier: {index: 6}
                  display: {index: 7}
                required: [reference]
  status: {index: 18}
  condition:
    index: 121
    elements:
      coding:
        elements:
          system: {index: 122}
          code: {index: 123}
          display: {index: 124}
          userSelected: {index: 125}
        required: [display, system, code]
  container:
    extensions:
      device:
        url: null
        index: 104
        elements:
          value:
            choices: [valueReference]
            index: 106
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/device-specimen-container-dglp']
            index: 107
          value[x]:
            elements:
              reference: {mustSupport: true, index: 108}
              type: {index: 109}
              identifier: {index: 110}
              display: {index: 111}
            required: [reference]
    elements:
      extension:
        index: 104
        slicing:
          slices:
            device:
              match: {}
              schema:
                index: 104
                elements:
                  value:
                    choices: [valueReference]
                    index: 106
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/device-specimen-container-dglp']
                    index: 107
                  value[x]:
                    elements:
                      reference: {mustSupport: true, index: 108}
                      type: {index: 109}
                      identifier: {index: 110}
                      display: {index: 111}
                    required: [reference]
      identifier: {index: 112}
      description: {index: 113}
      type: {index: 114}
      capacity: {index: 115}
      specimenQuantity:
        pattern:
          type: Quantity
          value: {system: 'http://unitsofmeasure.org'}
        index: 116
        elements:
          value: {index: 117}
          unit: {index: 118}
          system: {index: 119}
          code: {index: 120}
        required: [value, unit, system, code]
  identifier:
    index: 8
    elements:
      use: {index: 9}
      type:
        elements:
          coding:
            index: 10
            elements:
              system: {index: 11}
              code: {index: 12}
              display: {index: 13}
              userSelected: {index: 14}
            required: [display, system, code]
          text: {index: 15}
      period: {index: 16}
      assigner: {index: 17}
  collection:
    extensions:
      bodySite:
        url: null
        index: 36
        elements:
          value:
            choices: [valueReference]
            index: 38
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/body-structure-dglp']
            index: 39
          value[x]:
            elements:
              reference: {index: 40}
              type: {index: 41}
              identifier: {index: 42}
              display: {index: 43}
            required: [reference]
    elements:
      collectedDateTime:
        type: dateTime
        constraint:
          epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
        choiceOf: collected
        index: 50
        slicing:
          slices:
            collectedDateTime:
              match: {}
              schema:
                type: dateTime
                constraint:
                  epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
                choiceOf: collected
                index: 50
      collected[x]:
        elements:
          start:
            constraint:
              epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
            index: 54
          end:
            constraint:
              epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
            index: 55
        required: [start, end]
      fastingStatusCodeableConcept:
        type: CodeableConcept
        choiceOf: fastingStatus
        index: 74
        slicing:
          slices:
            fastingStatusCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: fastingStatus, index: 74}
      fastingStatus:
        short: Nüchternstatus, Angabe der Dauer
        choices: [fastingStatusDuration]
        index: 81
        slicing:
          slices:
            fastingStatusDuration:
              match: {}
              schema:
                short: Nüchternstatus, Angabe der Dauer
                choices: [fastingStatusDuration]
                index: 81
      method:
        elements:
          coding:
            index: 61
            elements:
              system: {index: 62}
              code: {index: 63}
              display: {index: 64}
            required: [display, system, code]
            slicing:
              slices:
                snomed:
                  match: {}
                  schema:
                    index: 65
                    elements:
                      system: {index: 66}
                      version: {index: 67}
                      code: {index: 68}
                      display: {index: 69}
                      userSelected: {index: 70}
                    required: [version, display, system, code]
      fastingStatusDuration:
        type: Duration
        short: Nüchternstatus, Angabe der Dauer
        choiceOf: fastingStatus
        index: 82
        slicing:
          slices:
            fastingStatusDuration:
              match: {}
              schema: {type: Duration, short: 'Nüchternstatus, Angabe der Dauer', choiceOf: fastingStatus, index: 82}
      duration:
        elements:
          value: {index: 56}
          unit: {index: 57}
          system: {index: 58}
          code:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/duration-units'}
            index: 59
        required: [value, unit, system, code]
      extension:
        index: 36
        slicing:
          slices:
            bodySite:
              match: {}
              schema:
                index: 36
                elements:
                  value:
                    choices: [valueReference]
                    index: 38
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/body-structure-dglp']
                    index: 39
                  value[x]:
                    elements:
                      reference: {index: 40}
                      type: {index: 41}
                      identifier: {index: 42}
                      display: {index: 43}
                    required: [reference]
      fastingStatus[x]:
        elements:
          value: {index: 83}
          unit: {index: 84}
          system: {index: 85}
          code:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/duration-units'}
            index: 86
        required: [value, unit, system, code]
      collector:
        elements:
          reference: {index: 44}
          type: {index: 45}
          identifier: {index: 46}
          display: {index: 47}
        required: [reference]
      bodySite: {index: 71}
      quantity: {index: 60}
      collectedPeriod:
        type: Period
        choiceOf: collected
        index: 53
        slicing:
          slices:
            collectedPeriod:
              match: {}
              schema: {type: Period, choiceOf: collected, index: 53}
      collected:
        choices: [collectedPeriod]
        index: 52
        slicing:
          slices:
            collectedPeriod:
              match: {}
              schema:
                choices: [collectedPeriod]
                index: 52
package_version: 1.0.0-ballot.1
extensions:
  focus:
    url: null
    index: 0
    elements:
      value:
        choices: [valueReference]
        index: 2
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/device-specimen-subject-dglp']
        index: 3
      value[x]:
        elements:
          reference: {mustSupport: true, index: 4}
          type: {index: 5}
          identifier: {index: 6}
          display: {index: 7}
        required: [reference]
class: profile
kind: resource
url: https://gematik.de/fhir/epa-laboratory/StructureDefinition/specimen-dglp
base: https://gematik.de/fhir/ti/StructureDefinition/ti-specimen-laboratory
version: 1.0.0
required: [receivedTime, status, identifier]