From 902c82f23f1b9c35256677da97efe2d8bcc20a06 Mon Sep 17 00:00:00 2001 From: Patrick Werner Date: Mon, 1 Jul 2024 09:52:40 +0200 Subject: [PATCH] fixed examples for ANFISK-255 (Encounter reference link) (#128) * fixed examples for ANFISK-255 * fix: added ReleaseNotes.md --- ImplementationGuide/markdown/ReleaseNotes.md | 6 + .../List-ExampleISiKMedikationsListe.json | 2 +- .../Medication-ExampleISiKMedikament2.json | 18 +- .../StructureDefinition-ISiKMedikament.json | 132 +++-- ...eDefinition-ISiKMedikationTransaction.json | 32 -- ...ion-ISiKMedikationTransactionResponse.json | 32 -- ...Definition-ISiKMedikationsInformation.json | 437 +++++++++-------- ...uctureDefinition-ISiKMedikationsListe.json | 22 - ...finition-ISiKMedikationsVerabreichung.json | 233 ++++----- ...eDefinition-ISiKMedikationsVerordnung.json | 457 ++++++++++-------- Resources/input/fsh/ISiKMedikationsListe.fsh | 10 +- Resources/sushi-config.yaml | 6 - 12 files changed, 695 insertions(+), 692 deletions(-) diff --git a/ImplementationGuide/markdown/ReleaseNotes.md b/ImplementationGuide/markdown/ReleaseNotes.md index 7b75b578..9a97e1b8 100644 --- a/ImplementationGuide/markdown/ReleaseNotes.md +++ b/ImplementationGuide/markdown/ReleaseNotes.md @@ -4,6 +4,12 @@ Im Rahmen der ISiK-Veröffentlichungen wird das [Semantic Versioning](https://se Die erste Ziffer X bezeichnet ein Major-Release und regelt die Gültigkeit von Releases. Die dritte Ziffer Y (Release x.0.y) bezeichnet eine technische Korrektur und versioniert kleinere Änderungen (Packages) während eines Jahres, z. B. 1.0.1. +---- +Version: 2.0.3 + +Datum: tbd + +- Korrektur des Beispiels: ExampleISiKMedikationsListe.encounter, verweist jetzt korrekt auf einen Abteilungskontakt-Encounter https://github.com/gematik/spec-ISiK-Medikation/pull/128 ---- Version: 2.0.2 diff --git a/Resources/fsh-generated/resources/List-ExampleISiKMedikationsListe.json b/Resources/fsh-generated/resources/List-ExampleISiKMedikationsListe.json index 359479b1..60d7790c 100644 --- a/Resources/fsh-generated/resources/List-ExampleISiKMedikationsListe.json +++ b/Resources/fsh-generated/resources/List-ExampleISiKMedikationsListe.json @@ -20,7 +20,7 @@ "reference": "Patient/PatientinMusterfrau" }, "encounter": { - "reference": "Encounter/Versorgungsstellenkontakt" + "reference": "Encounter/Abteilungskontakt" }, "date": "2021-07-04", "entry": [ diff --git a/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json b/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json index 3e4944e5..159cbaea 100644 --- a/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json +++ b/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json @@ -8,15 +8,6 @@ }, "ingredient": [ { - "extension": [ - { - "valueCoding": { - "system": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/CodeSystem/wirkstofftyp", - "code": "IN" - }, - "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp" - } - ], "strength": { "numerator": { "system": "http://unitsofmeasure.org", @@ -31,6 +22,15 @@ "code": "mL" } }, + "extension": [ + { + "url": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp", + "valueCoding": { + "system": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/CodeSystem/wirkstofftyp", + "code": "IN" + } + } + ], "itemCodeableConcept": { "coding": [ { diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json index 189f3d98..65896a62 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikament", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Clinical.Medications" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "business" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikament", "version": "2.0.2", "name": "ISiKMedikament", @@ -20,28 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil ermöglicht die Abbildung von patientenunabhängigen Informationen zu Medikamenten in ISiK Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "script10.6", - "uri": "http://ncpdp.org/SCRIPT10_6", - "name": "Mapping to NCPDP SCRIPT 10.6" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Medication", @@ -345,8 +313,23 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept", - "path": "Medication.ingredient.itemCodeableConcept", + "id": "Medication.ingredient.item[x]", + "path": "Medication.ingredient.item[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Medication.ingredient.item[x]:itemCodeableConcept", + "path": "Medication.ingredient.item[x]", + "sliceName": "itemCodeableConcept", "short": "Bestandteil in codierter Form oder ggf. als Freitext", "min": 0, "max": "1", @@ -358,8 +341,8 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding", - "path": "Medication.ingredient.itemCodeableConcept.coding", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding", + "path": "Medication.ingredient.item[x].coding", "slicing": { "discriminator": [ { @@ -372,8 +355,8 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ASK", - "path": "Medication.ingredient.itemCodeableConcept.coding", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK", + "path": "Medication.ingredient.item[x].coding", "sliceName": "ASK", "min": 0, "max": "1", @@ -383,25 +366,25 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ASK.system", - "path": "Medication.ingredient.itemCodeableConcept.coding.system", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK.system", + "path": "Medication.ingredient.item[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ASK.code", - "path": "Medication.ingredient.itemCodeableConcept.coding.code", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK.code", + "path": "Medication.ingredient.item[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ASK.display", - "path": "Medication.ingredient.itemCodeableConcept.coding.display", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK.display", + "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE", - "path": "Medication.ingredient.itemCodeableConcept.coding", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE", + "path": "Medication.ingredient.item[x].coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -411,25 +394,25 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE.system", - "path": "Medication.ingredient.itemCodeableConcept.coding.system", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE.system", + "path": "Medication.ingredient.item[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE.code", - "path": "Medication.ingredient.itemCodeableConcept.coding.code", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE.code", + "path": "Medication.ingredient.item[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE.display", - "path": "Medication.ingredient.itemCodeableConcept.coding.display", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE.display", + "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:PZN", - "path": "Medication.ingredient.itemCodeableConcept.coding", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN", + "path": "Medication.ingredient.item[x].coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -439,25 +422,25 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:PZN.system", - "path": "Medication.ingredient.itemCodeableConcept.coding.system", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN.system", + "path": "Medication.ingredient.item[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:PZN.code", - "path": "Medication.ingredient.itemCodeableConcept.coding.code", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN.code", + "path": "Medication.ingredient.item[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:PZN.display", - "path": "Medication.ingredient.itemCodeableConcept.coding.display", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN.display", + "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:WG14", - "path": "Medication.ingredient.itemCodeableConcept.coding", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14", + "path": "Medication.ingredient.item[x].coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -467,30 +450,31 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:WG14.system", - "path": "Medication.ingredient.itemCodeableConcept.coding.system", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14.system", + "path": "Medication.ingredient.item[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:WG14.code", - "path": "Medication.ingredient.itemCodeableConcept.coding.code", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14.code", + "path": "Medication.ingredient.item[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.coding:WG14.display", - "path": "Medication.ingredient.itemCodeableConcept.coding.display", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14.display", + "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.itemCodeableConcept.text", - "path": "Medication.ingredient.itemCodeableConcept.text", + "id": "Medication.ingredient.item[x]:itemCodeableConcept.text", + "path": "Medication.ingredient.item[x].text", "mustSupport": true }, { - "id": "Medication.ingredient.itemReference", - "path": "Medication.ingredient.itemReference", + "id": "Medication.ingredient.item[x]:itemReference", + "path": "Medication.ingredient.item[x]", + "sliceName": "itemReference", "short": "Bestandteil (Referenz auf ein anderes Medikament)", "min": 0, "max": "1", @@ -506,8 +490,8 @@ "mustSupport": true }, { - "id": "Medication.ingredient.itemReference.reference", - "path": "Medication.ingredient.itemReference.reference", + "id": "Medication.ingredient.item[x]:itemReference.reference", + "path": "Medication.ingredient.item[x].reference", "min": 1, "mustSupport": true }, diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json index 8392caa2..7b423a08 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikationTransaction", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Foundation.Other" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "not-classified" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikationTransaction", "version": "2.0.2", "name": "ISiKMedikationTransaction", @@ -20,28 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil definiert die Transaktions-Bundles im Rahmen von ISiK-Medikations-Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "cda", - "uri": "http://hl7.org/v3/cda", - "name": "CDA (R2)" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Bundle", diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json index c7665d49..44f67db8 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikationTransactionResponse", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Foundation.Other" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "not-classified" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikationTransactionResponse", "version": "2.0.2", "name": "ISiKMedikationTransactionResponse", @@ -20,28 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil definiert die Server-Antwort auf Transaktions-Bundles im Rahmen von ISiK-Medikations-Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "cda", - "uri": "http://hl7.org/v3/cda", - "name": "CDA (R2)" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Bundle", diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json index 29c4b534..cf04d6a6 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikationsInformation", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Clinical.Medications" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "patient" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikationsInformation", "version": "2.0.2", "name": "ISiKMedikationsInformation", @@ -20,28 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil ermöglicht die Abbildung von Informationen zur Medikation eines Patienten in ISiK Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - } - ], "kind": "resource", "abstract": false, "type": "MedicationStatement", @@ -83,8 +51,9 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept", - "path": "MedicationStatement.medicationCodeableConcept", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept", + "path": "MedicationStatement.medication[x]", + "sliceName": "medicationCodeableConcept", "short": "Medikament in codierter Form oder ggf. als Freitext", "comment": "kann verwendet werden, wenn keine detaillierten Informationen zum Medikament (z.B. Rezepturen) existieren.", "min": 0, @@ -97,8 +66,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding", - "path": "MedicationStatement.medicationCodeableConcept.coding", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding", + "path": "MedicationStatement.medication[x].coding", "slicing": { "discriminator": [ { @@ -111,8 +80,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:PZN", - "path": "MedicationStatement.medicationCodeableConcept.coding", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN", + "path": "MedicationStatement.medication[x].coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -122,25 +91,25 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:PZN.system", - "path": "MedicationStatement.medicationCodeableConcept.coding.system", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN.system", + "path": "MedicationStatement.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:PZN.code", - "path": "MedicationStatement.medicationCodeableConcept.coding.code", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN.code", + "path": "MedicationStatement.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:PZN.display", - "path": "MedicationStatement.medicationCodeableConcept.coding.display", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN.display", + "path": "MedicationStatement.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE", - "path": "MedicationStatement.medicationCodeableConcept.coding", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE", + "path": "MedicationStatement.medication[x].coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -150,25 +119,25 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE.system", - "path": "MedicationStatement.medicationCodeableConcept.coding.system", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE.system", + "path": "MedicationStatement.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE.code", - "path": "MedicationStatement.medicationCodeableConcept.coding.code", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE.code", + "path": "MedicationStatement.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE.display", - "path": "MedicationStatement.medicationCodeableConcept.coding.display", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE.display", + "path": "MedicationStatement.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:WG14", - "path": "MedicationStatement.medicationCodeableConcept.coding", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14", + "path": "MedicationStatement.medication[x].coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -178,30 +147,31 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:WG14.system", - "path": "MedicationStatement.medicationCodeableConcept.coding.system", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14.system", + "path": "MedicationStatement.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:WG14.code", - "path": "MedicationStatement.medicationCodeableConcept.coding.code", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14.code", + "path": "MedicationStatement.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding:WG14.display", - "path": "MedicationStatement.medicationCodeableConcept.coding.display", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14.display", + "path": "MedicationStatement.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.text", - "path": "MedicationStatement.medicationCodeableConcept.text", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.text", + "path": "MedicationStatement.medication[x].text", "mustSupport": true }, { - "id": "MedicationStatement.medicationReference", - "path": "MedicationStatement.medicationReference", + "id": "MedicationStatement.medication[x]:medicationReference", + "path": "MedicationStatement.medication[x]", + "sliceName": "medicationReference", "short": "Referenz auf das Medikament (Medication-Ressource)", "comment": "wird verwendet, wenn detaillierte Informationen zum Medikament vorliegen", "min": 0, @@ -217,8 +187,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationReference.reference", - "path": "MedicationStatement.medicationReference.reference", + "id": "MedicationStatement.medication[x]:medicationReference.reference", + "path": "MedicationStatement.medication[x].reference", "min": 1, "mustSupport": true }, @@ -272,8 +242,9 @@ "mustSupport": true }, { - "id": "MedicationStatement.effectiveDateTime", - "path": "MedicationStatement.effectiveDateTime", + "id": "MedicationStatement.effective[x]:effectiveDateTime", + "path": "MedicationStatement.effective[x]", + "sliceName": "effectiveDateTime", "short": "Zeitpunkt", "min": 0, "max": "1", @@ -285,8 +256,9 @@ "mustSupport": true }, { - "id": "MedicationStatement.effectivePeriod", - "path": "MedicationStatement.effectivePeriod", + "id": "MedicationStatement.effective[x]:effectivePeriod", + "path": "MedicationStatement.effective[x]", + "sliceName": "effectivePeriod", "short": "Zeitraum", "min": 0, "max": "1", @@ -298,13 +270,13 @@ "mustSupport": true }, { - "id": "MedicationStatement.effectivePeriod.start", - "path": "MedicationStatement.effectivePeriod.start", + "id": "MedicationStatement.effective[x]:effectivePeriod.start", + "path": "MedicationStatement.effective[x].start", "mustSupport": true }, { - "id": "MedicationStatement.effectivePeriod.end", - "path": "MedicationStatement.effectivePeriod.end", + "id": "MedicationStatement.effective[x]:effectivePeriod.end", + "path": "MedicationStatement.effective[x].end", "mustSupport": true }, { @@ -406,8 +378,23 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsDuration", - "path": "MedicationStatement.dosage.timing.repeat.boundsDuration", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x]", + "sliceName": "boundsDuration", "short": "Begrenzung der Dauer", "min": 0, "max": "1", @@ -422,31 +409,32 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.value", - "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.value", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.value", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.unit", - "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.unit", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.unit", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.system", - "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.system", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.system", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.code", - "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.code", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.code", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x]", + "sliceName": "boundsRange", "short": "Bereich für die Begrenzung", "min": 0, "max": "1", @@ -458,70 +446,71 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.value", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.value", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.value", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.unit", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.unit", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.unit", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.system", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.system", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.system", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.code", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.code", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.code", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.value", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.value", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.value", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.unit", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.unit", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.unit", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.system", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.system", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.system", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.code", - "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.code", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.code", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsPeriod", - "path": "MedicationStatement.dosage.timing.repeat.boundsPeriod", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x]", + "sliceName": "boundsPeriod", "short": "begrenzender Zeitraum", "min": 0, "max": "1", @@ -533,13 +522,13 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsPeriod.start", - "path": "MedicationStatement.dosage.timing.repeat.boundsPeriod.start", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.start", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].start", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.boundsPeriod.end", - "path": "MedicationStatement.dosage.timing.repeat.boundsPeriod.end", + "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.end", + "path": "MedicationStatement.dosage.timing.repeat.bounds[x].end", "mustSupport": true }, { @@ -627,8 +616,23 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.asNeededBoolean", - "path": "MedicationStatement.dosage.asNeededBoolean", + "id": "MedicationStatement.dosage.asNeeded[x]", + "path": "MedicationStatement.dosage.asNeeded[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationStatement.dosage.asNeeded[x]:asNeededBoolean", + "path": "MedicationStatement.dosage.asNeeded[x]", + "sliceName": "asNeededBoolean", "short": "Bedarfsmedikation", "min": 0, "max": "1", @@ -788,8 +792,23 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange", - "path": "MedicationStatement.dosage.doseAndRate.doseRange", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]", + "path": "MedicationStatement.dosage.doseAndRate.dose[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange", + "path": "MedicationStatement.dosage.doseAndRate.dose[x]", + "sliceName": "doseRange", "short": "Dosisbereich", "min": 0, "max": "1", @@ -801,70 +820,71 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.low", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.low", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.value", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.value", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.value", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.unit", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.unit", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.unit", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.system", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.system", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.system", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.code", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.code", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.code", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.high", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.high", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.value", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.value", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.value", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.unit", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.unit", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.unit", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.system", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.system", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.system", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.code", - "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.code", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.code", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseQuantity", - "path": "MedicationStatement.dosage.doseAndRate.doseQuantity", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity", + "path": "MedicationStatement.dosage.doseAndRate.dose[x]", + "sliceName": "doseQuantity", "short": "Dosis", "min": 0, "max": "1", @@ -882,31 +902,46 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.value", - "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.value", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.value", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit", - "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.unit", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.system", - "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.system", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.system", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.code", - "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.code", + "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.code", + "path": "MedicationStatement.dosage.doseAndRate.dose[x].code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]", + "path": "MedicationStatement.dosage.doseAndRate.rate[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio", + "path": "MedicationStatement.dosage.doseAndRate.rate[x]", + "sliceName": "rateRatio", "short": "Raten-Verhältnis", "min": 0, "max": "1", @@ -918,70 +953,71 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.value", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.value", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.value", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.unit", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.unit", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.unit", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.system", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.system", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.system", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.code", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.code", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.code", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.value", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.value", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.value", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.unit", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.unit", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.unit", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.system", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.system", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.system", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.code", - "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.code", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.code", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange", - "path": "MedicationStatement.dosage.doseAndRate.rateRange", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange", + "path": "MedicationStatement.dosage.doseAndRate.rate[x]", + "sliceName": "rateRange", "short": "Raten-Bereich", "min": 0, "max": "1", @@ -993,70 +1029,71 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.low", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.low", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.value", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.value", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.value", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.unit", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.unit", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.unit", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.system", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.system", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.system", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.code", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.code", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.code", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.high", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.high", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.value", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.value", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.value", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.unit", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.unit", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.unit", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.system", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.system", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.system", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.code", - "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.code", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.code", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateQuantity", - "path": "MedicationStatement.dosage.doseAndRate.rateQuantity", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity", + "path": "MedicationStatement.dosage.doseAndRate.rate[x]", + "sliceName": "rateQuantity", "short": "Rate", "min": 0, "max": "1", @@ -1074,25 +1111,25 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.value", - "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.value", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.value", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.unit", - "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.unit", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.unit", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.system", - "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.system", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.system", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.code", - "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.code", + "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.code", + "path": "MedicationStatement.dosage.doseAndRate.rate[x].code", "min": 1, "mustSupport": true }, diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json index 1bdd25bc..273ef405 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikationsListe", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Base.Management" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "not-classified" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikationsListe", "version": "2.0.2", "name": "ISiKMedikationsListe", @@ -20,18 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil ermöglicht die Zusammenführung einzelner MedikationsInformationen eines Patienten in ISiK Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "List", diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json index 13a40243..0bf54721 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikationsVerabreichung", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Clinical.Medications" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "patient" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikationsVerabreichung", "version": "2.0.2", "name": "ISiKMedikationsVerabreichung", @@ -20,33 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil ermöglicht die Abbildung der Verabreichung von Medikamenten für einen Patienten in ISiK Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "w3c.prov", - "uri": "http://www.w3.org/ns/prov", - "name": "W3C PROV" - } - ], "kind": "resource", "abstract": false, "type": "MedicationAdministration", @@ -67,8 +30,23 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept", - "path": "MedicationAdministration.medicationCodeableConcept", + "id": "MedicationAdministration.medication[x]", + "path": "MedicationAdministration.medication[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept", + "path": "MedicationAdministration.medication[x]", + "sliceName": "medicationCodeableConcept", "short": "Medikament in codierter Form oder ggf. als Freitext", "comment": "kann verwendet werden, wenn keine detaillierten Informationen zum Medikament (z.B. Rezepturen) existieren.", "min": 0, @@ -81,8 +59,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding", - "path": "MedicationAdministration.medicationCodeableConcept.coding", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding", + "path": "MedicationAdministration.medication[x].coding", "slicing": { "discriminator": [ { @@ -95,8 +73,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN", - "path": "MedicationAdministration.medicationCodeableConcept.coding", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN", + "path": "MedicationAdministration.medication[x].coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -106,25 +84,25 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN.system", - "path": "MedicationAdministration.medicationCodeableConcept.coding.system", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN.system", + "path": "MedicationAdministration.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN.code", - "path": "MedicationAdministration.medicationCodeableConcept.coding.code", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN.code", + "path": "MedicationAdministration.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN.display", - "path": "MedicationAdministration.medicationCodeableConcept.coding.display", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN.display", + "path": "MedicationAdministration.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE", - "path": "MedicationAdministration.medicationCodeableConcept.coding", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE", + "path": "MedicationAdministration.medication[x].coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -134,25 +112,25 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE.system", - "path": "MedicationAdministration.medicationCodeableConcept.coding.system", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE.system", + "path": "MedicationAdministration.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE.code", - "path": "MedicationAdministration.medicationCodeableConcept.coding.code", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE.code", + "path": "MedicationAdministration.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE.display", - "path": "MedicationAdministration.medicationCodeableConcept.coding.display", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE.display", + "path": "MedicationAdministration.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14", - "path": "MedicationAdministration.medicationCodeableConcept.coding", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14", + "path": "MedicationAdministration.medication[x].coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -162,30 +140,31 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14.system", - "path": "MedicationAdministration.medicationCodeableConcept.coding.system", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14.system", + "path": "MedicationAdministration.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14.code", - "path": "MedicationAdministration.medicationCodeableConcept.coding.code", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14.code", + "path": "MedicationAdministration.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14.display", - "path": "MedicationAdministration.medicationCodeableConcept.coding.display", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14.display", + "path": "MedicationAdministration.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationAdministration.medicationCodeableConcept.text", - "path": "MedicationAdministration.medicationCodeableConcept.text", + "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.text", + "path": "MedicationAdministration.medication[x].text", "mustSupport": true }, { - "id": "MedicationAdministration.medicationReference", - "path": "MedicationAdministration.medicationReference", + "id": "MedicationAdministration.medication[x]:medicationReference", + "path": "MedicationAdministration.medication[x]", + "sliceName": "medicationReference", "short": "Referenz auf das Medikament (Medication-Ressource)", "comment": "wird verwendet, wenn detaillierte Informationen zum Medikament vorliegen", "min": 0, @@ -201,8 +180,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medicationReference.reference", - "path": "MedicationAdministration.medicationReference.reference", + "id": "MedicationAdministration.medication[x]:medicationReference.reference", + "path": "MedicationAdministration.medication[x].reference", "min": 1, "mustSupport": true }, @@ -239,8 +218,23 @@ "mustSupport": true }, { - "id": "MedicationAdministration.effectiveDateTime", - "path": "MedicationAdministration.effectiveDateTime", + "id": "MedicationAdministration.effective[x]", + "path": "MedicationAdministration.effective[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationAdministration.effective[x]:effectiveDateTime", + "path": "MedicationAdministration.effective[x]", + "sliceName": "effectiveDateTime", "short": "Zeitpunkt der Verabreichung", "min": 0, "max": "1", @@ -252,8 +246,9 @@ "mustSupport": true }, { - "id": "MedicationAdministration.effectivePeriod", - "path": "MedicationAdministration.effectivePeriod", + "id": "MedicationAdministration.effective[x]:effectivePeriod", + "path": "MedicationAdministration.effective[x]", + "sliceName": "effectivePeriod", "short": "Zeitraum der Verabreichung", "min": 0, "max": "1", @@ -265,13 +260,13 @@ "mustSupport": true }, { - "id": "MedicationAdministration.effectivePeriod.start", - "path": "MedicationAdministration.effectivePeriod.start", + "id": "MedicationAdministration.effective[x]:effectivePeriod.start", + "path": "MedicationAdministration.effective[x].start", "mustSupport": true }, { - "id": "MedicationAdministration.effectivePeriod.end", - "path": "MedicationAdministration.effectivePeriod.end", + "id": "MedicationAdministration.effective[x]:effectivePeriod.end", + "path": "MedicationAdministration.effective[x].end", "mustSupport": true }, { @@ -501,8 +496,23 @@ "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio", - "path": "MedicationAdministration.dosage.rateRatio", + "id": "MedicationAdministration.dosage.rate[x]", + "path": "MedicationAdministration.dosage.rate[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationAdministration.dosage.rate[x]:rateRatio", + "path": "MedicationAdministration.dosage.rate[x]", + "sliceName": "rateRatio", "short": "Verabreichungs-Rate (Verhältnis)", "min": 0, "max": "1", @@ -514,70 +524,71 @@ "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.numerator", - "path": "MedicationAdministration.dosage.rateRatio.numerator", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator", + "path": "MedicationAdministration.dosage.rate[x].numerator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.numerator.value", - "path": "MedicationAdministration.dosage.rateRatio.numerator.value", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.value", + "path": "MedicationAdministration.dosage.rate[x].numerator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.numerator.unit", - "path": "MedicationAdministration.dosage.rateRatio.numerator.unit", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.unit", + "path": "MedicationAdministration.dosage.rate[x].numerator.unit", "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.numerator.system", - "path": "MedicationAdministration.dosage.rateRatio.numerator.system", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.system", + "path": "MedicationAdministration.dosage.rate[x].numerator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.numerator.code", - "path": "MedicationAdministration.dosage.rateRatio.numerator.code", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.code", + "path": "MedicationAdministration.dosage.rate[x].numerator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.denominator", - "path": "MedicationAdministration.dosage.rateRatio.denominator", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator", + "path": "MedicationAdministration.dosage.rate[x].denominator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.denominator.value", - "path": "MedicationAdministration.dosage.rateRatio.denominator.value", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.value", + "path": "MedicationAdministration.dosage.rate[x].denominator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.denominator.unit", - "path": "MedicationAdministration.dosage.rateRatio.denominator.unit", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.unit", + "path": "MedicationAdministration.dosage.rate[x].denominator.unit", "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.denominator.system", - "path": "MedicationAdministration.dosage.rateRatio.denominator.system", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.system", + "path": "MedicationAdministration.dosage.rate[x].denominator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateRatio.denominator.code", - "path": "MedicationAdministration.dosage.rateRatio.denominator.code", + "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.code", + "path": "MedicationAdministration.dosage.rate[x].denominator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateQuantity", - "path": "MedicationAdministration.dosage.rateQuantity", + "id": "MedicationAdministration.dosage.rate[x]:rateQuantity", + "path": "MedicationAdministration.dosage.rate[x]", + "sliceName": "rateQuantity", "short": "Verabreichungs-Rate", "min": 0, "max": "1", @@ -595,25 +606,25 @@ "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateQuantity.value", - "path": "MedicationAdministration.dosage.rateQuantity.value", + "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.value", + "path": "MedicationAdministration.dosage.rate[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateQuantity.unit", - "path": "MedicationAdministration.dosage.rateQuantity.unit", + "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.unit", + "path": "MedicationAdministration.dosage.rate[x].unit", "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateQuantity.system", - "path": "MedicationAdministration.dosage.rateQuantity.system", + "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.system", + "path": "MedicationAdministration.dosage.rate[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rateQuantity.code", - "path": "MedicationAdministration.dosage.rateQuantity.code", + "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.code", + "path": "MedicationAdministration.dosage.rate[x].code", "min": 1, "mustSupport": true } diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json index 87f04e71..487cfa38 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json @@ -1,16 +1,6 @@ { "resourceType": "StructureDefinition", "id": "ISiKMedikationsVerordnung", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Clinical.Medications" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "patient" - } - ], "url": "https://gematik.de/fhir/isik/v2/Medikation/StructureDefinition/ISiKMedikationsVerordnung", "version": "2.0.2", "name": "ISiKMedikationsVerordnung", @@ -20,33 +10,6 @@ "publisher": "gematik GmbH", "description": "Dieses Profil ermöglicht die Abbildung von Medikationsverordnungen eines Patienten in ISiK Szenarien.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "script10.6", - "uri": "http://ncpdp.org/SCRIPT10_6", - "name": "Mapping to NCPDP SCRIPT 10.6" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - } - ], "kind": "resource", "abstract": false, "type": "MedicationRequest", @@ -79,8 +42,23 @@ "max": "0" }, { - "id": "MedicationRequest.medicationCodeableConcept", - "path": "MedicationRequest.medicationCodeableConcept", + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationRequest.medication[x]:medicationCodeableConcept", + "path": "MedicationRequest.medication[x]", + "sliceName": "medicationCodeableConcept", "short": "Medikament in codierter Form oder ggf. als Freitext", "comment": "kann verwendet werden, wenn keine detaillierten Informationen zum Medikament (z.B. Rezepturen) existieren.", "min": 0, @@ -93,8 +71,8 @@ "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding", - "path": "MedicationRequest.medicationCodeableConcept.coding", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding", + "path": "MedicationRequest.medication[x].coding", "slicing": { "discriminator": [ { @@ -107,8 +85,8 @@ "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:PZN", - "path": "MedicationRequest.medicationCodeableConcept.coding", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN", + "path": "MedicationRequest.medication[x].coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -118,25 +96,25 @@ "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:PZN.system", - "path": "MedicationRequest.medicationCodeableConcept.coding.system", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN.system", + "path": "MedicationRequest.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:PZN.code", - "path": "MedicationRequest.medicationCodeableConcept.coding.code", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN.code", + "path": "MedicationRequest.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:PZN.display", - "path": "MedicationRequest.medicationCodeableConcept.coding.display", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN.display", + "path": "MedicationRequest.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE", - "path": "MedicationRequest.medicationCodeableConcept.coding", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE", + "path": "MedicationRequest.medication[x].coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -146,25 +124,25 @@ "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE.system", - "path": "MedicationRequest.medicationCodeableConcept.coding.system", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE.system", + "path": "MedicationRequest.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE.code", - "path": "MedicationRequest.medicationCodeableConcept.coding.code", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE.code", + "path": "MedicationRequest.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE.display", - "path": "MedicationRequest.medicationCodeableConcept.coding.display", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE.display", + "path": "MedicationRequest.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:WG14", - "path": "MedicationRequest.medicationCodeableConcept.coding", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14", + "path": "MedicationRequest.medication[x].coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -174,30 +152,31 @@ "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:WG14.system", - "path": "MedicationRequest.medicationCodeableConcept.coding.system", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14.system", + "path": "MedicationRequest.medication[x].coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:WG14.code", - "path": "MedicationRequest.medicationCodeableConcept.coding.code", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14.code", + "path": "MedicationRequest.medication[x].coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.coding:WG14.display", - "path": "MedicationRequest.medicationCodeableConcept.coding.display", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14.display", + "path": "MedicationRequest.medication[x].coding.display", "mustSupport": true }, { - "id": "MedicationRequest.medicationCodeableConcept.text", - "path": "MedicationRequest.medicationCodeableConcept.text", + "id": "MedicationRequest.medication[x]:medicationCodeableConcept.text", + "path": "MedicationRequest.medication[x].text", "mustSupport": true }, { - "id": "MedicationRequest.medicationReference", - "path": "MedicationRequest.medicationReference", + "id": "MedicationRequest.medication[x]:medicationReference", + "path": "MedicationRequest.medication[x]", + "sliceName": "medicationReference", "short": "Referenz auf das Medikament (Medication-Ressource)", "comment": "wird verwendet, wenn detaillierte Informationen zum Medikament vorliegen", "min": 0, @@ -213,8 +192,8 @@ "mustSupport": true }, { - "id": "MedicationRequest.medicationReference.reference", - "path": "MedicationRequest.medicationReference.reference", + "id": "MedicationRequest.medication[x]:medicationReference.reference", + "path": "MedicationRequest.medication[x].reference", "min": 1, "mustSupport": true }, @@ -316,8 +295,23 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", + "sliceName": "boundsDuration", "short": "Begrenzung der Dauer", "min": 0, "max": "1", @@ -332,31 +326,32 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.value", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.value", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.value", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.unit", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.unit", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.unit", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.system", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.system", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.system", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.code", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.code", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.code", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", + "sliceName": "boundsRange", "short": "Bereich für die Begrenzung", "min": 0, "max": "1", @@ -368,70 +363,71 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.value", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.value", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.value", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.unit", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.unit", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.unit", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.system", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.system", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.system", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.code", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.code", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.code", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.value", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.value", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.value", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.unit", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.unit", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.unit", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.system", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.system", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.system", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.code", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.code", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.code", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", + "sliceName": "boundsPeriod", "short": "begrenzender Zeitraum", "min": 0, "max": "1", @@ -443,13 +439,13 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.start", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.start", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod.start", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].start", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.end", - "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.end", + "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod.end", + "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].end", "mustSupport": true }, { @@ -537,8 +533,23 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.asNeededBoolean", - "path": "MedicationRequest.dosageInstruction.asNeededBoolean", + "id": "MedicationRequest.dosageInstruction.asNeeded[x]", + "path": "MedicationRequest.dosageInstruction.asNeeded[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationRequest.dosageInstruction.asNeeded[x]:asNeededBoolean", + "path": "MedicationRequest.dosageInstruction.asNeeded[x]", + "sliceName": "asNeededBoolean", "short": "Bedarfsmedikation", "min": 0, "max": "1", @@ -698,8 +709,23 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "sliceName": "doseRange", "short": "Dosisbereich", "min": 0, "max": "1", @@ -711,70 +737,71 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "sliceName": "doseQuantity", "short": "Dosis", "min": 0, "max": "1", @@ -792,31 +819,46 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "sliceName": "rateRatio", "short": "Raten-Verhältnis", "min": 0, "max": "1", @@ -828,70 +870,71 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "sliceName": "rateRange", "short": "Raten-Bereich", "min": 0, "max": "1", @@ -903,70 +946,71 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "sliceName": "rateQuantity", "short": "Rate", "min": 0, "max": "1", @@ -984,25 +1028,25 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].code", "min": 1, "mustSupport": true }, @@ -1150,8 +1194,23 @@ "mustSupport": true }, { - "id": "MedicationRequest.substitution.allowedBoolean", - "path": "MedicationRequest.substitution.allowedBoolean", + "id": "MedicationRequest.substitution.allowed[x]", + "path": "MedicationRequest.substitution.allowed[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "MedicationRequest.substitution.allowed[x]:allowedBoolean", + "path": "MedicationRequest.substitution.allowed[x]", + "sliceName": "allowedBoolean", "min": 0, "max": "1", "type": [ diff --git a/Resources/input/fsh/ISiKMedikationsListe.fsh b/Resources/input/fsh/ISiKMedikationsListe.fsh index 0dd8c8a2..65239bc9 100644 --- a/Resources/input/fsh/ISiKMedikationsListe.fsh +++ b/Resources/input/fsh/ISiKMedikationsListe.fsh @@ -49,15 +49,13 @@ InstanceOf: ISiKMedikationsListe Usage: #example * status = #current * mode = #working -* code.coding - * system = "http://terminology.hl7.org/CodeSystem/list-example-use-codes" - * code = #medications +* code.coding[medications] = http://terminology.hl7.org/CodeSystem/list-example-use-codes#medications * subject.reference = "Patient/PatientinMusterfrau" -* encounter.reference = "Encounter/Versorgungsstellenkontakt" +* encounter.reference = "Encounter/Abteilungskontakt" * date = 2021-07-04 -* entry[0] +* entry[+] * date = 2021-07-01 * item.reference = "MedicationStatement/ExampleISiKMedikationsInformation1" -* entry[1] +* entry[+] * date = 2021-07-04 * item.reference = "MedicationStatement/ExampleISiKMedikationsInformation2" diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index 191eac28..4579472c 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -2,14 +2,8 @@ canonical: https://gematik.de/fhir/isik/v2/Medikation fhirVersion: 4.0.1 FSHOnly: true applyExtensionMetadataToRoot: false -id: Implementierungsleitfaden ISiK-Modul Medikation -name: Implementierungsleitfaden ISiK-Modul Medikation status: active version: 2.0.2 -publisher: - name: Gematik GmbH - url: https://www.gematik.de/ - email: ISiK@gematik.de dependencies: de.medizininformatikinitiative.kerndatensatz.medikation: 1.0.10 hl7.fhir.r4.core: 4.0.1