Validation Results for MedicationDE

Generated Fri Jun 12 12:11:18 CEST 2026, FHIR version 4.0.1 for de.fhir.medication#1.0.5 (canonical = http://ig.fhir.de/igs/medication (history)). See Errors Only & IP

Quality Checks
Publisher Version:IG Publisher Version: v2.2.8
Publication Code:n/a . PackageId = de.fhir.medication, Canonical = http://ig.fhir.de/igs/medication
Realm Check for n/a:
  • n/a
Language Info:This IG has no language information
Publication Request:
package-idde.fhir.medication
version1.0.5
pathhttp://ig.fhir.de/igs/medication/1.0.5
Pub-Modemilestone
statusrelease
Release-LabelSTU1
Sequence (Group)STU1 (current: 'STU1', others = n/a)
descFixes TimingDgMP schema detection for dayOfWeek with timeOfDay/when combinations.
RelatedIgs(None Found)
No Messages found - all good
Supressed Messages:12 Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. de.fhir.medication1.0.5R4http://ig.fhir.de/igs/medication
... hl7.terminology.r47.1.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/7.1.0
.... hl7.fhir.uv.extensions.r45.2.0 OR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.2.0Latest Release is 5.3.0
... hl7.fhir.uv.extensions.r45.3.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.3.0
.... hl7.terminology.r47.1.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/7.1.0 (as above)
... hl7.fhir.uv.xver-r5.r40.1.0 UR4http://hl7.org/fhir/uv/xverhttp://hl7.org/fhir/uv/xver-r5.r4/0.1.0
.... hl7.terminology.r47.1.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/7.1.0 (as above)
.... hl7.fhir.uv.extensions.r45.2.0 OR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.2.0 (as above). Latest Release is 5.3.0
Templates: de.fhir.template#0.1.0 -> fhir.base.template#current
Related IGs:n/a
Dependent IGs:no references
Global Profiles:(none declared)
Terminology Server(s):http://tx.fhir.org/r4, 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 1.0.4
IPA Comparison: n/a
IPS Comparison: n/a
Validation Flags: On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings
Summary: errors = 503, warn = 368, info = 0, broken links = 0, pinned = n/a.
FilenameErrorsWarningsHints
Build Errors03080
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/fsh-generated/includes/fsh-link-references000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/fsh-generated/includes/menu000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/fsh-generated/resources/ImplementationGuide-de.fhir.medication000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/content000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/content/medication-dosage-to-text000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Dosage-W-DosageStructuredOrFreeTextWarning-02-of-03010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Example-MD-Dosage-UnitStueck-1020000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Example-MD-Dosage-UnitTasse-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Example-MD-DosageTr-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02120
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02110
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-01-of-02100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-Dispense-01-of-01100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-FreeTextMatchesRenderedText-Dispense-01-of-01100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-FreeTextSingleDosageOnly-Dispense-01-of-01420
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-01-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-02-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-03-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-04-of-05200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-05-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-01200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-01-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-02-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-03-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-04-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-05-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-01-of-10-when-MD500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD600
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD600
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-01-of-12-FreqPeriod-When-MD300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek-MD100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek-MD100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-04-of-12-FreeText-and-structured-MD110
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-05-of-12-multiple-types-MD400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-06-of-12-multiple-dosagecodes-MD200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-07-of-12-timing-no-dose-MD100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval-MD200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-10-of-12-When-DiffPeriodU-MD300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen-MD500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek-MD200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-1020000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-4schema-evening-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-4schema-ml-units000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-4schema-night-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-4schema-noon-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-Bounds-Decimals000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-DayOfWeek-Time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-Freetext000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-Interval-Time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-freetext-german-chars000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-interval-monthly000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-interval-when-3d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-multiple-day-time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-single-day-time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-tod-mixed-doses000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Dosage-weekday-mixed-doses000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-01-of-20-Count310
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-02-of-20-asNeededBoolean100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-03-of-20-asNeededCodeableConcept100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-04-of-20-Method100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-05-of-20-Route100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-06-of-20-Site100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-08-of-20-RateQuantity410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-09-of-20-RateRange410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-10-of-20-RateRatio410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-11-of-20-AdditionalInstruction100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-12-of-20-MaxDosePerPeriod100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-13-of-20-MaxDosePerAdministration100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-14-of-20-MaxDosePerLifetime100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-15-of-20-Count310
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-16-of-20-CountMax300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-19-of-20-Offset300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-MD-Unsupported-Dosage-20-of-20-Event500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Warning-Dosage-Viererschema-Text-MD-01010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationDispense-Warning-Dosage-W-DosageWarnungViererschemaInText-02-of-03010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Dosage-W-DosageStructuredOrFreeTextWarning-01-of-03010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Bug-EmptyLists000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1010000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1010-10-Days000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1010-Unsorted000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-10120000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1020000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1020-Unordered000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1111000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-1220000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-Freetext000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-UnitStueck-1020000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-UnitTasse-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-1000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-2000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-3000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-4000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-interval-2d-bound000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-interval-2wk000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-interval-3d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-interval-4times-d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-interval-8d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-tod-1t-8am000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-tod-2-12am000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-tod-multi000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-tod-multi-bound000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-tod-unsorted000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-weekday-2t000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-weekday-2t-1t000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-weekday-2t-bound000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-weekday-3t000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-Dosage-weekday-unsorted000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Example-MR-DosageTr-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02120
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02210
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-01-of-02100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-Request-01-of-01100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-FreeTextMatchesRenderedText-Request-01-of-01100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-FreeTextSingleDosageOnly-Request-01-of-01420
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-01-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-02-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-03-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-04-of-05200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-05-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-01200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-01-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-02-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-03-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-04-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-05-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-01-of-10-when500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek600
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek600
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-01-of-12-FreqPeriod-When300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-04-of-12-FreeText-and-structured110
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-05-of-12-multiple-types400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-06-of-12-multiple-dosagecodes200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-07-of-12-timing-no-dose100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-10-of-12-When-DiffPeriodU300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-4schema-evening-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-4schema-ml-units000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-4schema-night-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-4schema-noon-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-freetext-german-chars000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-interval-monthly000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-interval-when-3d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-multiple-day-time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-single-day-time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-tod-mixed-doses000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Dosage-weekday-mixed-doses000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-01-of-20-Count310
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-02-of-20-asNeededBoolean100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-03-of-20-asNeededCodeableConcept100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-04-of-20-Method100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-05-of-20-Route100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-06-of-20-Site100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-08-of-20-RateQuantity410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-09-of-20-RateRange410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-10-of-20-RateRatio410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-11-of-20-AdditionalInstruction100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-12-of-20-MaxDosePerPeriod100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-13-of-20-MaxDosePerAdministration100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-14-of-20-MaxDosePerLifetime100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-15-of-20-Count310
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-16-of-20-CountMax300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-19-of-20-Offset300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-MR-Unsupported-Dosage-20-of-20-Event500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Warning-Dosage-Viererschema-Text-01010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationRequest-Warning-Dosage-W-DosageWarnungViererschemaInText-01-of-03010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Dosage-W-DosageStructuredOrFreeTextWarning-03-of-03010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Example-MS-Dosage-UnitStueck-1020000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Example-MS-Dosage-UnitTasse-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Example-MS-DosageTr-1000000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02120
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02210
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-01-of-02100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-Statement-01-of-01100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-FreeTextMatchesRenderedText-Statement-01-of-01100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-FreeTextSingleDosageOnly-Statement-01-of-01420
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-01-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-02-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-03-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-04-of-05200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-05-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-05400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-01200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-01-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-02-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-03-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-04-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-05-of-05100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-01-of-10-when-MS500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS600
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS600
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-01-of-12-FreqPeriod-When-MS300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek-MS100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek-MS100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-04-of-12-FreeText-and-structured-MS110
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-05-of-12-multiple-types-MS400
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-06-of-12-multiple-dosagecodes-MS200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-07-of-12-timing-no-dose-MS100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval-MS200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-10-of-12-When-DiffPeriodU-MS300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen-MS500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek-MS200
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-1010000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-4schema-evening-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-4schema-ml-units000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-4schema-night-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-4schema-noon-only000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-DayOfWeek000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-Freetext000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-Interval000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-TimeOfDay000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-freetext-german-chars000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-interval-monthly000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-interval-time-3d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-interval-when-3d000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-multiple-day-time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-single-day-time000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-tod-mixed-doses000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Dosage-weekday-mixed-doses000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-01-of-20-Count310
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-02-of-20-asNeededBoolean100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-03-of-20-asNeededCodeableConcept100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-04-of-20-Method100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-05-of-20-Route100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-06-of-20-Site100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-08-of-20-RateQuantity410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-09-of-20-RateRange410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-10-of-20-RateRatio410
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-11-of-20-AdditionalInstruction100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-12-of-20-MaxDosePerPeriod100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-13-of-20-MaxDosePerAdministration100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-14-of-20-MaxDosePerLifetime100
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-15-of-20-Count310
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-16-of-20-CountMax300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange610
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-19-of-20-Offset300
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-MS-Unsupported-Dosage-20-of-20-Event500
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Warning-Dosage-Viererschema-Text-MS-01010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/examples/MedicationStatement-Warning-Dosage-W-DosageWarnungViererschemaInText-03-of-03010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/images000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-DosageDoseUnitSameCode-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-DosageStructuredOrFreeText-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-DosageStructuredOrFreeTextWarning-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-DosageStructuredRequiresBoth-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-DosageStructuredRequiresGeneratedText-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-DosageWarnungViererschemaInText-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-FreeTextMatchesRenderedText-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-FreeTextSingleDosageOnly-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingBoundsUnitMatchesCode-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingFrequencyCount-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingIntervalOnlyOneFrequency-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOneBounds-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOneDayOfWeek-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOnePeriodForDayOfWeek-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOneTimeForInterval-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOneTimeOfDay-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOneType-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyOneWhen-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingOnlyWhenOrTimeOfDay-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingPeriodUnit-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingSingleDosageForTimeOfDay-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-constraint-TimingSingleDosageForWhen-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-summary-matrix000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/dosage-timing-matrix000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/supported-dosage-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/unsupported-dosage-examples000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/includes/unsupported-schema-beispiele000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-DosageDE-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-DosageDgMP-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-MedicationDispenseDgMP-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-MedicationRequestDgMP-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-MedicationStatementDgMP-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-TimingDE-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/StructureDefinition-TimingDgMP-intro000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-beispiele000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-constraints000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-dgmp000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-einfuehrung000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-rahmenbedingungen000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-rahmenvorgaben000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-text-hinzufuegen000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/dosierung-textgenerierung000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/downloads000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/index000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/release-notes000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-beispiele000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-freitext000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-intervall000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-intervall-kombination000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-tageszeit000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-uhrzeit000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-wochentag000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/pagecontent/schema-wochentag-kombination000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-DosageDE010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-DosageDgMP020
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-GeneratedDosageInstructionsMeta000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-MedicationDispenseDgMP000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-MedicationRequestDgMP000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-MedicationStatementDgMP000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-TimingDE010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/StructureDefinition-TimingDgMP000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/ValueSet-AlgorithmLanguageCodesDgMP010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/ValueSet-DosageDoseQuantityDE010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/ValueSet-DosageUnitsOfTimeDgMP010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/ValueSet-EDQMUnitOfPresentation000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/ValueSet-PeriodUnitsOfTimeDgMP010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/input/resources/ValueSet-TimingWhenDgMP010
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/temp/pages/_includes/artifacts000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/template/config000
/Users/patrickwerner/IdeaProjects/publish-igs/temp/ig-builds/de.fhir.medication#1.0.5/template/config/_config000

