Validation Results for MedicationDE

Generated Sun Aug 30 09:30:51 UTC 2026, FHIR version 4.0.1 for de.fhir.medication#2.0.0-ballot (canonical = http://ig.fhir.de/igs/medication (history)). See Errors Only & IP

Quality Checks
Publisher Version:IG Publisher Version: v2.3.3
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
version2.0.0-ballot
pathhttp://ig.fhir.de/igs/medication/2.0.0-ballot
Pub-Modemilestone
statusballot
Release-Labelballot
Sequence (Group)STU2 (current: 'STU1', others = n/a)
descBallot der zweiten Ausbaustufe: variable Einzeldosis, variable Frequenz und Periode, Bedarfsmedikation mit Anlass, Mindestabstand und Maximalmenge, Anwendungszeitraum, zusaetzliche Instruktionen sowie die Kombination aus Zeitintervall und Zeitpunkten
RelatedIgs(None Found)
This release is labelled as a milestone, so should not have a patch version (2.0.0-ballot)
Supressed Messages:No Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. de.fhir.medication2.0.0-ballotR4http://ig.fhir.de/igs/medication
... hl7.terminology.r47.3.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/7.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 OR4http://terminology.hl7.orghttp://terminology.hl7.org/7.1.0Latest Release is 7.3.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 (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 OR4http://terminology.hl7.orghttp://terminology.hl7.org/7.1.0 (as above). Latest Release is 7.3.0
.... 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:
Previous Version Comparison: Comparison with version 1.0.7
IPA Comparison: n/a
IPS Comparison: n/a
Validation Flags: On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings
Summary: errors = 1348, warn = 1659, info = 631, broken links = 1, pinned = n/a.
FilenameErrorsWarningsHints
Build Errors1100
/scratch/repo/fsh-generated/includes/fsh-link-references000
/scratch/repo/fsh-generated/includes/menu000
/scratch/repo/fsh-generated/resources/ImplementationGuide-de.fhir.medication001
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-hinweis121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-bedarf121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-hinweis121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-bedarf121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-hinweis121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen132
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-MehrereAnlaesse121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-ohne-Anlass121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020242
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitTasse-1000121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low142
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-DosageTr-1000121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Legacy121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Weekday-TimeOfDay-Legacy121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Weekday-When-Legacy121
/scratch/repo/fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Without-Legacy121
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-01-of-12-FreqPeriod-When-MD421
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MD321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-03-of-12-FreqPeriod-When-DayOfWeek-MD321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-04-of-12-FreeText-and-structured-MD131
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-05-of-12-multiple-types-MD420
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD682
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-07-of-12-timing-no-dose-MD110
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD742
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-AsNeededForRequiresAsNeeded-Dispense-02-of-03100
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-02-of-02321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01682
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValueDecimalNotation-Dispense-02-of-03321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05352
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05252
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageFourSlotPatternInText-Dispense-02-of-03110
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02131
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02131
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-01-of-02110
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02131
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-MD-02-of-03121
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DoseRangeHighRequiredWhenLowPresent-MD-02-of-03210
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-DoseRangeLowAndHighSameUnit-Dispense-02-of-03441
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-ExtRequiresDosage-MD100
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-FreeTextMatchesRenderedText-Dispense-01-of-01100
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-FreeTextSingleDosageOnly-Dispense-01-of-01220
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03232
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03232
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-MaxDoseSameUnitAsDose-Dispense-02-of-03221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalOnlyPureAsNeeded-Dispense-02-of-03221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalUnitMatchesCode-Dispense-02-of-03221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03231
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06231
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingFreqOrPeriodGtOne-MD-02-of-03231
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingFrequencyCount-Dispense221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-Dispense321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-01-of-02321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-02-of-02321
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03462
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06693
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03462
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06693
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingVarFreqGtMin-Dispense-02-of-03221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-TimingVarPeriodGtMin-Dispense-02-of-03221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-C-dos-1-Dispense-02-of-03200
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-VarFreq-C-TimingOnlyOneType-MD221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD242
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD242
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-min-C-MinimumIntervalUnitMatchesCode-MD221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD742
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD1042
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD1042
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD642
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD442
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MD231
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-pmax-C-TimingPeriodOnlyWholeNumber-MD221
/scratch/repo/fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD232
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-1020220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-evening-only110
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-ml-units220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-night-only110
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-noon-only110
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-Bounds-Decimals220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-DayOfWeek-Time220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-Freetext000
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-Interval-Time220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-freetext-german-chars000
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-interval-monthly110
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-interval-when-3d220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time242
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-single-day-time110
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-tod-mixed-doses220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Dosage-weekday-mixed-doses220
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-01-of-20-Count320
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-04-of-20-Method100
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-05-of-20-Route100
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-06-of-20-Site100
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-08-of-20-RateQuantity430
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-09-of-20-RateRange430
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-10-of-20-RateRatio430
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-11-of-20-AdditionalInstruction100
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-13-of-20-MaxDosePerAdministration100
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-14-of-20-MaxDosePerLifetime100
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-15-of-20-Count320
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-16-of-20-CountMax310
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange420
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-19-of-20-Offset310
/scratch/repo/fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-20-of-20-Event510
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DosageDoseUnitSameCodeWarning-02-of-03080
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-02-of-05050
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-05-of-05050
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DosageFourSlotPatternInTextWarning-02-of-03010
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DosageStructuredOrFreeTextWarning-02-of-03030
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DosageStructuredRequiresBothWarning-02-of-03010
/scratch/repo/fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03152
/scratch/repo/fsh-generated/resources/MedicationDispense-W-FreeTextSingleDosageOnlyWarning-MD020
/scratch/repo/fsh-generated/resources/MedicationDispense-W-TimingBoundsUnitMatchesCodeWarning-Dispense-02-of-03030
/scratch/repo/fsh-generated/resources/MedicationDispense-W-TimingFreqOrPeriodGtOneWarning-MD-02-of-03030
/scratch/repo/fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-02-of-03060
/scratch/repo/fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06090
/scratch/repo/fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-02-of-03060
/scratch/repo/fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06090
/scratch/repo/fsh-generated/resources/MedicationDispense-Warning-Dosage-FourSlotPattern-Text-MD-01010
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Bug-EmptyLists121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange142
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-hinweis121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervall-hinweis121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-bedarf121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange142
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-hinweis121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-enddate121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startandenddate121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdate121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdatetime121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-10-Days121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-PatientInstruction121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-Unsorted121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1111121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen132
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse132
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Struktur-Intervall121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Freetext000
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitTasse-1000121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d132
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed263
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-2121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-1mo121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2d-bound121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2wk121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-30min121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-3d121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-4times-d121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-6h121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-8d121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b6-doserange-highonly121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b8-weekly121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b9-4h121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-1t-8am121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-2-12am121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-unsorted121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-varfreq-9-to-10121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange142
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-frequency121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-period121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t242
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-bound121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-3t121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-unsorted121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed263
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-DosageTr-1000121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Weekday-Legacy121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Weekday-TimeOfDay-Legacy121
/scratch/repo/fsh-generated/resources/MedicationRequest-Example-MR-Weekday-When-Legacy121
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-01-of-12-FreqPeriod-When421
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-02-of-12-FreqPeriod-ToD-DayOfWeek321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-03-of-12-FreqPeriod-When-DayOfWeek321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-04-of-12-FreeText-and-structured131
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-05-of-12-multiple-types420
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes682
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-07-of-12-timing-no-dose110
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen742
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-AsNeededForRequiresAsNeeded-Request-01-of-03100
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-02-of-02321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01682
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValueDecimalNotation-Request-01-of-03321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-01-of-05331
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-04-of-05231
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageFourSlotPatternInText-Request-01-of-03110
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02131
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02241
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-01-of-02110
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02131
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-MR-01-of-03121
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DoseRangeHighRequiredWhenLowPresent-MR-01-of-03210
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-DoseRangeLowAndHighSameUnit-Request-01-of-03441
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-ExtRequiresDosage-MR100
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-FreeTextMatchesRenderedText-Request-01-of-01100
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-FreeTextSingleDosageOnly-Request-01-of-01220
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04232
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03232
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03232
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-MaxDoseSameUnitAsDose-Request-01-of-03221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalOnlyPureAsNeeded-Request-01-of-03221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalUnitMatchesCode-Request-01-of-03221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03231
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06231
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingFreqOrPeriodGtOne-MR-01-of-03231
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingFrequencyCount-Request221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-01-of-02321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-02-of-02321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-Request321
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03462
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06693
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03462
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06693
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingVarFreqGtMin-Request-01-of-03221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-TimingVarPeriodGtMin-Request-01-of-03221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-C-dos-1-Request-01-of-03200
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-VarFreq-C-TimingOnlyOneType-MR221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR242
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR242
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-min-C-MinimumIntervalUnitMatchesCode-MR221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when742
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek1042
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek1042
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay642
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds442
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MR231
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-pmax-C-TimingPeriodOnlyWholeNumber-MR221
/scratch/repo/fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR232
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-evening-only110
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-ml-units220
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-night-only110
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-noon-only110
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-freetext-german-chars000
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-interval-monthly110
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-interval-when-3d220
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time242
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-single-day-time110
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-tod-mixed-doses220
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Dosage-weekday-mixed-doses220
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-01-of-20-Count320
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-04-of-20-Method100
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-05-of-20-Route100
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-06-of-20-Site100
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-08-of-20-RateQuantity430
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-09-of-20-RateRange430
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-10-of-20-RateRatio430
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-11-of-20-AdditionalInstruction100
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-13-of-20-MaxDosePerAdministration100
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-14-of-20-MaxDosePerLifetime100
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-15-of-20-Count320
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-16-of-20-CountMax310
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange420
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-19-of-20-Offset310
/scratch/repo/fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-20-of-20-Event510
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DosageDoseUnitSameCodeWarning-01-of-03080
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-01-of-05030
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-04-of-05030
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DosageFourSlotPatternInTextWarning-01-of-03010
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DosageStructuredOrFreeTextWarning-01-of-03030
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DosageStructuredRequiresBothWarning-01-of-03010
/scratch/repo/fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03152
/scratch/repo/fsh-generated/resources/MedicationRequest-W-FreeTextSingleDosageOnlyWarning-MR020
/scratch/repo/fsh-generated/resources/MedicationRequest-W-TimingBoundsUnitMatchesCodeWarning-Request-01-of-03030
/scratch/repo/fsh-generated/resources/MedicationRequest-W-TimingFreqOrPeriodGtOneWarning-MR-01-of-03030
/scratch/repo/fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-01-of-03060
/scratch/repo/fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06090
/scratch/repo/fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-01-of-03060
/scratch/repo/fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06090
/scratch/repo/fsh-generated/resources/MedicationRequest-Warning-Dosage-FourSlotPattern-Text-01010
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange142
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-hinweis121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-bedarf121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange142
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-hinweis121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-bedarf121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange142
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-hinweis121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-bedarf121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange142
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-hinweis121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-zeitrahmen121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen132
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-MehrereAnlaesse121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-ohne-Anlass121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020242
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitTasse-1000121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-DosageTr-1000121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Weekday-Legacy121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Weekday-TimeOfDay-Legacy121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Legacy121
/scratch/repo/fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Without-Legacy121
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-01-of-12-FreqPeriod-When-MS421
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MS321
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-03-of-12-FreqPeriod-When-DayOfWeek-MS321
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-04-of-12-FreeText-and-structured-MS131
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-05-of-12-multiple-types-MS420
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS682
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-07-of-12-timing-no-dose-MS110
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS742
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-AsNeededForRequiresAsNeeded-Statement-03-of-03100
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-02-of-02321
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01682
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03342
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValuePositive-Statement-03-of-05331
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageFourSlotPatternInText-Statement-03-of-03110
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02131
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02241
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-01-of-02110
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02131
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-MS-03-of-03121
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DoseRangeHighRequiredWhenLowPresent-MS-03-of-03210
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-DoseRangeLowAndHighSameUnit-Statement-03-of-03441
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-ExtRequiresDosage-MS100
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-FreeTextMatchesRenderedText-Statement-01-of-01100
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-FreeTextSingleDosageOnly-Statement-01-of-01220
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03232
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03232
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-MaxDoseSameUnitAsDose-Statement-03-of-03221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalOnlyPureAsNeeded-Statement-03-of-03221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalUnitMatchesCode-Statement-03-of-03221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03231
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06231
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingFreqOrPeriodGtOne-MS-03-of-03231
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingFrequencyCount-Statement221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-01-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-02-of-02221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-01-of-02321
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-02-of-02321
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-Statement321
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03462
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06693
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03462
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06693
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingVarFreqGtMin-Statement-03-of-03221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-TimingVarPeriodGtMin-Statement-03-of-03221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-C-dos-1-Statement-03-of-03200
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-VarFreq-C-TimingOnlyOneType-MS221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS242
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS242
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-min-C-MinimumIntervalUnitMatchesCode-MS221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS742
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS1042
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS1042
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS642
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS442
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MS231
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-pmax-C-TimingPeriodOnlyWholeNumber-MS221
/scratch/repo/fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS232
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-1010110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-evening-only110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-ml-units220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-night-only110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-noon-only110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-DayOfWeek220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-Freetext000
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-Interval110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-TimeOfDay220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-freetext-german-chars000
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-interval-monthly110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-interval-time-3d220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-interval-when-3d220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time242
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-single-day-time110
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-tod-mixed-doses220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Dosage-weekday-mixed-doses220
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-01-of-20-Count320
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-04-of-20-Method100
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-05-of-20-Route100
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-06-of-20-Site100
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-08-of-20-RateQuantity430
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-09-of-20-RateRange430
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-10-of-20-RateRatio430
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-11-of-20-AdditionalInstruction100
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-13-of-20-MaxDosePerAdministration100
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-14-of-20-MaxDosePerLifetime100
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-15-of-20-Count320
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-16-of-20-CountMax310
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange420
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-19-of-20-Offset310
/scratch/repo/fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-20-of-20-Event510
/scratch/repo/fsh-generated/resources/MedicationStatement-W-DosageDoseUnitSameCodeWarning-03-of-03080
/scratch/repo/fsh-generated/resources/MedicationStatement-W-DosageDoseValuePositiveWarning-03-of-05030
/scratch/repo/fsh-generated/resources/MedicationStatement-W-DosageFourSlotPatternInTextWarning-03-of-03010
/scratch/repo/fsh-generated/resources/MedicationStatement-W-DosageStructuredOrFreeTextWarning-03-of-03030
/scratch/repo/fsh-generated/resources/MedicationStatement-W-DosageStructuredRequiresBothWarning-03-of-03010
/scratch/repo/fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03152
/scratch/repo/fsh-generated/resources/MedicationStatement-W-FreeTextSingleDosageOnlyWarning-MS020
/scratch/repo/fsh-generated/resources/MedicationStatement-W-TimingBoundsUnitMatchesCodeWarning-Statement-03-of-03030
/scratch/repo/fsh-generated/resources/MedicationStatement-W-TimingFreqOrPeriodGtOneWarning-MS-03-of-03030
/scratch/repo/fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-03-of-03060
/scratch/repo/fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06090
/scratch/repo/fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-03-of-03060
/scratch/repo/fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06090
/scratch/repo/fsh-generated/resources/MedicationStatement-Warning-Dosage-FourSlotPattern-Text-MS-01010
/scratch/repo/fsh-generated/resources/StructureDefinition-DosageDE001
/scratch/repo/fsh-generated/resources/StructureDefinition-DosageDgMP0111
/scratch/repo/fsh-generated/resources/StructureDefinition-GeneratedDosageInstructionsMeta001
/scratch/repo/fsh-generated/resources/StructureDefinition-IntervalCombinationSchemeLogical021
/scratch/repo/fsh-generated/resources/StructureDefinition-IntervalSchemeLogical021
/scratch/repo/fsh-generated/resources/StructureDefinition-MedicationDispenseDE013
/scratch/repo/fsh-generated/resources/StructureDefinition-MedicationDispenseDgMP012
/scratch/repo/fsh-generated/resources/StructureDefinition-MedicationRequestDE011
/scratch/repo/fsh-generated/resources/StructureDefinition-MedicationRequestDgMP011
/scratch/repo/fsh-generated/resources/StructureDefinition-MedicationStatementDE011
/scratch/repo/fsh-generated/resources/StructureDefinition-MedicationStatementDgMP011
/scratch/repo/fsh-generated/resources/StructureDefinition-MinimumIntervalBetweenAdministrations001
/scratch/repo/fsh-generated/resources/StructureDefinition-PRNSchemeLogical041
/scratch/repo/fsh-generated/resources/StructureDefinition-TimeSchemeLogical021
/scratch/repo/fsh-generated/resources/StructureDefinition-TimingDE001
/scratch/repo/fsh-generated/resources/StructureDefinition-TimingDgMP001
/scratch/repo/fsh-generated/resources/StructureDefinition-WeekdayCombinationSchemeLogical021
/scratch/repo/fsh-generated/resources/StructureDefinition-WeekdaySchemeLogical021
/scratch/repo/fsh-generated/resources/StructureDefinition-WhenSchemeLogical021
/scratch/repo/fsh-generated/resources/StructureDefinition-extension-Dosage.asNeededFor021
/scratch/repo/fsh-generated/resources/ValueSet-AlgorithmLanguageCodesDgMP020
/scratch/repo/fsh-generated/resources/ValueSet-DosageDoseQuantityDE040
/scratch/repo/fsh-generated/resources/ValueSet-DosageUnitsOfTimeDgMP020
/scratch/repo/fsh-generated/resources/ValueSet-EDQMUnitOfPresentation010
/scratch/repo/fsh-generated/resources/ValueSet-MindestabstandUnitsOfTimeDgMP020
/scratch/repo/fsh-generated/resources/ValueSet-PeriodUnitsOfTimeDgMP020
/scratch/repo/fsh-generated/resources/ValueSet-TimingWhenDgMP021
/scratch/repo/input/includes/dosage-constraint-AsNeededForIdentical-examples000
/scratch/repo/input/includes/dosage-constraint-AsNeededForRequiresAsNeeded-examples000
/scratch/repo/input/includes/dosage-constraint-AsNeededIdentical-examples000
/scratch/repo/input/includes/dosage-constraint-AsNeededSingleDosageOnly-examples000
/scratch/repo/input/includes/dosage-constraint-DosageDoseQuantityAllowedFractions-examples000
/scratch/repo/input/includes/dosage-constraint-DosageDoseUnitSameCode-examples000
/scratch/repo/input/includes/dosage-constraint-DosageDoseUnitSameCodeWarning-examples000
/scratch/repo/input/includes/dosage-constraint-DosageDoseValueDecimalNotation-examples000
/scratch/repo/input/includes/dosage-constraint-DosageDoseValuePositive-examples000
/scratch/repo/input/includes/dosage-constraint-DosageDoseValuePositiveWarning-examples000
/scratch/repo/input/includes/dosage-constraint-DosageFourSlotPatternInText-examples000
/scratch/repo/input/includes/dosage-constraint-DosageFourSlotPatternInTextWarning-examples000
/scratch/repo/input/includes/dosage-constraint-DosageStructuredOrFreeText-examples000
/scratch/repo/input/includes/dosage-constraint-DosageStructuredOrFreeTextWarning-examples000
/scratch/repo/input/includes/dosage-constraint-DosageStructuredRequiresBoth-examples000
/scratch/repo/input/includes/dosage-constraint-DosageStructuredRequiresBothWarning-examples000
/scratch/repo/input/includes/dosage-constraint-DosageStructuredRequiresGeneratedText-examples000
/scratch/repo/input/includes/dosage-constraint-DoseRangeHighRequiredWhenLowPresent-examples000
/scratch/repo/input/includes/dosage-constraint-DoseRangeLowAndHighSameUnit-examples000
/scratch/repo/input/includes/dosage-constraint-DoseRangeNoVarPeriod-examples000
/scratch/repo/input/includes/dosage-constraint-FreeTextMatchesRenderedText-examples000
/scratch/repo/input/includes/dosage-constraint-FreeTextSingleDosageOnly-examples000
/scratch/repo/input/includes/dosage-constraint-FreeTextSingleDosageOnlyWarning-examples000
/scratch/repo/input/includes/dosage-constraint-MaxDoseOnlyPureAsNeeded-examples000
/scratch/repo/input/includes/dosage-constraint-MaxDosePerPeriodOnly24hOr1d-examples000
/scratch/repo/input/includes/dosage-constraint-MaxDoseSameUnitAsDose-examples000
/scratch/repo/input/includes/dosage-constraint-MinimumIntervalOnlyPureAsNeeded-examples000
/scratch/repo/input/includes/dosage-constraint-MinimumIntervalUnitMatchesCode-examples000
/scratch/repo/input/includes/dosage-constraint-PatientInstructionIdentical-examples000
/scratch/repo/input/includes/dosage-constraint-TimingBoundsDurationOnlyWholeNumber-examples000
/scratch/repo/input/includes/dosage-constraint-TimingBoundsUnitMatchesCode-examples000
/scratch/repo/input/includes/dosage-constraint-TimingBoundsUnitMatchesCodeWarning-examples000
/scratch/repo/input/includes/dosage-constraint-TimingFreqOrPeriodGtOne-examples000
/scratch/repo/input/includes/dosage-constraint-TimingFreqOrPeriodGtOneWarning-examples000
/scratch/repo/input/includes/dosage-constraint-TimingFrequencyCount-examples000
/scratch/repo/input/includes/dosage-constraint-TimingIntervalOnlyOneFrequency-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOneBounds-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOneDayOfWeek-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOnePeriodForDayOfWeek-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOneTimeForInterval-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOneTimeOfDay-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOneType-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyOneWhen-examples000
/scratch/repo/input/includes/dosage-constraint-TimingOnlyWhenOrTimeOfDay-examples000
/scratch/repo/input/includes/dosage-constraint-TimingPeriodOnlyWholeNumber-examples000
/scratch/repo/input/includes/dosage-constraint-TimingPeriodUnit-examples000
/scratch/repo/input/includes/dosage-constraint-TimingSingleDosageForTimeOfDay-examples000
/scratch/repo/input/includes/dosage-constraint-TimingSingleDosageForTimeOfDayWarning-examples000
/scratch/repo/input/includes/dosage-constraint-TimingSingleDosageForWhen-examples000
/scratch/repo/input/includes/dosage-constraint-TimingSingleDosageForWhenWarning-examples000
/scratch/repo/input/includes/dosage-constraint-TimingVarFreqGtMin-examples000
/scratch/repo/input/includes/dosage-constraint-TimingVarPeriodGtMin-examples000
/scratch/repo/input/includes/dosage-constraint-dos-1-examples000
/scratch/repo/input/includes/dosage-summary-matrix000
/scratch/repo/input/includes/unsupported-schema-beispiele000
/scratch/repo/input/pagecontent/StructureDefinition-DosageDE-intro000
/scratch/repo/input/pagecontent/StructureDefinition-DosageDgMP-intro000
/scratch/repo/input/pagecontent/StructureDefinition-IntervalCombinationSchemeLogical-intro000
/scratch/repo/input/pagecontent/StructureDefinition-IntervalSchemeLogical-intro000
/scratch/repo/input/pagecontent/StructureDefinition-MedicationDispenseDgMP-intro000
/scratch/repo/input/pagecontent/StructureDefinition-MedicationRequestDgMP-intro000
/scratch/repo/input/pagecontent/StructureDefinition-MedicationStatementDgMP-intro000
/scratch/repo/input/pagecontent/StructureDefinition-PRNSchemeLogical-intro000
/scratch/repo/input/pagecontent/StructureDefinition-TimeSchemeLogical-intro000
/scratch/repo/input/pagecontent/StructureDefinition-TimingDE-intro000
/scratch/repo/input/pagecontent/StructureDefinition-TimingDgMP-intro000
/scratch/repo/input/pagecontent/StructureDefinition-WeekdayCombinationSchemeLogical-intro000
/scratch/repo/input/pagecontent/StructureDefinition-WeekdaySchemeLogical-intro000
/scratch/repo/input/pagecontent/StructureDefinition-WhenSchemeLogical-intro000
/scratch/repo/input/pagecontent/dosierung-beispiele000
/scratch/repo/input/pagecontent/dosierung-constraints000
/scratch/repo/input/pagecontent/dosierung-dgmp000
/scratch/repo/input/pagecontent/dosierung-einfuehrung000
/scratch/repo/input/pagecontent/dosierung-rahmenbedingungen000
/scratch/repo/input/pagecontent/dosierung-rahmenvorgaben000
/scratch/repo/input/pagecontent/dosierung-text-hinzufuegen000
/scratch/repo/input/pagecontent/dosierung-textgenerierung000
/scratch/repo/input/pagecontent/downloads000
/scratch/repo/input/pagecontent/index000
/scratch/repo/input/pagecontent/release-notes000
/scratch/repo/input/pagecontent/schema-bedarfsmedikation000
/scratch/repo/input/pagecontent/schema-beispiele000
/scratch/repo/input/pagecontent/schema-dauer000
/scratch/repo/input/pagecontent/schema-freitext000
/scratch/repo/input/pagecontent/schema-intervall000
/scratch/repo/input/pagecontent/schema-intervall-kombination000
/scratch/repo/input/pagecontent/schema-start-end-datum000
/scratch/repo/input/pagecontent/schema-tageszeit000
/scratch/repo/input/pagecontent/schema-uhrzeit000
/scratch/repo/input/pagecontent/schema-variable-angaben000
/scratch/repo/input/pagecontent/schema-wochentag000
/scratch/repo/input/pagecontent/schema-wochentag-kombination000
/scratch/repo/input/pagecontent/schema-zusaetzliche-instruktionen000
/scratch/repo/temp/pages/_includes/artifacts000
/scratch/repo/template/config000
/scratch/repo/template/config/_config000

