at-elga-emed-timing
type: StructureDefinition
node role: treeRoot
resource.id:
  value: at-elga-emed-timing
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: StructureDefinition at-elga-emed-timing Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Timing Timing #xD; event S 0..* dateTime Zeitpunkt der Einnahme. #xD; repeat S 0..1 Element Wiederholungsangaben zur Einnahme #xD; Slices for bounds[x] 0..1 Duration, Range, Period Length/Range of lengths, or (Start and/or end) limits Slice: Unordered, Open by type:$this #xD; bounds[x]:boundsPeriod 0..1 Period Length/Range of lengths, or (Start and/or end) limits #xD; start 0..1 dateTime Zeitraum der Einnahme: Start. #xD; end 0..1 dateTime Zeitraum der Einnahme: Ende. #xD; frequency 0..1 positiveInt Häufigkeit der Einnahme, z.B. 3 mal täglich. #xD; period S 0..1 decimal Intervall der Einnahme, z.B. alle 4 Stunden. #xD; periodUnit 0..1 code Einheit des Intervalls der Einnahme, z.B. h für Stunden, d für Tage. Binding: https://termgit.elga.gv.at/ValueSet/elga-medikationfrequenz (required) #xD; when S 0..* code Code for time period of occurrence Binding: https://termgit.elga.gv.at/ValueSet/elga-einnahmezeitpunkte (required) #xD; offset S 0..1 unsignedInt Minutes from event (before or after) #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
structure definition.url:
  value: https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-timing
structure definition.version:
  value: 0.1.1
structure definition.name:
  value: AtElgaEmedTiming
structure definition.title:
  value: AT ELGA e-Medikation Timing
structure definition.status:
  value: draft
structure definition.date:
  value: 2026-07-13T07:40:16+00:00
structure definition.publisher:
  value: ELGA GmbH
structure definition.contact:
  index: 0
  contact detail.name:
    value: ELGA GmbH
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://elga.gv.at
structure definition.contact:
  index: 1
  contact detail.name:
    value: ELGA GmbH
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://elga.gv.at
    contact point.use:
      value: work
structure definition.description:
  value: AT ELGA e-Medikation Timing
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.mapping:
  index: 1
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: complex-type
structure definition.abstract:
  value: false
structure definition.type:
  value: Timing
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Timing
  link: http://hl7.org/fhir/StructureDefinition/Timing
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 4.0.1
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Timing
    element definition.path:
      value: Timing
    element definition.short:
      value: A timing schedule that specifies an event that may occur multiple times
    element definition.definition:
      value: Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.
    element definition.comment:
      value: Describes the occurrence of an event that may occur multiple times. Timing schedules are used for specifying when events are expected or requested to occur, and may also be used to represent the summary of a past or ongoing event. For simplicity, the definitions of Timing components are expressed as 'future' events, but such components can also be used to describe historic or ongoing events. A Timing schedule can be a list of events and/or criteria for when the event happens, which can be expressed in a structured form and/or as a code. When both event and a repeating specification are provided, the list of events should be understood as an interpretation of the information in the repeat structure.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Timing
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: ele-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: All FHIR elements must have a @value or children
      element definition.constraint.expression:
        value: hasValue() or (children().count() > id.count())
      element definition.constraint.xpath:
        value: @value|f:*|h:div
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
    element definition.is modifier:
      value: false
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: v2
      element definition.mapping.map:
        value: N/A
    element definition.mapping:
      index: 2
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: QSET<TS> (GTS)
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: Timing.id
    element definition.path:
      value: Timing.id
    element definition.representation:
      value: xmlAttr
      index: 0
    element definition.short:
      value: Unique id for inter-element referencing
    element definition.definition:
      value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Element.id
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element.extension:
        index: 0
      element definition.type.code:
        value: http://hl7.org/fhirpath/System.String
    element definition.is modifier:
      value: false
    element definition.is summary:
      value: false
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
  structure definition.snapshot.element:
    index: 2
    element.id:
      value: Timing.extension
    element definition.path:
      value: Timing.extension
    element definition.slicing:
      element definition.slicing.discriminator:
        index: 0
      element definition.slicing.description:
        value: Extensions are always sliced by (at least) url
      element definition.slicing.rules:
        value: open
    element definition.short:
      value: Additional content defined by implementations
    element definition.definition:
      value: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    element definition.comment:
      value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    element definition.alias:
      value: extensions
      index: 0

value: string

value: value

value: url

value: user content
index: 1

value: 0

value: *

element definition.base.path:
  value: Element.extension
element definition.base.min:
  value: 0
element definition.base.max:
  value: *

index: 0
element definition.type.code:
  value: Extension

index: 0
element definition.constraint.key:
  value: ele-1
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: All FHIR elements must have a @value or children
element definition.constraint.expression:
  value: hasValue() or (children().count() > id.count())