n/a Show Validation Information

warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Dosage-W-DosageStructuredOrFreeTextWarning-01-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Dosage-W-DosageStructuredOrFreeTextWarning-02-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Dosage-W-DosageStructuredOrFreeTextWarning-03-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Example-MD-Dosage-UnitStueck-1020. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Example-MD-Dosage-UnitTasse-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Example-MD-DosageTr-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Bug-EmptyLists. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Bug-MultipleTimeOfDay-Daily. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Bug-MultipleTimeOfDay-DayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Bug-MultipleTimeOfDay-Interval. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Bug-MultipleWhen-DayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Bug-MultipleWhen-Interval. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1010. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1010-10-Days. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1010-Unsorted. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-10120. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1020. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1020-Unordered. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1111. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-1220. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-Freetext. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-UnitStueck-1020. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-UnitTasse-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-dayofweek-1. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-dayofweek-2. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-dayofweek-3. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-dayofweek-unsorted. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-interval-1. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-interval-2. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-interval-3. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-comb-interval-4. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-interval-2d-bound. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-interval-2wk. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-interval-3d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-interval-4times-d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-interval-8d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-tod-1t-8am. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-tod-2-12am. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-tod-multi. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-tod-multi-bound. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-tod-unsorted. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-weekday-2t. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-weekday-2t-1t. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-weekday-2t-bound. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-weekday-3t. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-Dosage-weekday-unsorted. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Example-MR-DosageTr-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Example-MS-Dosage-UnitStueck-1020. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Example-MS-Dosage-UnitTasse-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Example-MS-DosageTr-1000. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-DosageDoseUnitSameCode-Dispense-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-DosageDoseUnitSameCode-Request-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-DosageDoseUnitSameCode-Statement-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-DosageStructuredOrFreeText-Dispense-01-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-DosageStructuredOrFreeText-Dispense-02-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-DosageStructuredOrFreeText-Request-01-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-DosageStructuredOrFreeText-Request-02-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-DosageStructuredOrFreeText-Statement-01-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-DosageStructuredOrFreeText-Statement-02-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-DosageStructuredRequiresBoth-Dispense-01-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-DosageStructuredRequiresBoth-Request-01-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-DosageStructuredRequiresBoth-Request-02-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-DosageStructuredRequiresBoth-Statement-01-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-DosageStructuredRequiresBoth-Statement-02-of-02. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-DosageStructuredRequiresGeneratedText-Dispense-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-DosageStructuredRequiresGeneratedText-Request-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-DosageStructuredRequiresGeneratedText-Statement-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-FreeTextMatchesRenderedText-Dispense-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-FreeTextMatchesRenderedText-Request-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-FreeTextMatchesRenderedText-Statement-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-FreeTextSingleDosageOnly-Dispense-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-FreeTextSingleDosageOnly-Request-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-FreeTextSingleDosageOnly-Statement-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingFrequencyCount-Dispense-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingFrequencyCount-Dispense-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingFrequencyCount-Dispense-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingFrequencyCount-Dispense-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingFrequencyCount-Dispense-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingFrequencyCount-Request-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingFrequencyCount-Request-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingFrequencyCount-Request-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingFrequencyCount-Request-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingFrequencyCount-Request-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingFrequencyCount-Statement-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingFrequencyCount-Statement-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingFrequencyCount-Statement-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingFrequencyCount-Statement-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingFrequencyCount-Statement-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingOnlyOneType-Dispense-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingOnlyOneType-Dispense-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingOnlyOneType-Dispense-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingOnlyOneType-Dispense-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingOnlyOneType-Dispense-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingOnlyOneType-Request-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingOnlyOneType-Request-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingOnlyOneType-Request-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingOnlyOneType-Request-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingOnlyOneType-Request-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingOnlyOneType-Statement-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingOnlyOneType-Statement-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingOnlyOneType-Statement-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingOnlyOneType-Statement-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingOnlyOneType-Statement-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingPeriodUnit-Dispense-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingPeriodUnit-Dispense-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingPeriodUnit-Dispense-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingPeriodUnit-Dispense-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingPeriodUnit-Dispense-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingPeriodUnit-Request-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingPeriodUnit-Request-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingPeriodUnit-Request-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingPeriodUnit-Request-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingPeriodUnit-Request-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingPeriodUnit-Statement-01-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingPeriodUnit-Statement-02-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingPeriodUnit-Statement-03-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingPeriodUnit-Statement-04-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingPeriodUnit-Statement-05-of-05. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-C-TimingSingleDosageForWhen-Dispense-02-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-C-TimingSingleDosageForWhen-Request-01-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-C-TimingSingleDosageForWhen-Statement-03-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-01-of-10-when. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-01-of-10-when-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-01-of-10-when-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-07-of-10-C-TimingOnlyOneWhen. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/INV-multiple-10-of-10-C-TimingOnlyOneBounds. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-01-of-12-FreqPeriod-When. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-01-of-12-FreqPeriod-When-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-01-of-12-FreqPeriod-When-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-04-of-12-FreeText-and-structured. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-04-of-12-FreeText-and-structured-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-04-of-12-FreeText-and-structured-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-05-of-12-multiple-types. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-05-of-12-multiple-types-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-05-of-12-multiple-types-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-06-of-12-multiple-dosagecodes. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-06-of-12-multiple-dosagecodes-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-06-of-12-multiple-dosagecodes-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-07-of-12-timing-no-dose. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-07-of-12-timing-no-dose-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-07-of-12-timing-no-dose-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-10-of-12-When-DiffPeriodU. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-10-of-12-When-DiffPeriodU-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-10-of-12-When-DiffPeriodU-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek-MD. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek-MS. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-1020. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-4schema-evening-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-4schema-ml-units. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-4schema-night-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-4schema-noon-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-Bounds-Decimals. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-DayOfWeek-Time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-Freetext. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-Interval-Time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-freetext-german-chars. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-interval-monthly. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-interval-when-3d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-multiple-day-time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-single-day-time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-tod-mixed-doses. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Dosage-weekday-mixed-doses. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-01-of-20-Count. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-02-of-20-asNeededBoolean. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-03-of-20-asNeededCodeableConcept. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-04-of-20-Method. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-05-of-20-Route. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-06-of-20-Site. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-07-of-20-DoseRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-08-of-20-RateQuantity. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-09-of-20-RateRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-10-of-20-RateRatio. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-11-of-20-AdditionalInstruction. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-12-of-20-MaxDosePerPeriod. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-13-of-20-MaxDosePerAdministration. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-14-of-20-MaxDosePerLifetime. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-15-of-20-Count. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-16-of-20-CountMax. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-17-of-20-BoundsPeriod. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-18-of-20-BoundsRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-19-of-20-Offset. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/MD-Unsupported-Dosage-20-of-20-Event. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-4schema-evening-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-4schema-ml-units. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-4schema-night-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-4schema-noon-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-freetext-german-chars. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-interval-monthly. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-interval-when-3d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-multiple-day-time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-single-day-time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-tod-mixed-doses. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Dosage-weekday-mixed-doses. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-01-of-20-Count. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-02-of-20-asNeededBoolean. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-03-of-20-asNeededCodeableConcept. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-04-of-20-Method. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-05-of-20-Route. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-06-of-20-Site. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-07-of-20-DoseRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-08-of-20-RateQuantity. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-09-of-20-RateRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-10-of-20-RateRatio. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-11-of-20-AdditionalInstruction. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-12-of-20-MaxDosePerPeriod. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-13-of-20-MaxDosePerAdministration. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-14-of-20-MaxDosePerLifetime. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-15-of-20-Count. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-16-of-20-CountMax. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-17-of-20-BoundsPeriod. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-18-of-20-BoundsRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-19-of-20-Offset. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/MR-Unsupported-Dosage-20-of-20-Event. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-1010. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-4schema-evening-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-4schema-ml-units. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-4schema-night-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-4schema-noon-only. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-DayOfWeek. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-Freetext. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-Interval. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-TimeOfDay. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-freetext-german-chars. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-interval-monthly. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-interval-time-3d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-interval-when-3d. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-multiple-day-time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-single-day-time. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-tod-mixed-doses. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Dosage-weekday-mixed-doses. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-01-of-20-Count. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-02-of-20-asNeededBoolean. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-03-of-20-asNeededCodeableConcept. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-04-of-20-Method. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-05-of-20-Route. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-06-of-20-Site. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-07-of-20-DoseRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-08-of-20-RateQuantity. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-09-of-20-RateRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-10-of-20-RateRatio. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-11-of-20-AdditionalInstruction. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-12-of-20-MaxDosePerPeriod. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-13-of-20-MaxDosePerAdministration. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-14-of-20-MaxDosePerLifetime. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-15-of-20-Count. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-16-of-20-CountMax. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-17-of-20-BoundsPeriod. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-18-of-20-BoundsRange. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-19-of-20-Offset. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/MS-Unsupported-Dosage-20-of-20-Event. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Warning-Dosage-Viererschema-Text-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Warning-Dosage-Viererschema-Text-MD-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Warning-Dosage-Viererschema-Text-MS-01. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationRequest/Warning-Dosage-W-DosageWarnungViererschemaInText-01-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationDispense/Warning-Dosage-W-DosageWarnungViererschemaInText-02-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource MedicationStatement/Warning-Dosage-W-DosageWarnungViererschemaInText-03-of-03. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
1warningThe HTML fragment 'ip-statements.xhtml' is not included anywhere in the produced implementation guide
2warningAn HTML fragment from the set [cross-version-analysis.xhtml, cross-version-analysis-inline.xhtml] is not included anywhere in the produced implementation guide
4warningThe HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide

