Medication IG DE
1.0.0-ballot1 - 1.0.0

Medication IG DE, published by HL7 Deutschland. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7germany/medication-dosage-ig/ and changes regularly. See the Directory of published versions

Data Type Profile: Zeitmuster für Dosierungen im dgMP

Official URL: http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP Version: 1.0.0-ballot1
Draft as of 2025-07-09 Computable Name: TimingDgMP

Beschreibt ein Ereignis, das mehrfach auftreten kann. Zeitpläne werden verwendet, um festzuhalten, wann etwas geplant, erwartet oder angefordert ist. Die häufigste Anwendung ist in Dosierungsanweisungen für Medikamente. Sie werden aber auch für die Planung verschiedener Versorgungsleistungen genutzt und können zur Dokumentation von bereits erfolgten oder laufenden Aktivitäten verwendet werden.

Usages:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Timing 0..* TimingDE A timing schedule that specifies an event that may occur multiple times
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
... repeat SΣC 1..1 Element Wann das Ereignis stattfinden soll
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10, timing-only-one-type
.... Slices for bounds[x] SΣ 0..1 Duration Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen
Slice: Unordered, Closed by type:$this
..... bounds[x]:boundsDuration SΣ 0..1 Duration Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... system ΣC 0..1 uri UCUM-Einheit für die Dauer
Fixed Value: http://unitsofmeasure.org
...... code Σ 0..1 code Coded form of the unit
Binding: Zeiteinheiten für die DurationUnit in Dosierungen im dgMP (required)
.... frequency SΣ 1..1 positiveInt Ereignis tritt frequency-mal pro Zeitraum auf
.... period SΣ 1..1 decimal Ereignis tritt frequency-mal pro Zeitraum auf
.... periodUnit SΣ 1..1 code s | min | h | d | wk | mo | a - Zeiteinheit (UCUM)
Binding: Zeiteinheiten für PeriodUnit in Dosierungen im dgMP (required)
.... dayOfWeek SΣ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
.... timeOfDay SΣ 0..* time Tageszeit für die Aktion
.... when SΣ 0..* code Code für den Zeitraum des Auftretens
Binding: TimingWhenDgMP (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Timing.repeat.bounds[x]:boundsDuration.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
Timing.repeat.bounds[x]:boundsDuration.coderequiredDurationUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/DosageUnitsOfTimeDgMP
From this IG
Timing.repeat.periodUnitrequiredPeriodUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/PeriodUnitsOfTimeDgMP
From this IG
Timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
From the FHIR Standard
Timing.repeat.whenrequiredTimingWhenDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/TimingWhenDgMP
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorTiming.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorTiming.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorTiming.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorTiming.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorTiming.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorTiming.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorTiming.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorTiming.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorTiming.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()
timing-only-one-typeerrorTiming.repeatOnly one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema
: /* 4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* TimeOfDay */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.timeOfDay.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) or /* Interval and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.empty() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) )

This structure is derived from TimingDE

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Timing TimingDE
... event 0..0
... repeat C 1..1 Element Wann das Ereignis stattfinden soll
Constraints: timing-only-one-type
.... bounds[x] 0..1 Duration Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen
.... Slices for bounds[x] Content/Rules for all slices
..... bounds[x]:boundsDuration 0..1 Duration Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten
...... code 0..1 code Coded form of the unit
Binding: Zeiteinheiten für die DurationUnit in Dosierungen im dgMP (required)
.... count 0..0
.... countMax 0..0
.... duration 0..0
.... durationMax 0..0
.... durationUnit 0..0
.... frequency 1..1 positiveInt Ereignis tritt frequency-mal pro Zeitraum auf
.... frequencyMax 0..0
.... period 1..1 decimal Ereignis tritt frequency-mal pro Zeitraum auf
.... periodMax 0..0
.... periodUnit S 1..1 code s | min | h | d | wk | mo | a - Zeiteinheit (UCUM)
Binding: Zeiteinheiten für PeriodUnit in Dosierungen im dgMP (required)
.... when 0..* code Code für den Zeitraum des Auftretens
Binding: TimingWhenDgMP (required)
.... offset 0..0
... code 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Timing.repeat.bounds[x]:boundsDuration.coderequiredDurationUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/DosageUnitsOfTimeDgMP
From this IG
Timing.repeat.periodUnitrequiredPeriodUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/PeriodUnitsOfTimeDgMP
From this IG
Timing.repeat.whenrequiredTimingWhenDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/TimingWhenDgMP
From this IG

Constraints

IdGradePath(s)DetailsRequirements
timing-only-one-typeerrorTiming.repeatOnly one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema
: /* 4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* TimeOfDay */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.timeOfDay.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) or /* Interval and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.empty() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) )
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Timing 0..* TimingDE A timing schedule that specifies an event that may occur multiple times
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for bounds[x] SΣ 0..1 Duration Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen
Slice: Unordered, Closed by type:$this
..... bounds[x]:boundsDuration SΣ 0..1 Duration Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 0..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 0..1 string Unit representation
...... system ΣC 0..1 uri UCUM-Einheit für die Dauer
Fixed Value: http://unitsofmeasure.org
...... code Σ 0..1 code Coded form of the unit
Binding: Zeiteinheiten für die DurationUnit in Dosierungen im dgMP (required)
.... frequency SΣ 1..1 positiveInt Ereignis tritt frequency-mal pro Zeitraum auf
.... period SΣ 1..1 decimal Ereignis tritt frequency-mal pro Zeitraum auf
.... periodUnit SΣ 1..1 code s | min | h | d | wk | mo | a - Zeiteinheit (UCUM)
Binding: Zeiteinheiten für PeriodUnit in Dosierungen im dgMP (required)
.... dayOfWeek SΣ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
.... timeOfDay SΣ 0..* time Tageszeit für die Aktion
.... when SΣ 0..* code Code für den Zeitraum des Auftretens
Binding: TimingWhenDgMP (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Timing.repeat.bounds[x]:boundsDuration.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
Timing.repeat.bounds[x]:boundsDuration.coderequiredDurationUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/DosageUnitsOfTimeDgMP
From this IG
Timing.repeat.periodUnitrequiredPeriodUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/PeriodUnitsOfTimeDgMP
From this IG
Timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
From the FHIR Standard
Timing.repeat.whenrequiredTimingWhenDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/TimingWhenDgMP
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorTiming.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorTiming.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorTiming.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorTiming.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorTiming.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorTiming.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorTiming.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorTiming.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorTiming.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()
timing-only-one-typeerrorTiming.repeatOnly one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema
: /* 4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* TimeOfDay */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.timeOfDay.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) or /* Interval and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.empty() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) )

This structure is derived from TimingDE

Summary

Mandatory: 4 elements
Must-Support: 1 element
Prohibited: 10 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Timing 0..* TimingDE A timing schedule that specifies an event that may occur multiple times
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
... repeat SΣC 1..1 Element Wann das Ereignis stattfinden soll
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10, timing-only-one-type
.... Slices for bounds[x] SΣ 0..1 Duration Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen
Slice: Unordered, Closed by type:$this
..... bounds[x]:boundsDuration SΣ 0..1 Duration Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... system ΣC 0..1 uri UCUM-Einheit für die Dauer
Fixed Value: http://unitsofmeasure.org
...... code Σ 0..1 code Coded form of the unit
Binding: Zeiteinheiten für die DurationUnit in Dosierungen im dgMP (required)
.... frequency SΣ 1..1 positiveInt Ereignis tritt frequency-mal pro Zeitraum auf
.... period SΣ 1..1 decimal Ereignis tritt frequency-mal pro Zeitraum auf
.... periodUnit SΣ 1..1 code s | min | h | d | wk | mo | a - Zeiteinheit (UCUM)
Binding: Zeiteinheiten für PeriodUnit in Dosierungen im dgMP (required)
.... dayOfWeek SΣ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
.... timeOfDay SΣ 0..* time Tageszeit für die Aktion
.... when SΣ 0..* code Code für den Zeitraum des Auftretens
Binding: TimingWhenDgMP (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Timing.repeat.bounds[x]:boundsDuration.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
Timing.repeat.bounds[x]:boundsDuration.coderequiredDurationUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/DosageUnitsOfTimeDgMP
From this IG
Timing.repeat.periodUnitrequiredPeriodUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/PeriodUnitsOfTimeDgMP
From this IG
Timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
From the FHIR Standard
Timing.repeat.whenrequiredTimingWhenDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/TimingWhenDgMP
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorTiming.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorTiming.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorTiming.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorTiming.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorTiming.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorTiming.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorTiming.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorTiming.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorTiming.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()
timing-only-one-typeerrorTiming.repeatOnly one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema
: /* 4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* TimeOfDay */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.timeOfDay.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) or /* Interval and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.empty() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) )

Differential View

This structure is derived from TimingDE

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Timing TimingDE
... event 0..0
... repeat C 1..1 Element Wann das Ereignis stattfinden soll
Constraints: timing-only-one-type
.... bounds[x] 0..1 Duration Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen
.... Slices for bounds[x] Content/Rules for all slices
..... bounds[x]:boundsDuration 0..1 Duration Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten
...... code 0..1 code Coded form of the unit
Binding: Zeiteinheiten für die DurationUnit in Dosierungen im dgMP (required)
.... count 0..0
.... countMax 0..0
.... duration 0..0
.... durationMax 0..0
.... durationUnit 0..0
.... frequency 1..1 positiveInt Ereignis tritt frequency-mal pro Zeitraum auf
.... frequencyMax 0..0
.... period 1..1 decimal Ereignis tritt frequency-mal pro Zeitraum auf
.... periodMax 0..0
.... periodUnit S 1..1 code s | min | h | d | wk | mo | a - Zeiteinheit (UCUM)
Binding: Zeiteinheiten für PeriodUnit in Dosierungen im dgMP (required)
.... when 0..* code Code für den Zeitraum des Auftretens
Binding: TimingWhenDgMP (required)
.... offset 0..0
... code 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Timing.repeat.bounds[x]:boundsDuration.coderequiredDurationUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/DosageUnitsOfTimeDgMP
From this IG
Timing.repeat.periodUnitrequiredPeriodUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/PeriodUnitsOfTimeDgMP
From this IG
Timing.repeat.whenrequiredTimingWhenDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/TimingWhenDgMP
From this IG

Constraints

IdGradePath(s)DetailsRequirements
timing-only-one-typeerrorTiming.repeatOnly one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema
: /* 4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* TimeOfDay */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.timeOfDay.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) or /* Interval and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.empty() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) )

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Timing 0..* TimingDE A timing schedule that specifies an event that may occur multiple times
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for bounds[x] SΣ 0..1 Duration Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen
Slice: Unordered, Closed by type:$this
..... bounds[x]:boundsDuration SΣ 0..1 Duration Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 0..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 0..1 string Unit representation
...... system ΣC 0..1 uri UCUM-Einheit für die Dauer
Fixed Value: http://unitsofmeasure.org
...... code Σ 0..1 code Coded form of the unit
Binding: Zeiteinheiten für die DurationUnit in Dosierungen im dgMP (required)
.... frequency SΣ 1..1 positiveInt Ereignis tritt frequency-mal pro Zeitraum auf
.... period SΣ 1..1 decimal Ereignis tritt frequency-mal pro Zeitraum auf
.... periodUnit SΣ 1..1 code s | min | h | d | wk | mo | a - Zeiteinheit (UCUM)
Binding: Zeiteinheiten für PeriodUnit in Dosierungen im dgMP (required)
.... dayOfWeek SΣ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
.... timeOfDay SΣ 0..* time Tageszeit für die Aktion
.... when SΣ 0..* code Code für den Zeitraum des Auftretens
Binding: TimingWhenDgMP (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Timing.repeat.bounds[x]:boundsDuration.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
Timing.repeat.bounds[x]:boundsDuration.coderequiredDurationUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/DosageUnitsOfTimeDgMP
From this IG
Timing.repeat.periodUnitrequiredPeriodUnitsOfTimeDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/PeriodUnitsOfTimeDgMP
From this IG
Timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
From the FHIR Standard
Timing.repeat.whenrequiredTimingWhenDgMPVS
http://ig.fhir.de/igs/medication/ValueSet/TimingWhenDgMP
From this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorTiming.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorTiming.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorTiming.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorTiming.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorTiming.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorTiming.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorTiming.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorTiming.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorTiming.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()
timing-only-one-typeerrorTiming.repeatOnly one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema
: /* 4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* TimeOfDay */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.timeOfDay.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.frequency = 1 and timing.repeat.period.exists() and timing.repeat.period = 1 and timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd' and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) or /* Interval and Time/4-Schema */ (%resource.ofType(MedicationRequest).dosageInstruction | ofType(MedicationDispense).dosageInstruction | ofType(MedicationStatement).dosage).all( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.empty() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) )

This structure is derived from TimingDE

Summary

Mandatory: 4 elements
Must-Support: 1 element
Prohibited: 10 elements

 

Other representations of profile: CSV, Excel, Schematron