From 195f547c102d08e8e503cfb1c1f17801269b766b Mon Sep 17 00:00:00 2001 From: f-peverali <112709306+f-peverali@users.noreply.github.com> Date: Wed, 3 Jul 2024 10:23:39 +0200 Subject: [PATCH 1/7] add version update workflow + script --- .github/workflows/TC-version-update.yml | 39 ++++++ scripts/config.yaml | 26 ++++ scripts/release_publish.py | 165 ++++++++++++++++++++++++ 3 files changed, 230 insertions(+) create mode 100644 .github/workflows/TC-version-update.yml create mode 100644 scripts/config.yaml create mode 100644 scripts/release_publish.py diff --git a/.github/workflows/TC-version-update.yml b/.github/workflows/TC-version-update.yml new file mode 100644 index 00000000..5327b09e --- /dev/null +++ b/.github/workflows/TC-version-update.yml @@ -0,0 +1,39 @@ +name: TC version update + +# Controls when the action will run. +on: + push: + branches: + - 'TC-*' + - 'TC_*' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# setup python and run script +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout repo content + uses: actions/checkout@v2 # checkout the repository content + + - name: setup python + uses: actions/setup-python@v4 + with: + python-version: '3.10' # install the python version needed + + - name: install python packages + run: | + python -m pip install --upgrade pip + pip install pyyaml + + - name: execute py script # run main.py + run: python ./scripts/release_publish.py -b + + - name: Add & Commit + uses: EndBug/add-and-commit@v9 + with: + committer_name: GitHub Actions Bot + committer_email: ActionBot@github.com + message: auto-generated file update of TC version by GitHub Actions \ No newline at end of file diff --git a/scripts/config.yaml b/scripts/config.yaml new file mode 100644 index 00000000..35ac3426 --- /dev/null +++ b/scripts/config.yaml @@ -0,0 +1,26 @@ +package.json: + - type: version + regex: '("version":\s*")([\d\.]+.*)(")' +sushi-config.yaml: + - type: version + regex: '(version:\s*)(\d+\.\d+\.\d+.*)()' +ruleset.fsh: + - type: version + regex: + - '(\*\s*version\s*=\s*")([\d\.]+.*)(")' + - '(\*\s*\^version\s*=\s*")([\d\.]+.*)(")' + - '(\*\s*implementationGuide\s*=\s*".*\|)([\d\.]+.*)(")' + - type: date + regex: + - '(\*\s*date\s*=\s*")(\d+\-\d+\-\d+)(")' + - '(\*\s*\^date\s*=\s*")(\d+\-\d+\-\d+)(")' + format: '%Y-%m-%d' +Einfuehrung.md: + - type: version + regex: '(Version: \s*)(\d+\.\d+\.\d+.*)()' + - type: date + regex: '(Datum:\s*)(\d+\.\d+\.\d+.*)()' + format: '%d.%m.%Y' +ImplementierungsleitfadenIsiK_Dokumentenaustausch.json: + - type: version + regex: '("version":\s*")(\d+\.\d+\.\d+.*)(",)' \ No newline at end of file diff --git a/scripts/release_publish.py b/scripts/release_publish.py new file mode 100644 index 00000000..cf93aa75 --- /dev/null +++ b/scripts/release_publish.py @@ -0,0 +1,165 @@ +import datetime +import re +import subprocess +import os +import argparse +from datetime import date +import yaml + + +class FileTypeCombinationToUpdate: + def __init__(self, filename, content_type, regex_list, format=None) -> None: + self.filename = filename + self.content_type = content_type + self.regex_list = regex_list + self.format = format + self.location = None + + def set_file_location(self, location): + self.location = location + + +def load_config_file(config_file_path): + with open(config_file_path, 'r') as config_file: + return yaml.safe_load(config_file) + +def get_new_release_version_from_branch_name() -> str: + git_branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']).strip().decode() + return git_branch + + +def modify_TC_branch_name_to_version(git_branch): + if git_branch.startswith('TC-'): + version = git_branch.lstrip('TC-') + elif git_branch.startswith('TC_'): + version = git_branch.lstrip('TC_') + return version + +def create_files_to_update_list(config): + files_to_update = [] + for filename, replacements in config.items(): + for replacement in replacements: + files_to_update.append( + FileTypeCombinationToUpdate( + filename, + replacement["type"], + replacement["regex"] if isinstance(replacement["regex"], list) else [replacement["regex"]], + replacement.get("format", None), + ) + ) + return files_to_update + + +def locate_files_in_current_project(files: list): + located_files = [] + for current_file in files: + file_location = find_file(current_file.filename, ".") + if file_location is not None: + current_file.set_file_location(file_location) + located_files.append(current_file) + else: + print(f"Warning: File '{current_file.filename}' not found.") + return located_files + + +def find_file(name, path="."): + for root, dirs, files in os.walk(path): + if name in files: + print(f"Info: Found '{name}' in {root}.") + return os.path.join(root, name) + return None + + +def replace_content_in_files(files: list, new_release_version: str, new_date: datetime): + if files is None: + print("Error: No files found!") + return + + for FileTypeCombination in files: + if FileTypeCombination.content_type == "version": + replace_version_in_file(FileTypeCombination, new_release_version) + elif FileTypeCombination.content_type == "date": + replace_date_in_file(FileTypeCombination, new_date) + + +def replace_version_in_file(file: FileTypeCombinationToUpdate, new_release_version: str): + with open(file.location, 'r') as input_file: + input_text = input_file.read() + + for regex in file.regex_list: + input_text = re.sub(regex, rf'\g<1>{new_release_version}\g<3>', input_text) + + print(f"Info: Replaced version with '{new_release_version}' in file '{file.location}'.") + + with open(file.location, 'w') as output_file: + output_file.write(input_text) + + +def replace_date_in_file(file: FileTypeCombinationToUpdate, new_date: datetime): + with open(file.location, 'r') as input_file: + input_text = input_file.read() + + for regex in file.regex_list: + input_text = re.sub(regex, rf'\g<1>{new_date.strftime(file.format)}\g<3>', input_text) + + print(f"Info: Replaced date with '{new_date.strftime(file.format)}' in file '{file.location}'.") + + with open(file.location, 'w') as output_file: + output_file.write(input_text) + +def output_commit_messages_since_last_release(): + latest_release_tag = get_latest_release_tag() + if latest_release_tag is None: + print("Warning: No release tag found.") + return + + cmd = f'git log --pretty=format:"%s" {latest_release_tag}..HEAD' + try: + output = subprocess.check_output(cmd, shell=True) + print(output.decode()) + except subprocess.CalledProcessError: + print("Warning: Failed to get commit messages.") + +def get_latest_release_tag(): + cmd = 'git describe --abbrev=0 --tags --match "v*.*.*" HEAD' + try: + output = subprocess.check_output(cmd, shell=True) + return output.decode().strip() + except subprocess.CalledProcessError: + return None + + +def main(): + parser = argparse.ArgumentParser(description='Update release version number and date') + parser.add_argument('-b', '--branch', action='store_true', help='get new version from branch name') + parser.add_argument('-v', '--version', type=str, help='specify new version number') + parser.add_argument('-d', '--date', type=str, help='specify custom date for release') + parser.add_argument('-c', '--config', type=str, default='config.yaml', help='specify config file') + parser.add_argument('-o', '--output', action='store_true', help='output commit messages since last release') + args = parser.parse_args() + + if args.version: + new_release_version = args.version + elif args.branch: + new_release_version = get_new_release_version_from_branch_name() + if new_release_version.startswith('TC'): + new_release_version = modify_TC_branch_name_to_version(new_release_version) + else: + parser.error('No new release version specified. Please use either -v or -b to specify the new release version.') + + if args.date: + custom_date = datetime.datetime.strptime(args.date, '%d.%m.%Y').date() + else: + custom_date = date.today() + + config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), args.config) + config = load_config_file(config_file_path) + files_to_update = create_files_to_update_list(config) + located_files = locate_files_in_current_project(files_to_update) + replace_content_in_files(located_files, new_release_version, custom_date) + + if args.output: + output_commit_messages_since_last_release() + +if __name__ == "__main__": + main() \ No newline at end of file From e463bd7631bae5914802dd9992aba959be24595c Mon Sep 17 00:00:00 2001 From: f-peverali Date: Wed, 3 Jul 2024 08:24:40 +0000 Subject: [PATCH 2/7] auto-generated file update of TC version by GitHub Actions --- ImplementationGuide/markdown/Einfuehrung.md | 4 ++-- Resources/input/fsh/ruleset.fsh | 22 ++++++++++----------- Resources/sushi-config.yaml | 2 +- package.json | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ImplementationGuide/markdown/Einfuehrung.md b/ImplementationGuide/markdown/Einfuehrung.md index 0c80eaa9..90b4d1fb 100644 --- a/ImplementationGuide/markdown/Einfuehrung.md +++ b/ImplementationGuide/markdown/Einfuehrung.md @@ -1,9 +1,9 @@ gematik logo ---- -Version: 2.0.2 +Version: 2.0.3 -Datum: 31.01.2023 +Datum: 03.07.2024 Status: Aktiv diff --git a/Resources/input/fsh/ruleset.fsh b/Resources/input/fsh/ruleset.fsh index 984b85f8..0900b3b7 100644 --- a/Resources/input/fsh/ruleset.fsh +++ b/Resources/input/fsh/ruleset.fsh @@ -2,32 +2,32 @@ RuleSet: Meta * ^status = #active * ^experimental = false * ^publisher = "gematik GmbH" -* ^version = "2.0.2" -* ^date = "2023-01-31" +* ^version = "2.0.3" +* ^date = "2024-07-03" RuleSet: Meta-CapabilityStatementInformation * status = #active * experimental = false -* version = "2.0.2" +* version = "2.0.3" * publisher = "gematik GmbH" -* date = "2023-01-31" -* implementationGuide = "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.2" +* date = "2024-07-03" +* implementationGuide = "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.3" * url = "https://gematik.de/fhir/isik/v2/Medikation/CapabilityStatement/medikation-server/information" RuleSet: Meta-CapabilityStatementVerordnung * status = #active * experimental = false -* version = "2.0.2" +* version = "2.0.3" * publisher = "gematik GmbH" -* date = "2023-01-31" -* implementationGuide = "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.2" +* date = "2024-07-03" +* implementationGuide = "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.3" * url = "https://gematik.de/fhir/isik/v2/Medikation/CapabilityStatement/medikation-server/verordnung" RuleSet: Meta-CapabilityStatementVerabreichung * status = #active * experimental = false -* version = "2.0.2" +* version = "2.0.3" * publisher = "gematik GmbH" -* date = "2023-01-31" -* implementationGuide = "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.2" +* date = "2024-07-03" +* implementationGuide = "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.3" * url = "https://gematik.de/fhir/isik/v2/Medikation/CapabilityStatement/medikation-server/verabreichung" \ No newline at end of file diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index 4579472c..2fa75850 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -3,7 +3,7 @@ fhirVersion: 4.0.1 FSHOnly: true applyExtensionMetadataToRoot: false status: active -version: 2.0.2 +version: 2.0.3 dependencies: de.medizininformatikinitiative.kerndatensatz.medikation: 1.0.10 hl7.fhir.r4.core: 4.0.1 diff --git a/package.json b/package.json index b6f7ecde..cd5900e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "de.gematik.isik-medikation", - "version": "2.0.2", + "version": "2.0.3", "fhirVersions": [ "4.0.1" ], From 7b45e0742e05f91ba324bb052eb4323549ddaa44 Mon Sep 17 00:00:00 2001 From: f-peverali <112709306+f-peverali@users.noreply.github.com> Date: Wed, 3 Jul 2024 10:28:17 +0200 Subject: [PATCH 3/7] update BAsis ISiK dependency to wildcard --- Resources/sushi-config.yaml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index 2fa75850..611c1dbb 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -7,4 +7,4 @@ version: 2.0.3 dependencies: de.medizininformatikinitiative.kerndatensatz.medikation: 1.0.10 hl7.fhir.r4.core: 4.0.1 - de.gematik.isik-basismodul: 2.0.4 + de.gematik.isik-basismodul: 2.0.x diff --git a/package.json b/package.json index cd5900e9..9a387f57 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,6 @@ "hl7.fhir.r4.core": "4.0.1", "de.medizininformatikinitiative.kerndatensatz.medikation": "1.0.10", "hl7.fhir.uv.ips": "1.0.0", - "de.gematik.isik-basismodul": "2.0.4" + "de.gematik.isik-basismodul": "2.0.x" } } From 820c01ca55fdd67e687a70238ffe5f59e6b7c134 Mon Sep 17 00:00:00 2001 From: f-peverali <112709306+f-peverali@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:17:36 +0200 Subject: [PATCH 4/7] rm MS-Flag (#132) * rm MS-Flag * update releasenotes * Commit from GitHub Actions (CI (FHIR Validation)) --------- Co-authored-by: f-peverali --- ImplementationGuide/markdown/ReleaseNotes.md | 2 + .../Medication-ExampleISiKMedikament2.json | 18 +- .../StructureDefinition-ISiKMedikament.json | 132 ++--- ...eDefinition-ISiKMedikationTransaction.json | 32 ++ ...ion-ISiKMedikationTransactionResponse.json | 32 ++ ...Definition-ISiKMedikationsInformation.json | 443 ++++++++--------- ...uctureDefinition-ISiKMedikationsListe.json | 22 + ...finition-ISiKMedikationsVerabreichung.json | 233 +++++---- ...eDefinition-ISiKMedikationsVerordnung.json | 457 ++++++++---------- .../input/fsh/ISiKMedikationsInformation.fsh | 2 - 10 files changed, 681 insertions(+), 692 deletions(-) diff --git a/ImplementationGuide/markdown/ReleaseNotes.md b/ImplementationGuide/markdown/ReleaseNotes.md index 9a97e1b8..5eb96329 100644 --- a/ImplementationGuide/markdown/ReleaseNotes.md +++ b/ImplementationGuide/markdown/ReleaseNotes.md @@ -9,7 +9,9 @@ Version: 2.0.3 Datum: tbd +- Entfernen von MS von MedicationStatement.partOf (Analog in Stufe 4.0.0-rc2) https://github.com/gematik/spec-ISiK-Medikation/pull/132 - 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/Medication-ExampleISiKMedikament2.json b/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json index 159cbaea..3e4944e5 100644 --- a/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json +++ b/Resources/fsh-generated/resources/Medication-ExampleISiKMedikament2.json @@ -8,6 +8,15 @@ }, "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", @@ -22,15 +31,6 @@ "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 65896a62..189f3d98 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,28 @@ "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", @@ -313,23 +345,8 @@ "mustSupport": true }, { - "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", + "id": "Medication.ingredient.itemCodeableConcept", + "path": "Medication.ingredient.itemCodeableConcept", "short": "Bestandteil in codierter Form oder ggf. als Freitext", "min": 0, "max": "1", @@ -341,8 +358,8 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding", - "path": "Medication.ingredient.item[x].coding", + "id": "Medication.ingredient.itemCodeableConcept.coding", + "path": "Medication.ingredient.itemCodeableConcept.coding", "slicing": { "discriminator": [ { @@ -355,8 +372,8 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK", - "path": "Medication.ingredient.item[x].coding", + "id": "Medication.ingredient.itemCodeableConcept.coding:ASK", + "path": "Medication.ingredient.itemCodeableConcept.coding", "sliceName": "ASK", "min": 0, "max": "1", @@ -366,25 +383,25 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK.system", - "path": "Medication.ingredient.item[x].coding.system", + "id": "Medication.ingredient.itemCodeableConcept.coding:ASK.system", + "path": "Medication.ingredient.itemCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK.code", - "path": "Medication.ingredient.item[x].coding.code", + "id": "Medication.ingredient.itemCodeableConcept.coding:ASK.code", + "path": "Medication.ingredient.itemCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK.display", - "path": "Medication.ingredient.item[x].coding.display", + "id": "Medication.ingredient.itemCodeableConcept.coding:ASK.display", + "path": "Medication.ingredient.itemCodeableConcept.coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE", - "path": "Medication.ingredient.item[x].coding", + "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE", + "path": "Medication.ingredient.itemCodeableConcept.coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -394,25 +411,25 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE.system", - "path": "Medication.ingredient.item[x].coding.system", + "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE.system", + "path": "Medication.ingredient.itemCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE.code", - "path": "Medication.ingredient.item[x].coding.code", + "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE.code", + "path": "Medication.ingredient.itemCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ATC-DE.display", - "path": "Medication.ingredient.item[x].coding.display", + "id": "Medication.ingredient.itemCodeableConcept.coding:ATC-DE.display", + "path": "Medication.ingredient.itemCodeableConcept.coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN", - "path": "Medication.ingredient.item[x].coding", + "id": "Medication.ingredient.itemCodeableConcept.coding:PZN", + "path": "Medication.ingredient.itemCodeableConcept.coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -422,25 +439,25 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN.system", - "path": "Medication.ingredient.item[x].coding.system", + "id": "Medication.ingredient.itemCodeableConcept.coding:PZN.system", + "path": "Medication.ingredient.itemCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN.code", - "path": "Medication.ingredient.item[x].coding.code", + "id": "Medication.ingredient.itemCodeableConcept.coding:PZN.code", + "path": "Medication.ingredient.itemCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN.display", - "path": "Medication.ingredient.item[x].coding.display", + "id": "Medication.ingredient.itemCodeableConcept.coding:PZN.display", + "path": "Medication.ingredient.itemCodeableConcept.coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14", - "path": "Medication.ingredient.item[x].coding", + "id": "Medication.ingredient.itemCodeableConcept.coding:WG14", + "path": "Medication.ingredient.itemCodeableConcept.coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -450,31 +467,30 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14.system", - "path": "Medication.ingredient.item[x].coding.system", + "id": "Medication.ingredient.itemCodeableConcept.coding:WG14.system", + "path": "Medication.ingredient.itemCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14.code", - "path": "Medication.ingredient.item[x].coding.code", + "id": "Medication.ingredient.itemCodeableConcept.coding:WG14.code", + "path": "Medication.ingredient.itemCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:WG14.display", - "path": "Medication.ingredient.item[x].coding.display", + "id": "Medication.ingredient.itemCodeableConcept.coding:WG14.display", + "path": "Medication.ingredient.itemCodeableConcept.coding.display", "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemCodeableConcept.text", - "path": "Medication.ingredient.item[x].text", + "id": "Medication.ingredient.itemCodeableConcept.text", + "path": "Medication.ingredient.itemCodeableConcept.text", "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemReference", - "path": "Medication.ingredient.item[x]", - "sliceName": "itemReference", + "id": "Medication.ingredient.itemReference", + "path": "Medication.ingredient.itemReference", "short": "Bestandteil (Referenz auf ein anderes Medikament)", "min": 0, "max": "1", @@ -490,8 +506,8 @@ "mustSupport": true }, { - "id": "Medication.ingredient.item[x]:itemReference.reference", - "path": "Medication.ingredient.item[x].reference", + "id": "Medication.ingredient.itemReference.reference", + "path": "Medication.ingredient.itemReference.reference", "min": 1, "mustSupport": true }, diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json index 7b423a08..8392caa2 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,28 @@ "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 44f67db8..c7665d49 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,28 @@ "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 cf04d6a6..0f42b03d 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,28 @@ "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", @@ -23,12 +55,6 @@ "short": "eindeutige ID der Ressource auf dem Server", "mustSupport": true }, - { - "id": "MedicationStatement.partOf", - "path": "MedicationStatement.partOf", - "short": "Referenz auf andere Objekte, deren Bestandteil diese MedikationsInformation ist", - "mustSupport": true - }, { "id": "MedicationStatement.status", "path": "MedicationStatement.status", @@ -51,9 +77,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept", - "path": "MedicationStatement.medication[x]", - "sliceName": "medicationCodeableConcept", + "id": "MedicationStatement.medicationCodeableConcept", + "path": "MedicationStatement.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, @@ -66,8 +91,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding", - "path": "MedicationStatement.medication[x].coding", + "id": "MedicationStatement.medicationCodeableConcept.coding", + "path": "MedicationStatement.medicationCodeableConcept.coding", "slicing": { "discriminator": [ { @@ -80,8 +105,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN", - "path": "MedicationStatement.medication[x].coding", + "id": "MedicationStatement.medicationCodeableConcept.coding:PZN", + "path": "MedicationStatement.medicationCodeableConcept.coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -91,25 +116,25 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN.system", - "path": "MedicationStatement.medication[x].coding.system", + "id": "MedicationStatement.medicationCodeableConcept.coding:PZN.system", + "path": "MedicationStatement.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN.code", - "path": "MedicationStatement.medication[x].coding.code", + "id": "MedicationStatement.medicationCodeableConcept.coding:PZN.code", + "path": "MedicationStatement.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:PZN.display", - "path": "MedicationStatement.medication[x].coding.display", + "id": "MedicationStatement.medicationCodeableConcept.coding:PZN.display", + "path": "MedicationStatement.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE", - "path": "MedicationStatement.medication[x].coding", + "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE", + "path": "MedicationStatement.medicationCodeableConcept.coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -119,25 +144,25 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE.system", - "path": "MedicationStatement.medication[x].coding.system", + "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE.system", + "path": "MedicationStatement.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE.code", - "path": "MedicationStatement.medication[x].coding.code", + "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE.code", + "path": "MedicationStatement.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:ATC-DE.display", - "path": "MedicationStatement.medication[x].coding.display", + "id": "MedicationStatement.medicationCodeableConcept.coding:ATC-DE.display", + "path": "MedicationStatement.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14", - "path": "MedicationStatement.medication[x].coding", + "id": "MedicationStatement.medicationCodeableConcept.coding:WG14", + "path": "MedicationStatement.medicationCodeableConcept.coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -147,31 +172,30 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14.system", - "path": "MedicationStatement.medication[x].coding.system", + "id": "MedicationStatement.medicationCodeableConcept.coding:WG14.system", + "path": "MedicationStatement.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14.code", - "path": "MedicationStatement.medication[x].coding.code", + "id": "MedicationStatement.medicationCodeableConcept.coding:WG14.code", + "path": "MedicationStatement.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:WG14.display", - "path": "MedicationStatement.medication[x].coding.display", + "id": "MedicationStatement.medicationCodeableConcept.coding:WG14.display", + "path": "MedicationStatement.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationCodeableConcept.text", - "path": "MedicationStatement.medication[x].text", + "id": "MedicationStatement.medicationCodeableConcept.text", + "path": "MedicationStatement.medicationCodeableConcept.text", "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationReference", - "path": "MedicationStatement.medication[x]", - "sliceName": "medicationReference", + "id": "MedicationStatement.medicationReference", + "path": "MedicationStatement.medicationReference", "short": "Referenz auf das Medikament (Medication-Ressource)", "comment": "wird verwendet, wenn detaillierte Informationen zum Medikament vorliegen", "min": 0, @@ -187,8 +211,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medication[x]:medicationReference.reference", - "path": "MedicationStatement.medication[x].reference", + "id": "MedicationStatement.medicationReference.reference", + "path": "MedicationStatement.medicationReference.reference", "min": 1, "mustSupport": true }, @@ -242,9 +266,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.effective[x]:effectiveDateTime", - "path": "MedicationStatement.effective[x]", - "sliceName": "effectiveDateTime", + "id": "MedicationStatement.effectiveDateTime", + "path": "MedicationStatement.effectiveDateTime", "short": "Zeitpunkt", "min": 0, "max": "1", @@ -256,9 +279,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.effective[x]:effectivePeriod", - "path": "MedicationStatement.effective[x]", - "sliceName": "effectivePeriod", + "id": "MedicationStatement.effectivePeriod", + "path": "MedicationStatement.effectivePeriod", "short": "Zeitraum", "min": 0, "max": "1", @@ -270,13 +292,13 @@ "mustSupport": true }, { - "id": "MedicationStatement.effective[x]:effectivePeriod.start", - "path": "MedicationStatement.effective[x].start", + "id": "MedicationStatement.effectivePeriod.start", + "path": "MedicationStatement.effectivePeriod.start", "mustSupport": true }, { - "id": "MedicationStatement.effective[x]:effectivePeriod.end", - "path": "MedicationStatement.effective[x].end", + "id": "MedicationStatement.effectivePeriod.end", + "path": "MedicationStatement.effectivePeriod.end", "mustSupport": true }, { @@ -378,23 +400,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationStatement.dosage.timing.repeat.boundsDuration", + "path": "MedicationStatement.dosage.timing.repeat.boundsDuration", "short": "Begrenzung der Dauer", "min": 0, "max": "1", @@ -409,32 +416,31 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.value", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].value", + "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.value", + "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.unit", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].unit", + "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.unit", + "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.system", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].system", + "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.system", + "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsDuration.code", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].code", + "id": "MedicationStatement.dosage.timing.repeat.boundsDuration.code", + "path": "MedicationStatement.dosage.timing.repeat.boundsDuration.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x]", - "sliceName": "boundsRange", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange", "short": "Bereich für die Begrenzung", "min": 0, "max": "1", @@ -446,71 +452,70 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.value", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.value", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.value", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.unit", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.unit", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.unit", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.system", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.system", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.system", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.low.code", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].low.code", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.low.code", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.value", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.value", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.value", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.unit", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.unit", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.unit", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.system", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.system", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.system", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsRange.high.code", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].high.code", + "id": "MedicationStatement.dosage.timing.repeat.boundsRange.high.code", + "path": "MedicationStatement.dosage.timing.repeat.boundsRange.high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x]", - "sliceName": "boundsPeriod", + "id": "MedicationStatement.dosage.timing.repeat.boundsPeriod", + "path": "MedicationStatement.dosage.timing.repeat.boundsPeriod", "short": "begrenzender Zeitraum", "min": 0, "max": "1", @@ -522,13 +527,13 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.start", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].start", + "id": "MedicationStatement.dosage.timing.repeat.boundsPeriod.start", + "path": "MedicationStatement.dosage.timing.repeat.boundsPeriod.start", "mustSupport": true }, { - "id": "MedicationStatement.dosage.timing.repeat.bounds[x]:boundsPeriod.end", - "path": "MedicationStatement.dosage.timing.repeat.bounds[x].end", + "id": "MedicationStatement.dosage.timing.repeat.boundsPeriod.end", + "path": "MedicationStatement.dosage.timing.repeat.boundsPeriod.end", "mustSupport": true }, { @@ -616,23 +621,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationStatement.dosage.asNeededBoolean", + "path": "MedicationStatement.dosage.asNeededBoolean", "short": "Bedarfsmedikation", "min": 0, "max": "1", @@ -792,23 +782,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationStatement.dosage.doseAndRate.doseRange", + "path": "MedicationStatement.dosage.doseAndRate.doseRange", "short": "Dosisbereich", "min": 0, "max": "1", @@ -820,71 +795,70 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].low", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.low", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.value", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.value", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.value", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.unit", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.unit", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.unit", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.system", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.system", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.system", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.low.code", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].low.code", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.low.code", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].high", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.high", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.value", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.value", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.value", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.unit", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.unit", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.unit", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.system", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.system", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.system", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseRange.high.code", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].high.code", + "id": "MedicationStatement.dosage.doseAndRate.doseRange.high.code", + "path": "MedicationStatement.dosage.doseAndRate.doseRange.high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity", - "path": "MedicationStatement.dosage.doseAndRate.dose[x]", - "sliceName": "doseQuantity", + "id": "MedicationStatement.dosage.doseAndRate.doseQuantity", + "path": "MedicationStatement.dosage.doseAndRate.doseQuantity", "short": "Dosis", "min": 0, "max": "1", @@ -902,46 +876,31 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.value", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].value", + "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.value", + "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.unit", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].unit", + "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit", + "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.system", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].system", + "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.system", + "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]:doseQuantity.code", - "path": "MedicationStatement.dosage.doseAndRate.dose[x].code", + "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.code", + "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.code", "min": 1, "mustSupport": true }, { - "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", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio", "short": "Raten-Verhältnis", "min": 0, "max": "1", @@ -953,71 +912,70 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.value", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.value", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.value", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.unit", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.unit", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.unit", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.system", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.system", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.system", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.numerator.code", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].numerator.code", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.code", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.numerator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.value", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.value", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.value", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.unit", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.unit", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.unit", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.system", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.system", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.system", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRatio.denominator.code", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].denominator.code", + "id": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.code", + "path": "MedicationStatement.dosage.doseAndRate.rateRatio.denominator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange", - "path": "MedicationStatement.dosage.doseAndRate.rate[x]", - "sliceName": "rateRange", + "id": "MedicationStatement.dosage.doseAndRate.rateRange", + "path": "MedicationStatement.dosage.doseAndRate.rateRange", "short": "Raten-Bereich", "min": 0, "max": "1", @@ -1029,71 +987,70 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].low", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.low", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.value", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.value", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.value", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.unit", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.unit", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.unit", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.system", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.system", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.system", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.low.code", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].low.code", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.low.code", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].high", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.high", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.value", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.value", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.value", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.unit", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.unit", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.unit", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.system", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.system", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.system", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateRange.high.code", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].high.code", + "id": "MedicationStatement.dosage.doseAndRate.rateRange.high.code", + "path": "MedicationStatement.dosage.doseAndRate.rateRange.high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity", - "path": "MedicationStatement.dosage.doseAndRate.rate[x]", - "sliceName": "rateQuantity", + "id": "MedicationStatement.dosage.doseAndRate.rateQuantity", + "path": "MedicationStatement.dosage.doseAndRate.rateQuantity", "short": "Rate", "min": 0, "max": "1", @@ -1111,25 +1068,25 @@ "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.value", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].value", + "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.value", + "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.value", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.unit", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].unit", + "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.unit", + "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.unit", "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.system", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].system", + "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.system", + "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.system", "min": 1, "mustSupport": true }, { - "id": "MedicationStatement.dosage.doseAndRate.rate[x]:rateQuantity.code", - "path": "MedicationStatement.dosage.doseAndRate.rate[x].code", + "id": "MedicationStatement.dosage.doseAndRate.rateQuantity.code", + "path": "MedicationStatement.dosage.doseAndRate.rateQuantity.code", "min": 1, "mustSupport": true }, diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json index 273ef405..1bdd25bc 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,18 @@ "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 0bf54721..13a40243 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,33 @@ "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", @@ -30,23 +67,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationAdministration.medicationCodeableConcept", + "path": "MedicationAdministration.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, @@ -59,8 +81,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding", - "path": "MedicationAdministration.medication[x].coding", + "id": "MedicationAdministration.medicationCodeableConcept.coding", + "path": "MedicationAdministration.medicationCodeableConcept.coding", "slicing": { "discriminator": [ { @@ -73,8 +95,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN", - "path": "MedicationAdministration.medication[x].coding", + "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN", + "path": "MedicationAdministration.medicationCodeableConcept.coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -84,25 +106,25 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN.system", - "path": "MedicationAdministration.medication[x].coding.system", + "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN.system", + "path": "MedicationAdministration.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN.code", - "path": "MedicationAdministration.medication[x].coding.code", + "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN.code", + "path": "MedicationAdministration.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:PZN.display", - "path": "MedicationAdministration.medication[x].coding.display", + "id": "MedicationAdministration.medicationCodeableConcept.coding:PZN.display", + "path": "MedicationAdministration.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE", - "path": "MedicationAdministration.medication[x].coding", + "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE", + "path": "MedicationAdministration.medicationCodeableConcept.coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -112,25 +134,25 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE.system", - "path": "MedicationAdministration.medication[x].coding.system", + "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE.system", + "path": "MedicationAdministration.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE.code", - "path": "MedicationAdministration.medication[x].coding.code", + "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE.code", + "path": "MedicationAdministration.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:ATC-DE.display", - "path": "MedicationAdministration.medication[x].coding.display", + "id": "MedicationAdministration.medicationCodeableConcept.coding:ATC-DE.display", + "path": "MedicationAdministration.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14", - "path": "MedicationAdministration.medication[x].coding", + "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14", + "path": "MedicationAdministration.medicationCodeableConcept.coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -140,31 +162,30 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14.system", - "path": "MedicationAdministration.medication[x].coding.system", + "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14.system", + "path": "MedicationAdministration.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14.code", - "path": "MedicationAdministration.medication[x].coding.code", + "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14.code", + "path": "MedicationAdministration.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.coding:WG14.display", - "path": "MedicationAdministration.medication[x].coding.display", + "id": "MedicationAdministration.medicationCodeableConcept.coding:WG14.display", + "path": "MedicationAdministration.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationCodeableConcept.text", - "path": "MedicationAdministration.medication[x].text", + "id": "MedicationAdministration.medicationCodeableConcept.text", + "path": "MedicationAdministration.medicationCodeableConcept.text", "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationReference", - "path": "MedicationAdministration.medication[x]", - "sliceName": "medicationReference", + "id": "MedicationAdministration.medicationReference", + "path": "MedicationAdministration.medicationReference", "short": "Referenz auf das Medikament (Medication-Ressource)", "comment": "wird verwendet, wenn detaillierte Informationen zum Medikament vorliegen", "min": 0, @@ -180,8 +201,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.medication[x]:medicationReference.reference", - "path": "MedicationAdministration.medication[x].reference", + "id": "MedicationAdministration.medicationReference.reference", + "path": "MedicationAdministration.medicationReference.reference", "min": 1, "mustSupport": true }, @@ -218,23 +239,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationAdministration.effectiveDateTime", + "path": "MedicationAdministration.effectiveDateTime", "short": "Zeitpunkt der Verabreichung", "min": 0, "max": "1", @@ -246,9 +252,8 @@ "mustSupport": true }, { - "id": "MedicationAdministration.effective[x]:effectivePeriod", - "path": "MedicationAdministration.effective[x]", - "sliceName": "effectivePeriod", + "id": "MedicationAdministration.effectivePeriod", + "path": "MedicationAdministration.effectivePeriod", "short": "Zeitraum der Verabreichung", "min": 0, "max": "1", @@ -260,13 +265,13 @@ "mustSupport": true }, { - "id": "MedicationAdministration.effective[x]:effectivePeriod.start", - "path": "MedicationAdministration.effective[x].start", + "id": "MedicationAdministration.effectivePeriod.start", + "path": "MedicationAdministration.effectivePeriod.start", "mustSupport": true }, { - "id": "MedicationAdministration.effective[x]:effectivePeriod.end", - "path": "MedicationAdministration.effective[x].end", + "id": "MedicationAdministration.effectivePeriod.end", + "path": "MedicationAdministration.effectivePeriod.end", "mustSupport": true }, { @@ -496,23 +501,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationAdministration.dosage.rateRatio", + "path": "MedicationAdministration.dosage.rateRatio", "short": "Verabreichungs-Rate (Verhältnis)", "min": 0, "max": "1", @@ -524,71 +514,70 @@ "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator", - "path": "MedicationAdministration.dosage.rate[x].numerator", + "id": "MedicationAdministration.dosage.rateRatio.numerator", + "path": "MedicationAdministration.dosage.rateRatio.numerator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.value", - "path": "MedicationAdministration.dosage.rate[x].numerator.value", + "id": "MedicationAdministration.dosage.rateRatio.numerator.value", + "path": "MedicationAdministration.dosage.rateRatio.numerator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.unit", - "path": "MedicationAdministration.dosage.rate[x].numerator.unit", + "id": "MedicationAdministration.dosage.rateRatio.numerator.unit", + "path": "MedicationAdministration.dosage.rateRatio.numerator.unit", "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.system", - "path": "MedicationAdministration.dosage.rate[x].numerator.system", + "id": "MedicationAdministration.dosage.rateRatio.numerator.system", + "path": "MedicationAdministration.dosage.rateRatio.numerator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.numerator.code", - "path": "MedicationAdministration.dosage.rate[x].numerator.code", + "id": "MedicationAdministration.dosage.rateRatio.numerator.code", + "path": "MedicationAdministration.dosage.rateRatio.numerator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator", - "path": "MedicationAdministration.dosage.rate[x].denominator", + "id": "MedicationAdministration.dosage.rateRatio.denominator", + "path": "MedicationAdministration.dosage.rateRatio.denominator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.value", - "path": "MedicationAdministration.dosage.rate[x].denominator.value", + "id": "MedicationAdministration.dosage.rateRatio.denominator.value", + "path": "MedicationAdministration.dosage.rateRatio.denominator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.unit", - "path": "MedicationAdministration.dosage.rate[x].denominator.unit", + "id": "MedicationAdministration.dosage.rateRatio.denominator.unit", + "path": "MedicationAdministration.dosage.rateRatio.denominator.unit", "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.system", - "path": "MedicationAdministration.dosage.rate[x].denominator.system", + "id": "MedicationAdministration.dosage.rateRatio.denominator.system", + "path": "MedicationAdministration.dosage.rateRatio.denominator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateRatio.denominator.code", - "path": "MedicationAdministration.dosage.rate[x].denominator.code", + "id": "MedicationAdministration.dosage.rateRatio.denominator.code", + "path": "MedicationAdministration.dosage.rateRatio.denominator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateQuantity", - "path": "MedicationAdministration.dosage.rate[x]", - "sliceName": "rateQuantity", + "id": "MedicationAdministration.dosage.rateQuantity", + "path": "MedicationAdministration.dosage.rateQuantity", "short": "Verabreichungs-Rate", "min": 0, "max": "1", @@ -606,25 +595,25 @@ "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.value", - "path": "MedicationAdministration.dosage.rate[x].value", + "id": "MedicationAdministration.dosage.rateQuantity.value", + "path": "MedicationAdministration.dosage.rateQuantity.value", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.unit", - "path": "MedicationAdministration.dosage.rate[x].unit", + "id": "MedicationAdministration.dosage.rateQuantity.unit", + "path": "MedicationAdministration.dosage.rateQuantity.unit", "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.system", - "path": "MedicationAdministration.dosage.rate[x].system", + "id": "MedicationAdministration.dosage.rateQuantity.system", + "path": "MedicationAdministration.dosage.rateQuantity.system", "min": 1, "mustSupport": true }, { - "id": "MedicationAdministration.dosage.rate[x]:rateQuantity.code", - "path": "MedicationAdministration.dosage.rate[x].code", + "id": "MedicationAdministration.dosage.rateQuantity.code", + "path": "MedicationAdministration.dosage.rateQuantity.code", "min": 1, "mustSupport": true } diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json index 487cfa38..87f04e71 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json @@ -1,6 +1,16 @@ { "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", @@ -10,6 +20,33 @@ "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", @@ -42,23 +79,8 @@ "max": "0" }, { - "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", + "id": "MedicationRequest.medicationCodeableConcept", + "path": "MedicationRequest.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, @@ -71,8 +93,8 @@ "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding", - "path": "MedicationRequest.medication[x].coding", + "id": "MedicationRequest.medicationCodeableConcept.coding", + "path": "MedicationRequest.medicationCodeableConcept.coding", "slicing": { "discriminator": [ { @@ -85,8 +107,8 @@ "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN", - "path": "MedicationRequest.medication[x].coding", + "id": "MedicationRequest.medicationCodeableConcept.coding:PZN", + "path": "MedicationRequest.medicationCodeableConcept.coding", "sliceName": "PZN", "min": 0, "max": "1", @@ -96,25 +118,25 @@ "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN.system", - "path": "MedicationRequest.medication[x].coding.system", + "id": "MedicationRequest.medicationCodeableConcept.coding:PZN.system", + "path": "MedicationRequest.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN.code", - "path": "MedicationRequest.medication[x].coding.code", + "id": "MedicationRequest.medicationCodeableConcept.coding:PZN.code", + "path": "MedicationRequest.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:PZN.display", - "path": "MedicationRequest.medication[x].coding.display", + "id": "MedicationRequest.medicationCodeableConcept.coding:PZN.display", + "path": "MedicationRequest.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE", - "path": "MedicationRequest.medication[x].coding", + "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE", + "path": "MedicationRequest.medicationCodeableConcept.coding", "sliceName": "ATC-DE", "min": 0, "max": "1", @@ -124,25 +146,25 @@ "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE.system", - "path": "MedicationRequest.medication[x].coding.system", + "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE.system", + "path": "MedicationRequest.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE.code", - "path": "MedicationRequest.medication[x].coding.code", + "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE.code", + "path": "MedicationRequest.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATC-DE.display", - "path": "MedicationRequest.medication[x].coding.display", + "id": "MedicationRequest.medicationCodeableConcept.coding:ATC-DE.display", + "path": "MedicationRequest.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14", - "path": "MedicationRequest.medication[x].coding", + "id": "MedicationRequest.medicationCodeableConcept.coding:WG14", + "path": "MedicationRequest.medicationCodeableConcept.coding", "sliceName": "WG14", "min": 0, "max": "1", @@ -152,31 +174,30 @@ "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14.system", - "path": "MedicationRequest.medication[x].coding.system", + "id": "MedicationRequest.medicationCodeableConcept.coding:WG14.system", + "path": "MedicationRequest.medicationCodeableConcept.coding.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14.code", - "path": "MedicationRequest.medication[x].coding.code", + "id": "MedicationRequest.medicationCodeableConcept.coding:WG14.code", + "path": "MedicationRequest.medicationCodeableConcept.coding.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:WG14.display", - "path": "MedicationRequest.medication[x].coding.display", + "id": "MedicationRequest.medicationCodeableConcept.coding:WG14.display", + "path": "MedicationRequest.medicationCodeableConcept.coding.display", "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationCodeableConcept.text", - "path": "MedicationRequest.medication[x].text", + "id": "MedicationRequest.medicationCodeableConcept.text", + "path": "MedicationRequest.medicationCodeableConcept.text", "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationReference", - "path": "MedicationRequest.medication[x]", - "sliceName": "medicationReference", + "id": "MedicationRequest.medicationReference", + "path": "MedicationRequest.medicationReference", "short": "Referenz auf das Medikament (Medication-Ressource)", "comment": "wird verwendet, wenn detaillierte Informationen zum Medikament vorliegen", "min": 0, @@ -192,8 +213,8 @@ "mustSupport": true }, { - "id": "MedicationRequest.medication[x]:medicationReference.reference", - "path": "MedicationRequest.medication[x].reference", + "id": "MedicationRequest.medicationReference.reference", + "path": "MedicationRequest.medicationReference.reference", "min": 1, "mustSupport": true }, @@ -295,23 +316,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration", "short": "Begrenzung der Dauer", "min": 0, "max": "1", @@ -326,32 +332,31 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.value", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].value", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.value", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.unit", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].unit", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.unit", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.system", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].system", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.system", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.code", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].code", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.code", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsDuration.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", - "sliceName": "boundsRange", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange", "short": "Bereich für die Begrenzung", "min": 0, "max": "1", @@ -363,71 +368,70 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.value", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.value", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.value", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.unit", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.unit", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.unit", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.system", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.system", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.system", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.code", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].low.code", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.code", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.value", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.value", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.value", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.unit", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.unit", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.unit", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.system", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.system", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.system", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.code", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].high.code", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.code", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsRange.high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]", - "sliceName": "boundsPeriod", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod", "short": "begrenzender Zeitraum", "min": 0, "max": "1", @@ -439,13 +443,13 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod.start", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].start", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.start", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.start", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod.end", - "path": "MedicationRequest.dosageInstruction.timing.repeat.bounds[x].end", + "id": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.end", + "path": "MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.end", "mustSupport": true }, { @@ -533,23 +537,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationRequest.dosageInstruction.asNeededBoolean", + "path": "MedicationRequest.dosageInstruction.asNeededBoolean", "short": "Bedarfsmedikation", "min": 0, "max": "1", @@ -709,23 +698,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange", "short": "Dosisbereich", "min": 0, "max": "1", @@ -737,71 +711,70 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].low.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].high.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseRange.high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", - "sliceName": "doseQuantity", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity", "short": "Dosis", "min": 0, "max": "1", @@ -819,46 +792,31 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x].code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.doseQuantity.code", "min": 1, "mustSupport": true }, { - "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", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio", "short": "Raten-Verhältnis", "min": 0, "max": "1", @@ -870,71 +828,70 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.numerator.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].numerator.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.numerator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRatio.denominator.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].denominator.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRatio.denominator.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", - "sliceName": "rateRange", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange", "short": "Raten-Bereich", "min": 0, "max": "1", @@ -946,71 +903,70 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.low.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].low.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.low.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high", "patternQuantity": { "system": "http://unitsofmeasure.org" }, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateRange.high.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].high.code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateRange.high.code", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", - "sliceName": "rateQuantity", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity", "short": "Rate", "min": 0, "max": "1", @@ -1028,25 +984,25 @@ "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.value", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].value", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.value", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.value", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.unit", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].unit", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.unit", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.unit", "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.system", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].system", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.system", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.system", "min": 1, "mustSupport": true }, { - "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]:rateQuantity.code", - "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x].code", + "id": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.code", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rateQuantity.code", "min": 1, "mustSupport": true }, @@ -1194,23 +1150,8 @@ "mustSupport": true }, { - "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", + "id": "MedicationRequest.substitution.allowedBoolean", + "path": "MedicationRequest.substitution.allowedBoolean", "min": 0, "max": "1", "type": [ diff --git a/Resources/input/fsh/ISiKMedikationsInformation.fsh b/Resources/input/fsh/ISiKMedikationsInformation.fsh index e191c607..955739d7 100644 --- a/Resources/input/fsh/ISiKMedikationsInformation.fsh +++ b/Resources/input/fsh/ISiKMedikationsInformation.fsh @@ -5,8 +5,6 @@ Description: "Dieses Profil ermöglicht die Abbildung von Informationen zur Medi * insert Meta * id MS * ^short = "eindeutige ID der Ressource auf dem Server" -* partOf MS - * ^short = "Referenz auf andere Objekte, deren Bestandteil diese MedikationsInformation ist" * status MS * ^short = "Status der Medikationsinformation" * medication[x] MS From 556a34205b37d0c51467bca5b9fdb2b99f16614e Mon Sep 17 00:00:00 2001 From: f-peverali <112709306+f-peverali@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:20:31 +0200 Subject: [PATCH 5/7] update firely terminal and sushi version --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d5da5dc..ad0d843d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: # Java and .NET are already installed on ubuntu-latest - name: Firely.Terminal (GitHub Actions) - uses: FirelyTeam/firely-terminal-pipeline@v0.3.5 + uses: FirelyTeam/firely-terminal-pipeline@v0.4.1 with: PATH_TO_CONFORMANCE_RESOURCES: Resources/fsh-generated/resources/ #PATH_TO_EXAMPLES: Examples @@ -42,6 +42,7 @@ jobs: SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }} SUSHI_ENABLED: true SUSHI_OPTIONS: Resources/ + SUSHI_VERSION: 3.9.0 EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA - name: Add & Commit From d1033a835ce4d6a640580b942a5622842a410f27 Mon Sep 17 00:00:00 2001 From: f-peverali Date: Wed, 3 Jul 2024 13:23:52 +0000 Subject: [PATCH 6/7] Commit from GitHub Actions (CI (FHIR Validation)) --- ...abilityStatementMedikationInformation.json | 6 +- ...ilityStatementMedikationVerabreichung.json | 6 +- ...pabilityStatementMedikationVerordnung.json | 6 +- .../Medication-ExampleISiKMedikament2.json | 18 +- .../StructureDefinition-ISiKMedikament.json | 136 +++--- ...eDefinition-ISiKMedikationTransaction.json | 36 +- ...ion-ISiKMedikationTransactionResponse.json | 36 +- ...Definition-ISiKMedikationsInformation.json | 441 +++++++++-------- ...uctureDefinition-ISiKMedikationsListe.json | 26 +- ...finition-ISiKMedikationsVerabreichung.json | 237 ++++----- ...eDefinition-ISiKMedikationsVerordnung.json | 461 ++++++++++-------- .../ValueSet-SctRouteOfAdministration.json | 4 +- 12 files changed, 709 insertions(+), 704 deletions(-) diff --git a/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationInformation.json b/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationInformation.json index e75de9e4..5d931246 100644 --- a/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationInformation.json +++ b/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationInformation.json @@ -4,11 +4,11 @@ "url": "https://gematik.de/fhir/isik/v2/Medikation/CapabilityStatement/medikation-server/information", "status": "active", "experimental": false, - "version": "2.0.2", + "version": "2.0.3", "publisher": "gematik GmbH", - "date": "2023-01-31", + "date": "2024-07-03", "implementationGuide": [ - "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.2" + "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.3" ], "name": "ISiKCapabilityStatementMedikationInformation", "title": "ISiK CapabilityStatement Medikation Server - Medikationsinformation", diff --git a/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerabreichung.json b/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerabreichung.json index 5971c46b..7afa986e 100644 --- a/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerabreichung.json +++ b/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerabreichung.json @@ -4,11 +4,11 @@ "url": "https://gematik.de/fhir/isik/v2/Medikation/CapabilityStatement/medikation-server/verabreichung", "status": "active", "experimental": false, - "version": "2.0.2", + "version": "2.0.3", "publisher": "gematik GmbH", - "date": "2023-01-31", + "date": "2024-07-03", "implementationGuide": [ - "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.2" + "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.3" ], "name": "ISiKCapabilityStatementMedikationVerabreichung", "title": "ISiK CapabilityStatement Medikation Server - Medikationsverabreichung", diff --git a/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerordnung.json b/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerordnung.json index 539216dd..27049ea3 100644 --- a/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerordnung.json +++ b/Resources/fsh-generated/resources/CapabilityStatement-ISiKCapabilityStatementMedikationVerordnung.json @@ -4,11 +4,11 @@ "url": "https://gematik.de/fhir/isik/v2/Medikation/CapabilityStatement/medikation-server/verordnung", "status": "active", "experimental": false, - "version": "2.0.2", + "version": "2.0.3", "publisher": "gematik GmbH", - "date": "2023-01-31", + "date": "2024-07-03", "implementationGuide": [ - "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.2" + "https://gematik.de/fhir/isik/v2/Medikation/ImplementationGuide|2.0.3" ], "name": "ISiKCapabilityStatementMedikationVerordnung", "title": "ISiK CapabilityStatement Medikation Server - Medikationsverordnung", 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..fa9540a6 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikament.json @@ -1,47 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikament", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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..c275d0b7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransaction.json @@ -1,47 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikationTransaction", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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..468b0965 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationTransactionResponse.json @@ -1,47 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikationTransactionResponse", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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 0f42b03d..51fc59fe 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsInformation.json @@ -1,47 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikationsInformation", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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", @@ -77,8 +45,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, @@ -91,8 +60,8 @@ "mustSupport": true }, { - "id": "MedicationStatement.medicationCodeableConcept.coding", - "path": "MedicationStatement.medicationCodeableConcept.coding", + "id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding", + "path": "MedicationStatement.medication[x].coding", "slicing": { "discriminator": [ { @@ -105,8 +74,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", @@ -116,25 +85,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", @@ -144,25 +113,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", @@ -172,30 +141,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, @@ -211,8 +181,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 }, @@ -266,8 +236,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", @@ -279,8 +250,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", @@ -292,13 +264,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 }, { @@ -400,8 +372,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", @@ -416,31 +403,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", @@ -452,70 +440,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", @@ -527,13 +516,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 }, { @@ -621,8 +610,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", @@ -782,8 +786,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", @@ -795,70 +814,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", @@ -876,31 +896,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", @@ -912,70 +947,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", @@ -987,70 +1023,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", @@ -1068,25 +1105,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..d65bdaa8 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsListe.json @@ -1,37 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikationsListe", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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..b786d968 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerabreichung.json @@ -1,52 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikationsVerabreichung", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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..fa8d329a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKMedikationsVerordnung.json @@ -1,52 +1,15 @@ { "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", + "version": "2.0.3", "name": "ISiKMedikationsVerordnung", "status": "active", "experimental": false, - "date": "2023-01-31", + "date": "2024-07-03", "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/fsh-generated/resources/ValueSet-SctRouteOfAdministration.json b/Resources/fsh-generated/resources/ValueSet-SctRouteOfAdministration.json index 51ab4b3c..db096306 100644 --- a/Resources/fsh-generated/resources/ValueSet-SctRouteOfAdministration.json +++ b/Resources/fsh-generated/resources/ValueSet-SctRouteOfAdministration.json @@ -4,11 +4,11 @@ "name": "SctRouteOfAdministration", "id": "SctRouteOfAdministration", "description": "Enthaelt alle SNOMED CT Administrationsarten", - "version": "2.0.2", "url": "https://gematik.de/fhir/isik/v2/Medikation/ValueSet/SctRouteOfAdministration", "experimental": false, "publisher": "gematik GmbH", - "date": "2023-01-31", + "version": "2.0.3", + "date": "2024-07-03", "compose": { "include": [ { From 948356af9c686bff372212976768f89c77a389dd Mon Sep 17 00:00:00 2001 From: f-peverali <112709306+f-peverali@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:35:38 +0200 Subject: [PATCH 7/7] Update ImplementationGuide/markdown/ReleaseNotes.md --- ImplementationGuide/markdown/ReleaseNotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImplementationGuide/markdown/ReleaseNotes.md b/ImplementationGuide/markdown/ReleaseNotes.md index 5eb96329..8c35617f 100644 --- a/ImplementationGuide/markdown/ReleaseNotes.md +++ b/ImplementationGuide/markdown/ReleaseNotes.md @@ -7,7 +7,7 @@ Die erste Ziffer X bezeichnet ein Major-Release und regelt die Gültigkeit von R ---- Version: 2.0.3 -Datum: tbd +Datum: 03.07.2024 - Entfernen von MS von MedicationStatement.partOf (Analog in Stufe 4.0.0-rc2) https://github.com/gematik/spec-ISiK-Medikation/pull/132 - Korrektur des Beispiels: ExampleISiKMedikationsListe.encounter, verweist jetzt korrekt auf einen Abteilungskontakt-Encounter https://github.com/gematik/spec-ISiK-Medikation/pull/128