Generated Tue Nov 24 18:40:51 CET 2026, FHIR version 4.0.1 for de.fhir.medication#1.0.8 (canonical = http://ig.fhir.de/igs/medication (history)). See Errors Only & IP
| Quality Checks | |||||||||||||||||||||||||||||||||||||||||||||||||
| Publisher Version: | IG Publisher Version: v3.0.5 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Publication Code: | n/a . PackageId = de.fhir.medication, Canonical = http://ig.fhir.de/igs/medication | ||||||||||||||||||||||||||||||||||||||||||||||||
| Realm Check for n/a: |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Language Info: | This IG has no language information | ||||||||||||||||||||||||||||||||||||||||||||||||
| Publication Request: |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Supressed Messages: | 14 Suppressed Issues | ||||||||||||||||||||||||||||||||||||||||||||||||
| Dependency Checks: |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Related IGs: | n/a | ||||||||||||||||||||||||||||||||||||||||||||||||
| Dependent IGs: | no references | ||||||||||||||||||||||||||||||||||||||||||||||||
| Global Profiles: | (none declared) | ||||||||||||||||||||||||||||||||||||||||||||||||
| Terminology Server(s): | https://tx.fhir.org/r4 (details) | ||||||||||||||||||||||||||||||||||||||||||||||||
| HTA Analysis: | Non-HL7 Igs are exempt from terminology dependency analysis | ||||||||||||||||||||||||||||||||||||||||||||||||
| R5 Dependencies: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Draft Dependencies: |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Modifier Extensions: | (none) | ||||||||||||||||||||||||||||||||||||||||||||||||
| Previous Version Comparison: | Comparison with version 2.0.0-ballot | ||||||||||||||||||||||||||||||||||||||||||||||||
| IPA Comparison: | n/a | ||||||||||||||||||||||||||||||||||||||||||||||||
| IPS Comparison: | n/a | ||||||||||||||||||||||||||||||||||||||||||||||||
| Validation Flags: | On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings | ||||||||||||||||||||||||||||||||||||||||||||||||
| Summary: | errors = 519, warn = 108, info = 9, broken links = 0, pinned = n/a. | ||||||||||||||||||||||||||||||||||||||||||||||||
| output/StructureDefinition-DosageDE.html (l321/c2) | error | The page has more than one top level heading: <h2> 'Verwendung' (id=verwendung) is at the same level as the first heading on the page (<h2> 'Data Type Profile: Dosage DE' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/StructureDefinition-DosageDgMP.html (l321/c2) | error | The page has more than one top level heading: <h2> 'Verwendung' (id=verwendung) is at the same level as the first heading on the page (<h2> 'Data Type Profile: Dosage dgMP' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/StructureDefinition-MedicationDispenseDgMP.html (l331/c2) | error | The page has more than one top level heading: <h2> 'Verwendung' (id=verwendung) is at the same level as the first heading on the page (<h2> 'Resource Profile: Medication Dispense dgMP ( Abstract )' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/StructureDefinition-MedicationRequestDgMP.html (l331/c2) | error | The page has more than one top level heading: <h2> 'Verwendung' (id=verwendung) is at the same level as the first heading on the page (<h2> 'Resource Profile: Medication Request dgMP ( Abstract )' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/StructureDefinition-MedicationStatementDgMP.html (l331/c2) | error | The page has more than one top level heading: <h2> 'Verwendung' (id=verwendung) is at the same level as the first heading on the page (<h2> 'Resource Profile: Medication Statement dgMP ( Abstract )' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/StructureDefinition-TimingDE.html (l321/c2) | error | The page has more than one top level heading: <h2> 'Hinweise zur Verwendung' (id=hinweise-zur-verwendung) is at the same level as the first heading on the page (<h2> 'Data Type Profile: Timing DE' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/StructureDefinition-TimingDgMP.html (l321/c2) | error | The page has more than one top level heading: <h2> 'Hinweise zur Verwendung' (id=hinweise-zur-verwendung) is at the same level as the first heading on the page (<h2> 'Data Type Profile: Timing dgMP' (id=root)). A page must have exactly one top level heading, with every other heading beneath it (WCAG compliance test) HTML_HEADING_MULTIPLE_ROOTS |
| output/searchform.html | warning | The html source is not well formed: Found "</a>" expecting "</img>" at line 34 column 177 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 79 column 10 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 80 column 9 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 109 column 8 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 111 column 12 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 112 column 20 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 113 column 16 HTML_NOT_WELL_FORMED |
| output/searchform.html | warning | The html source is not well formed: Found "</div>" expecting "</body>" at line 115 column 12 HTML_NOT_WELL_FORMED |
| 1 | warning | The HTML fragment 'ip-statements.xhtml' is not included anywhere in the produced implementation guide |
| 2 | warning | An HTML fragment from the set [cross-version-analysis.xhtml, cross-version-analysis-inline.xhtml] is not included anywhere in the produced implementation guide |
| 4 | warning | The HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| ImplementationGuide.dependsOn[0] (l1/c1083) | warning | The ImplementationGuide uses package hl7.fhir.uv.extensions.r4#5.2.0 released on 2025-02-10, but the most recent appropriate version is 5.4.0. This reference is getting old and the more recent version should be considered IG_DEPENDENCY_VERSION_WARNING_OLD | -- |
| ImplementationGuide.dependsOn[1] (l1/c1233) | warning | The ImplementationGuide uses package hl7.terminology.r4#7.2.0 released on 2026-06-14, but the most recent appropriate version is 7.5.0. This reference is getting old and the more recent version should be considered IG_DEPENDENCY_VERSION_WARNING_OLD | -- |
| Resource | information | The resource ImplementationGuide/de.fhir.medication could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Dispense dgMP |
| ✓ |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1] (l38/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseValueNotNegative: 'doseQuantity.value must not be negative. (doseAndRate.dose.ofType(Quantity).value.all($this >= 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueNotNegative | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValueDecimalNotationWarning: 'Dose values in doseQuantity or doseRange should use plain decimal notation with at most three decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) should not be used. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresGeneratedText: 'Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(timing.exists() and doseAndRate.exists() and text.empty()) ) implies ( %resource.extension.where( url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' ).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).exists() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).exists() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresGeneratedText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: FreeTextSingleDosageOnlyWarning: 'Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#FreeTextSingleDosageOnlyWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: FreeTextSingleDosageOnly: 'Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextSingleDosageOnly | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1] (l19/c6) | warning | Constraint failed: FreeTextSingleDosageOnlyWarning: 'Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#FreeTextSingleDosageOnlyWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1] (l19/c6) | error | Constraint failed: FreeTextSingleDosageOnly: 'Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextSingleDosageOnly | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1] (l19/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsDurationPositive: 'boundsDuration.value must be greater than 0. (bounds.ofType(Duration).value.all($this > 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationPositive | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsDurationPositive: 'boundsDuration.value must be greater than 0. (bounds.ofType(Duration).value.all($this > 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationPositive | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsUnitMatchesCode: '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' ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingBoundsUnitMatchesCode | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsUnitMatchesCode: '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' ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingBoundsUnitMatchesCode | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l41/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingSingleDosageForTimeOfDay: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingSingleDosageForTimeOfDay: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDay | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingSingleDosageForWhen: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingSingleDosageForWhen: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhen | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l37/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneBounds: 'Dosages Timings must state the same bounds duration across multiple dosage instances (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( ( /* only one different value and code are allowed*/ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosage.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBounds | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l46/c10) | error | Constraint failed: TimingOnlyOneBounds: 'Dosages Timings must state the same bounds duration across multiple dosage instances (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( ( /* only one different value and code are allowed*/ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosage.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBounds | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: tim-10: 'If there's a timeOfDay, there cannot be a when, or vice versa (timeOfDay.empty() or when.empty())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-10 | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1] (l28/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l30/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1] (l38/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneDayOfWeek: 'Dosages Timings must not state the same day across multiple dosage instances (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = %resource.dosageInstruction.timing.repeat.dayOfWeek.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.dayOfWeek.distinct().count() = %resource.dosage.timing.repeat.dayOfWeek.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneDayOfWeek | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneDayOfWeek: 'Dosages Timings must not state the same day across multiple dosage instances (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = %resource.dosageInstruction.timing.repeat.dayOfWeek.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.dayOfWeek.distinct().count() = %resource.dosage.timing.repeat.dayOfWeek.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneDayOfWeek | Medication Dispense dgMP |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) Validation_VAL_Profile_NotSlice | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8' definition allows for the type Quantity but found type Range Extension_PROF_Type | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range).low (l20/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range).high (l26/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Dosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: tim-8: 'If there's a countMax, there must be a count (countMax.empty() or count.exists())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-8 | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSlice | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Period Extension_PROF_Type | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period).start (l20/c34) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period).end (l21/c32) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSlice | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Range Extension_PROF_Type | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range).low (l20/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range).high (l26/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: tim-9: '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())))' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-9 | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing (l17/c8) | error | Timing.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l21/c10) | error | Constraint failed: tim-10: 'If there's a timeOfDay, there cannot be a when, or vice versa (timeOfDay.empty() or when.empty())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-10 | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l21/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0].timing.repeat (l21/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseQuantityAllowedFractionsWarning: 'Dose values in doseQuantity or doseRange should be whole numbers or use one of the following fractional parts: .125, .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseQuantityAllowedFractionsWarning: 'Dose values in doseQuantity or doseRange should be whole numbers or use one of the following fractional parts: .125, .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsWarning | Medication Dispense dgMP |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValueDecimalNotationWarning: 'Dose values in doseQuantity or doseRange should use plain decimal notation with at most three decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) should not be used. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingBoundsDurationOnlyWholeNumberWarning: 'boundsDuration.value should be a whole number; decimal values should not be used. (bounds.ofType(Duration).value.all($this.truncate() = $this))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingPeriodOnlyWholeNumberWarning: 'period and periodMax should be whole numbers; decimal values should not be used. ((period.exists() implies period.truncate() = period) and (periodMax.exists() implies periodMax.truncate() = periodMax))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationDispense.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Dispense dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Request dgMP |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1] (l38/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseValueNotNegative: 'doseQuantity.value must not be negative. (doseAndRate.dose.ofType(Quantity).value.all($this >= 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueNotNegative | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValueDecimalNotationWarning: 'Dose values in doseQuantity or doseRange should use plain decimal notation with at most three decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) should not be used. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresGeneratedText: 'Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(timing.exists() and doseAndRate.exists() and text.empty()) ) implies ( %resource.extension.where( url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' ).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).exists() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).exists() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresGeneratedText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: FreeTextSingleDosageOnlyWarning: 'Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#FreeTextSingleDosageOnlyWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: FreeTextSingleDosageOnly: 'Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextSingleDosageOnly | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1] (l19/c6) | warning | Constraint failed: FreeTextSingleDosageOnlyWarning: 'Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#FreeTextSingleDosageOnlyWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1] (l19/c6) | error | Constraint failed: FreeTextSingleDosageOnly: 'Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextSingleDosageOnly | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1] (l19/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsDurationPositive: 'boundsDuration.value must be greater than 0. (bounds.ofType(Duration).value.all($this > 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationPositive | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsDurationPositive: 'boundsDuration.value must be greater than 0. (bounds.ofType(Duration).value.all($this > 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationPositive | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsUnitMatchesCode: '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' ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingBoundsUnitMatchesCode | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsUnitMatchesCode: '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' ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingBoundsUnitMatchesCode | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l41/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingSingleDosageForTimeOfDay: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingSingleDosageForTimeOfDay: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDay | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingSingleDosageForWhen: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingSingleDosageForWhen: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhen | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l45/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l37/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneBounds: 'Dosages Timings must state the same bounds duration across multiple dosage instances (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( ( /* only one different value and code are allowed*/ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosage.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBounds | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l46/c10) | error | Constraint failed: TimingOnlyOneBounds: 'Dosages Timings must state the same bounds duration across multiple dosage instances (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( ( /* only one different value and code are allowed*/ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosage.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBounds | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: tim-10: 'If there's a timeOfDay, there cannot be a when, or vice versa (timeOfDay.empty() or when.empty())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-10 | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1] (l28/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l30/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1] (l38/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l40/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneDayOfWeek: 'Dosages Timings must not state the same day across multiple dosage instances (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = %resource.dosageInstruction.timing.repeat.dayOfWeek.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.dayOfWeek.distinct().count() = %resource.dosage.timing.repeat.dayOfWeek.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneDayOfWeek | Medication Request dgMP |
| MedicationRequest.dosageInstruction[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneDayOfWeek: 'Dosages Timings must not state the same day across multiple dosage instances (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = %resource.dosageInstruction.timing.repeat.dayOfWeek.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.dayOfWeek.distinct().count() = %resource.dosage.timing.repeat.dayOfWeek.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneDayOfWeek | Medication Request dgMP |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) Validation_VAL_Profile_NotSlice | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8' definition allows for the type Quantity but found type Range Extension_PROF_Type | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range).low (l20/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range).high (l26/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Dosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: tim-8: 'If there's a countMax, there must be a count (countMax.empty() or count.exists())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-8 | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSlice | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Period Extension_PROF_Type | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period).start (l20/c34) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period).end (l21/c32) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSlice | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Range Extension_PROF_Type | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range).low (l20/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range).high (l26/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Constraint failed: tim-9: '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())))' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-9 | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | error | Timing.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing (l17/c8) | error | Timing.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l21/c10) | error | Constraint failed: tim-10: 'If there's a timeOfDay, there cannot be a when, or vice versa (timeOfDay.empty() or when.empty())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-10 | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l21/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0].timing.repeat (l21/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseQuantityAllowedFractionsWarning: 'Dose values in doseQuantity or doseRange should be whole numbers or use one of the following fractional parts: .125, .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseQuantityAllowedFractionsWarning: 'Dose values in doseQuantity or doseRange should be whole numbers or use one of the following fractional parts: .125, .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsWarning | Medication Request dgMP |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValueDecimalNotationWarning: 'Dose values in doseQuantity or doseRange should use plain decimal notation with at most three decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) should not be used. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingBoundsDurationOnlyWholeNumberWarning: 'boundsDuration.value should be a whole number; decimal values should not be used. (bounds.ofType(Duration).value.all($this.truncate() = $this))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingPeriodOnlyWholeNumberWarning: 'period and periodMax should be whole numbers; decimal values should not be used. ((period.exists() implies period.truncate() = period) and (periodMax.exists() implies periodMax.truncate() = periodMax))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationRequest.dosageInstruction[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Request dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Statement dgMP |
| ✓ |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| MedicationStatement.dosage[1] (l38/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageDoseValueNotNegative: 'doseQuantity.value must not be negative. (doseAndRate.dose.ofType(Quantity).value.all($this >= 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueNotNegative | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageDoseValueDecimalNotationWarning: 'Dose values in doseQuantity or doseRange should use plain decimal notation with at most three decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) should not be used. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresGeneratedText: 'Liegt eine strukturierte Dosierungsangabe vor (timing und doseAndRate belegt, text leer), muss die Extension GeneratedDosageInstructionsMeta vorhanden sein. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(timing.exists() and doseAndRate.exists() and text.empty()) ) implies ( %resource.extension.where( url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' ).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).exists() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).exists() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresGeneratedText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: FreeTextSingleDosageOnlyWarning: 'Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#FreeTextSingleDosageOnlyWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: FreeTextSingleDosageOnly: 'Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextSingleDosageOnly | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Statement dgMP |
| MedicationStatement.dosage[1] (l19/c6) | warning | Constraint failed: FreeTextSingleDosageOnlyWarning: 'Wenn eine Dosierung als reiner Freitext angegeben ist, soll nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#FreeTextSingleDosageOnlyWarning | Medication Statement dgMP |
| MedicationStatement.dosage[1] (l19/c6) | error | Constraint failed: FreeTextSingleDosageOnly: 'Wenn eine Dosierung als reiner Freitext angegeben ist, darf nur genau ein Dosage-Element existieren. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists(text.exists() and timing.empty() and doseAndRate.empty()) ) implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).count() = 1 ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextSingleDosageOnly | Medication Statement dgMP |
| MedicationStatement.dosage[1] (l19/c6) | error | Constraint failed: FreeTextMatchesRenderedText: 'Wenn eine Dosierung als reiner Freitext angegeben ist (text vorhanden, timing und doseAndRate leer) UND die Extension renderedDosageInstruction befüllt ist, muss der Wert in dosageInstruction.text mit dem Wert in der Extension übereinstimmen. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where(text.exists() and timing.empty() and doseAndRate.empty()).exists() ) implies ( ( %resource.ofType(MedicationRequest).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationDispense).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).value = %resource.dosageInstruction.text ) ) or ( %resource.ofType(MedicationStatement).exists() and ( %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).empty() or %resource.extension.where( url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).value = %resource.dosage.text ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#FreeTextMatchesRenderedText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsDurationPositive: 'boundsDuration.value must be greater than 0. (bounds.ofType(Duration).value.all($this > 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationPositive | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsDurationPositive: 'boundsDuration.value must be greater than 0. (bounds.ofType(Duration).value.all($this > 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationPositive | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsUnitMatchesCode: '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' ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingBoundsUnitMatchesCode | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingBoundsUnitMatchesCode: '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' ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingBoundsUnitMatchesCode | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l41/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingSingleDosageForTimeOfDay: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingSingleDosageForTimeOfDay: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDay | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingSingleDosageForWhen: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhen | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingSingleDosageForWhen: '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 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhen | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l45/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l45/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l45/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l45/c10) | error | Constraint failed: TimingOnlyOnePeriodForDayOfWeek: 'For schedules using only dayOfWeek with either timeOfDay or when, each (day + period of day/time) combination must be unique across all dosage instructions. (( /* Detect DayOfWeek and Time/4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosageInstruction.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( /* For each day of week */ /* if Mon occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'mon').count() > 1) implies ( (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('mon' in dayOfWeek).timeOfDay.count()) )) and /* if tue occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'tue').count() > 1) implies ( (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('tue' in dayOfWeek).timeOfDay.count()) )) and /* if wed occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'wed').count() > 1) implies ( (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('wed' in dayOfWeek).timeOfDay.count()) )) and /* if thu occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'thu').count() > 1) implies ( (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('thu' in dayOfWeek).timeOfDay.count()) )) and /* if fri occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'fri').count() > 1) implies ( (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('fri' in dayOfWeek).timeOfDay.count()) )) and /* if sat occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sat').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sat' in dayOfWeek).timeOfDay.count()) )) and /* if sun occurs multiple times */ ((%resource.dosage.timing.repeat.dayOfWeek.where($this = 'sun').count() > 1) implies ( (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).when.count()) and (%resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.distinct().count() = %resource.dosage.timing.repeat.where('sun' in dayOfWeek).timeOfDay.count()) )) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOnePeriodForDayOfWeek | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l45/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l45/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l37/c10) | error | Constraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, then only one dosage is allowed in the resource. (( /* Detect Interval */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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() ) /* Only One Dosage allowed for Interval */ implies ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.count() = 1 ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.count() = 1 ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingIntervalOnlyOneFrequency | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (/* Detect TimeOfDay. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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() ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneBounds: 'Dosages Timings must state the same bounds duration across multiple dosage instances (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( ( /* only one different value and code are allowed*/ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosage.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBounds | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l46/c10) | error | Constraint failed: TimingOnlyOneBounds: 'Dosages Timings must state the same bounds duration across multiple dosage instances (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( ( /* only one different value and code are allowed*/ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Duration).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Duration).value.distinct().count() = 1) and (%resource.dosage.timing.repeat.bounds.ofType(Duration).code.distinct().count() = 1) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBounds | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: tim-10: 'If there's a timeOfDay, there cannot be a when, or vice versa (timeOfDay.empty() or when.empty())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-10 | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Statement dgMP |
| MedicationStatement.dosage[1] (l28/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l30/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| MedicationStatement.dosage[1] (l38/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingPeriodUnit: 'If weekdays are given the periodUnit must be week, otherwise day ((dayOfWeek.exists() implies periodUnit = 'wk') and ((dayOfWeek.empty() and (when.exists() or timeOfDay.exists())) implies periodUnit = 'd'))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnit | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneWhen: 'Dosages Timings must not state the same period of day across multiple dosage instances (( /* Detect 4-Schema */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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.when.exists() and timing.repeat.timeOfDay.empty() implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneWhen | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingOnlyOneTimeForInterval: 'Dosage Interval Timings must use the same period and periodUnit across all dosage instances, and each timeOfDay or when value must be unique across dosage instances (/* Detect Interval and Time/4-Schema. Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( 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()) ) ).empty() or ( ( ( %resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists() ) implies ( %resource.dosageInstruction.timing.repeat.period.distinct().count() = 1 and %resource.dosageInstruction.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosageInstruction.timing.repeat.timeOfDay.distinct().count() = %resource.dosageInstruction.timing.repeat.timeOfDay.count()) and (%resource.dosageInstruction.timing.repeat.when.distinct().count() = %resource.dosageInstruction.timing.repeat.when.count()) ) ) and ( %resource.ofType(MedicationStatement).exists() implies ( ( %resource.dosage.timing.repeat.period.distinct().count() = 1 and %resource.dosage.timing.repeat.periodUnit.distinct().count() = 1 ) and ( (%resource.dosage.timing.repeat.timeOfDay.distinct().count() = %resource.dosage.timing.repeat.timeOfDay.count()) and (%resource.dosage.timing.repeat.when.distinct().count() = %resource.dosage.timing.repeat.when.count()) ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTimeForInterval | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l40/c10) | error | Constraint failed: TimingFrequencyCount: 'The frequency of the timing needs to reflect the count of timeOfDay or when ((when.exists() and dayOfWeek.empty() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() implies dayOfWeek.count() = frequency))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFrequencyCount | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l28/c10) | error | Constraint failed: TimingOnlyOneDayOfWeek: 'Dosages Timings must not state the same day across multiple dosage instances (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = %resource.dosageInstruction.timing.repeat.dayOfWeek.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.dayOfWeek.distinct().count() = %resource.dosage.timing.repeat.dayOfWeek.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneDayOfWeek | Medication Statement dgMP |
| MedicationStatement.dosage[1].timing.repeat (l50/c10) | error | Constraint failed: TimingOnlyOneDayOfWeek: 'Dosages Timings must not state the same day across multiple dosage instances (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) implies ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.dayOfWeek.distinct().count() = %resource.dosageInstruction.timing.repeat.dayOfWeek.count()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.dayOfWeek.distinct().count() = %resource.dosage.timing.repeat.dayOfWeek.count()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneDayOfWeek | Medication Statement dgMP |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8 and slicing is CLOSED: MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) Validation_VAL_Profile_NotSlice | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8' definition allows for the type Quantity but found type Range Extension_PROF_Type | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range).low (l20/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range).high (l26/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where(doseAndRate.exists()).empty() or ( %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code) .combine(%resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).high.code) ).distinct().count() = 1)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseUnitSameCode | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].doseAndRate[0] (l18/c10) | error | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Dosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: tim-8: 'If there's a countMax, there must be a count (countMax.empty() or count.exists())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-8 | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Timing.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSlice | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Period Extension_PROF_Type | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period).start (l20/c34) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period).end (l21/c32) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredOrFreeTextWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredOrFreeText: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (text.exists() and timing.empty() and doseAndRate.empty()) or (text.empty() and (timing.exists() or doseAndRate.exists())) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredOrFreeText | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range) (l19/c12) | error | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSlice | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range) (l18/c10) | error | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Range Extension_PROF_Type | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range).low (l20/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range).high (l26/c14) | error | This element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowed | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Constraint failed: tim-9: '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())))' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-9 | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | error | Timing.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | error | Constraint failed: DosageStructuredRequiresBoth: 'Wenn eine strukturierte Dosierungsangabe erfolgt, müssen sowohl timing als auch doseAndRate angegeben werden. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies timing.exists()) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBoth | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing (l17/c8) | error | Timing.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) Validation_VAL_Profile_Maximum | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l21/c10) | error | Constraint failed: tim-10: 'If there's a timeOfDay, there cannot be a when, or vice versa (timeOfDay.empty() or when.empty())' (defined in http://hl7.org/fhir/StructureDefinition/Timing) http://hl7.org/fhir/StructureDefinition/Timing#tim-10 | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l21/c10) | error | Constraint failed: TimingOnlyOneType: 'Only one kind of Timing is allowed. Current allowed timings: 4-Scheme, TimeOfDay, DayOfWeek, Interval, DayOfWeek and Time/4-Schema, Interval and Time/4-Schema (/* DayOfWeek */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() ) or /* Interval */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.frequency.exists() and (timing.repeat.period.exists() and timing.repeat.period = 1) and (timing.repeat.periodUnit.exists()) 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 | %resource.ofType(MedicationDispense).dosageInstruction | %resource.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()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneType | Medication Statement dgMP |
| MedicationStatement.dosage[0].timing.repeat (l21/c10) | error | Constraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (/* Umgeformt in 1.0.8 fuer die Laufzeit, ohne fachliche Aenderung gegenueber 1.0.7 */ %resource.ofType(MedicationRequest).dosageInstruction.combine(%resource.ofType(MedicationDispense).dosageInstruction).combine(%resource.ofType(MedicationStatement).dosage).where( timing.repeat.frequency.exists() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.when.exists() or timing.repeat.timeOfDay.exists()) ).empty() or ( ( (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies (%resource.dosageInstruction.timing.repeat.when.exists() xor %resource.dosageInstruction.timing.repeat.timeOfDay.exists()) ) and ( %resource.ofType(MedicationStatement).exists() implies (%resource.dosage.timing.repeat.when.exists() xor %resource.dosage.timing.repeat.timeOfDay.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyWhenOrTimeOfDay | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageDoseQuantityAllowedFractionsWarning: 'Dose values in doseQuantity or doseRange should be whole numbers or use one of the following fractional parts: .125, .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageDoseQuantityAllowedFractionsWarning: 'Dose values in doseQuantity or doseRange should be whole numbers or use one of the following fractional parts: .125, .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this.truncate() = $this) or ($this mod 1 = 0.125) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsWarning | Medication Statement dgMP |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageDoseValueDecimalNotationWarning: 'Dose values in doseQuantity or doseRange should use plain decimal notation with at most three decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) should not be used. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,3})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingBoundsDurationOnlyWholeNumberWarning: 'boundsDuration.value should be a whole number; decimal values should not be used. (bounds.ofType(Duration).value.all($this.truncate() = $this))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingPeriodOnlyWholeNumberWarning: 'period and periodMax should be whole numbers; decimal values should not be used. ((period.exists() implies period.truncate() = period) and (periodMax.exists() implies periodMax.truncate() = periodMax))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0].timing.repeat (l18/c10) | warning | Constraint failed: TimingValuesPositiveWarning: '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))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingValuesPositiveWarning | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| MedicationStatement.dosage[0] (l16/c6) | warning | Constraint failed: DosageWarnungViererschemaInText: 'Hinweis: In Dosage.text wurde ein Viererschema (z. B. 1-1-1-1) erkannt. Bitte prüfen, ob dies strukturiert abgebildet werden kann. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageWarnungViererschemaInText | Medication Statement dgMP |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/DosageDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/DosageDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/GeneratedDosageInstructionsMeta could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/MedicationDispenseDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/MedicationRequestDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/MedicationStatementDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/TimingDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | information | The resource StructureDefinition/TimingDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| ValueSet (l1/c1330) | warning | Published value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present | -- |
| Resource | warning | The resource ValueSet/AlgorithmLanguageCodesDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| ValueSet (l1/c1701) | warning | Published value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present | -- |
| Resource | warning | The resource ValueSet/DosageDoseQuantityDE should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| ValueSet (l1/c1874) | warning | Published value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present | -- |
| Resource | warning | The resource ValueSet/DosageUnitsOfTimeDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| Resource | warning | The resource ValueSet/EDQMUnitOfPresentation should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| ValueSet (l1/c1729) | warning | Published value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present | -- |
| Resource | warning | The resource ValueSet/PeriodUnitsOfTimeDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| Path | Severity | Message | Validating |
| ValueSet (l1/c2409) | warning | Published value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present | -- |
| Resource | warning | The resource ValueSet/TimingWhenDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/ig-guidance/oids.html) | -- |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
| ✓ |
Suppressed Messages (Warnings, hints, broken links)
Expected issues from KBV Dosiereinheit
filter auto pinning
filter warning about abstract profiles
inherited from core:
Errors sorted by type
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8' definition allows for the type Quantity but found type Range | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Period | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Range | Medication Dispense dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8' definition allows for the type Quantity but found type Range | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Period | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Range | Medication Request dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8' definition allows for the type Quantity but found type Range | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Period | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.json | The Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8' definition allows for the type Duration but found type Range | Medication Statement dgMP |
| fsh-generated/resources/ImplementationGuide-de.fhir.medication.json | The ImplementationGuide uses package hl7.fhir.uv.extensions.r4#5.2.0 released on 2025-02-10, but the most recent appropriate version is 5.4.0. This reference is getting old and the more recent version should be considered | -- |
| fsh-generated/resources/ImplementationGuide-de.fhir.medication.json | The ImplementationGuide uses package hl7.terminology.r4#7.2.0 released on 2026-06-14, but the most recent appropriate version is 7.5.0. This reference is getting old and the more recent version should be considered | -- |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-01-of-20-Count.json | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-02-of-20-asNeededBoolean.json | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.json | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-04-of-20-Method.json | Dosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-05-of-20-Route.json | Dosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-06-of-20-Site.json | Dosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-08-of-20-RateQuantity.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-09-of-20-RateRange.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-10-of-20-RateRatio.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-11-of-20-AdditionalInstruction.json | Dosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.json | Dosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.json | Dosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.json | Dosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-15-of-20-Count.json | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-16-of-20-CountMax.json | Timing.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-19-of-20-Offset.json | Timing.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-20-of-20-Event.json | Timing.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-01-of-20-Count.json | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-02-of-20-asNeededBoolean.json | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.json | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-04-of-20-Method.json | Dosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-05-of-20-Route.json | Dosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-06-of-20-Site.json | Dosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-08-of-20-RateQuantity.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-09-of-20-RateRange.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-10-of-20-RateRatio.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-11-of-20-AdditionalInstruction.json | Dosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.json | Dosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.json | Dosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.json | Dosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-15-of-20-Count.json | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-16-of-20-CountMax.json | Timing.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-19-of-20-Offset.json | Timing.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-20-of-20-Event.json | Timing.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Request dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-01-of-20-Count.json | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-02-of-20-asNeededBoolean.json | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.json | Dosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-04-of-20-Method.json | Dosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-05-of-20-Route.json | Dosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-06-of-20-Site.json | Dosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-08-of-20-RateQuantity.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-09-of-20-RateRange.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-10-of-20-RateRatio.json | Dosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-11-of-20-AdditionalInstruction.json | Dosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.json | Dosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.json | Dosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.json | Dosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-15-of-20-Count.json | Timing.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-16-of-20-CountMax.json | Timing.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-19-of-20-Offset.json | Timing.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-20-of-20-Event.json | Timing.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8) | Medication Statement dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) | Medication Dispense dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) | Medication Request dgMP |
| fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) | Medication Request dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.8 and slicing is CLOSED: MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) | Medication Statement dgMP |
| fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.json | This element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.8 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) | Medication Statement dgMP |