Medication IG DE
1.0.4 - STU1

Medication IG DE - Downloaded Version 1.0.4 See the Directory of published versions

## Release Notes

### Release: 1.0.4

What's Changed

- Gefixte Invarianten:
  - DosageDE: `DosageStructuredOrFreeTextWarning`, `DosageStructuredRequiresBoth`, `DosageDoseUnitSameCode`
  - DosageDgMP: `DosageStructuredOrFreeText`
  - TimingDgMP: `TimingOnlyOneType`, `TimingOnlyOneTimeForInterval`, `TimingOnlyOnePeriodForDayOfWeek`

Details je Invariante

- `DosageStructuredOrFreeTextWarning` (`DosageDE`)
  - Vom Fix betroffene Ressourcentypen: `MedicationDispense`, `MedicationStatement`
  - Fix: Fehlende `%resource.`-Präfixe vor `ofType(...)` ergänzt, damit die Regel in allen drei Ressourcentypzweigen korrekt evaluiert wird.
- `DosageStructuredRequiresBoth` (`DosageDE`)
  - Vom Fix betroffene Ressourcentypen: `MedicationDispense`, `MedicationStatement`
  - Fix: Fehlende `%resource.`-Präfixe vor `ofType(...)` ergänzt, damit die wechselseitige Pflicht von `timing` und `doseAndRate` korrekt geprüft wird.
- `DosageDoseUnitSameCode` (`DosageDE`)
  - Vom Fix betroffene Ressourcentypen: `MedicationDispense`, `MedicationStatement`
  - Fix: Ressourcentypspezifische Pfade im Ausdruck korrigiert; dadurch wird die Einheitengleichheit über alle Dosierungen je Ressource korrekt für `Quantity` und `Range` geprüft.
- `DosageStructuredOrFreeText` (`DosageDgMP`)
  - Vom Fix betroffene Ressourcentypen: `MedicationDispense`, `MedicationStatement`
  - Fix: Analog zu `DosageStructuredOrFreeTextWarning` wurden fehlende `%resource.`-Präfixe ergänzt, damit Mischformen aus Freitext und Struktur verlässlich erkannt werden.
- `TimingOnlyOneType` (`TimingDgMP`)
  - Vom Fix betroffene Ressourcentypen: `MedicationDispense`, `MedicationStatement`
  - Fix: Fehlende `%resource.`-Präfixe in den Unterbedingungen ergänzt; dadurch greifen die Typprüfungen (`DayOfWeek`, `Interval`, Kombinationsschemata) konsistent pro Ressource.
- `TimingOnlyOneTimeForInterval` (`TimingDgMP`)
  - Vom Fix betroffene Ressourcentypen: `MedicationStatement`
  - Fix: In der `MedicationStatement`-Prüfung wurde eine logisch redundante und inhaltlich falsche Typbedingung entfernt; dadurch wird die Konsistenz von `period`/`periodUnit` auch für `MedicationStatement` tatsächlich geprüft (zusätzlich zur Einzigartigkeitsprüfung von `timeOfDay`/`when`).
- `TimingOnlyOnePeriodForDayOfWeek` (`TimingDgMP`)
  - Vom Fix betroffene Ressourcentypen: `MedicationRequest`, `MedicationDispense`, `MedicationStatement`
  - Fix: Falsche Collection-vs-Integer-Vergleiche korrigiert (`distinct().count()` statt `distinct()`), damit doppelte `(dayOfWeek + when/timeOfDay)`-Kombinationen korrekt validiert werden.

### Release: 1.0.3

What's Changed

- Fix dosage dose unit same code by @patrick-werner in #106 to also support dosageRanges
- Added guidance on backport extension usage and for defect tim-9 invariant

### Release: 1.0.2

What's Changed

- Fix: Update constraints and examples for DosageStructuredRequiresGeneratedText, maintain versioning in configuration

### Release: 1.0.1

What's Changed

- Fix dosage structured requires generated text constraint by @patrick-werner in #104
- Updates from Publication Feedback by @patrick-werner in #105

### Release: 1.0.0

What's Changed

- Add ISiK as an example case in the Implementation Guide by @f-peverali in #39
- Update schema-freitext.md by @f-peverali in #70
- fix: correct punctuation in dosage text generation documentation by @patrick-werner in #79
- refactor: update dosage terminology from 'Tablette' to 'Stück' in examples and descriptions by @patrick-werner in #72
- fix: update link in dosage text generation documentation by @patrick-werner in #73
- Fix der Timing Tabelle, Verbesserung des python scripts, HDB-650 by @patrick-werner in #74
- feat: add invariant for structured dosage instructions requiring generated text by @patrick-werner in #75
- fix: correct description of dosage timing bounds in TimingDgMP.fsh by @patrick-werner in #76
- feat: made value in duration in TimingDgMP mandatory (1..1), added MS in TimingDE.fsh by @patrick-werner in #77
- refactor: rename GematikDosageTextGenerator to DgMPDosageTextGenerator by @patrick-werner in #78
- Add note to usage of dosage text script by @florianschoffke in #80
- refactor: fix python indentation by @patrick-werner in #81
- feat: set comparator on boundsDuration to 0..0 in TimingDgMP by @patrick-werner in #82
- Add all 0..0 fields to deny lists in text generation script HDB-656 by @patrick-werner in #83
- feat: add invariant for timing bounds unit string consistency with UCUM codes by @patrick-werner in #84
- feat: fix TimingBoundsUnitMatchesCode invariant and add examples by @patrick-werner in #85
- Add Examples for DosageStructuredRequiresGeneratedText by @florianschoffke in #86
- fix: update dosage unit from 'Tablette' to 'Stück' for consistency across documentation by @patrick-werner in #87
- fix: clarify mustSupport requirements for implementation and processing of elements by @patrick-werner in #88
- refactor script by @florianschoffke in #89
- Only one dosage by @patrick-werner in #90
- Ig-page-for-script by @florianschoffke in #92
- Skript für eine zusammenfassende Evaluierung der Dosierung by @florianschoffke in #93
- added DosageWarnungViererschemaInText & example by @patrick-werner in #91
- feat: add FreeTextSingleDosageOnly invariant to enforce single dosage element in free text by @patrick-werner in #95
- Update ext card and script by @patrick-werner in #94
- Extract-script by @florianschoffke in #96
- Set extension cardinality and add language support by @florianschoffke in #99
- fix: update duration unit retrieval in medication dosage text generation by @patrick-werner in #103
- docs: clarify prerequisites for text generation in dosage script by @patrick-werner in #102
- 1.0.0 release by @patrick-werner in #98

### Release: 1.0.0-ballot

Release for the first ballot: 1.0.0-ballot