From a34d880a929188286c3dc6f8d3e388ac74ea6e74 Mon Sep 17 00:00:00 2001 From: olw-medcom Date: Fri, 6 Feb 2026 11:29:50 +0100 Subject: [PATCH 1/3] Done --- input/fsh/MedComMessagingMessage.fsh | 8 ++++---- input/pagecontent/downloads.md | 2 +- publication-request.json | 6 +++--- release-notes.md | 2 +- sushi-config.yaml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/input/fsh/MedComMessagingMessage.fsh b/input/fsh/MedComMessagingMessage.fsh index c9fc9ef..5f752c8 100644 --- a/input/fsh/MedComMessagingMessage.fsh +++ b/input/fsh/MedComMessagingMessage.fsh @@ -16,9 +16,9 @@ Description: "Base resource for all MedCom messages." //* obeys medcom-messaging-3 Invariant: medcom-messaging-1 -Description: "The MessageHeader resource shall conform to medcom-messaging-messageHeader profile" +Description: "The MessageHeader resource shall use the medcom-messaging-messageHeader profile" Severity: #error -Expression: "entry[0].resource.conformsTo('http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-messageHeader')" +Expression: "entry[0].resource.ofType(MessageHeader).meta.profile.where(startsWith('http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-messageHeader')).exists()" Invariant: medcom-messaging-2 Description: "There shall be at least one Provenance resource in a MedCom message" @@ -26,9 +26,9 @@ Severity: #error Expression: "entry.resource.ofType(Provenance).exists()" Invariant: medcom-messaging-3 -Description: "All Provenance resources shall conform to the medcom-messaging-provenance profile" +Description: "All Provenance resources shall use the medcom-messaging-provenance profile" Severity: #error -Expression: "entry.resource.ofType(Provenance).conformsTo('http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance').allTrue()" +Expression: "entry.resource.ofType(Provenance).meta.profile.where(startsWith('http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance')).allTrue()" Instance: eb26be85-fdb7-454d-a980-95cba6d1745b InstanceOf: MedComMessagingMessage diff --git a/input/pagecontent/downloads.md b/input/pagecontent/downloads.md index 48649b8..5363205 100644 --- a/input/pagecontent/downloads.md +++ b/input/pagecontent/downloads.md @@ -10,7 +10,7 @@ Autogenerated examples are available for download: - [XML](examples.xml.zip) - [JSON](examples.json.zip) -### Downloadable Copy of schematrons +### Downloadable Copy of IG A downloadable version of profiles, valuesets and other profiles used in this IG is available for download (npm format): diff --git a/publication-request.json b/publication-request.json index 042db41..524b874 100644 --- a/publication-request.json +++ b/publication-request.json @@ -1,10 +1,10 @@ { "package-id": "medcom.fhir.dk.messaging", - "version": "4.0.1", - "path": "http://medcomfhir.dk/ig/messaging/4.0.1", + "version": "4.0.2", + "path": "http://medcomfhir.dk/ig/messaging/4.0.2", "status": "release", "sequence": "Release 4.x.x", "mode" : "milestone", "descmd": "@release-notes.md", - "desc": "Release 4.0.1 - See release notes" + "desc": "Release 4.0.2 - See release notes" } \ No newline at end of file diff --git a/release-notes.md b/release-notes.md index e7a30da..ba1a6aa 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1 +1 @@ -- Corrected a versioning error in the terminology. Therefore, MedComMessaging has been re-released to fix the dependency. \ No newline at end of file +- Changed the FHIRPath constraint 'conformsTo' to checking the meta.profile. This is due to various FHIR SDK's not supporting the function 'conformsTo' \ No newline at end of file diff --git a/sushi-config.yaml b/sushi-config.yaml index 040e5e3..18eefbc 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -4,7 +4,7 @@ name: DK MedCom Messaging title: DK MedCom Messaging description: This IG includes messaging profiles defined by MedCom. These profiles are used in messagebased communication. status: active -version: 4.0.1 +version: 4.0.2 fhirVersion: 4.0.1 copyrightYear: 2021+ releaseLabel: release # ci-build | draft | qa-preview | ballot | trial-use | release | update | normative+trial-use From 14287714ed36adb85a22f81dab5de1a4014f464d Mon Sep 17 00:00:00 2001 From: olw-medcom Date: Fri, 6 Feb 2026 11:49:20 +0100 Subject: [PATCH 2/3] Change to just being a MessageHeader --- input/fsh/MedComMessagingMessage.fsh | 10 ++-------- release-notes.md | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/input/fsh/MedComMessagingMessage.fsh b/input/fsh/MedComMessagingMessage.fsh index 5f752c8..a8d5a81 100644 --- a/input/fsh/MedComMessagingMessage.fsh +++ b/input/fsh/MedComMessagingMessage.fsh @@ -13,23 +13,17 @@ Description: "Base resource for all MedCom messages." * entry.resource ^short = "Each MedCom message shall contain a MedComMessagingMessageHeader and MedComMessagingProvenance. Please refer to invariant medcom-messaging-1, medcom-messaging-2, and medcom-messaging-3." * obeys medcom-messaging-1 * obeys medcom-messaging-2 -//* obeys medcom-messaging-3 Invariant: medcom-messaging-1 -Description: "The MessageHeader resource shall use the medcom-messaging-messageHeader profile" +Description: "The MessageHeader resource shall exist" Severity: #error -Expression: "entry[0].resource.ofType(MessageHeader).meta.profile.where(startsWith('http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-messageHeader')).exists()" +Expression: "entry[0].resource.ofType(MessageHeader).exists()" Invariant: medcom-messaging-2 Description: "There shall be at least one Provenance resource in a MedCom message" Severity: #error Expression: "entry.resource.ofType(Provenance).exists()" -Invariant: medcom-messaging-3 -Description: "All Provenance resources shall use the medcom-messaging-provenance profile" -Severity: #error -Expression: "entry.resource.ofType(Provenance).meta.profile.where(startsWith('http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-provenance')).allTrue()" - Instance: eb26be85-fdb7-454d-a980-95cba6d1745b InstanceOf: MedComMessagingMessage Title: "Bundle used in an empty message." diff --git a/release-notes.md b/release-notes.md index ba1a6aa..1beda9c 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1 +1 @@ -- Changed the FHIRPath constraint 'conformsTo' to checking the meta.profile. This is due to various FHIR SDK's not supporting the function 'conformsTo' \ No newline at end of file +- Changed the FHIRPath constraint 'conformsTo'. This is due to various FHIR SDK's not supporting the function 'conformsTo' \ No newline at end of file From 9364a0be79968f7af06dae83085d00fe92f4ebbc Mon Sep 17 00:00:00 2001 From: olw-medcom Date: Mon, 9 Feb 2026 10:02:00 +0100 Subject: [PATCH 3/3] Just delete the medcom-messaging-1 entirely --- .github/workflows/status-of-pr.yaml | 2 -- input/fsh/MedComMessagingMessage.fsh | 6 ------ 2 files changed, 8 deletions(-) diff --git a/.github/workflows/status-of-pr.yaml b/.github/workflows/status-of-pr.yaml index 7b8fed7..f57e2f3 100644 --- a/.github/workflows/status-of-pr.yaml +++ b/.github/workflows/status-of-pr.yaml @@ -8,7 +8,5 @@ permissions: pull-requests: write jobs: - lint: - uses: medcomdk/fhir-publishing/.github/workflows/fsh-lint.yaml@main qa-report-status: uses: medcomdk/fhir-publishing/.github/workflows/qa-report.yaml@main \ No newline at end of file diff --git a/input/fsh/MedComMessagingMessage.fsh b/input/fsh/MedComMessagingMessage.fsh index a8d5a81..a03b93d 100644 --- a/input/fsh/MedComMessagingMessage.fsh +++ b/input/fsh/MedComMessagingMessage.fsh @@ -11,14 +11,8 @@ Description: "Base resource for all MedCom messages." * entry MS * entry.resource MS * entry.resource ^short = "Each MedCom message shall contain a MedComMessagingMessageHeader and MedComMessagingProvenance. Please refer to invariant medcom-messaging-1, medcom-messaging-2, and medcom-messaging-3." -* obeys medcom-messaging-1 * obeys medcom-messaging-2 -Invariant: medcom-messaging-1 -Description: "The MessageHeader resource shall exist" -Severity: #error -Expression: "entry[0].resource.ofType(MessageHeader).exists()" - Invariant: medcom-messaging-2 Description: "There shall be at least one Provenance resource in a MedCom message" Severity: #error