fsh-generated/includes/fsh-link-references.md Show Validation Information (0)


fsh-generated/includes/menu.xml Show Validation Information (0)


fsh-generated/resources/ImplementationGuide-de.fhir.medication.json Show Validation Information (1)


input/content Show Validation Information (0)


input/content/medication-dosage-to-text.py Show Validation Information (0)


input/examples/MedicationDispense-Dosage-W-DosageStructuredOrFreeTextWarning-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Dispense dgMP

input/examples/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.json Show Validation Information (1)


input/examples/MedicationDispense-Example-MD-Dosage-UnitTasse-1000.json Show Validation Information (1)


input/examples/MedicationDispense-Example-MD-DosageTr-1000.json Show Validation Information (1)


input/examples/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresGeneratedTextMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-FreeTextMatchesRenderedText-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-FreeTextSingleDosageOnly-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#FreeTextSingleDosageOnlyWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#FreeTextSingleDosageOnlyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l19​/c6)warningConstraint 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#FreeTextSingleDosageOnlyWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l19​/c6)errorConstraint 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#FreeTextSingleDosageOnlyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l19​/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingBoundsUnitMatchesCodeMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingBoundsUnitMatchesCodeMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l41​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingFrequencyCount-Dispense-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingPeriodUnit-Dispense-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingSingleDosageForTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingSingleDosageForTimeOfDayMedication Dispense dgMP

