This page is part of the Medication IG DE (v1.0.8: Release) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions
| Official URL: http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE | Version: 1.0.8 | |||
| Active as of 2026-11-24 | Computable Name: TimingDE | |||
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.
Invariante: tim-9
Die Invariante tim-9 enthält einen
bekannten Fehler.
Dieser wurde in einigen Validatoren bereits behoben.
Sollte ein Validator ohne den entsprechenden Fix verwendet werden,
ist die tim-9-Definition aus FHIR R5 zu verwenden:
offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
Siehe auch die entsprechende Beschreibung in
FHIR R5 (Timing).
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Timing | A timing schedule that specifies an event that may occur multiple times | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() |
C | 0..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, TimingSingleDosageForTimeOfDay, TimingSingleDosageForWhen, TimingBoundsUnitMatchesCode, TimingValuesPositiveWarning |
![]() ![]() ![]() |
0..1 | Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
0..1 | Duration | Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten | |
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | UCUM-Einheit für die Dauer Fixed Value: http://unitsofmeasure.org (no extensions allowed) |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | positiveInt | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | decimal | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - Zeiteinheit (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | |
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | |
![]() ![]() ![]() |
0..* | time | Tageszeit für die Aktion | |
![]() ![]() ![]() |
0..* | code | Code für den Zeitraum des Auftretens Binding: EventTiming (required): Real world event relating to the schedule. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Timing.repeat.bounds[x]:boundsDuration.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std. |
How the Quantity should be understood and represented. |
| Timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
A unit of time (units from UCUM). |
| Timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. | |
| Timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std. |
Real world event relating to the schedule. |
| Id | Grade | Path(s) | Description | Expression |
| TimingBoundsUnitMatchesCode | error | Timing.repeat | boundsDuration.unit muss zur UCUM boundsDuration.code passen (z. B. 'Woche(n)' nur mit code='wk'). |
bounds.ofType(Duration).exists().not() or (
(
bounds.ofType(Duration).code = 'd'
implies
(
bounds.ofType(Duration).unit = 'Tag(e)' or
bounds.ofType(Duration).unit = 'Tag' or
bounds.ofType(Duration).unit = 'Tage'
)
) and (
bounds.ofType(Duration).code = 'wk'
implies
(
bounds.ofType(Duration).unit = 'Woche(n)' or
bounds.ofType(Duration).unit = 'Woche' or
bounds.ofType(Duration).unit = 'Wochen'
)
) and (
bounds.ofType(Duration).code = 'mo'
implies
(
bounds.ofType(Duration).unit = 'Monat(e)' or
bounds.ofType(Duration).unit = 'Monat' or
bounds.ofType(Duration).unit = 'Monate'
)
) and (
bounds.ofType(Duration).code = 'a'
implies
(
bounds.ofType(Duration).unit = 'Jahr(e)' or
bounds.ofType(Duration).unit = 'Jahr' or
bounds.ofType(Duration).unit = 'Jahre'
)
)
)
|
| TimingSingleDosageForTimeOfDay | error | Timing.repeat | Wenn nur timeOfDay verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.timeOfDay.exists() and
timing.repeat.when.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingSingleDosageForWhen | error | Timing.repeat | Wenn nur when verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.when.exists() and
timing.repeat.timeOfDay.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingValuesPositiveWarning | warning | Timing.repeat | period, periodMax, boundsDuration.value and boundsRange.high.value should be greater than 0; boundsRange.low.value should not be negative. |
(period.exists() implies period > 0) and
(periodMax.exists() implies periodMax > 0) and
bounds.ofType(Duration).value.all($this > 0) and
bounds.ofType(Range).low.value.all($this >= 0) and
bounds.ofType(Range).high.value.all($this > 0)
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | Timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | Timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | Timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | Timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | Timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | Timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | Timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | Timing.repeat | If 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-10 | error | Timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
This structure is derived from Timing
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
Timing | |||
![]() ![]() |
C | 0..1 | Element | Wann das Ereignis stattfinden soll Constraints: TimingSingleDosageForTimeOfDay, TimingSingleDosageForWhen, TimingBoundsUnitMatchesCode, TimingValuesPositiveWarning |
![]() ![]() ![]() |
0..1 | Duration, Range, Period | Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen Slice: Unordered, Open by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | |
![]() ![]() ![]() ![]() |
0..1 | Duration | Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten | |
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | UCUM-Einheit für die Dauer Fixed Value: http://unitsofmeasure.org (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | positiveInt | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | decimal | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - Zeiteinheit (UCUM) | |
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun | |
![]() ![]() ![]() |
0..* | time | Tageszeit für die Aktion | |
![]() ![]() ![]() |
0..* | code | Code für den Zeitraum des Auftretens | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| TimingBoundsUnitMatchesCode | error | Timing.repeat | boundsDuration.unit muss zur UCUM boundsDuration.code passen (z. B. 'Woche(n)' nur mit code='wk'). |
bounds.ofType(Duration).exists().not() or (
(
bounds.ofType(Duration).code = 'd'
implies
(
bounds.ofType(Duration).unit = 'Tag(e)' or
bounds.ofType(Duration).unit = 'Tag' or
bounds.ofType(Duration).unit = 'Tage'
)
) and (
bounds.ofType(Duration).code = 'wk'
implies
(
bounds.ofType(Duration).unit = 'Woche(n)' or
bounds.ofType(Duration).unit = 'Woche' or
bounds.ofType(Duration).unit = 'Wochen'
)
) and (
bounds.ofType(Duration).code = 'mo'
implies
(
bounds.ofType(Duration).unit = 'Monat(e)' or
bounds.ofType(Duration).unit = 'Monat' or
bounds.ofType(Duration).unit = 'Monate'
)
) and (
bounds.ofType(Duration).code = 'a'
implies
(
bounds.ofType(Duration).unit = 'Jahr(e)' or
bounds.ofType(Duration).unit = 'Jahr' or
bounds.ofType(Duration).unit = 'Jahre'
)
)
)
|
| TimingSingleDosageForTimeOfDay | error | Timing.repeat | Wenn nur timeOfDay verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.timeOfDay.exists() and
timing.repeat.when.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingSingleDosageForWhen | error | Timing.repeat | Wenn nur when verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.when.exists() and
timing.repeat.timeOfDay.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingValuesPositiveWarning | warning | Timing.repeat | period, periodMax, boundsDuration.value and boundsRange.high.value should be greater than 0; boundsRange.low.value should not be negative. |
(period.exists() implies period > 0) and
(periodMax.exists() implies periodMax > 0) and
bounds.ofType(Duration).value.all($this > 0) and
bounds.ofType(Range).low.value.all($this >= 0) and
bounds.ofType(Range).high.value.all($this > 0)
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Timing | A timing schedule that specifies an event that may occur multiple times | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() |
0..* | dateTime | When the event occurs | |
![]() ![]() |
C | 0..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, TimingSingleDosageForTimeOfDay, TimingSingleDosageForWhen, TimingBoundsUnitMatchesCode, TimingValuesPositiveWarning |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
0..1 | Duration | Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | UCUM-Einheit für die Dauer Fixed Value: http://unitsofmeasure.org (no extensions allowed) |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | positiveInt | Number of times to repeat | |
![]() ![]() ![]() |
0..1 | positiveInt | Maximum number of times to repeat | |
![]() ![]() ![]() |
0..1 | decimal | How long when it happens | |
![]() ![]() ![]() |
0..1 | decimal | How long when it happens (Max) | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | |
![]() ![]() ![]() |
0..1 | positiveInt | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | positiveInt | Event occurs up to frequencyMax times per period | |
![]() ![]() ![]() |
0..1 | decimal | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | decimal | Upper limit of period (3-4 hours) | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - Zeiteinheit (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | |
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | |
![]() ![]() ![]() |
0..* | time | Tageszeit für die Aktion | |
![]() ![]() ![]() |
0..* | code | Code für den Zeitraum des Auftretens Binding: EventTiming (required): Real world event relating to the schedule. | |
![]() ![]() ![]() |
0..1 | unsignedInt | Minutes from event (before or after) | |
![]() ![]() |
0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Timing.repeat.bounds[x]:boundsDuration.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std. |
How the Quantity should be understood and represented. |
| Timing.repeat.durationUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
A unit of time (units from UCUM). |
| Timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
A unit of time (units from UCUM). |
| Timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. | |
| Timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std. |
Real world event relating to the schedule. |
| Timing.code | Base | preferred | TimingAbbreviation | 📍4.0.1 | FHIR Std. |
Code for a known / defined timing pattern. |
| Id | Grade | Path(s) | Description | Expression |
| TimingBoundsUnitMatchesCode | error | Timing.repeat | boundsDuration.unit muss zur UCUM boundsDuration.code passen (z. B. 'Woche(n)' nur mit code='wk'). |
bounds.ofType(Duration).exists().not() or (
(
bounds.ofType(Duration).code = 'd'
implies
(
bounds.ofType(Duration).unit = 'Tag(e)' or
bounds.ofType(Duration).unit = 'Tag' or
bounds.ofType(Duration).unit = 'Tage'
)
) and (
bounds.ofType(Duration).code = 'wk'
implies
(
bounds.ofType(Duration).unit = 'Woche(n)' or
bounds.ofType(Duration).unit = 'Woche' or
bounds.ofType(Duration).unit = 'Wochen'
)
) and (
bounds.ofType(Duration).code = 'mo'
implies
(
bounds.ofType(Duration).unit = 'Monat(e)' or
bounds.ofType(Duration).unit = 'Monat' or
bounds.ofType(Duration).unit = 'Monate'
)
) and (
bounds.ofType(Duration).code = 'a'
implies
(
bounds.ofType(Duration).unit = 'Jahr(e)' or
bounds.ofType(Duration).unit = 'Jahr' or
bounds.ofType(Duration).unit = 'Jahre'
)
)
)
|
| TimingSingleDosageForTimeOfDay | error | Timing.repeat | Wenn nur timeOfDay verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.timeOfDay.exists() and
timing.repeat.when.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingSingleDosageForWhen | error | Timing.repeat | Wenn nur when verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.when.exists() and
timing.repeat.timeOfDay.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingValuesPositiveWarning | warning | Timing.repeat | period, periodMax, boundsDuration.value and boundsRange.high.value should be greater than 0; boundsRange.low.value should not be negative. |
(period.exists() implies period > 0) and
(periodMax.exists() implies periodMax > 0) and
bounds.ofType(Duration).value.all($this > 0) and
bounds.ofType(Range).low.value.all($this >= 0) and
bounds.ofType(Range).high.value.all($this > 0)
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | Timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | Timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | Timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | Timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | Timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | Timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | Timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | Timing.repeat | If 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-10 | error | Timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Timing | A timing schedule that specifies an event that may occur multiple times | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() |
C | 0..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, TimingSingleDosageForTimeOfDay, TimingSingleDosageForWhen, TimingBoundsUnitMatchesCode, TimingValuesPositiveWarning |
![]() ![]() ![]() |
0..1 | Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
0..1 | Duration | Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten | |
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | UCUM-Einheit für die Dauer Fixed Value: http://unitsofmeasure.org (no extensions allowed) |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | positiveInt | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | decimal | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - Zeiteinheit (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | |
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | |
![]() ![]() ![]() |
0..* | time | Tageszeit für die Aktion | |
![]() ![]() ![]() |
0..* | code | Code für den Zeitraum des Auftretens Binding: EventTiming (required): Real world event relating to the schedule. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Timing.repeat.bounds[x]:boundsDuration.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std. |
How the Quantity should be understood and represented. |
| Timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
A unit of time (units from UCUM). |
| Timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. | |
| Timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std. |
Real world event relating to the schedule. |
| Id | Grade | Path(s) | Description | Expression |
| TimingBoundsUnitMatchesCode | error | Timing.repeat | boundsDuration.unit muss zur UCUM boundsDuration.code passen (z. B. 'Woche(n)' nur mit code='wk'). |
bounds.ofType(Duration).exists().not() or (
(
bounds.ofType(Duration).code = 'd'
implies
(
bounds.ofType(Duration).unit = 'Tag(e)' or
bounds.ofType(Duration).unit = 'Tag' or
bounds.ofType(Duration).unit = 'Tage'
)
) and (
bounds.ofType(Duration).code = 'wk'
implies
(
bounds.ofType(Duration).unit = 'Woche(n)' or
bounds.ofType(Duration).unit = 'Woche' or
bounds.ofType(Duration).unit = 'Wochen'
)
) and (
bounds.ofType(Duration).code = 'mo'
implies
(
bounds.ofType(Duration).unit = 'Monat(e)' or
bounds.ofType(Duration).unit = 'Monat' or
bounds.ofType(Duration).unit = 'Monate'
)
) and (
bounds.ofType(Duration).code = 'a'
implies
(
bounds.ofType(Duration).unit = 'Jahr(e)' or
bounds.ofType(Duration).unit = 'Jahr' or
bounds.ofType(Duration).unit = 'Jahre'
)
)
)
|
| TimingSingleDosageForTimeOfDay | error | Timing.repeat | Wenn nur timeOfDay verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.timeOfDay.exists() and
timing.repeat.when.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingSingleDosageForWhen | error | Timing.repeat | Wenn nur when verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.when.exists() and
timing.repeat.timeOfDay.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingValuesPositiveWarning | warning | Timing.repeat | period, periodMax, boundsDuration.value and boundsRange.high.value should be greater than 0; boundsRange.low.value should not be negative. |
(period.exists() implies period > 0) and
(periodMax.exists() implies periodMax > 0) and
bounds.ofType(Duration).value.all($this > 0) and
bounds.ofType(Range).low.value.all($this >= 0) and
bounds.ofType(Range).high.value.all($this > 0)
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | Timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | Timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | Timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | Timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | Timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | Timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | Timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | Timing.repeat | If 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-10 | error | Timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
Differential View
This structure is derived from Timing
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
Timing | |||
![]() ![]() |
C | 0..1 | Element | Wann das Ereignis stattfinden soll Constraints: TimingSingleDosageForTimeOfDay, TimingSingleDosageForWhen, TimingBoundsUnitMatchesCode, TimingValuesPositiveWarning |
![]() ![]() ![]() |
0..1 | Duration, Range, Period | Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen Slice: Unordered, Open by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | |
![]() ![]() ![]() ![]() |
0..1 | Duration | Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten | |
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | UCUM-Einheit für die Dauer Fixed Value: http://unitsofmeasure.org (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | positiveInt | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | decimal | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - Zeiteinheit (UCUM) | |
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun | |
![]() ![]() ![]() |
0..* | time | Tageszeit für die Aktion | |
![]() ![]() ![]() |
0..* | code | Code für den Zeitraum des Auftretens | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| TimingBoundsUnitMatchesCode | error | Timing.repeat | boundsDuration.unit muss zur UCUM boundsDuration.code passen (z. B. 'Woche(n)' nur mit code='wk'). |
bounds.ofType(Duration).exists().not() or (
(
bounds.ofType(Duration).code = 'd'
implies
(
bounds.ofType(Duration).unit = 'Tag(e)' or
bounds.ofType(Duration).unit = 'Tag' or
bounds.ofType(Duration).unit = 'Tage'
)
) and (
bounds.ofType(Duration).code = 'wk'
implies
(
bounds.ofType(Duration).unit = 'Woche(n)' or
bounds.ofType(Duration).unit = 'Woche' or
bounds.ofType(Duration).unit = 'Wochen'
)
) and (
bounds.ofType(Duration).code = 'mo'
implies
(
bounds.ofType(Duration).unit = 'Monat(e)' or
bounds.ofType(Duration).unit = 'Monat' or
bounds.ofType(Duration).unit = 'Monate'
)
) and (
bounds.ofType(Duration).code = 'a'
implies
(
bounds.ofType(Duration).unit = 'Jahr(e)' or
bounds.ofType(Duration).unit = 'Jahr' or
bounds.ofType(Duration).unit = 'Jahre'
)
)
)
|
| TimingSingleDosageForTimeOfDay | error | Timing.repeat | Wenn nur timeOfDay verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.timeOfDay.exists() and
timing.repeat.when.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingSingleDosageForWhen | error | Timing.repeat | Wenn nur when verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.when.exists() and
timing.repeat.timeOfDay.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingValuesPositiveWarning | warning | Timing.repeat | period, periodMax, boundsDuration.value and boundsRange.high.value should be greater than 0; boundsRange.low.value should not be negative. |
(period.exists() implies period > 0) and
(periodMax.exists() implies periodMax > 0) and
bounds.ofType(Duration).value.all($this > 0) and
bounds.ofType(Range).low.value.all($this >= 0) and
bounds.ofType(Range).high.value.all($this > 0)
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Timing | A timing schedule that specifies an event that may occur multiple times | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() |
0..* | dateTime | When the event occurs | |
![]() ![]() |
C | 0..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, TimingSingleDosageForTimeOfDay, TimingSingleDosageForWhen, TimingBoundsUnitMatchesCode, TimingValuesPositiveWarning |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Länge/Bereich der Längen oder (Start- und/oder End-)Grenzen Slice: Unordered, Closed by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
0..1 | Duration | Dauer der Dosieranweisung ausgedrückt in UCUM-Einheiten | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unit representation | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | UCUM-Einheit für die Dauer Fixed Value: http://unitsofmeasure.org (no extensions allowed) |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | positiveInt | Number of times to repeat | |
![]() ![]() ![]() |
0..1 | positiveInt | Maximum number of times to repeat | |
![]() ![]() ![]() |
0..1 | decimal | How long when it happens | |
![]() ![]() ![]() |
0..1 | decimal | How long when it happens (Max) | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | |
![]() ![]() ![]() |
0..1 | positiveInt | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | positiveInt | Event occurs up to frequencyMax times per period | |
![]() ![]() ![]() |
0..1 | decimal | Ereignis tritt frequency-mal pro Zeitraum auf | |
![]() ![]() ![]() |
0..1 | decimal | Upper limit of period (3-4 hours) | |
![]() ![]() ![]() |
0..1 | code | s | min | h | d | wk | mo | a - Zeiteinheit (UCUM) Binding: UnitsOfTime (required): A unit of time (units from UCUM). | |
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | |
![]() ![]() ![]() |
0..* | time | Tageszeit für die Aktion | |
![]() ![]() ![]() |
0..* | code | Code für den Zeitraum des Auftretens Binding: EventTiming (required): Real world event relating to the schedule. | |
![]() ![]() ![]() |
0..1 | unsignedInt | Minutes from event (before or after) | |
![]() ![]() |
0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Timing.repeat.bounds[x]:boundsDuration.comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std. |
How the Quantity should be understood and represented. |
| Timing.repeat.durationUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
A unit of time (units from UCUM). |
| Timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std. |
A unit of time (units from UCUM). |
| Timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. | |
| Timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std. |
Real world event relating to the schedule. |
| Timing.code | Base | preferred | TimingAbbreviation | 📍4.0.1 | FHIR Std. |
Code for a known / defined timing pattern. |
| Id | Grade | Path(s) | Description | Expression |
| TimingBoundsUnitMatchesCode | error | Timing.repeat | boundsDuration.unit muss zur UCUM boundsDuration.code passen (z. B. 'Woche(n)' nur mit code='wk'). |
bounds.ofType(Duration).exists().not() or (
(
bounds.ofType(Duration).code = 'd'
implies
(
bounds.ofType(Duration).unit = 'Tag(e)' or
bounds.ofType(Duration).unit = 'Tag' or
bounds.ofType(Duration).unit = 'Tage'
)
) and (
bounds.ofType(Duration).code = 'wk'
implies
(
bounds.ofType(Duration).unit = 'Woche(n)' or
bounds.ofType(Duration).unit = 'Woche' or
bounds.ofType(Duration).unit = 'Wochen'
)
) and (
bounds.ofType(Duration).code = 'mo'
implies
(
bounds.ofType(Duration).unit = 'Monat(e)' or
bounds.ofType(Duration).unit = 'Monat' or
bounds.ofType(Duration).unit = 'Monate'
)
) and (
bounds.ofType(Duration).code = 'a'
implies
(
bounds.ofType(Duration).unit = 'Jahr(e)' or
bounds.ofType(Duration).unit = 'Jahr' or
bounds.ofType(Duration).unit = 'Jahre'
)
)
)
|
| TimingSingleDosageForTimeOfDay | error | Timing.repeat | Wenn nur timeOfDay verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.timeOfDay.exists() and
timing.repeat.when.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.timeOfDay.exists() and timing.repeat.when.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingSingleDosageForWhen | error | Timing.repeat | Wenn nur when verwendet wird und täglich dosiert wird, ist die Angabe in einem einzigen Dosage-Element zu modellieren. Mehrere Dosage-Elemente sind nur zulässig, wenn sich die Dosis (Wert) unterscheidet. |
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).all(
(
timing.repeat.dayOfWeek.empty() and
timing.repeat.when.exists() and
timing.repeat.timeOfDay.empty() and
(timing.repeat.period.exists() and timing.repeat.period = 1) and
(timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
)
implies
(
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).count() = 1
)
or
(
(
%resource.ofType(MedicationRequest).dosageInstruction
| %resource.ofType(MedicationDispense).dosageInstruction
| %resource.ofType(MedicationStatement).dosage
).where(
timing.repeat.dayOfWeek.empty() and timing.repeat.when.exists() and timing.repeat.timeOfDay.empty() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists() and timing.repeat.periodUnit = 'd')
).doseAndRate.dose.ofType(Quantity).value.distinct().count() > 1
)
)
)
|
| TimingValuesPositiveWarning | warning | Timing.repeat | period, periodMax, boundsDuration.value and boundsRange.high.value should be greater than 0; boundsRange.low.value should not be negative. |
(period.exists() implies period > 0) and
(periodMax.exists() implies periodMax > 0) and
bounds.ofType(Duration).value.all($this > 0) and
bounds.ofType(Range).low.value.all($this >= 0) and
bounds.ofType(Range).high.value.all($this > 0)
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tim-1 | error | Timing.repeat | if there's a duration, there needs to be duration units |
duration.empty() or durationUnit.exists()
|
| tim-2 | error | Timing.repeat | if there's a period, there needs to be period units |
period.empty() or periodUnit.exists()
|
| tim-4 | error | Timing.repeat | duration SHALL be a non-negative value |
duration.exists() implies duration >= 0
|
| tim-5 | error | Timing.repeat | period SHALL be a non-negative value |
period.exists() implies period >= 0
|
| tim-6 | error | Timing.repeat | If there's a periodMax, there must be a period |
periodMax.empty() or period.exists()
|
| tim-7 | error | Timing.repeat | If there's a durationMax, there must be a duration |
durationMax.empty() or duration.exists()
|
| tim-8 | error | Timing.repeat | If there's a countMax, there must be a count |
countMax.empty() or count.exists()
|
| tim-9 | error | Timing.repeat | If 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-10 | error | Timing.repeat | If there's a timeOfDay, there cannot be a when, or vice versa |
timeOfDay.empty() or when.empty()
|
Other representations of profile: CSV, Excel, Schematron