element definition.constraint.xpath:
  value: @value|f:*|h:div
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element

index: 1
element definition.constraint.key:
  value: ext-1
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: Must have either extensions or value[x], not both
element definition.constraint.expression:
  value: extension.exists() != value.exists()
element definition.constraint.xpath:
  value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension

value: false

value: false

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: n/a

index: 3
element.id:
  value: Timing.modifierExtension
element definition.path:
  value: Timing.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 4
element.id:
  value: Timing.event
element definition.path:
  value: Timing.event
element definition.short:
  value: Zeitpunkt der Einnahme.
element definition.definition:
  value: Identifies specific times when the event occurs.
element definition.requirements:
  value: In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Timing.event
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: QLIST<TS>

index: 5
element.id:
  value: Timing.repeat
element definition.path:
  value: Timing.repeat
element definition.short:
  value: Wiederholungsangaben zur Einnahme
element definition.definition:
  value: A set of rules that describe when the event is scheduled.
element definition.requirements:
  value: Many timing schedules are determined by regular repetitions.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Element
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: tim-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: if there's a duration, there needs to be duration units
  element definition.constraint.expression:
    value: duration.empty() or durationUnit.exists()
  element definition.constraint.xpath:
    value: not(exists(f:duration)) or exists(f:durationUnit)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 2
  element definition.constraint.key:
    value: tim-2
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: if there's a period, there needs to be period units
  element definition.constraint.expression:
    value: period.empty() or periodUnit.exists()
  element definition.constraint.xpath:
    value: not(exists(f:period)) or exists(f:periodUnit)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 3
  element definition.constraint.key:
    value: tim-4
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: duration SHALL be a non-negative value
  element definition.constraint.expression:
    value: duration.exists() implies duration >= 0
  element definition.constraint.xpath:
    value: f:duration/@value >= 0 or not(f:duration/@value)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 4
  element definition.constraint.key:
    value: tim-5
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: period SHALL be a non-negative value
  element definition.constraint.expression:
    value: period.exists() implies period >= 0
  element definition.constraint.xpath:
    value: f:period/@value >= 0 or not(f:period/@value)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 5
  element definition.constraint.key:
    value: tim-6
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If there's a periodMax, there must be a period
  element definition.constraint.expression:
    value: periodMax.empty() or period.exists()
  element definition.constraint.xpath:
    value: not(exists(f:periodMax)) or exists(f:period)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 6
  element definition.constraint.key:
    value: tim-7
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If there's a durationMax, there must be a duration
  element definition.constraint.expression:
    value: durationMax.empty() or duration.exists()
  element definition.constraint.xpath:
    value: not(exists(f:durationMax)) or exists(f:duration)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 7
  element definition.constraint.key:
    value: tim-8
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If there's a countMax, there must be a count
  element definition.constraint.expression:
    value: countMax.empty() or count.exists()
  element definition.constraint.xpath:
    value: not(exists(f:countMax)) or exists(f:count)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 8
  element definition.constraint.key:
    value: tim-9
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If there's an offset, there must be a when (and not C, CM, CD, CV)
  element definition.constraint.expression:
    value: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
  element definition.constraint.xpath:
    value: not(exists(f:offset)) or exists(f:when)
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.constraint:
  index: 9
  element definition.constraint.key:
    value: tim-10
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: If there's a timeOfDay, there cannot be a when, or vice versa
  element definition.constraint.expression:
    value: timeOfDay.empty() or when.empty()
  element definition.constraint.xpath:
    value: not(exists(f:timeOfDay)) or not(exists(f:when))
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Timing
    link: http://hl7.org/fhir/StructureDefinition/Timing
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Implies PIVL or EIVL

index: 6
element.id:
  value: Timing.repeat.id
element definition.path:
  value: Timing.repeat.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 7
element.id:
  value: Timing.repeat.extension
element definition.path:
  value: Timing.repeat.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 8
element.id:
  value: Timing.repeat.bounds[x]