input/examples/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingSingleDosageForWhenMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-01-of-10-when-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneBoundsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l46​/c10)errorConstraint 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#TimingOnlyOneBoundsMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-01-of-12-FreqPeriod-When-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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-10Medication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-04-of-12-FreeText-and-structured-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-05-of-12-multiple-types-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l30​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l28​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-06-of-12-multiple-dosagecodes-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-07-of-12-timing-no-dose-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-10-of-12-When-DiffPeriodU-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingPeriodUnitMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingFrequencyCountMedication Dispense dgMP

input/examples/MedicationDispense-Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneDayOfWeekMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneDayOfWeekMedication Dispense dgMP

input/examples/MedicationDispense-MD-Dosage-1020.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-4schema-evening-only.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-4schema-ml-units.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-4schema-night-only.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-4schema-noon-only.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-Bounds-Decimals.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-DayOfWeek-Time.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-Freetext.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-Interval-Time.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-freetext-german-chars.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-interval-monthly.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-interval-when-3d.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-multiple-day-time.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-single-day-time.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-tod-mixed-doses.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Dosage-weekday-mixed-doses.json Show Validation Information (1)


input/examples/MedicationDispense-MD-Unsupported-Dosage-01-of-20-Count.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-02-of-20-asNeededBoolean.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-04-of-20-Method.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-05-of-20-Route.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-06-of-20-Site.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) Validation_VAL_Profile_NotSliceMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5' definition allows for the type Quantity but found type Range Extension_PROF_TypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l20​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowedMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l26​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowedMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-08-of-20-RateQuantity.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-09-of-20-RateRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-10-of-20-RateRatio.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-11-of-20-AdditionalInstruction.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorDosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-15-of-20-Count.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-16-of-20-CountMax.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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-8Medication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSliceMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type Period Extension_PROF_TypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period)​.start (l20​/c34)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period)​.end (l21​/c32)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSliceMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type Range Extension_PROF_TypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range)​.low (l20​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range)​.high (l26​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-19-of-20-Offset.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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-9Medication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-MD-Unsupported-Dosage-20-of-20-Event.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing (l17​/c8)errorTiming.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l21​/c10)errorConstraint 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-10Medication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l21​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l21​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Dispense dgMP

