PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.erp@1.4.0-alpha
    https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_Weekday
description: null
package_name: kbv.ita.erp
derivation: constraint
name: KBV_PR_ERP_Dosage_Weekday
type: Dosage
elements:
  site: {index: 39}
  asNeeded:
    choices: []
    index: 38
  method: {index: 41}
  patientInstruction: {index: 8}
  maxDosePerLifetime: {index: 57}
  maxDosePerAdministration: {index: 56}
  route: {index: 40}
  extension:
    index: 0
    slicing:
      slices:
        DosieranweisungKategorie:
          match: {}
          schema:
            type: Extension
            isModifier: false
            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: WEEKDAY}
                    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: {index: 34}
          offset: {index: 35}
          periodUnit: {index: 31}
          frequency: {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: {mustSupport: true, 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: {index: 29}
          countMax: {index: 23}
          timeOfDay: {index: 33}
        required: [dayOfWeek]
      code: {index: 36}
    required: [repeat]
  additionalInstruction: {index: 7}
  sequence: {index: 5}
  maxDosePerPeriod: {index: 55}
  doseAndRate:
    mustSupport: true
    index: 42
    elements:
      type: {index: 43}
      dose:
        mustSupport: true
        choices: []
        index: 45
        slicing:
          rules: openAtEnd
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            doseQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [doseQuantity]
                _required: true
                index: 47
              min: 1
      doseQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: dose
        index: 48
        slicing:
          slices:
            doseQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: dose, _required: true, index: 48}
              min: 1
      dose[x]:
        elements:
          value: {short: Wert der Menge pro Anwendung, mustSupport: true, index: 49}
          unit: {short: Einheit der Menge pro Anwendung, mustSupport: true, index: 50}
          system:
            pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'}
            mustSupport: true
            type: uri
            index: 51
          code: {mustSupport: true, index: 52}
        required: [code, system, unit, value]
      rate:
        choices: []
        index: 54
    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
    isModifier: false
    index: 1
    elements:
      value:
        choices: []
        index: 3
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                choices: []
                index: 3
      value[x]:
        elements:
          code:
            pattern: {type: code, value: WEEKDAY}
            mustSupport: true
            type: code
            index: 4
class: complex-type
kind: complex-type
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Dosage_Weekday
base: http://hl7.org/fhir/StructureDefinition/Dosage
version: 1.4.0
required: [doseAndRate, extension, timing]