PackagesCanonicalsLogsProblems
    Packages
    de.gematik.dev.epa.medication@1.1.0-alpha.4
    https://gematik.de/fhir/epa-medication/StructureDefinition/epa-dosage
description: Hier werden Informationen zur Dosierung angegeben.
package_name: de.gematik.dev.epa.medication
derivation: constraint
name: EPADosage
type: Dosage
elements:
  asNeeded[x]:
    elements:
      coding:
        mustSupport: true
        index: 64
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-prn-medication-reason-snomed-ct-vs'}
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 65
                elements:
                  system: {mustSupport: true, index: 66}
                  version: {mustSupport: true, index: 67}
                  code: {mustSupport: true, index: 68}
                  display: {mustSupport: true, index: 69}
                required: [version, display, system, code]
      text: {mustSupport: true, index: 70}
  site:
    mustSupport: true
    index: 71
    elements:
      coding:
        mustSupport: true
        index: 72
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 73
                elements:
                  system: {mustSupport: true, index: 74}
                  version: {mustSupport: true, index: 75}
                  code: {mustSupport: true, index: 76}
                  display: {mustSupport: true, index: 77}
                required: [version, display, system, code]
      text: {mustSupport: true, index: 78}
  asNeeded:
    mustSupport: true
    choices: [asNeededCodeableConcept]
    index: 62
    slicing:
      slices:
        asNeededCodeableConcept:
          match: {}
          schema:
            mustSupport: true
            choices: [asNeededCodeableConcept]
            index: 62
          min: 0
          max: 1
  patientInstruction: {mustSupport: true, index: 9}
  maxDosePerAdministration:
    binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
    mustSupport: true
    index: 160
    elements:
      value: {mustSupport: true, index: 161}
      unit: {mustSupport: true, index: 162}
      system: {mustSupport: true, index: 163}
      code: {mustSupport: true, index: 164}
    required: [value, unit, system, code]
  route:
    mustSupport: true
    index: 79
    elements:
      coding:
        mustSupport: true
        index: 80
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medicine-route-of-administration-snomed-ct-vs'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 81
                elements:
                  system: {mustSupport: true, index: 82}
                  version: {mustSupport: true, index: 83}
                  code: {mustSupport: true, index: 84}
                  display: {mustSupport: true, index: 85}
                required: [version, display, system, code]
            edqm:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medicine-route-of-administration-edqm-vs'}
                mustSupport: true
                index: 86
                elements:
                  system: {mustSupport: true, index: 87}
                  code: {mustSupport: true, index: 88}
                  display: {mustSupport: true, index: 89}
                required: [display, system, code]
      text: {mustSupport: true, index: 90}
  asNeededBoolean:
    type: boolean
    mustSupport: true
    choiceOf: asNeeded
    index: 60
    slicing:
      slices:
        asNeededBoolean:
          match: {}
          schema: {type: boolean, mustSupport: true, choiceOf: asNeeded, index: 60}
          min: 0
          max: 1
  timing:
    mustSupport: true
    index: 10
    elements:
      event: {mustSupport: true, index: 11}
      repeat:
        mustSupport: true
        index: 12
        elements:
          boundsRange:
            type: Range
            mustSupport: true
            choiceOf: bounds
            index: 24
            slicing:
              slices:
                boundsRange:
                  match: {}
                  schema: {type: Range, mustSupport: true, choiceOf: bounds, index: 24}
                  min: 0
                  max: 1
          frequencyMax: {mustSupport: true, index: 46}
          boundsPeriod:
            type: Period
            mustSupport: true
            choiceOf: bounds
            index: 37
            slicing:
              slices:
                boundsPeriod:
                  match: {}
                  schema: {type: Period, mustSupport: true, choiceOf: bounds, index: 37}
                  min: 0
                  max: 1
          when:
            mustSupport: true
            index: 52
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                period-of-day:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-event-timing-vs'}
                    mustSupport: true
                    index: 53
                  min: 0
                  max: 1
                meal-sleep-times:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-timing-event-vs'}
                    mustSupport: true
                    array: true
                    index: 54
                  min: 0
          offset: {mustSupport: true, index: 55}
          periodUnit: {mustSupport: true, index: 49}
          frequency: {mustSupport: true, index: 45}
          durationMax: {mustSupport: true, index: 43}
          duration: {mustSupport: true, index: 42}
          bounds:
            mustSupport: true
            choices: [boundsPeriod]
            index: 36
            slicing:
              slices:
                boundsPeriod:
                  match: {}
                  schema:
                    mustSupport: true
                    choices: [boundsPeriod]
                    index: 36
                  min: 0
                  max: 1
          boundsDuration:
            type: Duration
            mustSupport: true
            choiceOf: bounds
            index: 17
            slicing:
              slices:
                boundsDuration:
                  match: {}
                  schema: {type: Duration, mustSupport: true, choiceOf: bounds, index: 17}
                  min: 0
                  max: 1
          durationUnit: {mustSupport: true, index: 44}
          dayOfWeek: {mustSupport: true, index: 50}
          count: {mustSupport: true, index: 40}
          bounds[x]:
            elements:
              start: {mustSupport: true, index: 38}
              end: {mustSupport: true, index: 39}
            required: [start]
          periodMax: {mustSupport: true, index: 48}
          period: {mustSupport: true, index: 47}
          countMax: {mustSupport: true, index: 41}
          timeOfDay: {mustSupport: true, index: 51}
        required: [bounds]
  additionalInstruction:
    mustSupport: true
    index: 1
    elements:
      coding:
        mustSupport: true
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-additional-dosage-instructions-snomed-ct-vs'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 3
                elements:
                  system: {mustSupport: true, index: 4}
                  version: {mustSupport: true, index: 5}
                  code: {mustSupport: true, index: 6}
                  display: {mustSupport: true, index: 7}
                required: [version, display, system, code]
      text: {mustSupport: true, index: 8}
  maxDosePerPeriod:
    mustSupport: true
    index: 149
    elements:
      numerator:
        binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
        mustSupport: true
        index: 150
        elements:
          value: {mustSupport: true, index: 151}
          unit: {mustSupport: true, index: 152}
          system: {mustSupport: true, index: 153}
          code: {mustSupport: true, index: 154}
        required: [value, unit, system, code]
      denominator:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time'}
        mustSupport: true
        index: 155
        elements:
          value: {mustSupport: true, index: 156}
          unit: {mustSupport: true, index: 157}
          system: {mustSupport: true, index: 158}
          code: {mustSupport: true, index: 159}
        required: [value, unit, system, code]
    required: [denominator, numerator]
  doseAndRate:
    mustSupport: true
    index: 91
    elements:
      dose[x]:
        elements:
          low:
            binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
            mustSupport: true
            index: 104
            elements:
              value: {mustSupport: true, index: 105}
              unit: {mustSupport: true, index: 106}
              system: {mustSupport: true, index: 107}
              code: {mustSupport: true, index: 108}
            required: [value, unit, system, code]
          high:
            binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
            mustSupport: true
            index: 109
            elements:
              value: {mustSupport: true, index: 110}
              unit: {mustSupport: true, index: 111}
              system: {mustSupport: true, index: 112}
              code: {mustSupport: true, index: 113}
            required: [value, unit, system, code]
      rate[x]:
        elements:
          numerator:
            binding: {strength: preferred, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'}
            mustSupport: true
            index: 139
            elements:
              value: {mustSupport: true, index: 140}
              unit: {mustSupport: true, index: 141}
              system: {mustSupport: true, index: 142}
              code: {mustSupport: true, index: 143}
            required: [value, unit, system, code]
          denominator:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time'}
            mustSupport: true
            index: 144
            elements:
              value: {mustSupport: true, index: 145}
              unit: {mustSupport: true, index: 146}
              system: {mustSupport: true, index: 147}
              code: {mustSupport: true, index: 148}
            required: [value, unit, system, code]
        required: [denominator, numerator]
      doseRange:
        type: Range
        mustSupport: true
        choiceOf: dose
        index: 103
        slicing:
          slices:
            doseRange:
              match: {}
              schema: {type: Range, mustSupport: true, choiceOf: dose, index: 103}
              min: 0
              max: 1
      rateRange:
        type: Range
        mustSupport: true
        choiceOf: rate
        index: 118
        slicing:
          slices:
            rateRange:
              match: {}
              schema: {type: Range, mustSupport: true, choiceOf: rate, index: 118}
              min: 0
              max: 1
      doseQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: dose
        index: 96
        slicing:
          slices:
            doseQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: dose, index: 96}
              min: 0
              max: 1
      dose:
        mustSupport: true
        choices: [doseRange]
        index: 102
        slicing:
          slices:
            doseRange:
              match: {}
              schema:
                mustSupport: true
                choices: [doseRange]
                index: 102
              min: 0
              max: 1
      rate:
        mustSupport: true
        choices: [rateRatio]
        index: 137
        slicing:
          slices:
            rateRatio:
              match: {}
              schema:
                mustSupport: true
                choices: [rateRatio]
                index: 137
              min: 0
              max: 1
      rateRatio:
        type: Ratio
        mustSupport: true
        choiceOf: rate
        index: 138
        slicing:
          slices:
            rateRatio:
              match: {}
              schema: {type: Ratio, mustSupport: true, choiceOf: rate, index: 138}
              min: 0
              max: 1
      rateQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: rate
        index: 131
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: rate, index: 131}
              min: 0
              max: 1
  asNeededCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: asNeeded
    index: 63
    slicing:
      slices:
        asNeededCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, mustSupport: true, choiceOf: asNeeded, index: 63}
          min: 0
          max: 1
  text: {mustSupport: true, index: 0}
package_version: 1.1.0-alpha.4
class: complex-type
kind: complex-type
url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-dosage
base: http://hl7.org/fhir/StructureDefinition/Dosage
version: null