input/examples/MedicationDispense-Warning-Dosage-Viererschema-Text-MD-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Dispense dgMP

input/examples/MedicationDispense-Warning-Dosage-W-DosageWarnungViererschemaInText-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Dispense dgMP

input/examples/MedicationRequest-Dosage-W-DosageStructuredOrFreeTextWarning-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Request dgMP

input/examples/MedicationRequest-Example-MR-Bug-EmptyLists.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1000.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1010.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1010-10-Days.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1010-Unsorted.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-10120.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1020.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1020-Unordered.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1111.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-1220.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-Freetext.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-UnitTasse-1000.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-1.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-2.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-3.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-comb-interval-4.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-interval-2d-bound.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-interval-2wk.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-interval-3d.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-interval-4times-d.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-interval-8d.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-tod-1t-8am.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-tod-2-12am.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-tod-multi.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-tod-multi-bound.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-tod-unsorted.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-weekday-2t.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-weekday-2t-bound.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-weekday-3t.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-Dosage-weekday-unsorted.json Show Validation Information (1)


input/examples/MedicationRequest-Example-MR-DosageTr-1000.json Show Validation Information (1)


input/examples/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP

input/examples/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresGeneratedTextMedication Request dgMP

input/examples/MedicationRequest-INV-C-FreeTextMatchesRenderedText-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Request dgMP

input/examples/MedicationRequest-INV-C-FreeTextSingleDosageOnly-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#FreeTextSingleDosageOnlyWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#FreeTextSingleDosageOnlyMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l19​/c6)warningConstraint 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#FreeTextSingleDosageOnlyWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l19​/c6)errorConstraint 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#FreeTextSingleDosageOnlyMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l19​/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingBoundsUnitMatchesCodeMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingBoundsUnitMatchesCodeMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l41​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingFrequencyCount-Request-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingPeriodUnit-Request-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingSingleDosageForTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingSingleDosageForTimeOfDayMedication Request dgMP

input/examples/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingSingleDosageForWhenMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-01-of-10-when.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneBoundsMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l46​/c10)errorConstraint 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#TimingOnlyOneBoundsMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-01-of-12-FreqPeriod-When.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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-10Medication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-04-of-12-FreeText-and-structured.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-05-of-12-multiple-types.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l30​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l28​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-06-of-12-multiple-dosagecodes.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-07-of-12-timing-no-dose.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-10-of-12-When-DiffPeriodU.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingPeriodUnitMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingFrequencyCountMedication Request dgMP

input/examples/MedicationRequest-Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneDayOfWeekMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneDayOfWeekMedication Request dgMP

input/examples/MedicationRequest-MR-Dosage-4schema-evening-only.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-4schema-ml-units.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-4schema-night-only.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-4schema-noon-only.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-freetext-german-chars.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-interval-monthly.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-interval-when-3d.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-multiple-day-time.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-single-day-time.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-tod-mixed-doses.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Dosage-weekday-mixed-doses.json Show Validation Information (1)


