PackagesCanonicalsLogsProblems
    Packages
    rs/kbv.ita.erp@1.4.0-alpha
    https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_DailyFourScheme
description: null
package_name: rs/kbv.ita.erp
derivation: constraint
name: KBV_PR_ERP_Dosage_DailyFourScheme
type: Dosage
elements:
  site: {index: 39}
  asNeeded:
    choices: []
    index: 38
  method: {index: 41}
  patientInstruction: {index: 8}
  maxDosePerLifetime: {index: 56}
  maxDosePerAdministration: {index: 55}
  route: {index: 40}
  extension:
    index: 0
    slicing:
      slices:
        DosieranweisungKategorie:
          match: {}
          schema:
            type: Extension
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageCategory
            index: 1
            elements:
              value:
                choices: []
                index: 3
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        choices: []
                        index: 3
              value[x]:
                elements:
                  code:
                    pattern: {type: code, value: DAILY_FOUR_SCHEME}
                    mustSupport: true
                    type: code
                    index: 4
  timing:
    mustSupport: true
    index: 9
    elements:
      event: {index: 10}
      repeat:
        mustSupport: true
        index: 11
        elements:
          frequencyMax: {index: 28}
          when:
            short: Tageszeit der Anwendung
            constraint:
              -erp-angabeTageszeitViererschemaDosieranweisung: {human: 'Bei einer strukturierten Dosieranweisung mit Tageszeitbezug (Vierer-Schema) sind für die Tageszeiten nur die Werte morgens („MORN“), mittags („NOON“), abends („EVE“) und nachts („NIGHT“) zulässig.', severity: error, expression: value in ('MORN'|'NOON'|'EVE'|'NIGHT')}
            mustSupport: true
            index: 34
          offset: {index: 35}
          periodUnit:
            pattern: {type: code, value: d}
            mustSupport: true
            type: code
            index: 31
          frequency:
            short: Häufigkeit der Anwendung pro Zeitangabe
            mustSupport: true
            pattern: {type: positiveInt, value: 1}
            type: positiveInt
            index: 27
          durationMax: {index: 25}
          duration: {index: 24}
          bounds:
            choices: []
            index: 13
            slicing:
              rules: closed
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                boundsDuration:
                  match: {}
                  schema:
                    choices: [boundsDuration]
                    index: 15
          boundsDuration:
            type: Duration
            choiceOf: bounds
            index: 16
            slicing:
              slices:
                boundsDuration:
                  match: {}
                  schema: {type: Duration, choiceOf: bounds, index: 16}
          durationUnit: {index: 26}
          dayOfWeek: {index: 32}
          count: {index: 22}
          bounds[x]:
            elements:
              value: {short: Wert der Dauer der Dosieranweisung, mustSupport: true, index: 17}
              comparator: {index: 18}
              unit:
                short: Einheit der Dauer der Dosieranweisung
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_ERP_DosageInstruction_UnitsOfTime_German'}
                mustSupport: true
                index: 19
              system: {index: 20}
              code: {index: 21}
            required: [unit, value]
          periodMax: {index: 30}
          period:
            short: Wert der Zeitangabe
            mustSupport: true
            pattern: {type: decimal, value: 1}
            type: decimal
            index: 29
          countMax: {index: 23}
          timeOfDay: {index: 33}
        required: [frequency, period, periodUnit, when]
      code: {index: 36}
    required: [repeat]
  additionalInstruction: {index: 7}
  sequence: {index: 5}
  maxDosePerPeriod: {index: 54}
  doseAndRate:
    mustSupport: true
    index: 42
    elements:
      dose:
        mustSupport: true
        choices: []
        index: 44
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            doseQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [doseQuantity]
                _required: true
                index: 46
              min: 1
      doseQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: dose
        index: 47
        slicing:
          slices:
            doseQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: dose, _required: true, index: 47}
              min: 1
      dose[x]:
        elements:
          value: {short: Wert der Menge pro Anwendung, mustSupport: true, index: 48}
          unit:
            short: Einheit der Menge pro Anwendung
            pattern: {type: string, value: Stück}
            mustSupport: true
            type: string
            index: 49
          system:
            pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'}
            mustSupport: true
            type: uri
            index: 50
          code: {mustSupport: true, index: 51}
        required: [code, system, unit, value]
      rate:
        choices: []
        index: 53
    required: [dose, doseQuantity]
  text: {index: 6}
package_version: 1.4.0-alpha
extensions:
  DosieranweisungKategorie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageCategory
    type: Extension
    index: 1
    elements:
      value:
        choices: []
        index: 3
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                choices: []
                index: 3
      value[x]:
        elements:
          code:
            pattern: {type: code, value: DAILY_FOUR_SCHEME}
            mustSupport: true
            type: code
            index: 4
class: complex-type
kind: complex-type
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_DailyFourScheme
base: http://hl7.org/fhir/StructureDefinition/Dosage
version: 1.4.0
required: [doseAndRate, extension, timing]