From 07a38ec83401413edc4ed359a244114807f3b0e3 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 3 Dec 2024 06:04:20 +0100 Subject: [PATCH 1/2] Set DateTime to MS 0..1 --- .../resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json | 2 +- Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json index 06df501..9c30359 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json @@ -116,7 +116,7 @@ { "id": "Consent.dateTime", "path": "Consent.dateTime", - "min": 1 + "mustSupport": true }, { "id": "Consent.policyRule", diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh index 447cbb0..72a3efb 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh @@ -18,7 +18,7 @@ Id: GEM-ERPCHRG-PR-Consent * assigner MS * assigner.identifier MS * assigner.identifier only IdentifierIknr -* dateTime 1..1 +* dateTime MS * policyRule MS * policyRule from v3-ActCode \ No newline at end of file From e06f563f2c7ab1173142b89fdba3fb041f807ae3 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 3 Dec 2024 06:05:23 +0100 Subject: [PATCH 2/2] Add Must supports for Consent fields --- .../StructureDefinition-GEM-ERPCHRG-PR-Consent.json | 10 +++++++--- .../input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh | 8 ++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json index 9c30359..0b9b16a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json @@ -51,7 +51,8 @@ "id": "Consent.scope.coding", "path": "Consent.scope.coding", "min": 1, - "max": "1" + "max": "1", + "mustSupport": true }, { "id": "Consent.scope.coding.system", @@ -72,6 +73,7 @@ "id": "Consent.category", "path": "Consent.category", "max": "1", + "mustSupport": true, "binding": { "strength": "required", "valueSet": "https://gematik.de/fhir/erpchrg/ValueSet/GEM_ERPCHRG_VS_ConsentType" @@ -80,7 +82,8 @@ { "id": "Consent.patient", "path": "Consent.patient", - "min": 1 + "min": 1, + "mustSupport": true }, { "id": "Consent.patient.identifier", @@ -93,7 +96,8 @@ "http://fhir.de/StructureDefinition/identifier-kvid-10" ] } - ] + ], + "mustSupport": true }, { "id": "Consent.patient.identifier.assigner", diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh index 72a3efb..9a675ee 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh @@ -5,15 +5,15 @@ Id: GEM-ERPCHRG-PR-Consent * insert MetaProfile(GEM_ERPCHRG_PR_Consent) * status = #active (exactly) -* scope.coding 1..1 +* scope.coding 1..1 MS * system = $cs-consent-scope (exactly) * code = #patient-privacy (exactly) * display = "Privacy Consent" (exactly) -* category 1..1 +* category 1..1 MS * category from GEM_ERPCHRG_VS_ConsentType (required) -* patient 1..1 - * identifier 1..1 +* patient 1..1 MS + * identifier 1..1 MS * identifier only IdentifierKvid10 * assigner MS * assigner.identifier MS