input/examples/MedicationRequest-MR-Unsupported-Dosage-01-of-20-Count.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-02-of-20-asNeededBoolean.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-04-of-20-Method.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-05-of-20-Route.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-06-of-20-Site.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) Validation_VAL_Profile_NotSliceMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5' definition allows for the type Quantity but found type Range Extension_PROF_TypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l20​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowedMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l26​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowedMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-08-of-20-RateQuantity.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-09-of-20-RateRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-10-of-20-RateRatio.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-11-of-20-AdditionalInstruction.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorDosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-15-of-20-Count.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-16-of-20-CountMax.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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-8Medication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSliceMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type Period Extension_PROF_TypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period)​.start (l20​/c34)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Period)​.end (l21​/c32)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSliceMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type Range Extension_PROF_TypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range)​.low (l20​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat​.bounds​.ofType(Range)​.high (l26​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-19-of-20-Offset.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint 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-9Medication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-MR-Unsupported-Dosage-20-of-20-Event.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing (l17​/c8)errorTiming.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l21​/c10)errorConstraint 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-10Medication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l21​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l21​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Request dgMP

input/examples/MedicationRequest-Warning-Dosage-Viererschema-Text-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Request dgMP

input/examples/MedicationRequest-Warning-Dosage-W-DosageWarnungViererschemaInText-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Request dgMP

input/examples/MedicationStatement-Dosage-W-DosageStructuredOrFreeTextWarning-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Statement dgMP

input/examples/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.json Show Validation Information (1)


input/examples/MedicationStatement-Example-MS-Dosage-UnitTasse-1000.json Show Validation Information (1)


input/examples/MedicationStatement-Example-MS-DosageTr-1000.json Show Validation Information (1)


input/examples/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP

input/examples/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresGeneratedTextMedication Statement dgMP

input/examples/MedicationStatement-INV-C-FreeTextMatchesRenderedText-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Statement dgMP

input/examples/MedicationStatement-INV-C-FreeTextSingleDosageOnly-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#FreeTextSingleDosageOnlyWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#FreeTextSingleDosageOnlyMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Statement dgMP
MedicationStatement.dosage[1] (l19/c6)warningConstraint 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#FreeTextSingleDosageOnlyWarningMedication Statement dgMP
MedicationStatement.dosage[1] (l19/c6)errorConstraint 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#FreeTextSingleDosageOnlyMedication Statement dgMP
MedicationStatement.dosage[1] (l19/c6)errorConstraint 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#FreeTextMatchesRenderedTextMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingBoundsUnitMatchesCodeMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingBoundsUnitMatchesCodeMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l41​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingFrequencyCount-Statement-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingPeriodUnit-Statement-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingSingleDosageForTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingSingleDosageForTimeOfDayMedication Statement dgMP