element definition.path:
  value: Timing.repeat.bounds[x]
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: type
    element definition.slicing.discriminator.path:
      value: $this
  element definition.slicing.ordered:
    value: false
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Length/Range of lengths, or (Start and/or end) limits
element definition.definition:
  value: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.bounds[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Duration
element definition.type:
  index: 1
  element definition.type.code:
    value: Range
element definition.type:
  index: 2
  element definition.type.code:
    value: Period
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: IVL(TS) used in a QSI

index: 9
element.id:
  value: Timing.repeat.bounds[x]:boundsPeriod
element definition.path:
  value: Timing.repeat.bounds[x]
element definition.slice name:
  value: boundsPeriod
element definition.short:
  value: Length/Range of lengths, or (Start and/or end) limits
element definition.definition:
  value: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.bounds[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: IVL(TS) used in a QSI

index: 10
element.id:
  value: Timing.repeat.bounds[x]:boundsPeriod.id
element definition.path:
  value: Timing.repeat.bounds[x].id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 11
element.id:
  value: Timing.repeat.bounds[x]:boundsPeriod.extension
element definition.path:
  value: Timing.repeat.bounds[x].extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 12
element.id:
  value: Timing.repeat.bounds[x]:boundsPeriod.start
element definition.path:
  value: Timing.repeat.bounds[x].start
element definition.short:
  value: Zeitraum der Einnahme: Start.
element definition.definition:
  value: The start of the period. The boundary is inclusive.
element definition.comment:
  value: If the low element is missing, the meaning is that the low boundary is not known.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Period.start
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.condition:
  value: per-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: DR.1
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./low

index: 13
element.id:
  value: Timing.repeat.bounds[x]:boundsPeriod.end
element definition.path:
  value: Timing.repeat.bounds[x].end
element definition.short:
  value: Zeitraum der Einnahme: Ende.
element definition.definition:
  value: The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
element definition.comment:
  value: The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Period.end
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.meaning when missing:
  value: If the end of the period is missing, it means that the period is ongoing
element definition.condition:
  value: per-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: DR.2
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: ./high

index: 14
element.id:
  value: Timing.repeat.count
element definition.path:
  value: Timing.repeat.count
element definition.short:
  value: Number of times to repeat
element definition.definition:
  value: A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.
element definition.comment:
  value: If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.
element definition.requirements:
  value: Repetitions may be limited by end time or total occurrences.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.count
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.count

index: 15
element.id:
  value: Timing.repeat.countMax
element definition.path:
  value: Timing.repeat.countMax
element definition.short:
  value: Maximum number of times to repeat
element definition.definition:
  value: If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.countMax
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.count

index: 16
element.id:
  value: Timing.repeat.duration
element definition.path:
  value: Timing.repeat.duration
element definition.short:
  value: How long when it happens
element definition.definition:
  value: How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.
element definition.comment:
  value: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).
element definition.requirements:
  value: Some activities are not instantaneous and need to be maintained for a period of time.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.duration
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: decimal
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase

index: 17
element.id:
  value: Timing.repeat.durationMax
element definition.path:
  value: Timing.repeat.durationMax
element definition.short:
  value: How long when it happens (Max)
element definition.definition:
  value: If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
element definition.comment:
  value: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).
element definition.requirements:
  value: Some activities are not instantaneous and need to be maintained for a period of time.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.durationMax
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: decimal
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase

index: 18
element.id:
  value: Timing.repeat.durationUnit
element definition.path:
  value: Timing.repeat.durationUnit
element definition.short:
  value: s | min | h | d | wk | mo | a - unit of time (UCUM)
element definition.definition:
  value: The units of time for the duration, in UCUM units.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.durationUnit
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: UnitsOfTime
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: A unit of time (units from UCUM).
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase.unit

index: 19
element.id:
  value: Timing.repeat.frequency
element definition.path:
  value: Timing.repeat.frequency
element definition.short:
  value: Häufigkeit der Einnahme, z.B. 3 mal täglich.
element definition.definition:
  value: The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.frequency
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt
element definition.meaning when missing:
  value: If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase

index: 20
element.id:
  value: Timing.repeat.frequencyMax
element definition.path:
  value: Timing.repeat.frequencyMax
element definition.short:
  value: Event occurs up to frequencyMax times per period
element definition.definition:
  value: If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.frequencyMax
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase

index: 21
element.id:
  value: Timing.repeat.period
element definition.path:
  value: Timing.repeat.period
element definition.short:
  value: Intervall der Einnahme, z.B. alle 4 Stunden.
element definition.definition:
  value: Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: decimal
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase

index: 22
element.id:
  value: Timing.repeat.periodMax
element definition.path:
  value: Timing.repeat.periodMax
element definition.short:
  value: Upper limit of period (3-4 hours)
element definition.definition:
  value: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.periodMax
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: decimal
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase

index: 23
element.id:
  value: Timing.repeat.periodUnit
element definition.path:
  value: Timing.repeat.periodUnit
element definition.short:
  value: Einheit des Intervalls der Einnahme, z.B. h für Stunden, d für Tage.
element definition.definition:
  value: The units of time for the period in UCUM units.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.periodUnit
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://termgit.elga.gv.at/ValueSet/elga-medikationfrequenz
    link: https://termgit.elga.gv.at/ValueSet/elga-medikationfrequenz
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: PIVL.phase.unit

index: 24
element.id:
  value: Timing.repeat.dayOfWeek
element definition.path:
  value: Timing.repeat.dayOfWeek
element definition.short:
  value: mon | tue | wed | thu | fri | sat | sun
element definition.definition:
  value: If one or more days of week is provided, then the action happens only on the specified day(s).