n/a Show Validation Information

warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/PRNSchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/WeekdayCombinationSchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/IntervalCombinationSchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/IntervalSchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/WhenSchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/TimeSchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource StructureDefinition/WeekdaySchemeLogical. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
dosierung-constraints​.html​#​/html​/body​/div​/div​/div​/div​/div​/p​/a at Line 633, column 336errorThe link '#dosageviererschemaintext' for "DosageFourSlotPatternInText" cannot be resolved (valid targets: 80 targets) HTML_LINK_CHECK_FAILED
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)

PathSeverityMessageValidating
ResourceinformationThe resource ImplementationGuide/de.fhir.medication could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l20​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l23​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l26​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l29​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l20​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l26​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l29​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l32​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l38​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l29​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l35​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l34​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l40​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l31​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l37​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l36​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l39​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l47​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l49​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-MehrereAnlaesse.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-ohne-Anlass.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitTasse-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-DosageTr-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Weekday-TimeOfDay-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Weekday-When-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Without-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-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: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-03-of-12-FreqPeriod-When-DayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-04-of-12-FreeText-and-structured-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationDispense-INV-05-of-12-multiple-types-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l30​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l28​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-07-of-12-timing-no-dose-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneDayOfWeek: 'In a schema that uses only dayOfWeek, no weekday may occur in more than one Dosage element of a resource. (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneDayOfWeek: 'In a schema that uses only dayOfWeek, no weekday may occur in more than one Dosage element of a resource. (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l44​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l44​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-AsNeededForRequiresAsNeeded-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForRequiresAsNeeded: 'A reason for use (asNeededFor) may only be given for an as-needed dosage (asNeededBoolean = true). (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() implies asNeeded.ofType(boolean) = true)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForRequiresAsNeededMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l36​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l36​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededSingleDosageOnly: 'If an as-needed dosage with asNeededBoolean = true is given without timing, exactly one Dosage element must exist in the resource. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where( asNeeded.ofType(boolean) = true and timing.empty() ).exists() 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#AsNeededSingleDosageOnlyMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l29​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l29​/c6)errorConstraint failed: AsNeededSingleDosageOnly: 'If an as-needed dosage with asNeededBoolean = true is given without timing, exactly one Dosage element must exist in the resource. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where( asNeeded.ofType(boolean) = true and timing.empty() ).exists() 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#AsNeededSingleDosageOnlyMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValueDecimalNotation-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValuePositive: 'doseQuantity.value and doseRange.high.value must be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValuePositiveMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValuePositive: 'doseQuantity.value and doseRange.high.value must be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValuePositiveMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageFourSlotPatternInText-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageFourSlotPatternInText: 'A bare four-slot dosing schema (Viererschema, e.g. 1-0-1-0 or 1-0-1-0 Stück) must not be given as free text in Dosage.text; it has to be represented structurally. (text.exists() implies text.matches('^\\s*\\d+([.,]\\d+)?(\\s*/\\s*\\d+)?(\\s*[-–]\\s*\\d+([.,]\\d+)?(\\s*/\\s*\\d+)?){3}(\\s*[A-Za-zÄÖÜäöüß().]+)?\\s*$').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageFourSlotPatternInTextMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-MD-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-DoseRangeHighRequiredWhenLowPresent-MD-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DoseRangeHighRequiredWhenLowPresent: 'If a lower bound is given for doseRange, an upper bound must be given as well. (doseAndRate.dose.ofType(Range).low.empty() or doseAndRate.dose.ofType(Range).high.exists())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeHighRequiredWhenLowPresentMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-DoseRangeLowAndHighSameUnit-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range) (l26​/c12)errorConstraint failed: rng-2: 'If present, low SHALL have a lower value than high (low.empty() or high.empty() or (low <= high))' http://hl7.org/fhir/StructureDefinition/Range#rng-2Medication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DoseRangeLowAndHighSameUnit: 'The lower and upper bound of a variable single dose must use the same unit of measure. (doseAndRate.dose.ofType(Range).low.empty() or doseAndRate.dose.ofType(Range).high.empty() or ( doseAndRate.dose.ofType(Range).low.system = doseAndRate.dose.ofType(Range).high.system and doseAndRate.dose.ofType(Range).low.code = doseAndRate.dose.ofType(Range).high.code and doseAndRate.dose.ofType(Range).low.unit = doseAndRate.dose.ofType(Range).high.unit ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeLowAndHighSameUnitMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-ExtRequiresDosage-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense (l1/c2)errorConstraint failed: ExtRequiresDosage-MD: 'If a dosage extension (GeneratedDosageInstructionsMeta or renderedDosageInstruction) is present, at least one dosageInstruction must be present. (( extension.where( url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' or url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction' ).exists() ) implies dosageInstruction.exists())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/MedicationDispenseDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/MedicationDispenseDgMP#ExtRequiresDosage-MDMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-FreeTextMatchesRenderedText-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: FreeTextMatchesRenderedText: 'If a dosage is given as pure free text (text present, timing and doseAndRate empty) AND the renderedDosageInstruction extension is populated, the value in dosageInstruction.text must match the value in the extension. (( (%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

fsh-generated/resources/MedicationDispense-INV-C-FreeTextSingleDosageOnly-Dispense-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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: 'If a dosage is given as pure free text, there must be exactly one Dosage element. (( (%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)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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: 'If a dosage is given as pure free text, there must be exactly one Dosage element. (( (%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

fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l35​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l37​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDoseOnlyPureAsNeeded: 'A maximum amount (maxDosePerPeriod) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines how much is applied within the reference period. (maxDosePerPeriod.exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseOnlyPureAsNeededMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l36​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l38​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDosePerPeriodOnly24hOr1d: 'maxDosePerPeriod is only allowed with a reference period of 24 hours (24 h) or 1 day (1 d). Other periods (e.g. at most 3 every 6 h) are not allowed. (maxDosePerPeriod.empty() or ( (maxDosePerPeriod.denominator.value = 24 and maxDosePerPeriod.denominator.code = 'h') or (maxDosePerPeriod.denominator.value = 1 and maxDosePerPeriod.denominator.code = 'd') ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDosePerPeriodOnly24hOr1dMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-MaxDoseSameUnitAsDose-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDoseSameUnitAsDose: 'maxDosePerPeriod must use the same unit, code and system as doseQuantity. ( maxDosePerPeriod.empty() or ( ( doseAndRate.dose.ofType(Quantity).exists() and doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit ) or ( doseAndRate.dose.ofType(Range).exists() and ( doseAndRate.dose.ofType(Range).low.empty() or ( doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit ) ) and ( doseAndRate.dose.ofType(Range).high.empty() or ( doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit ) ) ) ) )' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseSameUnitAsDoseMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalOnlyPureAsNeeded-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalOnlyPureAsNeeded: 'A minimum interval between two single administrations (Mindestabstand) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines the spacing between administrations; a second, weaker lower bound next to it is contradictory. (modifierExtension.where(url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations').exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalOnlyPureAsNeededMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalUnitMatchesCode-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalUnitMatchesCode: 'The display unit of the minimum interval (valueDuration.unit) must match the UCUM code (e.g. 'Stunde(n)' only with code='h'). (modifierExtension.where( url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations' ).value.ofType(Duration).all( ( code = 'min' implies (unit = 'Minute(n)' or unit = 'Minute' or unit = 'Minuten') ) and ( code = 'h' implies (unit = 'Stunde(n)' or unit = 'Stunde' or unit = 'Stunden') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalUnitMatchesCodeMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l39​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l39​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l39​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l39​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsDurationOnlyWholeNumber: 'boundsDuration.value must be a whole number; decimal values are not allowed. (bounds.ofType(Duration).value.empty() or bounds.ofType(Duration).value mod 1 = 0)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsDurationOnlyWholeNumber: 'boundsDuration.value must be a whole number; decimal values are not allowed. (bounds.ofType(Duration).value.empty() or bounds.ofType(Duration).value mod 1 = 0)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsUnitMatchesCode: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsUnitMatchesCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsUnitMatchesCode: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsUnitMatchesCodeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingFreqOrPeriodGtOne-MD-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingFreqOrPeriodGtOneWarning: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingFreqOrPeriodGtOneWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingFreqOrPeriodGtOne: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFreqOrPeriodGtOneMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingFrequencyCount-Dispense.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l47​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l47​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-Dispense.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.timing​.repeat (l56​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity) (l64​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2] (l54​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.timing​.repeat (l56​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity) (l64​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[2] (l54​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingVarFreqGtMin-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingVarFreqGtMin: 'For a variable frequency, the maximum frequency must be greater than the minimum frequency. (frequencyMax.empty() or frequency.empty() or frequency.value.toInteger() < frequencyMax.value.toInteger())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingVarFreqGtMinMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-TimingVarPeriodGtMin-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingVarPeriodGtMin: 'For a variable period, the maximum period must be greater than the minimum period. (periodMax.empty() or period.empty() or period < periodMax)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingVarPeriodGtMinMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-C-dos-1-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: dos-1: 'AsNeededFor can only be set if AsNeeded is empty or true (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').empty() or asNeeded.empty() or asNeeded)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#dos-1Medication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForRequiresAsNeeded: 'A reason for use (asNeededFor) may only be given for an as-needed dosage (asNeededBoolean = true). (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() implies asNeeded.ofType(boolean) = true)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForRequiresAsNeededMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-VarFreq-C-TimingOnlyOneType-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l62​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l62​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l65​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l44​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l44​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l36​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1] (l36​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-min-C-MinimumIntervalUnitMatchesCode-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalUnitMatchesCode: 'The display unit of the minimum interval (valueDuration.unit) must match the UCUM code (e.g. 'Stunde(n)' only with code='h'). (modifierExtension.where( url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations' ).value.ofType(Duration).all( ( code = 'min' implies (unit = 'Minute(n)' or unit = 'Minute' or unit = 'Minuten') ) and ( code = 'h' implies (unit = 'Stunde(n)' or unit = 'Stunde' or unit = 'Stunden') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalUnitMatchesCodeMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l43​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing (l17​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l45​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (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 (l44​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l60​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l43​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing (l17​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l45​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (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 (l44​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l60​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l43​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l35​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l46​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l63​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l66​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l44​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalOnlyPureAsNeeded: 'A minimum interval between two single administrations (Mindestabstand) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines the spacing between administrations; a second, weaker lower bound next to it is contradictory. (modifierExtension.where(url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations').exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalOnlyPureAsNeededMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-INV-pmax-C-TimingPeriodOnlyWholeNumber-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l28​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l30​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDosePerPeriodOnly24hOr1d: 'maxDosePerPeriod is only allowed with a reference period of 24 hours (24 h) or 1 day (1 d). Other periods (e.g. at most 3 every 6 h) are not allowed. (maxDosePerPeriod.empty() or ( (maxDosePerPeriod.denominator.value = 24 and maxDosePerPeriod.denominator.code = 'h') or (maxDosePerPeriod.denominator.value = 1 and maxDosePerPeriod.denominator.code = 'd') ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDosePerPeriodOnly24hOr1dMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-MD-Dosage-1020.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-evening-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-ml-units.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-night-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-noon-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-Bounds-Decimals.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l57​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-DayOfWeek-Time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-Freetext.json Show Validation Information (1)


fsh-generated/resources/MedicationDispense-MD-Dosage-Interval-Time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l37​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-freetext-german-chars.json Show Validation Information (1)


fsh-generated/resources/MedicationDispense-MD-Dosage-interval-monthly.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-interval-when-3d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l37​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l39​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-single-day-time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-tod-mixed-doses.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationDispense-MD-Dosage-weekday-mixed-doses.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)), MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsPeriod' (discriminator: ($this is Period)) Validation_VAL_Profile_NotSliceMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l19​/c12)errorThe type of element boundsRange is not known - it could not be determined from the information available. Valid types at this point are Duration, Period Validation_VAL_Profile_NoTypeMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/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|2.0.0-ballot) 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: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-W-DosageDoseUnitSameCodeWarning-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated (from https://tx.fhir.org/r4, see log, or see the servers logic) UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[1] (l35​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-02-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-05-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-DosageFourSlotPatternInTextWarning-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-W-DosageStructuredOrFreeTextWarning-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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 DE

fsh-generated/resources/MedicationDispense-W-DosageStructuredRequiresBothWarning-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Dispense dgMP
MedicationDispense​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DoseRangeNoVarPeriod: 'A variable single dose and a variable period should not be used together. (doseAndRate.dose.ofType(Range).empty() or timing.repeat.periodMax.empty())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeNoVarPeriodMedication Dispense dgMP

fsh-generated/resources/MedicationDispense-W-FreeTextSingleDosageOnlyWarning-MD.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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 DE
MedicationDispense​.dosageInstruction[1] (l19​/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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 DE

fsh-generated/resources/MedicationDispense-W-TimingBoundsUnitMatchesCodeWarning-Dispense-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-TimingFreqOrPeriodGtOneWarning-MD-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingFreqOrPeriodGtOneWarning: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingFreqOrPeriodGtOneWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-02-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE

fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE
MedicationDispense​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Dispense DE
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Dispense DE
MedicationDispense​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Dispense DE

fsh-generated/resources/MedicationDispense-Warning-Dosage-FourSlotPattern-Text-MD-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationDispense​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Dispense dgMP

fsh-generated/resources/MedicationRequest-Example-MR-Bug-EmptyLists.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l31​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l20​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l23​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l26​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l29​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l20​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l26​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervall-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l29​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l32​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l38​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l29​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l35​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-enddate.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startandenddate.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdate.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdatetime.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-10-Days.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-PatientInstruction.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-Unsorted.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1111.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l47​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l49​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l50​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l50​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l53​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l59​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l61​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Struktur-Intervall.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Freetext.json Show Validation Information (1)


fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitTasse-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l36​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l28​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l30​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l31​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l31​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l40​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l36​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l39​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l65​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l65​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l68​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l45​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l32​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l38​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l30​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l36​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l59​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l59​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l62​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l46​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l37​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-2.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l37​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-1mo.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2d-bound.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2wk.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-30min.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-3d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-4times-d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-6h.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-8d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b6-doserange-highonly.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l29​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b8-weekly.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b9-4h.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-1t-8am.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-2-12am.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l61​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l61​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-unsorted.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-varfreq-9-to-10.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l29​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-frequency.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-period.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-bound.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-3t.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-unsorted.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l29​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l53​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l53​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l56​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l43​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-DosageTr-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Weekday-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Weekday-TimeOfDay-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-Example-MR-Weekday-When-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-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: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-02-of-12-FreqPeriod-ToD-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-03-of-12-FreqPeriod-When-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-04-of-12-FreeText-and-structured.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationRequest-INV-05-of-12-multiple-types.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l30​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l28​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-07-of-12-timing-no-dose.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneDayOfWeek: 'In a schema that uses only dayOfWeek, no weekday may occur in more than one Dosage element of a resource. (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneDayOfWeek: 'In a schema that uses only dayOfWeek, no weekday may occur in more than one Dosage element of a resource. (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l44​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l44​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-AsNeededForRequiresAsNeeded-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForRequiresAsNeeded: 'A reason for use (asNeededFor) may only be given for an as-needed dosage (asNeededBoolean = true). (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() implies asNeeded.ofType(boolean) = true)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForRequiresAsNeededMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l36​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l36​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededSingleDosageOnly: 'If an as-needed dosage with asNeededBoolean = true is given without timing, exactly one Dosage element must exist in the resource. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where( asNeeded.ofType(boolean) = true and timing.empty() ).exists() 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#AsNeededSingleDosageOnlyMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l29​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l29​/c6)errorConstraint failed: AsNeededSingleDosageOnly: 'If an as-needed dosage with asNeededBoolean = true is given without timing, exactly one Dosage element must exist in the resource. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where( asNeeded.ofType(boolean) = true and timing.empty() ).exists() 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#AsNeededSingleDosageOnlyMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValueDecimalNotation-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValuePositive: 'doseQuantity.value and doseRange.high.value must be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValuePositiveMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseValuePositive: 'doseQuantity.value and doseRange.high.value must be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValuePositiveMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageFourSlotPatternInText-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageFourSlotPatternInText: 'A bare four-slot dosing schema (Viererschema, e.g. 1-0-1-0 or 1-0-1-0 Stück) must not be given as free text in Dosage.text; it has to be represented structurally. (text.exists() implies text.matches('^\\s*\\d+([.,]\\d+)?(\\s*/\\s*\\d+)?(\\s*[-–]\\s*\\d+([.,]\\d+)?(\\s*/\\s*\\d+)?){3}(\\s*[A-Za-zÄÖÜäöüß().]+)?\\s*$').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageFourSlotPatternInTextMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-MR-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-DoseRangeHighRequiredWhenLowPresent-MR-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DoseRangeHighRequiredWhenLowPresent: 'If a lower bound is given for doseRange, an upper bound must be given as well. (doseAndRate.dose.ofType(Range).low.empty() or doseAndRate.dose.ofType(Range).high.exists())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeHighRequiredWhenLowPresentMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-DoseRangeLowAndHighSameUnit-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range) (l26​/c12)errorConstraint failed: rng-2: 'If present, low SHALL have a lower value than high (low.empty() or high.empty() or (low <= high))' http://hl7.org/fhir/StructureDefinition/Range#rng-2Medication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DoseRangeLowAndHighSameUnit: 'The lower and upper bound of a variable single dose must use the same unit of measure. (doseAndRate.dose.ofType(Range).low.empty() or doseAndRate.dose.ofType(Range).high.empty() or ( doseAndRate.dose.ofType(Range).low.system = doseAndRate.dose.ofType(Range).high.system and doseAndRate.dose.ofType(Range).low.code = doseAndRate.dose.ofType(Range).high.code and doseAndRate.dose.ofType(Range).low.unit = doseAndRate.dose.ofType(Range).high.unit ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeLowAndHighSameUnitMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-ExtRequiresDosage-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest (l1/c2)errorConstraint failed: ExtRequiresDosage-MR: 'If a dosage extension (GeneratedDosageInstructionsMeta or renderedDosageInstruction) is present, at least one dosageInstruction must be present. (( extension.where( url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' or url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction' ).exists() ) implies dosageInstruction.exists())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/MedicationRequestDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/MedicationRequestDgMP#ExtRequiresDosage-MRMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-FreeTextMatchesRenderedText-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: FreeTextMatchesRenderedText: 'If a dosage is given as pure free text (text present, timing and doseAndRate empty) AND the renderedDosageInstruction extension is populated, the value in dosageInstruction.text must match the value in the extension. (( (%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

fsh-generated/resources/MedicationRequest-INV-C-FreeTextSingleDosageOnly-Request-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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: 'If a dosage is given as pure free text, there must be exactly one Dosage element. (( (%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)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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: 'If a dosage is given as pure free text, there must be exactly one Dosage element. (( (%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

fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l35​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l37​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDoseOnlyPureAsNeeded: 'A maximum amount (maxDosePerPeriod) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines how much is applied within the reference period. (maxDosePerPeriod.exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseOnlyPureAsNeededMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l35​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l37​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDoseOnlyPureAsNeeded: 'A maximum amount (maxDosePerPeriod) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines how much is applied within the reference period. (maxDosePerPeriod.exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseOnlyPureAsNeededMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l36​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l38​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDosePerPeriodOnly24hOr1d: 'maxDosePerPeriod is only allowed with a reference period of 24 hours (24 h) or 1 day (1 d). Other periods (e.g. at most 3 every 6 h) are not allowed. (maxDosePerPeriod.empty() or ( (maxDosePerPeriod.denominator.value = 24 and maxDosePerPeriod.denominator.code = 'h') or (maxDosePerPeriod.denominator.value = 1 and maxDosePerPeriod.denominator.code = 'd') ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDosePerPeriodOnly24hOr1dMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-MaxDoseSameUnitAsDose-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDoseSameUnitAsDose: 'maxDosePerPeriod must use the same unit, code and system as doseQuantity. ( maxDosePerPeriod.empty() or ( ( doseAndRate.dose.ofType(Quantity).exists() and doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit ) or ( doseAndRate.dose.ofType(Range).exists() and ( doseAndRate.dose.ofType(Range).low.empty() or ( doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit ) ) and ( doseAndRate.dose.ofType(Range).high.empty() or ( doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit ) ) ) ) )' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseSameUnitAsDoseMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalOnlyPureAsNeeded-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalOnlyPureAsNeeded: 'A minimum interval between two single administrations (Mindestabstand) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines the spacing between administrations; a second, weaker lower bound next to it is contradictory. (modifierExtension.where(url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations').exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalOnlyPureAsNeededMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalUnitMatchesCode-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalUnitMatchesCode: 'The display unit of the minimum interval (valueDuration.unit) must match the UCUM code (e.g. 'Stunde(n)' only with code='h'). (modifierExtension.where( url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations' ).value.ofType(Duration).all( ( code = 'min' implies (unit = 'Minute(n)' or unit = 'Minute' or unit = 'Minuten') ) and ( code = 'h' implies (unit = 'Stunde(n)' or unit = 'Stunde' or unit = 'Stunden') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalUnitMatchesCodeMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l39​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l39​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l39​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l39​/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsDurationOnlyWholeNumber: 'boundsDuration.value must be a whole number; decimal values are not allowed. (bounds.ofType(Duration).value.empty() or bounds.ofType(Duration).value mod 1 = 0)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsDurationOnlyWholeNumber: 'boundsDuration.value must be a whole number; decimal values are not allowed. (bounds.ofType(Duration).value.empty() or bounds.ofType(Duration).value mod 1 = 0)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsUnitMatchesCode: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsUnitMatchesCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsUnitMatchesCode: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsUnitMatchesCodeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingFreqOrPeriodGtOne-MR-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingFreqOrPeriodGtOneWarning: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingFreqOrPeriodGtOneWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingFreqOrPeriodGtOne: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFreqOrPeriodGtOneMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingFrequencyCount-Request.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l47​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l47​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-Request.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.timing​.repeat (l56​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity) (l64​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[2] (l54​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.timing​.repeat (l56​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity) (l64​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[2] (l54​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingVarFreqGtMin-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingVarFreqGtMin: 'For a variable frequency, the maximum frequency must be greater than the minimum frequency. (frequencyMax.empty() or frequency.empty() or frequency.value.toInteger() < frequencyMax.value.toInteger())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingVarFreqGtMinMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-TimingVarPeriodGtMin-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingVarPeriodGtMin: 'For a variable period, the maximum period must be greater than the minimum period. (periodMax.empty() or period.empty() or period < periodMax)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingVarPeriodGtMinMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-C-dos-1-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: dos-1: 'AsNeededFor can only be set if AsNeeded is empty or true (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').empty() or asNeeded.empty() or asNeeded)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#dos-1Medication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForRequiresAsNeeded: 'A reason for use (asNeededFor) may only be given for an as-needed dosage (asNeededBoolean = true). (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() implies asNeeded.ofType(boolean) = true)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForRequiresAsNeededMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-VarFreq-C-TimingOnlyOneType-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l62​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l62​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l65​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l44​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l44​/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l36​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1] (l36​/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-min-C-MinimumIntervalUnitMatchesCode-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalUnitMatchesCode: 'The display unit of the minimum interval (valueDuration.unit) must match the UCUM code (e.g. 'Stunde(n)' only with code='h'). (modifierExtension.where( url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations' ).value.ofType(Duration).all( ( code = 'min' implies (unit = 'Minute(n)' or unit = 'Minute' or unit = 'Minuten') ) and ( code = 'h' implies (unit = 'Stunde(n)' or unit = 'Stunde' or unit = 'Stunden') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalUnitMatchesCodeMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l43​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing (l17​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l45​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (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 (l44​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l60​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l43​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing (l17​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l45​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l45​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (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 (l44​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l60​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l43​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l38​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l43​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l57​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l41​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MinimumIntervalOnlyPureAsNeeded: 'A minimum interval between two single administrations (Mindestabstand) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines the spacing between administrations; a second, weaker lower bound next to it is contradictory. (modifierExtension.where(url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations').exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalOnlyPureAsNeededMedication Request dgMP

fsh-generated/resources/MedicationRequest-INV-pmax-C-TimingPeriodOnlyWholeNumber-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l28​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.maxDosePerPeriod​.numerator​.system (l30​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: MaxDosePerPeriodOnly24hOr1d: 'maxDosePerPeriod is only allowed with a reference period of 24 hours (24 h) or 1 day (1 d). Other periods (e.g. at most 3 every 6 h) are not allowed. (maxDosePerPeriod.empty() or ( (maxDosePerPeriod.denominator.value = 24 and maxDosePerPeriod.denominator.code = 'h') or (maxDosePerPeriod.denominator.value = 1 and maxDosePerPeriod.denominator.code = 'd') ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDosePerPeriodOnly24hOr1dMedication Request dgMP

fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-evening-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-ml-units.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-night-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-noon-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-freetext-german-chars.json Show Validation Information (1)


fsh-generated/resources/MedicationRequest-MR-Dosage-interval-monthly.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-interval-when-3d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l37​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l39​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-single-day-time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-tod-mixed-doses.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationRequest-MR-Dosage-weekday-mixed-doses.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[1] (l35​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)), MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsPeriod' (discriminator: ($this is Period)) Validation_VAL_Profile_NotSliceMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l19​/c12)errorThe type of element boundsRange is not known - it could not be determined from the information available. Valid types at this point are Duration, Period Validation_VAL_Profile_NoTypeMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/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|2.0.0-ballot) 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: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Request dgMP

fsh-generated/resources/MedicationRequest-W-DosageDoseUnitSameCodeWarning-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request DE
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[1] (l35​/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Request DE

fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-01-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Request DE

fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-04-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Request DE

fsh-generated/resources/MedicationRequest-W-DosageFourSlotPatternInTextWarning-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Request dgMP

fsh-generated/resources/MedicationRequest-W-DosageStructuredOrFreeTextWarning-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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 DE

fsh-generated/resources/MedicationRequest-W-DosageStructuredRequiresBothWarning-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Request DE

fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Request dgMP
MedicationRequest​.dosageInstruction[0] (l16​/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DoseRangeNoVarPeriod: 'A variable single dose and a variable period should not be used together. (doseAndRate.dose.ofType(Range).empty() or timing.repeat.periodMax.empty())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeNoVarPeriodMedication Request dgMP

fsh-generated/resources/MedicationRequest-W-FreeTextSingleDosageOnlyWarning-MR.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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 DE
MedicationRequest​.dosageInstruction[1] (l19​/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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 DE

fsh-generated/resources/MedicationRequest-W-TimingBoundsUnitMatchesCodeWarning-Request-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE

fsh-generated/resources/MedicationRequest-W-TimingFreqOrPeriodGtOneWarning-MR-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingFreqOrPeriodGtOneWarning: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingFreqOrPeriodGtOneWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE

fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE

fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Request DE
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE

fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-01-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE

fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE
MedicationRequest​.dosageInstruction[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Request DE
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Request DE
MedicationRequest​.dosageInstruction[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Request DE

fsh-generated/resources/MedicationRequest-Warning-Dosage-FourSlotPattern-Text-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationRequest​.dosageInstruction[0] (l16​/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Request dgMP

fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l20​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l23​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l26​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l29​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l20​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l26​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l29​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l32​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l38​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l29​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l35​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-bedarf.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l31​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l34​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l37​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l40​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l31​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l37​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-hinweis.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-zeitrahmen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l36​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l39​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l47​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l49​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-MehrereAnlaesse.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l33​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l36​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-ohne-Anlass.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitTasse-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-DosageTr-1000.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Weekday-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Weekday-TimeOfDay-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Without-Legacy.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l31​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-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: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-03-of-12-FreqPeriod-When-DayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-04-of-12-FreeText-and-structured-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationStatement-INV-05-of-12-multiple-types-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l30​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[1] (l28/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-07-of-12-timing-no-dose-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneDayOfWeek: 'In a schema that uses only dayOfWeek, no weekday may occur in more than one Dosage element of a resource. (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneDayOfWeek: 'In a schema that uses only dayOfWeek, no weekday may occur in more than one Dosage element of a resource. (( /* Detect DayOfWeek */ %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l44/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l44/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-AsNeededForRequiresAsNeeded-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededForRequiresAsNeeded: 'A reason for use (asNeededFor) may only be given for an as-needed dosage (asNeededBoolean = true). (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() implies asNeeded.ofType(boolean) = true)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForRequiresAsNeededMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l36/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l36/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededSingleDosageOnly: 'If an as-needed dosage with asNeededBoolean = true is given without timing, exactly one Dosage element must exist in the resource. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where( asNeeded.ofType(boolean) = true and timing.empty() ).exists() 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#AsNeededSingleDosageOnlyMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l29/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l29/c6)errorConstraint failed: AsNeededSingleDosageOnly: 'If an as-needed dosage with asNeededBoolean = true is given without timing, exactly one Dosage element must exist in the resource. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).where( asNeeded.ofType(boolean) = true and timing.empty() ).exists() 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#AsNeededSingleDosageOnlyMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValuePositive-Statement-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseValueDecimalNotation: 'Dose values in doseQuantity or doseRange must use plain decimal notation with at most two decimal places. Exponential notation (e.g. 50e-2 instead of 0.5) is not allowed. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.toString().matches('^[0-9]+([.][0-9]{1,2})?$') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValueDecimalNotationMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseValuePositive: 'doseQuantity.value and doseRange.high.value must be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseValuePositiveMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageFourSlotPatternInText-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageFourSlotPatternInText: 'A bare four-slot dosing schema (Viererschema, e.g. 1-0-1-0 or 1-0-1-0 Stück) must not be given as free text in Dosage.text; it has to be represented structurally. (text.exists() implies text.matches('^\\s*\\d+([.,]\\d+)?(\\s*/\\s*\\d+)?(\\s*[-–]\\s*\\d+([.,]\\d+)?(\\s*/\\s*\\d+)?){3}(\\s*[A-Za-zÄÖÜäöüß().]+)?\\s*$').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageFourSlotPatternInTextMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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

fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-MS-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-DoseRangeHighRequiredWhenLowPresent-MS-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DoseRangeHighRequiredWhenLowPresent: 'If a lower bound is given for doseRange, an upper bound must be given as well. (doseAndRate.dose.ofType(Range).low.empty() or doseAndRate.dose.ofType(Range).high.exists())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeHighRequiredWhenLowPresentMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-DoseRangeLowAndHighSameUnit-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l35​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range) (l26​/c12)errorConstraint failed: rng-2: 'If present, low SHALL have a lower value than high (low.empty() or high.empty() or (low <= high))' http://hl7.org/fhir/StructureDefinition/Range#rng-2Medication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DoseRangeLowAndHighSameUnit: 'The lower and upper bound of a variable single dose must use the same unit of measure. (doseAndRate.dose.ofType(Range).low.empty() or doseAndRate.dose.ofType(Range).high.empty() or ( doseAndRate.dose.ofType(Range).low.system = doseAndRate.dose.ofType(Range).high.system and doseAndRate.dose.ofType(Range).low.code = doseAndRate.dose.ofType(Range).high.code and doseAndRate.dose.ofType(Range).low.unit = doseAndRate.dose.ofType(Range).high.unit ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeLowAndHighSameUnitMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-ExtRequiresDosage-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement (l1/c2)errorConstraint failed: ExtRequiresDosage-MS: 'If a dosage extension (GeneratedDosageInstructionsMeta or renderedDosageInstruction) is present, at least one dosage must be present. (( extension.where( url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta' or url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction' ).exists() ) implies dosage.exists())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP#ExtRequiresDosage-MSMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-FreeTextMatchesRenderedText-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: FreeTextMatchesRenderedText: 'If a dosage is given as pure free text (text present, timing and doseAndRate empty) AND the renderedDosageInstruction extension is populated, the value in dosageInstruction.text must match the value in the extension. (( (%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

fsh-generated/resources/MedicationStatement-INV-C-FreeTextSingleDosageOnly-Statement-01-of-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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: 'If a dosage is given as pure free text, there must be exactly one Dosage element. (( (%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)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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: 'If a dosage is given as pure free text, there must be exactly one Dosage element. (( (%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

fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l35​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l37​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MaxDoseOnlyPureAsNeeded: 'A maximum amount (maxDosePerPeriod) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines how much is applied within the reference period. (maxDosePerPeriod.exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseOnlyPureAsNeededMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l36​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l38​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MaxDosePerPeriodOnly24hOr1d: 'maxDosePerPeriod is only allowed with a reference period of 24 hours (24 h) or 1 day (1 d). Other periods (e.g. at most 3 every 6 h) are not allowed. (maxDosePerPeriod.empty() or ( (maxDosePerPeriod.denominator.value = 24 and maxDosePerPeriod.denominator.code = 'h') or (maxDosePerPeriod.denominator.value = 1 and maxDosePerPeriod.denominator.code = 'd') ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDosePerPeriodOnly24hOr1dMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-MaxDoseSameUnitAsDose-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MaxDoseSameUnitAsDose: 'maxDosePerPeriod must use the same unit, code and system as doseQuantity. ( maxDosePerPeriod.empty() or ( ( doseAndRate.dose.ofType(Quantity).exists() and doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit ) or ( doseAndRate.dose.ofType(Range).exists() and ( doseAndRate.dose.ofType(Range).low.empty() or ( doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit ) ) and ( doseAndRate.dose.ofType(Range).high.empty() or ( doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit ) ) ) ) )' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDoseSameUnitAsDoseMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalOnlyPureAsNeeded-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MinimumIntervalOnlyPureAsNeeded: 'A minimum interval between two single administrations (Mindestabstand) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines the spacing between administrations; a second, weaker lower bound next to it is contradictory. (modifierExtension.where(url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations').exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalOnlyPureAsNeededMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalUnitMatchesCode-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MinimumIntervalUnitMatchesCode: 'The display unit of the minimum interval (valueDuration.unit) must match the UCUM code (e.g. 'Stunde(n)' only with code='h'). (modifierExtension.where( url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations' ).value.ofType(Duration).all( ( code = 'min' implies (unit = 'Minute(n)' or unit = 'Minute' or unit = 'Minuten') ) and ( code = 'h' implies (unit = 'Stunde(n)' or unit = 'Stunde' or unit = 'Stunden') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalUnitMatchesCodeMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l39/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l39/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l39/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l39/c6)errorConstraint failed: PatientInstructionIdentical: 'If patientInstruction is used in a resource with multiple dosages, the field must be populated identically in all Dosage elements. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).patientInstruction.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(patientInstruction.exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#PatientInstructionIdenticalMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsDurationOnlyWholeNumber: 'boundsDuration.value must be a whole number; decimal values are not allowed. (bounds.ofType(Duration).value.empty() or bounds.ofType(Duration).value mod 1 = 0)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsDurationOnlyWholeNumber: 'boundsDuration.value must be a whole number; decimal values are not allowed. (bounds.ofType(Duration).value.empty() or bounds.ofType(Duration).value mod 1 = 0)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsDurationOnlyWholeNumberMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsUnitMatchesCode: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsUnitMatchesCodeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingBoundsUnitMatchesCode: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingBoundsUnitMatchesCodeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingFreqOrPeriodGtOne-MS-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingFreqOrPeriodGtOneWarning: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingFreqOrPeriodGtOneWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingFreqOrPeriodGtOne: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingFreqOrPeriodGtOneMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingFrequencyCount-Statement.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l28​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l31​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l47​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l41/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l47​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l41/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l41/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l53​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l53​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l44​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l47​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l41/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l47​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l38​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyWhenOrTimeOfDay: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-01-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-02-of-02.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-Statement.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingPeriodUnit: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement dgMP
MedicationStatement​.dosage[2]​.timing​.repeat (l56​/c10)errorConstraint failed: TimingSingleDosageForTimeOfDay: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForTimeOfDayMedication Statement dgMP
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity) (l64​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[2] (l54/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement dgMP
MedicationStatement​.dosage[2]​.timing​.repeat (l56​/c10)errorConstraint failed: TimingSingleDosageForWhen: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingSingleDosageForWhenMedication Statement dgMP
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity) (l64​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[2] (l54/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingVarFreqGtMin-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingVarFreqGtMin: 'For a variable frequency, the maximum frequency must be greater than the minimum frequency. (frequencyMax.empty() or frequency.empty() or frequency.value.toInteger() < frequencyMax.value.toInteger())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingVarFreqGtMinMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-TimingVarPeriodGtMin-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingVarPeriodGtMin: 'For a variable period, the maximum period must be greater than the minimum period. (periodMax.empty() or period.empty() or period < periodMax)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingVarPeriodGtMinMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-C-dos-1-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: dos-1: 'AsNeededFor can only be set if AsNeeded is empty or true (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').empty() or asNeeded.empty() or asNeeded)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#dos-1Medication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededForRequiresAsNeeded: 'A reason for use (asNeededFor) may only be given for an as-needed dosage (asNeededBoolean = true). (extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() implies asNeeded.ofType(boolean) = true)' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForRequiresAsNeededMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-VarFreq-C-TimingOnlyOneType-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneTypeMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l62​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l62​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l65​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l44/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l44/c6)errorConstraint failed: AsNeededForIdentical: 'The reason for use (asNeededFor) must be populated identically across all Dosage elements of a resource. Multiple reasons per element are allowed but must then match in every element. (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() = ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).extension.where( url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor' ).value.ofType(CodeableConcept).text.distinct().count() ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededForIdenticalMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l46​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l46​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l49​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l36/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[1] (l36/c6)errorConstraint failed: AsNeededIdentical: 'The as-needed flag (asNeededBoolean) must be populated identically across all Dosage elements of a resource. (( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).distinct().count() <= 1 ) and ( ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).asNeeded.ofType(boolean).exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(asNeeded.ofType(boolean).exists()) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#AsNeededIdenticalMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l27​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l33​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l27​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l33​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseQuantityAllowedFractions: 'Dose values in doseQuantity or doseRange must be whole numbers or use one of the following fractional parts: .25, .33, .5, .66 or .75. (doseAndRate.all( ( dose.ofType(Quantity).value.empty() or dose.ofType(Quantity).value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).low.value.empty() or dose.ofType(Range).low.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) and ( dose.ofType(Range).high.value.empty() or dose.ofType(Range).high.value.all( ($this mod 1 = 0) or ($this mod 1 = 0.25) or ($this mod 1 = 0.33) or ($this mod 1 = 0.5) or ($this mod 1 = 0.66) or ($this mod 1 = 0.75) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseQuantityAllowedFractionsMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-min-C-MinimumIntervalUnitMatchesCode-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MinimumIntervalUnitMatchesCode: 'The display unit of the minimum interval (valueDuration.unit) must match the UCUM code (e.g. 'Stunde(n)' only with code='h'). (modifierExtension.where( url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations' ).value.ofType(Duration).all( ( code = 'min' implies (unit = 'Minute(n)' or unit = 'Minute' or unit = 'Minuten') ) and ( code = 'h' implies (unit = 'Stunde(n)' or unit = 'Stunde' or unit = 'Stunden') ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalUnitMatchesCodeMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l32​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l43​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l41/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l28​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l50​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l41​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l41​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l44​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing (l17​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l45​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (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 (l44​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l60​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l43/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l18​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodUnitMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing (l17​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l34​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l34​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l37​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l45​/c10)errorConstraint failed: TimingOnlyOneType: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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 (l45​/c10)errorConstraint failed: TimingFrequencyCount: 'If frequency is given together with when, timeOfDay or dayOfWeek, its value must match the number of concrete administrations. ((when.exists() and dayOfWeek.empty() and frequency.exists() implies when.count() = frequency) and (when.exists() and dayOfWeek.exists() and frequency.exists() implies (when.count() * dayOfWeek.count()) = frequency) and (timeOfDay.exists() and dayOfWeek.empty() and frequency.exists() implies timeOfDay.count() = frequency) and (timeOfDay.exists() and dayOfWeek.exists() and frequency.exists() implies (timeOfDay.count() * dayOfWeek.count()) = frequency) and (dayOfWeek.exists() and timeOfDay.empty() and when.empty() and frequency.exists() 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: 'periodUnit may only be given together with period. With dayOfWeek, only the redundant weekly statement is allowed; with when or timeOfDay without dayOfWeek, days, weeks or months are allowed. (periodUnit.empty() or ( period.exists() and ( (dayOfWeek.exists() and periodUnit = 'wk') or ( dayOfWeek.empty() and ( (when.empty() and timeOfDay.empty()) or periodUnit = 'd' or periodUnit = 'wk' or periodUnit = 'mo' ) ) ) ))' (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 (l44​/c8)errorConstraint failed: TimingOnlyOnePeriodForDayOfWeek: 'In a schema that combines dayOfWeek with either timeOfDay or when, each combination of weekday and time must be unique across all Dosage elements of a resource. (( /* 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.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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l60​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l60​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l43/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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, only one Dosage element 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)errorConstraint failed: TimingIntervalOnlyOneFrequency: 'If a dosage is defined by a pure interval, only one Dosage element 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneWhen: 'In a schema that uses only when, no part of the day may occur in more than one Dosage element of a resource. (( /* Detect when-based schema */ %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() 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l52​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l52​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l55​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeOfDay: 'In a schema that uses only timeOfDay, no time of day may occur in more than one Dosage element of a resource. (( /* Detect TimeOfDay */ %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() ) 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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l40​/c10)errorConstraint failed: TimingOnlyOneTimeForInterval: 'In a schema that combines an interval with timeOfDay or when, all Dosage elements of a resource must use the same period and periodUnit, and each timeOfDay or when value must be unique across them. (/* Detect Interval and Time/4-Schema */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ) .all( ( 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]​.doseAndRate[0]​.dose​.ofType(Quantity) (l51​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l51​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l38/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l35​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l38​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.timing​.repeat (l46​/c10)errorConstraint failed: TimingOnlyOneBounds: 'All Dosage elements of a resource must state the same bounds (Duration or Period), and either all of them carry a bounds or none. (( %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) ) ) and ( /* boundsPeriod: Start und Ende müssen ebenfalls über alle Dosierungen gleich sein. Die Textgenerierung liest den Zeitrahmen nur aus dem ersten Dosage-Element. */ (%resource.ofType(MedicationRequest).exists() or %resource.ofType(MedicationDispense).exists()) implies %resource.dosageInstruction.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosageInstruction.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) and ( %resource.ofType(MedicationStatement).exists() implies %resource.dosage.timing.repeat.bounds.ofType(Period).exists().not() or ( (%resource.dosage.timing.repeat.bounds.ofType(Period).start.distinct().count() <= 1) and (%resource.dosage.timing.repeat.bounds.ofType(Period).end.distinct().count() <= 1) ) ) ) and ( /* Entweder alle Dosage-Elemente tragen einen Zeitrahmen oder keines. Die Textgenerierung liest ihn nur aus dem ersten Element; ein Element ohne Zeitrahmen wuerde sonst stillschweigend als begrenzt dargestellt. */ ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).timing.repeat.bounds.exists() ) implies ( ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all(timing.repeat.bounds.exists()) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingOnlyOneBoundsMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l63​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l63​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l66​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l44/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MinimumIntervalOnlyPureAsNeeded: 'A minimum interval between two single administrations (Mindestabstand) may only be given for a pure as-needed dosage: asNeededBoolean = true and no timing. A structured rhythm already determines the spacing between administrations; a second, weaker lower bound next to it is contradictory. (modifierExtension.where(url='http://ig.fhir.de/igs/medication/StructureDefinition/MinimumIntervalBetweenAdministrations').exists() implies (asNeeded.ofType(boolean) = true and timing.empty()))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MinimumIntervalOnlyPureAsNeededMedication Statement dgMP

fsh-generated/resources/MedicationStatement-INV-pmax-C-TimingPeriodOnlyWholeNumber-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)errorConstraint failed: TimingPeriodOnlyWholeNumber: 'period and periodMax must be whole numbers; decimal values are not allowed. ((period.exists() implies period mod 1 = 0) and (periodMax.exists() implies periodMax mod 1 = 0))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDgMP#TimingPeriodOnlyWholeNumberMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l27​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l19​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l19​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l22​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l28​/c10)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.maxDosePerPeriod​.numerator​.system (l30​/c84)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: MaxDosePerPeriodOnly24hOr1d: 'maxDosePerPeriod is only allowed with a reference period of 24 hours (24 h) or 1 day (1 d). Other periods (e.g. at most 3 every 6 h) are not allowed. (maxDosePerPeriod.empty() or ( (maxDosePerPeriod.denominator.value = 24 and maxDosePerPeriod.denominator.code = 'h') or (maxDosePerPeriod.denominator.value = 1 and maxDosePerPeriod.denominator.code = 'd') ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#MaxDosePerPeriodOnly24hOr1dMedication Statement dgMP

fsh-generated/resources/MedicationStatement-MS-Dosage-1010.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l27​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-evening-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-ml-units.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-night-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-noon-only.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-DayOfWeek.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-Freetext.json Show Validation Information (1)


fsh-generated/resources/MedicationStatement-MS-Dosage-Interval.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-TimeOfDay.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-freetext-german-chars.json Show Validation Information (1)


fsh-generated/resources/MedicationStatement-MS-Dosage-interval-monthly.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-interval-time-3d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l37/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-interval-when-3d.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l28​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l49​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l37/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l30​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l30​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l33​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l54​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l54​/c12)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l57​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement.dosage[1] (l39/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-single-day-time.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l29​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-tod-mixed-doses.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/MedicationStatement-MS-Dosage-weekday-mixed-doses.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity) (l26​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity) (l45​/c12)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[1] (l35/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageDoseUnitSameCode: 'The dose unit must be the same across all dosages. ((%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/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageDoseUnitSameCodeMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)), MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsPeriod' (discriminator: ($this is Period)) Validation_VAL_Profile_NotSliceMedication Statement dgMP
MedicationStatement​.dosage[0]​.timing​.repeat (l19​/c12)errorThe type of element boundsRange is not known - it could not be determined from the information available. Valid types at this point are Duration, Period Validation_VAL_Profile_NoTypeMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredOrFreeText: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) Validation_VAL_Profile_MaximumMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/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|2.0.0-ballot) 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: 'Exactly one of the supported timing schemas is allowed. With dayOfWeek, frequency and the pair period = 1 and periodUnit = wk are optional redundant legacy statements; they do not constitute an interval schema. With when or timeOfDay, frequency is optional; a non-daily period distinguishes the daily schema from a time interval combined with a time-of-day or clock-time reference. A variable frequency (frequencyMax) is reserved for the pure interval, because concrete times or weekdays already determine the number of administrations. (/* DayOfWeek only; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and timing.repeat.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Interval only (frequency + period + periodUnit, no when/timeOfDay/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.when.empty() and timing.repeat.timeOfDay.empty() and timing.repeat.dayOfWeek.empty() ) or /* DayOfWeek and Time/4-Schema; legacy frequency and the exact 1 wk pair are optional */ ( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( timing.repeat.dayOfWeek.exists() and ( (timing.repeat.timeOfDay.exists() and timing.repeat.when.empty()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'wk') ) ) or /* Daily When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.periodMax.empty() and ( (timing.repeat.period.empty() and timing.repeat.periodUnit.empty()) or (timing.repeat.period = 1 and timing.repeat.periodUnit = 'd') ) ) or /* Non-daily interval combined with When or TimeOfDay; frequency is optional, a variable frequency is not */ ( %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()) or (timing.repeat.when.exists() and timing.repeat.timeOfDay.empty()) ) and timing.repeat.frequencyMax.empty() and timing.repeat.period.exists() and timing.repeat.periodUnit.exists() and (timing.repeat.periodUnit = 'd' or timing.repeat.periodUnit = 'wk' or timing.repeat.periodUnit = 'mo') and ( timing.repeat.periodUnit != 'd' or timing.repeat.period != 1 or timing.repeat.periodMax.exists() ) ))' (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: 'The Dosage elements of a resource must not mix a time of day (timeOfDay) and a part of the day (when). (( %resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).all( (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)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresBoth: 'If a structured dosage is given, both timing and doseAndRate must be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DosageStructuredRequiresBothMedication Statement dgMP

fsh-generated/resources/MedicationStatement-W-DosageDoseUnitSameCodeWarning-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement DE
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement.dosage[1] (l35/c6)warningConstraint failed: DosageDoseUnitSameCodeWarning: 'The dose unit should be the same across all dosages. ((%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#DosageDoseUnitSameCodeWarningMedication Statement DE

fsh-generated/resources/MedicationStatement-W-DosageDoseValuePositiveWarning-03-of-05.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l27​/c14)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageDoseValuePositiveWarning: 'doseQuantity.value and doseRange.high.value should be greater than 0. The value 0 is additionally allowed for doseRange.low.value only. (doseAndRate.all( dose.ofType(Quantity).value.all($this > 0) and dose.ofType(Range).low.value.all($this >= 0) and dose.ofType(Range).high.value.all($this > 0) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageDoseValuePositiveWarningMedication Statement DE

fsh-generated/resources/MedicationStatement-W-DosageFourSlotPatternInTextWarning-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Statement dgMP

fsh-generated/resources/MedicationStatement-W-DosageStructuredOrFreeTextWarning-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredOrFreeTextWarning: 'A dosage must be given either as free text only or as complete structured information only; mixing both is not allowed. ((%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 DE

fsh-generated/resources/MedicationStatement-W-DosageStructuredRequiresBothWarning-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageStructuredRequiresBothWarning: 'If a structured dosage is given, both timing and doseAndRate should be present. For pure as-needed dosages, doseAndRate may be given without timing. ((%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage).all( (timing.exists() implies doseAndRate.exists()) and (doseAndRate.exists() implies ( timing.exists() or asNeeded.ofType(boolean) = true or extension.where(url='http://hl7.org/fhir/5.0/StructureDefinition/extension-Dosage.asNeededFor').exists() )) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageStructuredRequiresBothWarningMedication Statement DE

fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l28​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low​.system (l30​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l34​/c14)informationA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high​.system (l36​/c88)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.low (l28​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Range)​.high (l34​/c14)warningValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not found Terminology_TX_ValueSet_NotFoundMedication Statement dgMP
MedicationStatement.dosage[0] (l16/c6)errorConstraint failed: DosageStructuredRequiresGeneratedText: 'If a structured dosage is present (doseAndRate populated, text empty, plus timing or a pure as-needed dosage), the GeneratedDosageInstructionsMeta extension must be present. (( (%resource.ofType(MedicationRequest).dosageInstruction | %resource.ofType(MedicationDispense).dosageInstruction | %resource.ofType(MedicationStatement).dosage ).exists( text.empty() and doseAndRate.exists() and (timing.exists() or asNeeded.ofType(boolean) = true) ) ) 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
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DoseRangeNoVarPeriod: 'A variable single dose and a variable period should not be used together. (doseAndRate.dose.ofType(Range).empty() or timing.repeat.periodMax.empty())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDgMP#DoseRangeNoVarPeriodMedication Statement dgMP

fsh-generated/resources/MedicationStatement-W-FreeTextSingleDosageOnlyWarning-MS.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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 DE
MedicationStatement.dosage[1] (l19/c6)warningConstraint failed: FreeTextSingleDosageOnlyWarning: 'If a dosage is given as pure free text, there should be exactly one Dosage element. (( (%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 DE

fsh-generated/resources/MedicationStatement-W-TimingBoundsUnitMatchesCodeWarning-Statement-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingBoundsUnitMatchesCodeWarning: 'boundsDuration.unit must match the UCUM boundsDuration.code (e.g. 'Woche(n)' only with 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#TimingBoundsUnitMatchesCodeWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l32​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l35​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE

fsh-generated/resources/MedicationStatement-W-TimingFreqOrPeriodGtOneWarning-MS-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingFreqOrPeriodGtOneWarning: 'If frequency and period are given together, only one of them may exceed 1 - either the frequency including frequencyMax or the period including periodMax. A statement in which both exceed 1, such as 'six times within three hours', is hard to express in language and is not needed: the same meaning can be conveyed by adapting the period, e.g. 'every 30 minutes'. (/* Detect Interval only */ ( timeOfDay.empty() and when.empty() and dayOfWeek.empty() and frequency.exists() and period.exists() ) implies ( ( (frequency > 1 or (frequencyMax.exists() and frequencyMax > 1)) implies ( period = 1 and (periodMax.empty() or periodMax = 1) ) ) and ( (period > 1 or (periodMax.exists() and periodMax > 1)) implies ( frequency = 1 and (frequencyMax.empty() or frequencyMax = 1) ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingFreqOrPeriodGtOneWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE

fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE

fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement​.dosage[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForTimeOfDayWarning: 'If only timeOfDay is used and dosing is daily, the times must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForTimeOfDayWarningMedication Statement DE
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE

fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-03-of-03.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE

fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement​.dosage[0]​.timing​.repeat (l18​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l26​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[0]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l29​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement​.dosage[1]​.timing​.repeat (l37​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l45​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[1]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l48​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE
MedicationStatement​.dosage[2]​.timing​.repeat (l56​/c10)warningConstraint failed: TimingSingleDosageForWhenWarning: 'If only when is used and dosing is daily, the times of day must be modelled in a single Dosage element. Multiple Dosage elements are only allowed if every element carries a distinct dose, including its data type. (( %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() ) 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() ).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() ).doseAndRate.dose.distinct().count() = ( %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() ).count() ) ) ))' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE) http://ig.fhir.de/igs/medication/StructureDefinition/TimingDE#TimingSingleDosageForWhenWarningMedication Statement DE
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l64​/c12)warningA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validated UNKNOWN_CODESYSTEMMedication Statement DE
MedicationStatement​.dosage[2]​.doseAndRate[0]​.dose​.ofType(Quantity)​.system (l67​/c86)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveMedication Statement DE

fsh-generated/resources/MedicationStatement-Warning-Dosage-FourSlotPattern-Text-MS-01.json Show Validation Information (1)

PathSeverityMessageValidating
MedicationStatement.dosage[0] (l16/c6)warningConstraint failed: DosageFourSlotPatternInTextWarning: 'A four-slot dosing schema (Viererschema, e.g. 1-1-1-1) was detected in Dosage.text. Please check whether it can be represented structurally. (text.exists() implies text.matches('.*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+\\s*[-–]\\s*\\d+.*').not())' (defined in http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE) http://ig.fhir.de/igs/medication/StructureDefinition/DosageDE#DosageFourSlotPatternInTextWarningMedication Statement dgMP

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

PathSeverityMessageValidating
ResourceinformationThe resource StructureDefinition/DosageDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
Dosage dgMP​.dose[x][[CanonicalType[http:​/​/hl7​.org​/fhir​/StructureDefinition​/SimpleQuantity]]]​.Dosage​.doseAndRate​.dose[x]warningBinding https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT could not be located --
Dosage dgMP​.dose[x]​.Dosage​.doseAndRate​.dose[x]​.lowwarningBinding https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT could not be located --
Dosage dgMP​.dose[x]​.Dosage​.doseAndRate​.dose[x]​.highwarningBinding https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT could not be located --
StructureDefinition​.snapshot​.element[0]​.constraint[19]​.expression (l1​/c117724)warningvalue should not start or finish with whitespace '\n maxDosePerPeriod.empty() or (\n (\n doseAndRate.dose.ofType(Quantity).exists() and\n doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit\n ) or (\n doseAndRate.dose.ofType(Range).exists() and\n (\n doseAndRate.dose.ofType(Range).low.empty() or (\n doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit\n )\n ) and (\n doseAndRate.dose.ofType(Range).high.empty() or (\n doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit\n )\n )\n )\n )\n' Type_Specific_Checks_DT_String_WSStructureDefinition
StructureDefinition​.snapshot​.element[39]​.binding​.valueSet (l1​/c170834)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.snapshot​.element[50]​.binding​.valueSet (l1​/c183901)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.snapshot​.element[58]​.binding​.valueSet (l1​/c192760)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[0]​.constraint[11]​.expression (l1​/c217168)warningvalue should not start or finish with whitespace '\n maxDosePerPeriod.empty() or (\n (\n doseAndRate.dose.ofType(Quantity).exists() and\n doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit\n ) or (\n doseAndRate.dose.ofType(Range).exists() and\n (\n doseAndRate.dose.ofType(Range).low.empty() or (\n doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit\n )\n ) and (\n doseAndRate.dose.ofType(Range).high.empty() or (\n doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit\n )\n )\n )\n )\n' Type_Specific_Checks_DT_String_WSStructureDefinition
StructureDefinition​.differential​.element[20]​.binding​.valueSet (l1​/c228266)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[26]​.binding​.valueSet (l1​/c229013)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[31]​.binding​.valueSet (l1​/c229650)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/DosageDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ResourceinformationThe resource StructureDefinition/GeneratedDosageInstructionsMeta could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-IntervalCombinationSchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c79568)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c96548)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/IntervalCombinationSchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-IntervalSchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c72886)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c87597)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/IntervalSchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-MedicationDispenseDE.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[4]​.binding​.extension[0] (l1​/c28945)informationThe extension http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|5.3.0 is deprecated with the note: 'Use additionalBinding extension or element instead' MSG_DEPENDS_ON_DEPRECATED_NOTEStructureDefinition
StructureDefinition​.snapshot​.element[34]​.mapping[0]​.map (l1​/c66289)informationThe string value contains text that looks like embedded HTML tags. If this content is rendered to HTML without appropriate post-processing, it may be a security risk SECURITY_STRING_CONTENT_WARNINGStructureDefinition
StructureDefinitionwarningMedicationDispense is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package) SD_DERIVATION_NO_CONCRETE--
ResourceinformationThe resource StructureDefinition/MedicationDispenseDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[34]​.mapping[0]​.map (l1​/c67568)informationThe string value contains text that looks like embedded HTML tags. If this content is rendered to HTML without appropriate post-processing, it may be a security risk SECURITY_STRING_CONTENT_WARNINGStructureDefinition
StructureDefinitionwarningMedicationDispense is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package) SD_DERIVATION_NO_CONCRETE--
ResourceinformationThe resource StructureDefinition/MedicationDispenseDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-MedicationRequestDE.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinitionwarningMedicationRequest is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package) SD_DERIVATION_NO_CONCRETE--
ResourceinformationThe resource StructureDefinition/MedicationRequestDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
StructureDefinitionwarningMedicationRequest is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package) SD_DERIVATION_NO_CONCRETE--
ResourceinformationThe resource StructureDefinition/MedicationRequestDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-MedicationStatementDE.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinitionwarningMedicationStatement is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package) SD_DERIVATION_NO_CONCRETE--
ResourceinformationThe resource StructureDefinition/MedicationStatementDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
StructureDefinitionwarningMedicationStatement is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package) SD_DERIVATION_NO_CONCRETE--
ResourceinformationThe resource StructureDefinition/MedicationStatementDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-MinimumIntervalBetweenAdministrations.json Show Validation Information (1)

PathSeverityMessageValidating
ResourceinformationThe resource StructureDefinition/MinimumIntervalBetweenAdministrations could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-PRNSchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c67825)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.snapshot​.element[10]​.binding​.valueSet (l1​/c69210)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c81089)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[10]​.binding​.valueSet (l1​/c82209)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/PRNSchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-TimeSchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c57169)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c67999)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/TimeSchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ResourceinformationThe resource StructureDefinition/TimingDE could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ResourceinformationThe resource StructureDefinition/TimingDgMP could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-WeekdayCombinationSchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c64114)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c77368)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/WeekdayCombinationSchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-WeekdaySchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c58194)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c69499)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/WeekdaySchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-WhenSchemeLogical.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition​.snapshot​.element[7]​.binding​.valueSet (l1​/c57828)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
StructureDefinition​.differential​.element[7]​.binding​.valueSet (l1​/c68890)warningA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVEStructureDefinition
ResourceinformationThe resource StructureDefinition/WhenSchemeLogical could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/StructureDefinition-extension-Dosage.asNeededFor.json Show Validation Information (1)

PathSeverityMessageValidating
StructureDefinition (l1/c18315)warningThe nominated WG 'fhir' means that the publisher should be 'HL7 International / FHIR Infrastructure' but 'HL7 Deutschland e.V.' was found VALIDATION_HL7_PUBLISHER_MISMATCHStructureDefinition
StructureDefinition (l1/c18315)warningThe nominated WG 'fhir' means that the contact url should be 'http://www.hl7.org/Special/committees/fiwg' but it was not found VALIDATION_HL7_WG_URLStructureDefinition
ResourceinformationThe resource StructureDefinition/extension-Dosage.asNeededFor could usefully have an OID assigned (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ValueSet (l1/c1421)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --
ResourcewarningThe resource ValueSet/AlgorithmLanguageCodesDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ValueSet​.compose​.include[0]​.system (l1​/c1583)warningNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' Type_Specific_Checks_DT_URL_ResolveValueSet
ValueSet (l1/c1708)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --
ResourcewarningThe resource ValueSet/DosageDoseQuantityDE should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --
ValueSet​.where(id = 'DosageDoseQuantityDE')warningError from https://tx.fhir.org/r4: Error: A definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the value set cannot be expanded (from server, see log) --

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

PathSeverityMessageValidating
ValueSet (l1/c1881)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --
ResourcewarningThe resource ValueSet/DosageUnitsOfTimeDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ResourcewarningThe resource ValueSet/EDQMUnitOfPresentation should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

fsh-generated/resources/ValueSet-MindestabstandUnitsOfTimeDgMP.json Show Validation Information (1)

PathSeverityMessageValidating
ValueSet (l1/c1708)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --
ResourcewarningThe resource ValueSet/MindestabstandUnitsOfTimeDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ValueSet (l1/c2026)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --
ResourcewarningThe resource ValueSet/PeriodUnitsOfTimeDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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

PathSeverityMessageValidating
ValueSet.compose.include[0]informationPinned the version of http://hl7.org/fhir/event-timing to 4.0.1 from choices of 4.0.1 (hl7.fhir.r4.core#4.0.1), 5.0.0 (hl7.fhir.uv.xver-r5.r4#0.1.0) PIN_VERSION--
ValueSet (l1/c2358)warningPublished value sets SHOULD conform to the ShareableValueSet profile, which says that the element ValueSet.experimental is mandatory, but it is not present --
ResourcewarningThe resource ValueSet/TimingWhenDgMP should have an OID assigned to cater for possible use with OID based terminology systems e.g. CDA usage (OIDs are easy to assign - see https://build.fhir.org/ig/FHIR/fhir-tools-ig/CodeSystem-ig-parameters.html#ig-parameters-auto-oid-root) --

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


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


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


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


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


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


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


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


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


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


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


input/includes/dosage-constraint-DosageFourSlotPatternInTextWarning-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-DosageStructuredRequiresBothWarning-examples.md Show Validation Information (0)


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


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


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


input/includes/dosage-constraint-DoseRangeNoVarPeriod-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-FreeTextSingleDosageOnlyWarning-examples.md Show Validation Information (0)


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


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


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


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


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


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


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


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


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


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


input/includes/dosage-constraint-TimingFreqOrPeriodGtOneWarning-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-TimingPeriodOnlyWholeNumber-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-TimingSingleDosageForTimeOfDayWarning-examples.md Show Validation Information (0)


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


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


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


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


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


input/includes/dosage-summary-matrix.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-IntervalCombinationSchemeLogical-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-IntervalSchemeLogical-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-PRNSchemeLogical-intro.md Show Validation Information (0)


input/pagecontent/StructureDefinition-TimeSchemeLogical-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/StructureDefinition-WeekdayCombinationSchemeLogical-intro.md Show Validation Information (0)


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


input/pagecontent/StructureDefinition-WhenSchemeLogical-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-bedarfsmedikation.md Show Validation Information (0)


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


input/pagecontent/schema-dauer.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-start-end-datum.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-variable-angaben.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/pagecontent/schema-zusaetzliche-instruktionen.md Show Validation Information (0)


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)

No suppressed messsages

Errors sorted by type


MSG_DEPENDS_ON_DEPRECATED_NOTE

fsh-generated/resources/StructureDefinition-MedicationDispenseDE.jsonThe extension http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|5.3.0 is deprecated with the note: 'Use additionalBinding extension or element instead'StructureDefinition

PIN_VERSION

fsh-generated/resources/ValueSet-TimingWhenDgMP.jsonPinned the version of http://hl7.org/fhir/event-timing to 4.0.1 from choices of 4.0.1 (hl7.fhir.r4.core#4.0.1), 5.0.0 (hl7.fhir.uv.xver-r5.r4#0.1.0)--

SD_DERIVATION_NO_CONCRETE

fsh-generated/resources/StructureDefinition-MedicationDispenseDE.jsonMedicationDispense is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package)--
fsh-generated/resources/StructureDefinition-MedicationDispenseDgMP.jsonMedicationDispense is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package)--
fsh-generated/resources/StructureDefinition-MedicationRequestDE.jsonMedicationRequest is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package)--
fsh-generated/resources/StructureDefinition-MedicationRequestDgMP.jsonMedicationRequest is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package)--
fsh-generated/resources/StructureDefinition-MedicationStatementDE.jsonMedicationStatement is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package)--
fsh-generated/resources/StructureDefinition-MedicationStatementDgMP.jsonMedicationStatement is labeled as an abstract type, but no concrete descendants were found (check definitions - this is usually an error unless concrete definitions are in some other package)--

SECURITY_STRING_CONTENT_WARNING

fsh-generated/resources/StructureDefinition-MedicationDispenseDE.jsonThe string value contains text that looks like embedded HTML tags. If this content is rendered to HTML without appropriate post-processing, it may be a security riskStructureDefinition
fsh-generated/resources/StructureDefinition-MedicationDispenseDgMP.jsonThe string value contains text that looks like embedded HTML tags. If this content is rendered to HTML without appropriate post-processing, it may be a security riskStructureDefinition

TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE

fsh-generated/resources/StructureDefinition-DosageDgMP.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-DosageDgMP.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-DosageDgMP.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-DosageDgMP.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-DosageDgMP.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-DosageDgMP.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-IntervalCombinationSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-IntervalCombinationSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-IntervalSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-IntervalSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-PRNSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-PRNSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-PRNSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-PRNSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-TimeSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-TimeSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-WeekdayCombinationSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-WeekdayCombinationSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-WeekdaySchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-WeekdaySchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-WhenSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition
fsh-generated/resources/StructureDefinition-WhenSchemeLogical.jsonA definition could not be found for Canonical URL 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT'StructureDefinition

Terminology_TX_ValueSet_NotFound

fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-ohne-Anlass.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitTasse-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-DosageTr-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-TimeOfDay-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-When-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Without-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-01-of-12-FreqPeriod-When-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-03-of-12-FreqPeriod-When-DayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-04-of-12-FreeText-and-structured-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValueDecimalNotation-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-MD-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DoseRangeHighRequiredWhenLowPresent-MD-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DoseRangeLowAndHighSameUnit-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DoseRangeLowAndHighSameUnit-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseSameUnitAsDose-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalOnlyPureAsNeeded-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalUnitMatchesCode-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingFreqOrPeriodGtOne-MD-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingFrequencyCount-Dispense.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-Dispense.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingVarFreqGtMin-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingVarPeriodGtMin-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-VarFreq-C-TimingOnlyOneType-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-min-C-MinimumIntervalUnitMatchesCode-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-pmax-C-TimingPeriodOnlyWholeNumber-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-evening-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-ml-units.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-ml-units.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-night-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-4schema-noon-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-Bounds-Decimals.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-Bounds-Decimals.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-DayOfWeek-Time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-DayOfWeek-Time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-Interval-Time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-Interval-Time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-interval-monthly.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-interval-when-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-interval-when-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-single-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-tod-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-tod-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-weekday-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-weekday-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Dispense dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-EmptyLists.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervall-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-enddate.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startandenddate.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdate.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdatetime.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-10-Days.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-PatientInstruction.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-Unsorted.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1111.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Struktur-Intervall.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitTasse-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-2.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-1mo.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2d-bound.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2wk.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-30min.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-4times-d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-6h.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-8d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b6-doserange-highonly.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b8-weekly.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b9-4h.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-1t-8am.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-2-12am.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-unsorted.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-varfreq-9-to-10.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-frequency.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-period.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-bound.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-3t.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-unsorted.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-DosageTr-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-TimeOfDay-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-When-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-01-of-12-FreqPeriod-When.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-02-of-12-FreqPeriod-ToD-DayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-03-of-12-FreqPeriod-When-DayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-04-of-12-FreeText-and-structured.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValueDecimalNotation-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-01-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-04-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-MR-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DoseRangeHighRequiredWhenLowPresent-MR-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DoseRangeLowAndHighSameUnit-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DoseRangeLowAndHighSameUnit-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseSameUnitAsDose-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalOnlyPureAsNeeded-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalUnitMatchesCode-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingFreqOrPeriodGtOne-MR-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingFrequencyCount-Request.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-Request.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingVarFreqGtMin-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingVarPeriodGtMin-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-VarFreq-C-TimingOnlyOneType-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-min-C-MinimumIntervalUnitMatchesCode-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-pmax-C-TimingPeriodOnlyWholeNumber-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-evening-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-ml-units.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-ml-units.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-night-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-4schema-noon-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-interval-monthly.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-interval-when-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-interval-when-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-single-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-tod-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-tod-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-weekday-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-weekday-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Request dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-bedarf.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-hinweis.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-zeitrahmen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-ohne-Anlass.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitTasse-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-DosageTr-1000.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-TimeOfDay-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Without-Legacy.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-01-of-12-FreqPeriod-When-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-03-of-12-FreqPeriod-When-DayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-04-of-12-FreeText-and-structured-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValuePositive-Statement-03-of-05.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-MS-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DoseRangeHighRequiredWhenLowPresent-MS-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DoseRangeLowAndHighSameUnit-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DoseRangeLowAndHighSameUnit-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseSameUnitAsDose-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalOnlyPureAsNeeded-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalUnitMatchesCode-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingFreqOrPeriodGtOne-MS-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingFrequencyCount-Statement.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-01-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-02-of-02.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-Statement.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingVarFreqGtMin-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingVarPeriodGtMin-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-VarFreq-C-TimingOnlyOneType-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-min-C-MinimumIntervalUnitMatchesCode-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-pmax-C-TimingPeriodOnlyWholeNumber-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-1010.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-evening-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-ml-units.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-ml-units.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-night-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-4schema-noon-only.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-DayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-DayOfWeek.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-Interval.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-TimeOfDay.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-TimeOfDay.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-interval-monthly.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-interval-time-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-interval-time-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-interval-when-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-interval-when-3d.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-single-day-time.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-tod-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-tod-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-weekday-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-weekday-mixed-doses.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP
fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.jsonValueSet 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_BMP_DOSIEREINHEIT' not foundMedication Statement dgMP

Type_Specific_Checks_DT_String_WS

fsh-generated/resources/StructureDefinition-DosageDgMP.jsonvalue should not start or finish with whitespace '\n maxDosePerPeriod.empty() or (\n (\n doseAndRate.dose.ofType(Quantity).exists() and\n doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit\n ) or (\n doseAndRate.dose.ofType(Range).exists() and\n (\n doseAndRate.dose.ofType(Range).low.empty() or (\n doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit\n )\n ) and (\n doseAndRate.dose.ofType(Range).high.empty() or (\n doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit\n )\n )\n )\n )\n'StructureDefinition
fsh-generated/resources/StructureDefinition-DosageDgMP.jsonvalue should not start or finish with whitespace '\n maxDosePerPeriod.empty() or (\n (\n doseAndRate.dose.ofType(Quantity).exists() and\n doseAndRate.dose.ofType(Quantity).system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Quantity).code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Quantity).unit = maxDosePerPeriod.numerator.unit\n ) or (\n doseAndRate.dose.ofType(Range).exists() and\n (\n doseAndRate.dose.ofType(Range).low.empty() or (\n doseAndRate.dose.ofType(Range).low.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).low.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).low.unit = maxDosePerPeriod.numerator.unit\n )\n ) and (\n doseAndRate.dose.ofType(Range).high.empty() or (\n doseAndRate.dose.ofType(Range).high.system = maxDosePerPeriod.numerator.system and\n doseAndRate.dose.ofType(Range).high.code = maxDosePerPeriod.numerator.code and\n doseAndRate.dose.ofType(Range).high.unit = maxDosePerPeriod.numerator.unit\n )\n )\n )\n )\n'StructureDefinition

Type_Specific_Checks_DT_URL_Resolve

fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-ohne-Anlass.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitTasse-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-DosageTr-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-TimeOfDay-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-When-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Without-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-01-of-12-FreqPeriod-When-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-03-of-12-FreqPeriod-When-DayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-04-of-12-FreeText-and-structured-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValueDecimalNotation-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DoseRangeLowAndHighSameUnit-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseSameUnitAsDose-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalOnlyPureAsNeeded-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalUnitMatchesCode-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingFreqOrPeriodGtOne-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingFrequencyCount-Dispense.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-Dispense.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingVarFreqGtMin-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingVarPeriodGtMin-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-VarFreq-C-TimingOnlyOneType-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-min-C-MinimumIntervalUnitMatchesCode-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-pmax-C-TimingPeriodOnlyWholeNumber-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-DosageDoseUnitSameCodeWarning-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseUnitSameCodeWarning-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-02-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-02-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-05-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-05-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageStructuredOrFreeTextWarning-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-TimingBoundsUnitMatchesCodeWarning-Dispense-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingFreqOrPeriodGtOneWarning-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-02-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Dispense DE
fsh-generated/resources/MedicationRequest-Example-MR-Bug-EmptyLists.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervall-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-enddate.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startandenddate.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdate.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdatetime.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-10-Days.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-PatientInstruction.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-Unsorted.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1111.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Struktur-Intervall.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitTasse-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-2.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-1mo.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2d-bound.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2wk.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-30min.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-3d.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-4times-d.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-6h.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-8d.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b6-doserange-highonly.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b8-weekly.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b9-4h.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-1t-8am.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-2-12am.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-unsorted.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-varfreq-9-to-10.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-frequency.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-period.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-bound.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-3t.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-unsorted.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-DosageTr-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-TimeOfDay-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-When-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-01-of-12-FreqPeriod-When.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-02-of-12-FreqPeriod-ToD-DayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-03-of-12-FreqPeriod-When-DayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-04-of-12-FreeText-and-structured.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValueDecimalNotation-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-01-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-04-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DoseRangeLowAndHighSameUnit-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseSameUnitAsDose-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalOnlyPureAsNeeded-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalUnitMatchesCode-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingFreqOrPeriodGtOne-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingFrequencyCount-Request.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-Request.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingVarFreqGtMin-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingVarPeriodGtMin-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-VarFreq-C-TimingOnlyOneType-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-min-C-MinimumIntervalUnitMatchesCode-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-pmax-C-TimingPeriodOnlyWholeNumber-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-W-DosageDoseUnitSameCodeWarning-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-DosageDoseUnitSameCodeWarning-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-01-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-04-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-DosageStructuredOrFreeTextWarning-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request dgMP
fsh-generated/resources/MedicationRequest-W-TimingBoundsUnitMatchesCodeWarning-Request-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingFreqOrPeriodGtOneWarning-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-01-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Request DE
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-bedarf.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-hinweis.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-zeitrahmen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-ohne-Anlass.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitTasse-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-DosageTr-1000.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-TimeOfDay-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Without-Legacy.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-01-of-12-FreqPeriod-When-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-03-of-12-FreqPeriod-When-DayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-04-of-12-FreeText-and-structured-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValuePositive-Statement-03-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DoseRangeLowAndHighSameUnit-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseSameUnitAsDose-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalOnlyPureAsNeeded-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalUnitMatchesCode-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingFreqOrPeriodGtOne-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingFrequencyCount-Statement.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-01-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-02-of-02.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-Statement.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingVarFreqGtMin-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingVarPeriodGtMin-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-VarFreq-C-TimingOnlyOneType-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-min-C-MinimumIntervalUnitMatchesCode-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-pmax-C-TimingPeriodOnlyWholeNumber-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-W-DosageDoseUnitSameCodeWarning-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-DosageDoseUnitSameCodeWarning-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-DosageDoseValuePositiveWarning-03-of-05.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-DosageStructuredOrFreeTextWarning-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement dgMP
fsh-generated/resources/MedicationStatement-W-TimingBoundsUnitMatchesCodeWarning-Statement-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingFreqOrPeriodGtOneWarning-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-03-of-03.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'Medication Statement DE
fsh-generated/resources/ValueSet-DosageDoseQuantityDE.jsonNo definition could be found for URL value 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT'ValueSet

UNKNOWN_CODESYSTEM

fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-bedarf-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervall-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-intervallzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-uhrzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentag-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Cov-wochentagzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Bedarfsmedikation-ohne-Anlass.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitStueck-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-UnitTasse-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Dosage-Zero-Range-Low.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-DosageTr-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-TimeOfDay-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-When-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-Example-MD-Weekday-Without-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-01-of-12-FreqPeriod-When-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-03-of-12-FreqPeriod-When-DayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-04-of-12-FreeText-and-structured-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-06-of-12-multiple-dosagecodes-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-10-of-12-When-DiffPeriodU-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-11-of-12-C-TimingOnlyOneWhen-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededForIdentical-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededIdentical-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-AsNeededSingleDosageOnly-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseQuantityAllowedFractions-MD-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseUnitSameCode-Dispense-01-of-01.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValueDecimalNotation-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-02-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageDoseValuePositive-Dispense-05-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredOrFreeText-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresBoth-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DosageStructuredRequiresGeneratedText-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-DoseRangeLowAndHighSameUnit-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseOnlyPureAsNeeded-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDosePerPeriodOnly24hOr1d-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MaxDoseSameUnitAsDose-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalOnlyPureAsNeeded-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-MinimumIntervalUnitMatchesCode-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-PatientInstructionIdentical-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsDurationOnlyWholeNumber-MD-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingBoundsUnitMatchesCode-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingFreqOrPeriodGtOne-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingFrequencyCount-Dispense.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-01-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-02-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-03-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-04-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-05-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-06-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-07-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-08-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-09-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-10-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-11-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-12-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-Dispense-13-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyOneType-MD-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingOnlyWhenOrTimeOfDay-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodOnlyWholeNumber-Dispense-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-Dispense.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingPeriodUnit-MD-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForTimeOfDay-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingSingleDosageForWhen-Dispense-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingVarFreqGtMin-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-C-TimingVarPeriodGtMin-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-VarFreq-C-TimingOnlyOneType-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededForIdentical-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-diff-C-AsNeededIdentical-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-high-C-DosageDoseQuantityAllowedFractions-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-low-C-DosageDoseQuantityAllowedFractions-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-min-C-MinimumIntervalUnitMatchesCode-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-miss-C-TimingOnlyOneBounds-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-01-of-10-when-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-pmax-C-TimingPeriodOnlyWholeNumber-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MD.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-MD-Dosage-multiple-day-time.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-DosageDoseUnitSameCodeWarning-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseUnitSameCodeWarning-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-02-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-02-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-05-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageDoseValuePositiveWarning-05-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DosageStructuredOrFreeTextWarning-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-DoseRangeNoVarPeriod-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense dgMP
fsh-generated/resources/MedicationDispense-W-TimingBoundsUnitMatchesCodeWarning-Dispense-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingFreqOrPeriodGtOneWarning-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForTimeOfDayWarning-MD-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-02-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationDispense-W-TimingSingleDosageForWhenWarning-MD-05-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Dispense DE
fsh-generated/resources/MedicationRequest-Example-MR-Bug-EmptyLists.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Daily.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-DayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleTimeOfDay-Interval.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-DayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Bug-MultipleWhen-Interval.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-bedarf-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervall-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-intervallzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-uhrzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentag-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Cov-wochentagzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-enddate.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startandenddate.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdate.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1000-startdatetime.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-10-Days.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-PatientInstruction.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1010-Unsorted.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10120.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1020-Unordered.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-10340.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1111.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-1220.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-Bedarfsmedikation-Struktur-Intervall.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitStueck-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-UnitTasse-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b4-4schema.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-asneeded-b7-maxdose-1d.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-1.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-2.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-3.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-b3-doserange-mixed.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-dayofweek-unsorted.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-1.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-2.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-3.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-comb-interval-4.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-1mo.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2d-bound.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-2wk.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-30min.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-3d.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-4times-d.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-6h.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-8d.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b6-doserange-highonly.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b8-weekly.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-interval-b9-4h.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-1t-8am.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-2-12am.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-multi-bound.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-tod-unsorted.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-varfreq-9-to-10.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-frequency.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-variable-period.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-1t.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-2t-bound.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-3t.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-weekday-unsorted.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Dosage-when-b2-doserange-mixed.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-DosageTr-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-TimeOfDay-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-Example-MR-Weekday-When-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-01-of-12-FreqPeriod-When.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-02-of-12-FreqPeriod-ToD-DayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-03-of-12-FreqPeriod-When-DayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-04-of-12-FreeText-and-structured.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-06-of-12-multiple-dosagecodes.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-09-of-12-C-TimingOnlyOneTimeForInterval.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-10-of-12-When-DiffPeriodU.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-11-of-12-C-TimingOnlyOneWhen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-12-of-12-C-TimingOnlyOneDayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededForIdentical-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededIdentical-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-AsNeededSingleDosageOnly-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseQuantityAllowedFractions-MR-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseUnitSameCode-Request-01-of-01.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValueDecimalNotation-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-01-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageDoseValuePositive-Request-04-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredOrFreeText-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresBoth-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DosageStructuredRequiresGeneratedText-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-DoseRangeLowAndHighSameUnit-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-MR-04-of-04.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseOnlyPureAsNeeded-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDosePerPeriodOnly24hOr1d-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MaxDoseSameUnitAsDose-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalOnlyPureAsNeeded-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-MinimumIntervalUnitMatchesCode-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-PatientInstructionIdentical-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsDurationOnlyWholeNumber-MR-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingBoundsUnitMatchesCode-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingFreqOrPeriodGtOne-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingFrequencyCount-Request.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-MR-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-01-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-02-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-03-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-04-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-05-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-06-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-07-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-08-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-09-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-10-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-11-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-12-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyOneType-Request-13-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingOnlyWhenOrTimeOfDay-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodOnlyWholeNumber-Request-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-MR-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingPeriodUnit-Request.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForTimeOfDay-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingSingleDosageForWhen-Request-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingVarFreqGtMin-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-C-TimingVarPeriodGtMin-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-VarFreq-C-TimingOnlyOneType-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededForIdentical-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-diff-C-AsNeededIdentical-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-high-C-DosageDoseQuantityAllowedFractions-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-low-C-DosageDoseQuantityAllowedFractions-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-min-C-MinimumIntervalUnitMatchesCode-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-miss-C-TimingOnlyOneBounds-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-01-of-10-when.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-07-of-10-C-TimingOnlyOneWhen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-multiple-10-of-10-C-TimingOnlyOneBounds.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-pmax-C-TimingPeriodOnlyWholeNumber-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MR.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-MR-Dosage-multiple-day-time.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-W-DosageDoseUnitSameCodeWarning-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-DosageDoseUnitSameCodeWarning-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-01-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-DosageDoseValuePositiveWarning-04-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-DosageStructuredOrFreeTextWarning-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-W-DoseRangeNoVarPeriod-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request dgMP
fsh-generated/resources/MedicationRequest-W-TimingBoundsUnitMatchesCodeWarning-Request-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingFreqOrPeriodGtOneWarning-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForTimeOfDayWarning-MR-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-01-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationRequest-W-TimingSingleDosageForWhenWarning-MR-04-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Request DE
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-bedarf-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervall-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-intervallzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-uhrzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentag-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-bedarf.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-doseRange.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-hinweis.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Cov-wochentagzeit-zeitrahmen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-Kopfschmerzen.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-MehrereAnlaesse.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-Bedarfsmedikation-ohne-Anlass.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitStueck-1020.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Dosage-UnitTasse-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-DosageTr-1000.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-TimeOfDay-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-Example-MS-Weekday-When-Without-Legacy.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-01-of-12-FreqPeriod-When-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-02-of-12-FreqPeriod-ToD-DayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-03-of-12-FreqPeriod-When-DayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-04-of-12-FreeText-and-structured-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-06-of-12-multiple-dosagecodes-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-09-of-12-C-TimingOnlyOneTimeForInterval-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-10-of-12-When-DiffPeriodU-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-11-of-12-C-TimingOnlyOneWhen-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-12-of-12-C-TimingOnlyOneDayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededForIdentical-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededIdentical-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-AsNeededSingleDosageOnly-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseQuantityAllowedFractions-MS-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseUnitSameCode-Statement-01-of-01.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValueDecimalNotation-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageDoseValuePositive-Statement-03-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredOrFreeText-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresBoth-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DosageStructuredRequiresGeneratedText-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-DoseRangeLowAndHighSameUnit-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseOnlyPureAsNeeded-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDosePerPeriodOnly24hOr1d-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MaxDoseSameUnitAsDose-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalOnlyPureAsNeeded-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-MinimumIntervalUnitMatchesCode-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-PatientInstructionIdentical-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsDurationOnlyWholeNumber-MS-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingBoundsUnitMatchesCode-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingFreqOrPeriodGtOne-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingFrequencyCount-Statement.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-MS-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-01-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-02-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-03-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-04-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-05-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-06-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-07-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-08-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-09-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-10-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-11-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-12-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyOneType-Statement-13-of-13.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingOnlyWhenOrTimeOfDay-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodOnlyWholeNumber-Statement-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-01-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-MS-02-of-02.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingPeriodUnit-Statement.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForTimeOfDay-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingSingleDosageForWhen-Statement-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingVarFreqGtMin-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-C-TimingVarPeriodGtMin-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-VarFreq-C-TimingOnlyOneType-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededForIdentical-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-diff-C-AsNeededIdentical-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-high-C-DosageDoseQuantityAllowedFractions-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-low-C-DosageDoseQuantityAllowedFractions-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-min-C-MinimumIntervalUnitMatchesCode-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-miss-C-TimingOnlyOneBounds-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-01-of-10-when-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-02-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-04-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-05-of-10-C-TimingOnlyOnePeriodForDayOfWeek-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-06-of-10-C-TimingIntervalOnlyOneFrequency-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-07-of-10-C-TimingOnlyOneWhen-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-08-of-10-C-TimingOnlyOneTimeOfDay-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-09-of-10-C-TimingOnlyOneTimeForInterval-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-multiple-10-of-10-C-TimingOnlyOneBounds-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-noan-C-MinimumIntervalOnlyPureAsNeeded-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-pmax-C-TimingPeriodOnlyWholeNumber-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-INV-wk-C-MaxDosePerPeriodOnly24hOr1d-MS.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-MS-Dosage-multiple-day-time.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-W-DosageDoseUnitSameCodeWarning-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-DosageDoseUnitSameCodeWarning-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-DosageDoseValuePositiveWarning-03-of-05.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-DosageStructuredOrFreeTextWarning-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-W-DoseRangeNoVarPeriod-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement dgMP
fsh-generated/resources/MedicationStatement-W-TimingBoundsUnitMatchesCodeWarning-Statement-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingFreqOrPeriodGtOneWarning-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForTimeOfDayWarning-MS-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-03-of-03.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE
fsh-generated/resources/MedicationStatement-W-TimingSingleDosageForWhenWarning-MS-06-of-06.jsonA definition for CodeSystem 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT' could not be found, so the code cannot be validatedMedication Statement DE

VALIDATION_HL7_PUBLISHER_MISMATCH

fsh-generated/resources/StructureDefinition-extension-Dosage.asNeededFor.jsonThe nominated WG 'fhir' means that the publisher should be 'HL7 International / FHIR Infrastructure' but 'HL7 Deutschland e.V.' was foundStructureDefinition

VALIDATION_HL7_WG_URL

fsh-generated/resources/StructureDefinition-extension-Dosage.asNeededFor.jsonThe nominated WG 'fhir' means that the contact url should be 'http://www.hl7.org/Special/committees/fiwg' but it was not foundStructureDefinition

Validation_VAL_Profile_Maximum

fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP
fsh-generated/resources/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|2.0.0-ballot)Medication Statement dgMP

Validation_VAL_Profile_NoType

fsh-generated/resources/MedicationDispense-MD-Unsupported-Dosage-18-of-20-BoundsRange.jsonThe type of element boundsRange is not known - it could not be determined from the information available. Valid types at this point are Duration, PeriodMedication Dispense dgMP
fsh-generated/resources/MedicationRequest-MR-Unsupported-Dosage-18-of-20-BoundsRange.jsonThe type of element boundsRange is not known - it could not be determined from the information available. Valid types at this point are Duration, PeriodMedication Request dgMP
fsh-generated/resources/MedicationStatement-MS-Unsupported-Dosage-18-of-20-BoundsRange.jsonThe type of element boundsRange is not known - it could not be determined from the information available. Valid types at this point are Duration, PeriodMedication Statement dgMP

Validation_VAL_Profile_NotSlice

fsh-generated/resources/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|2.0.0-ballot and slicing is CLOSED: MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)), MedicationDispense.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsPeriod' (discriminator: ($this is Period))Medication Dispense dgMP
fsh-generated/resources/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|2.0.0-ballot and slicing is CLOSED: MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)), MedicationRequest.dosageInstruction[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsPeriod' (discriminator: ($this is Period))Medication Request dgMP
fsh-generated/resources/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|2.0.0-ballot and slicing is CLOSED: MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsDuration' (discriminator: ($this is Duration)), MedicationStatement.dosage[0].timing.repeat.bounds.ofType(Range): Does not match slice 'boundsPeriod' (discriminator: ($this is Period))Medication Statement dgMP