input/examples/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingSingleDosageForWhenMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-01-of-10-when-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingOnlyOnePeriodForDayOfWeekMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint 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#TimingIntervalOnlyOneFrequencyMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'Dosages Timings must not state the same time of day across multiple dosage instances (( /* Detect TimeOfDay */ %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() ) implies ( ( (%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#TimingOnlyOneTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneBoundsMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l46​/c10)errorConstraint 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#TimingOnlyOneBoundsMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-01-of-12-FreqPeriod-When-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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-10Medication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-02-of-12-FreqPeriod-ToD-DayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-03-of-12-FreqPeriod-When-DayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-04-of-12-FreeText-and-structured-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-05-of-12-multiple-types-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l30​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Statement dgMP
MedicationStatement.dosage[1] (l28/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-06-of-12-multiple-dosagecodes-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-07-of-12-timing-no-dose-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-09-of-12-C-TimingOnlyOneTimeForInterval-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-10-of-12-When-DiffPeriodU-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingPeriodUnitMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-11-of-12-C-TimingOnlyOneWhen-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingOnlyOneWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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 */ ( %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()) ) ) implies ( ( %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#TimingOnlyOneTimeForIntervalMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint 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#TimingFrequencyCountMedication Statement dgMP

input/examples/MedicationStatement-Invalid-Dosage-12-of-12-C-TimingOnlyOneDayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint 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#TimingOnlyOneDayOfWeekMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint 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#TimingOnlyOneDayOfWeekMedication Statement dgMP

input/examples/MedicationStatement-MS-Dosage-1010.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-4schema-evening-only.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-4schema-ml-units.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-4schema-night-only.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-4schema-noon-only.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-DayOfWeek.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-Freetext.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-Interval.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-TimeOfDay.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-freetext-german-chars.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-interval-monthly.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-interval-time-3d.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-interval-when-3d.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-multiple-day-time.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-single-day-time.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-tod-mixed-doses.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Dosage-weekday-mixed-doses.json Show Validation Information (1)


input/examples/MedicationStatement-MS-Unsupported-Dosage-01-of-20-Count.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-02-of-20-asNeededBoolean.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-04-of-20-Method.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-05-of-20-Route.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-06-of-20-Site.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5 and slicing is CLOSED: MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity)) Validation_VAL_Profile_NotSliceMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5' definition allows for the type Quantity but found type Range Extension_PROF_TypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l20​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowedMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l26​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1 Validation_VAL_Profile_NotAllowedMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-08-of-20-RateQuantity.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-09-of-20-RateRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-10-of-20-RateRatio.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0] (l18​/c10)errorDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'Die Dosiereinheit muss über alle Dosierungen gleich sein. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( doseAndRate.exists() implies ( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Quantity).code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).doseAndRate.dose.ofType(Range).low.code | (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %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#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-11-of-20-AdditionalInstruction.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorDosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-15-of-20-Count.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-16-of-20-CountMax.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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-8Medication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Period) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSliceMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Period) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type Period Extension_PROF_TypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Period)​.start (l20​/c34)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Period)​.end (l21​/c32)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Range) (l19​/c12)errorThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)) Validation_VAL_Profile_NotSliceMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Range) (l18​/c10)errorThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type Range Extension_PROF_TypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Range)​.low (l20​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat​.bounds​.ofType(Range)​.high (l26​/c14)errorThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1 Validation_VAL_Profile_NotAllowedMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageStructuredOrFreeTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredOrFreeTextMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-19-of-20-Offset.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint 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-9Medication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorTiming.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-MS-Unsupported-Dosage-20-of-20-Event.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing (l17​/c8)errorTiming.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l21​/c10)errorConstraint 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-10Medication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l21​/c10)errorConstraint 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#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l21​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'Dosages Timings must not state a time of day and period of day across multiple dosage instances (( %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.exists() or timing.repeat.timeOfDay.exists()) implies ( ( (%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#TimingOnlyWhenOrTimeOfDayMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint 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#DosageStructuredRequiresBothMedication Statement dgMP

input/examples/MedicationStatement-Warning-Dosage-Viererschema-Text-MS-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Statement dgMP

input/examples/MedicationStatement-Warning-Dosage-W-DosageWarnungViererschemaInText-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint 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#DosageWarnungViererschemaInTextMedication Statement dgMP

input/images Show Validation Information (0)


input/includes/dosage-constraint-DosageDoseUnitSameCode-examples.md Show Validation Information (0)


input/includes/dosage-constraint-DosageStructuredOrFreeText-examples.md Show Validation Information (0)


input/includes/dosage-constraint-DosageStructuredOrFreeTextWarning-examples.md Show Validation Information (0)


input/includes/dosage-constraint-DosageStructuredRequiresBoth-examples.md Show Validation Information (0)


input/includes/dosage-constraint-DosageStructuredRequiresGeneratedText-examples.md Show Validation Information (0)


input/includes/dosage-constraint-DosageWarnungViererschemaInText-examples.md Show Validation Information (0)


input/includes/dosage-constraint-FreeTextMatchesRenderedText-examples.md Show Validation Information (0)


input/includes/dosage-constraint-FreeTextSingleDosageOnly-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingBoundsUnitMatchesCode-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingFrequencyCount-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingIntervalOnlyOneFrequency-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOneBounds-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOneDayOfWeek-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOnePeriodForDayOfWeek-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOneTimeForInterval-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOneTimeOfDay-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOneType-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyOneWhen-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingOnlyWhenOrTimeOfDay-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingPeriodUnit-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingSingleDosageForTimeOfDay-examples.md Show Validation Information (0)


input/includes/dosage-constraint-TimingSingleDosageForWhen-examples.md Show Validation Information (0)


input/includes/dosage-summary-matrix.md Show Validation Information (0)


input/includes/dosage-timing-matrix.md Show Validation Information (0)


input/includes/supported-dosage-examples.md Show Validation Information (0)


input/includes/unsupported-dosage-examples.md Show Validation Information (0)


input/includes/unsupported-schema-beispiele.md Show Validation Information (0)


input/pagecontent/StructureDefinition-DosageDE-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-DosageDgMP-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-MedicationDispenseDgMP-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-MedicationRequestDgMP-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-MedicationStatementDgMP-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-TimingDE-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-TimingDgMP-intro.md Show Validation Information (0)


input/pagecontent/dosierung-beispiele.md Show Validation Information (0)


input/pagecontent/dosierung-constraints.md Show Validation Information (0)


input/pagecontent/dosierung-dgmp.md Show Validation Information (0)


input/pagecontent/dosierung-einfuehrung.md Show Validation Information (0)


input/pagecontent/dosierung-rahmenbedingungen.md Show Validation Information (0)


input/pagecontent/dosierung-rahmenvorgaben.md Show Validation Information (0)


input/pagecontent/dosierung-text-hinzufuegen.md Show Validation Information (0)


input/pagecontent/dosierung-textgenerierung.md Show Validation Information (0)


input/pagecontent/downloads.md Show Validation Information (0)


input/pagecontent/index.md Show Validation Information (0)


input/pagecontent/release-notes.md Show Validation Information (0)


input/pagecontent/schema-beispiele.md Show Validation Information (0)


input/pagecontent/schema-freitext.md Show Validation Information (0)


input/pagecontent/schema-intervall.md Show Validation Information (0)


input/pagecontent/schema-intervall-kombination.md Show Validation Information (0)


input/pagecontent/schema-tageszeit.md Show Validation Information (0)


input/pagecontent/schema-uhrzeit.md Show Validation Information (0)


input/pagecontent/schema-wochentag.md Show Validation Information (0)


input/pagecontent/schema-wochentag-kombination.md Show Validation Information (0)


input/resources/StructureDefinition-DosageDE.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.where(url = 'http:​/​/ig​.fhir​.de​/igs​/medication​/StructureDefinition​/DosageDE')warningThe Implementation Guide contains no examples for this data type profile --

input/resources/StructureDefinition-DosageDgMP.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.differential​.element[12]​.bindingwarningThe valueSet reference https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT on element Dosage.doseAndRate.dose[x] could not be resolved SD_ED_BIND_UNKNOWN_VS--
StructureDefinition​.snapshot​.element[18]​.bindingwarningThe valueSet reference https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT on element Dosage.doseAndRate.dose[x] could not be resolved SD_ED_BIND_UNKNOWN_VS--

input/resources/StructureDefinition-GeneratedDosageInstructionsMeta.json Show Validation Information (1)


input/resources/StructureDefinition-MedicationDispenseDgMP.json Show Validation Information (1)


input/resources/StructureDefinition-MedicationRequestDgMP.json Show Validation Information (1)


input/resources/StructureDefinition-MedicationStatementDgMP.json Show Validation Information (1)


input/resources/StructureDefinition-TimingDE.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.where(url = 'http:​/​/ig​.fhir​.de​/igs​/medication​/StructureDefinition​/TimingDE')warningThe Implementation Guide contains no examples for this data type profile --

input/resources/StructureDefinition-TimingDgMP.json Show Validation Information (1)


input/resources/ValueSet-AlgorithmLanguageCodesDgMP.json Show Validation Information (1)

PathSeverityMessageValidating
ValueSet (l1/c1414)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --

input/resources/ValueSet-DosageDoseQuantityDE.json Show Validation Information (1)

PathSeverityMessageValidating
ValueSet (l1/c1701)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --

input/resources/ValueSet-DosageUnitsOfTimeDgMP.json Show Validation Information (1)

PathSeverityMessageValidating
ValueSet (l1/c1874)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --

input/resources/ValueSet-EDQMUnitOfPresentation.json Show Validation Information (1)


input/resources/ValueSet-PeriodUnitsOfTimeDgMP.json Show Validation Information (1)

PathSeverityMessageValidating
ValueSet (l1/c1729)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --

input/resources/ValueSet-TimingWhenDgMP.json Show Validation Information (1)

PathSeverityMessageValidating
ValueSet (l1/c2351)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --

temp/pages/_includes/artifacts.xml Show Validation Information (0)


template/config Show Validation Information (0)


template/config/_config.yml Show Validation Information (0)

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


Extension_PROF_Type

input/examples/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5' definition allows for the type Quantity but found type RangeMedication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type PeriodMedication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type RangeMedication Dispense dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5' definition allows for the type Quantity but found type RangeMedication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type PeriodMedication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type RangeMedication Request dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5' definition allows for the type Quantity but found type RangeMedication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type PeriodMedication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.jsonThe Profile 'http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5' definition allows for the type Duration but found type RangeMedication Statement dgMP

SD_ED_BIND_UNKNOWN_VS

input/resources/StructureDefinition-DosageDgMP.jsonThe valueSet reference https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT on element Dosage.doseAndRate.dose[x] could not be resolved--
input/resources/StructureDefinition-DosageDgMP.jsonThe valueSet reference https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT on element Dosage.doseAndRate.dose[x] could not be resolved--

Validation_VAL_Profile_Maximum

input/examples/MedicationDispense-MD-Unsupported-Dosage-01-of-20-Count.jsonTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-02-of-20-asNeededBoolean.jsonDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.jsonDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-04-of-20-Method.jsonDosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-05-of-20-Route.jsonDosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-06-of-20-Site.jsonDosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-08-of-20-RateQuantity.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-09-of-20-RateRange.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-10-of-20-RateRatio.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-11-of-20-AdditionalInstruction.jsonDosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.jsonDosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.jsonDosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.jsonDosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-15-of-20-Count.jsonTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-16-of-20-CountMax.jsonTiming.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-19-of-20-Offset.jsonTiming.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-20-of-20-Event.jsonTiming.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Dispense dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-01-of-20-Count.jsonTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-02-of-20-asNeededBoolean.jsonDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.jsonDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-04-of-20-Method.jsonDosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-05-of-20-Route.jsonDosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-06-of-20-Site.jsonDosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-08-of-20-RateQuantity.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-09-of-20-RateRange.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-10-of-20-RateRatio.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-11-of-20-AdditionalInstruction.jsonDosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.jsonDosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.jsonDosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.jsonDosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-15-of-20-Count.jsonTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-16-of-20-CountMax.jsonTiming.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-19-of-20-Offset.jsonTiming.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-20-of-20-Event.jsonTiming.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Request dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-01-of-20-Count.jsonTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-02-of-20-asNeededBoolean.jsonDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-03-of-20-asNeededCodeableConcept.jsonDosage.asNeeded[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-04-of-20-Method.jsonDosage.method: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-05-of-20-Route.jsonDosage.route: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-06-of-20-Site.jsonDosage.site: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-08-of-20-RateQuantity.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-09-of-20-RateRange.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-10-of-20-RateRatio.jsonDosage.doseAndRate.rate[x]: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-11-of-20-AdditionalInstruction.jsonDosage.additionalInstruction: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-12-of-20-MaxDosePerPeriod.jsonDosage.maxDosePerPeriod: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-13-of-20-MaxDosePerAdministration.jsonDosage.maxDosePerAdministration: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-14-of-20-MaxDosePerLifetime.jsonDosage.maxDosePerLifetime: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-15-of-20-Count.jsonTiming.repeat.count: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-16-of-20-CountMax.jsonTiming.repeat.countMax: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-19-of-20-Offset.jsonTiming.repeat.offset: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-20-of-20-Event.jsonTiming.event: max allowed = 0, but found 1 (from http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5)Medication Statement dgMP

Validation_VAL_Profile_NotAllowed

input/examples/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Dispense dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Request dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element is not allowed by the profile http://hl7.org/fhir/StructureDefinition/Duration|4.0.1Medication Statement dgMP

Validation_VAL_Profile_NotSlice

input/examples/MedicationDispense-MD-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity))Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration))Medication Dispense dgMP
input/examples/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration))Medication Dispense dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity))Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration))Medication Request dgMP
input/examples/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration))Medication Request dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-07-of-20-DoseRange.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP|1.0.5 and slicing is CLOSED: MedicationStatement.dosage[0].doseAndRate[0].dose.ofType(Range): Does not match slice 'doseQuantity' (discriminator: ($this is Quantity))Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-17-of-20-BoundsPeriod.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Period): Does not match slice 'boundsDuration' (discriminator: ($this is Duration))Medication Statement dgMP
input/examples/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.jsonThis element does not match any known slice defined in the profile http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP|1.0.5 and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration))Medication Statement dgMP