element definition.comment:
  value: If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Timing.repeat.dayOfWeek
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: DayOfWeek
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 25
element.id:
  value: Timing.repeat.timeOfDay
element definition.path:
  value: Timing.repeat.timeOfDay
element definition.short:
  value: Time of day for action
element definition.definition:
  value: Specified time of day for action to take place.
element definition.comment:
  value: When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Timing.repeat.timeOfDay
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: time
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 26
element.id:
  value: Timing.repeat.when
element definition.path:
  value: Timing.repeat.when
element definition.short:
  value: Code for time period of occurrence
element definition.definition:
  value: An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
element definition.comment:
  value: When more than one event is listed, the event is tied to the union of the specified events.
element definition.requirements:
  value: Timings are frequently determined by occurrences such as waking, eating and sleep.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Timing.repeat.when
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://termgit.elga.gv.at/ValueSet/elga-einnahmezeitpunkte
    link: https://termgit.elga.gv.at/ValueSet/elga-einnahmezeitpunkte
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: EIVL.event

index: 27
element.id:
  value: Timing.repeat.offset
element definition.path:
  value: Timing.repeat.offset
element definition.short:
  value: Minutes from event (before or after)
element definition.definition:
  value: The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.repeat.offset
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: unsignedInt
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: EIVL.offset

index: 28
element.id:
  value: Timing.code
element definition.path:
  value: Timing.code
element definition.short:
  value: BID | TID | QID | AM | PM | QD | QOD | +
element definition.definition:
  value: A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).
element definition.comment:
  value: BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is "always at 7am and 6pm". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Timing.code
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: TimingAbbreviation
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: Code for a known / defined timing pattern.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/timing-abbreviation|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: QSC.code

structure definition.differential.element:
  index: 0
  element.id:
    value: Timing.event
  element definition.path:
    value: Timing.event
  element definition.short:
    value: Zeitpunkt der Einnahme.
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 1
  element.id:
    value: Timing.repeat
  element definition.path:
    value: Timing.repeat
  element definition.short:
    value: Wiederholungsangaben zur Einnahme
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 2
  element.id:
    value: Timing.repeat.bounds[x]
  element definition.path:
    value: Timing.repeat.bounds[x]
  element definition.slicing:
    element definition.slicing.discriminator:
      index: 0
      element definition.slicing.discriminator.type:
        value: type
      element definition.slicing.discriminator.path:
        value: $this
    element definition.slicing.ordered:
      value: false
    element definition.slicing.rules:
      value: open
structure definition.differential.element:
  index: 3
  element.id:
    value: Timing.repeat.bounds[x]:boundsPeriod
  element definition.path:
    value: Timing.repeat.bounds[x]
  element definition.slice name:
    value: boundsPeriod
  element definition.min:
    value: 0
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Period
structure definition.differential.element:
  index: 4
  element.id:
    value: Timing.repeat.bounds[x]:boundsPeriod.start
  element definition.path:
    value: Timing.repeat.bounds[x].start
  element definition.short:
    value: Zeitraum der Einnahme: Start.
structure definition.differential.element:
  index: 5
  element.id:
    value: Timing.repeat.bounds[x]:boundsPeriod.end
  element definition.path:
    value: Timing.repeat.bounds[x].end
  element definition.short:
    value: Zeitraum der Einnahme: Ende.
structure definition.differential.element:
  index: 6
  element.id:
    value: Timing.repeat.frequency
  element definition.path:
    value: Timing.repeat.frequency
  element definition.short:
    value: Häufigkeit der Einnahme, z.B. 3 mal täglich.
structure definition.differential.element:
  index: 7
  element.id:
    value: Timing.repeat.period
  element definition.path:
    value: Timing.repeat.period
  element definition.short:
    value: Intervall der Einnahme, z.B. alle 4 Stunden.
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 8
  element.id:
    value: Timing.repeat.periodUnit
  element definition.path:
    value: Timing.repeat.periodUnit
  element definition.short:
    value: Einheit des Intervalls der Einnahme, z.B. h für Stunden, d für Tage.
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set:
      value: https://termgit.elga.gv.at/ValueSet/elga-medikationfrequenz
      link: https://termgit.elga.gv.at/ValueSet/elga-medikationfrequenz
structure definition.differential.element:
  index: 9
  element.id:
    value: Timing.repeat.when
  element definition.path:
    value: Timing.repeat.when
  element definition.must support:
    value: true
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set:
      value: https://termgit.elga.gv.at/ValueSet/elga-einnahmezeitpunkte
      link: https://termgit.elga.gv.at/ValueSet/elga-einnahmezeitpunkte
structure definition.differential.element:
  index: 10
  element.id:
    value: Timing.repeat.offset
  element definition.path:
    value: Timing.repeat.offset
  element definition.must support:
    value: true