From 27004001bd4144b786df09da35063a75e704a667 Mon Sep 17 00:00:00 2001 From: Florian Schoffke Date: Tue, 5 Sep 2023 13:46:18 +0200 Subject: [PATCH] ruleset for codesystem and valueset --- ...-78d1dc47-5a2a-49d3-85de-960ab84b4d58.json | 4 +-- ...eSystem-GEM-ERP-CS-AvailabilityStatus.json | 5 ++-- .../CodeSystem-GEM-ERP-CS-DocumentType.json | 5 ++-- .../CodeSystem-GEM-ERP-CS-FlowType.json | 5 ++-- ...odeSystem-GEM-ERP-CS-OrganizationType.json | 5 ++-- ...RP-PR-Composition-BfArM-Documentation.json | 6 ++-- ...tureDefinition-GEM-ERP-PR-Composition.json | 2 +- .../StructureDefinition-GEM-ERP-PR-Task.json | 6 ++-- ...alueSet-GEM-ERP-VS-AvailabilityStatus.json | 6 ++-- .../ValueSet-GEM-ERP-VS-DocumentType.json | 8 ++++-- .../ValueSet-GEM-ERP-VS-FlowType.json | 6 ++-- .../ValueSet-GEM-ERP-VS-OrganizationType.json | 6 ++-- .../GEM_ERP_CS_AvailabilityStatus.fsh | 10 +------ .../codesystems/GEM_ERP_CS_DocumentType.fsh | 10 +------ .../fsh/codesystems/GEM_ERP_CS_FlowType.fsh | 10 +------ .../GEM_ERP_CS_OrganizationType.fsh | 9 +----- .../fsh/profiles/GEM_ERP_PR_Composition.fsh | 3 -- ...ERP_PR_Composition_BfArM_Documentation.fsh | 11 +++----- .../GEM_ERP_VS_AvailabilityStatus.fsh | 28 +------------------ .../fsh/valuesets/GEM_ERP_VS_DocumentType.fsh | 19 +------------ .../fsh/valuesets/GEM_ERP_VS_FlowType.fsh | 27 +----------------- .../valuesets/GEM_ERP_VS_OrganizationType.fsh | 14 +--------- 22 files changed, 50 insertions(+), 155 deletions(-) diff --git a/Resources/fsh-generated/resources/Bundle-78d1dc47-5a2a-49d3-85de-960ab84b4d58.json b/Resources/fsh-generated/resources/Bundle-78d1dc47-5a2a-49d3-85de-960ab84b4d58.json index d9835f1f..8ee16dba 100644 --- a/Resources/fsh-generated/resources/Bundle-78d1dc47-5a2a-49d3-85de-960ab84b4d58.json +++ b/Resources/fsh-generated/resources/Bundle-78d1dc47-5a2a-49d3-85de-960ab84b4d58.json @@ -49,7 +49,7 @@ "code": { "coding": [ { - "system": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType", + "system": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType", "code": "1", "display": "Health Care Provider Prescription" } @@ -65,7 +65,7 @@ "code": { "coding": [ { - "system": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType", + "system": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType", "code": "4", "display": "Approval to prescribe Narcotics" } diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json index 8439378a..5fb096a2 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "active", + "status": "draft", "content": "complete", "name": "GEM_ERP_CS_AvailabilityStatus", "id": "GEM-ERP-CS-AvailabilityStatus", @@ -33,8 +33,9 @@ "display": "unbekannt" } ], - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json index a2ddb093..be045ec8 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "active", + "status": "draft", "content": "complete", "name": "GEM_ERP_CS_DocumentType", "id": "GEM-ERP-CS-DocumentType", @@ -29,8 +29,9 @@ "display": "Documentation of Narcotics Approval" } ], - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json index 155b79a3..916542e9 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "active", + "status": "draft", "content": "complete", "name": "GEM_ERP_CS_FlowType", "id": "GEM-ERP-CS-FlowType", @@ -45,8 +45,9 @@ "display": "reserviert für Pharmazeutische Dienstleistungen bzw. Impfungen durch Apotheker" } ], - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json index f8342d25..c9471b6e 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "active", + "status": "draft", "content": "complete", "name": "GEM_ERP_CS_OrganizationType", "id": "GEM-ERP-CS-OrganizationType", @@ -13,8 +13,9 @@ "display": "Öffentliche Apotheke" } ], - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition-BfArM-Documentation.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition-BfArM-Documentation.json index a68e766d..bb840ebf 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition-BfArM-Documentation.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition-BfArM-Documentation.json @@ -87,7 +87,7 @@ "max": "1", "binding": { "strength": "required", - "valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType" + "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" } }, { @@ -170,7 +170,7 @@ "id": "Composition.section:ePrescription.code.coding.system", "path": "Composition.section.code.coding.system", "min": 1, - "fixedUri": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType", + "fixedUri": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType", "mustSupport": true }, { @@ -236,7 +236,7 @@ "id": "Composition.section:BfArM_Approval.code.coding.system", "path": "Composition.section.code.coding.system", "min": 1, - "fixedUri": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType", + "fixedUri": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType", "mustSupport": true }, { diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json index 31844ce9..a0ca78ce 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json @@ -118,7 +118,7 @@ "max": "1", "binding": { "strength": "required", - "valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType" + "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" } }, { diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json index a9f49dd4..25c6e128 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json @@ -254,7 +254,7 @@ "path": "Task.input.type.coding", "binding": { "strength": "required", - "valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType" + "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" } }, { @@ -297,7 +297,7 @@ "path": "Task.input.type.coding", "binding": { "strength": "required", - "valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType" + "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" } }, { @@ -352,7 +352,7 @@ "path": "Task.output.type.coding", "binding": { "strength": "required", - "valueSet": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType" + "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" } }, { diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json index beac5ce4..f5b13a8f 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json @@ -1,13 +1,14 @@ { "resourceType": "ValueSet", - "status": "active", + "status": "draft", "name": "GEM_ERP_VS_AvailabilityStatus", "id": "GEM-ERP-VS-AvailabilityStatus", "title": "ValueSet of AvailabilityStatus Codes", "description": "Type of the availability status for medication availability request", "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_AvailabilityStatus", - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ @@ -18,6 +19,7 @@ ] } ], + "copyright": "gematik GmbH", "compose": { "include": [ { diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json index a5d101c4..8e719cb9 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json @@ -1,13 +1,14 @@ { "resourceType": "ValueSet", - "status": "active", + "status": "draft", "name": "GEM_ERP_VS_DocumentType", "id": "GEM-ERP-VS-DocumentType", "title": "ValueSet of Documenttype Codes", "description": "Type of document depending on the recipient.", - "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType", - "version": "1.2", + "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ @@ -18,6 +19,7 @@ ] } ], + "copyright": "gematik GmbH", "compose": { "include": [ { diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json index 3204de5d..a2222871 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json @@ -1,13 +1,14 @@ { "resourceType": "ValueSet", - "status": "active", + "status": "draft", "name": "GEM_ERP_VS_FlowType", "id": "GEM-ERP-VS-FlowType", "title": "ValueSet of Flowtype Codes", "description": "Shows the different types of the ePrescription according to the prescription forms.", "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType", - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ @@ -18,6 +19,7 @@ ] } ], + "copyright": "gematik GmbH", "compose": { "include": [ { diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json index 3226bf46..a1dcb2fb 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json @@ -1,13 +1,14 @@ { "resourceType": "ValueSet", - "status": "active", + "status": "draft", "name": "GEM_ERP_VS_OrganizationType", "id": "GEM-ERP-VS-OrganizationType", "title": "ValueSet of Organizationtype Codes", "description": "Type of Organiziation", "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_OrganizationType", - "version": "1.2", + "experimental": false, "publisher": "gematik GmbH", + "version": "1.3", "contact": [ { "telecom": [ @@ -18,6 +19,7 @@ ] } ], + "copyright": "gematik GmbH", "compose": { "include": [ { diff --git a/Resources/input/fsh/codesystems/GEM_ERP_CS_AvailabilityStatus.fsh b/Resources/input/fsh/codesystems/GEM_ERP_CS_AvailabilityStatus.fsh index 5d7d1ee7..38c3699e 100644 --- a/Resources/input/fsh/codesystems/GEM_ERP_CS_AvailabilityStatus.fsh +++ b/Resources/input/fsh/codesystems/GEM_ERP_CS_AvailabilityStatus.fsh @@ -2,15 +2,7 @@ CodeSystem: GEM_ERP_CS_AvailabilityStatus Id: GEM-ERP-CS-AvailabilityStatus Title: "CodeSystem of AvailabilityStatus" Description: "Type of the availability status for medication availability request." -* ^url = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -* ^copyright = "gematik GmbH" -* ^caseSensitive = true -* ^content = #complete +* insert MetaCodeSystem(GEM_ERP_CS_AvailabilityStatus) * #10 "sofort verfügbar" * #20 "noch Heute verfügbar" * #30 "am nächsten Werktag - vormittags" diff --git a/Resources/input/fsh/codesystems/GEM_ERP_CS_DocumentType.fsh b/Resources/input/fsh/codesystems/GEM_ERP_CS_DocumentType.fsh index 01684833..fc5ba056 100644 --- a/Resources/input/fsh/codesystems/GEM_ERP_CS_DocumentType.fsh +++ b/Resources/input/fsh/codesystems/GEM_ERP_CS_DocumentType.fsh @@ -2,15 +2,7 @@ CodeSystem: GEM_ERP_CS_DocumentType Id: GEM-ERP-CS-DocumentType Title: "CodeSystem of Documenttypes" Description: "Type of document depending on the recipient of the Bundle." -* ^url = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -* ^copyright = "gematik GmbH" -* ^caseSensitive = true -* ^content = #complete +* insert MetaCodeSystem(GEM_ERP_CS_DocumentType) * #1 "Health Care Provider Prescription" * #2 "Patient Confirmation" * #3 "Receipt" diff --git a/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh b/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh index 9dbb8a0b..013bea61 100644 --- a/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh +++ b/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh @@ -2,15 +2,7 @@ CodeSystem: GEM_ERP_CS_FlowType Id: GEM-ERP-CS-FlowType Title: "CodeSystem of Flowtypes" Description: "Shows the different types of the ePrescription according to the prescription forms." -* ^url = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -* ^copyright = "gematik GmbH" -* ^caseSensitive = true -* ^content = #complete +* insert MetaCodeSystem(GEM_ERP_CS_FlowType) * #160 "Muster 16 (Apothekenpflichtige Arzneimittel)" * #165 "Muster 16 (Betäubungsmittel)" * #166 "Muster 16 (T-Rezepte)" diff --git a/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh b/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh index 0f570100..bd95b580 100644 --- a/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh +++ b/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh @@ -2,12 +2,5 @@ CodeSystem: GEM_ERP_CS_OrganizationType Id: GEM-ERP-CS-OrganizationType Title: "CodeSystem of Organizationtype Codes" Description: "Type of Organiziation where to get e-prescriptions dispensed" -* ^url = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -* ^copyright = "gematik GmbH" -* ^caseSensitive = true +* insert MetaCodeSystem(GEM_ERP_CS_OrganizationType) * #urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh index 2a41098c..12ead615 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh @@ -17,9 +17,6 @@ Description: "Upon completion of the ePrescription workflow, the prescription fi * type MS * type ^short = "Document Type = \"Receipt\"" * type.coding 1..1 -//* type.coding.system 1.. -//* type.coding.system = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" (exactly) -//* type.coding.code 1.. * type.coding from GEM_ERP_VS_DocumentType (required) * type.coding.code = #3 (exactly) * type.coding.display = "Receipt" (exactly) diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Composition_BfArM_Documentation.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Composition_BfArM_Documentation.fsh index 3cb865bd..9b91f1e1 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Composition_BfArM_Documentation.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Composition_BfArM_Documentation.fsh @@ -11,9 +11,6 @@ Description: "Upon completion of the ePrescription workflow, the prescription fi * type MS * type ^short = "Document Type = \"Documentation of Narcotics Approval\"" * type.coding 1..1 -//* type.coding.system 1.. -//* type.coding.system = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" (exactly) -//* type.coding.code 1.. * type.coding from GEM_ERP_VS_DocumentType (required) * type.coding.code = #5 (exactly) * type.coding.display = "Documentation of Narcotics Approval" (exactly) @@ -40,7 +37,7 @@ Description: "Upon completion of the ePrescription workflow, the prescription fi * section[ePrescription].code 1..1 MS * section[ePrescription].code.coding 1..1 MS * section[ePrescription].code.coding.system 1..1 MS -* section[ePrescription].code.coding.system = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" (exactly) +* section[ePrescription].code.coding.system = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType" (exactly) * section[ePrescription].code.coding.code 1.. MS * section[ePrescription].code.coding.code = #1 (exactly) * section[ePrescription].code.coding.display = "Health Care Provider Prescription" (exactly) @@ -53,7 +50,7 @@ Description: "Upon completion of the ePrescription workflow, the prescription fi * section[BfArM_Approval].code 1..1 MS * section[BfArM_Approval].code.coding 1..1 MS * section[BfArM_Approval].code.coding.system 1..1 MS -* section[BfArM_Approval].code.coding.system = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType" (exactly) +* section[BfArM_Approval].code.coding.system = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType" (exactly) * section[BfArM_Approval].code.coding.code 1.. MS * section[BfArM_Approval].code.coding.code = #4 (exactly) * section[BfArM_Approval].code.coding.display = "Approval to prescribe Narcotics" (exactly) @@ -75,6 +72,6 @@ Usage: #inline * event.period.start = "2022-03-18T15:28:00+00:00" * event.period.end = "2022-03-18T15:29:00+00:00" * section[ePrescription].entry.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" // TODO: Neue Verordnung mit WF 200 -* section[ePrescription].code.coding = https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType#1 "Health Care Provider Prescription" +* section[ePrescription].code.coding = https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" * section[BfArM_Approval].entry.reference = "PractitionersNarcoticsApproval" -* section[BfArM_Approval].code.coding = https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_DocumentType#4 "Approval to prescribe Narcotics" \ No newline at end of file +* section[BfArM_Approval].code.coding = https://gematik.de/fhir/erp/ValueSet/GEM_ERP_CS_DocumentType#4 "Approval to prescribe Narcotics" \ No newline at end of file diff --git a/Resources/input/fsh/valuesets/GEM_ERP_VS_AvailabilityStatus.fsh b/Resources/input/fsh/valuesets/GEM_ERP_VS_AvailabilityStatus.fsh index 576755cb..c0e82700 100644 --- a/Resources/input/fsh/valuesets/GEM_ERP_VS_AvailabilityStatus.fsh +++ b/Resources/input/fsh/valuesets/GEM_ERP_VS_AvailabilityStatus.fsh @@ -2,31 +2,5 @@ ValueSet: GEM_ERP_VS_AvailabilityStatus Id: GEM-ERP-VS-AvailabilityStatus Title: "ValueSet of AvailabilityStatus Codes" Description: "Type of the availability status for medication availability request" -* ^url = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_AvailabilityStatus" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -//* ^expansion.identifier = "fe7e0ee0-f72e-4909-bf48-7c84ff97bac5" -//* ^expansion.timestamp = "2020-05-07T07:48:29+00:00" -//* ^expansion.total = 6 -//* ^expansion.contains[0].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -//* ^expansion.contains[=].code = #10 -//* ^expansion.contains[=].display = "sofort verfügbar" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -//* ^expansion.contains[=].code = #20 -//* ^expansion.contains[=].display = "noch heute verfügbar" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -//* ^expansion.contains[=].code = #30 -//* ^expansion.contains[=].display = "am nächsten Werktag - vormittags" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -//* ^expansion.contains[=].code = #40 -//* ^expansion.contains[=].display = "am nächsten Werktag- nachmittags" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -//* ^expansion.contains[=].code = #50 -//* ^expansion.contains[=].display = "nicht verfügbar" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -//* ^expansion.contains[=].code = #90 -//* ^expansion.contains[=].display = "unbekannt" +* insert MetaValueSet(GEM_ERP_VS_AvailabilityStatus) * include codes from system GEM_ERP_CS_AvailabilityStatus \ No newline at end of file diff --git a/Resources/input/fsh/valuesets/GEM_ERP_VS_DocumentType.fsh b/Resources/input/fsh/valuesets/GEM_ERP_VS_DocumentType.fsh index 8d1c1d1b..00682f47 100644 --- a/Resources/input/fsh/valuesets/GEM_ERP_VS_DocumentType.fsh +++ b/Resources/input/fsh/valuesets/GEM_ERP_VS_DocumentType.fsh @@ -2,22 +2,5 @@ ValueSet: GEM_ERP_VS_DocumentType Id: GEM-ERP-VS-DocumentType Title: "ValueSet of Documenttype Codes" Description: "Type of document depending on the recipient." -* ^url = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -//* ^expansion.identifier = "fe7e0ee0-f72e-4909-bf48-7c84ff97bac5" -//* ^expansion.timestamp = "2020-05-07T07:48:29+00:00" -//* ^expansion.total = 3 -//* ^expansion.contains[0].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType" -//* ^expansion.contains[=].code = #1 -//* ^expansion.contains[=].display = "Health Care Provider Prescription" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType" -//* ^expansion.contains[=].code = #2 -//* ^expansion.contains[=].display = "Patient Confirmation" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType" -//* ^expansion.contains[=].code = #3 -//* ^expansion.contains[=].display = "Receipt" +* insert MetaValueSet(GEM_ERP_VS_DocumentType) * include codes from system GEM_ERP_CS_DocumentType \ No newline at end of file diff --git a/Resources/input/fsh/valuesets/GEM_ERP_VS_FlowType.fsh b/Resources/input/fsh/valuesets/GEM_ERP_VS_FlowType.fsh index 0762ac17..60b1db2e 100644 --- a/Resources/input/fsh/valuesets/GEM_ERP_VS_FlowType.fsh +++ b/Resources/input/fsh/valuesets/GEM_ERP_VS_FlowType.fsh @@ -2,30 +2,5 @@ ValueSet: GEM_ERP_VS_FlowType Id: GEM-ERP-VS-FlowType Title: "ValueSet of Flowtype Codes" Description: "Shows the different types of the ePrescription according to the prescription forms." -* ^url = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -//* ^expansion.identifier = "fe7e0ee0-f72e-4909-bf48-7c84ff97bac5" -//* ^expansion.timestamp = "2022-02-07T07:48:29+00:00" -//* ^expansion.total = 5 -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/FlowType" -//* ^expansion.contains[=].code = #160 -//* ^expansion.contains[=].display = "Muster 16 (Apothekenpflichtige Arzneimittel)" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/FlowType" -//* ^expansion.contains[=].code = #165 -//* ^expansion.contains[=].display = "Muster 16 (Betäubungsmittel)" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/FlowType" -//* ^expansion.contains[=].code = #166 -//* ^expansion.contains[=].display = "Muster 16 (T-Rezepte)" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/FlowType" -//* ^expansion.contains[=].code = #169 -//* ^expansion.contains[=].display = "Muster 16 (Direkte Zuweisung)" -//* ^expansion.contains[+].system = "https://gematik.de/fhir/erp/CodeSystem/FlowType" -//* ^expansion.contains[=].code = #200 -//* ^expansion.contains[=].display = "PKV (Apothekenpflichtige Arzneimittel)" -//* ^expansion.contains[=].code = #209 -//* ^expansion.contains[=].display = "PKV (Direkte Zuweisung)" +* insert MetaValueSet(GEM_ERP_VS_FlowType) * include codes from system GEM_ERP_CS_FlowType \ No newline at end of file diff --git a/Resources/input/fsh/valuesets/GEM_ERP_VS_OrganizationType.fsh b/Resources/input/fsh/valuesets/GEM_ERP_VS_OrganizationType.fsh index a4d788a1..af79fba7 100644 --- a/Resources/input/fsh/valuesets/GEM_ERP_VS_OrganizationType.fsh +++ b/Resources/input/fsh/valuesets/GEM_ERP_VS_OrganizationType.fsh @@ -2,17 +2,5 @@ ValueSet: GEM_ERP_VS_OrganizationType Id: GEM-ERP-VS-OrganizationType Title: "ValueSet of Organizationtype Codes" Description: "Type of Organiziation" -* ^url = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_OrganizationType" -* ^version = "1.2" -* ^status = #active -* ^publisher = "gematik GmbH" -* ^contact.telecom.system = #url -* ^contact.telecom.value = "http://www.gematik.de" -//* ^expansion.identifier = "fe7e0ee0-f72e-4909-bf48-7c84ff97bac5" -//* ^expansion.timestamp = "2020-05-07T07:48:29+00:00" -//* ^expansion.total = 1 -//* ^expansion.contains.system = "urn:ietf:rfc:3986" -//* ^expansion.contains.code = #urn:oid:1.2.276.0.76.4.54 -//* ^expansion.contains.display = "Öffentliche Apotheke" -//* urn:ietf:rfc:3986#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* insert MetaValueSet(GEM_ERP_VS_OrganizationType) * include codes from system GEM_ERP_CS_OrganizationType \ No newline at end of file