Skip to content

Fix invariants that used the 'conformsTo' function which isn't supported by various SDK's #57

Merged
olw-medcom merged 3 commits into
masterfrom
olw/fix-conforms-to
Feb 13, 2026
Merged

Fix invariants that used the 'conformsTo' function which isn't supported by various SDK's #57
olw-medcom merged 3 commits into
masterfrom
olw/fix-conforms-to

Conversation

@olw-medcom

@olw-medcom olw-medcom commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Removed the medom-messaging-1 invariant. I'm doing this because we cannot use the 'conformsTo' function due to the SDK constraints. Dependent IG's such as CareCommunication will then asserts that the messageHeader is of a certain type

@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

Linting Result: ❌

Linting found the following potential problems/warnings

@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

QA Report status ⚠️

🔨 https://build.fhir.org/ig/medcomdk/dk-medcom-messaging/branches/olw/fix-conforms-to 🔨
Errors: 0, Warnings: 22, Info: 44, Broken links: 0

@sksMedcom

sksMedcom commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

A clarifying question: why change this so that there only needs to be a MessageHeader?

Comment thread input/fsh/MedComMessagingMessage.fsh
@olw-medcom

Copy link
Copy Markdown
Contributor Author

A clarifying question: why change this so that there only needs to be a MessageHeader?

It has been removed entirely now, the reason I'm doing this is because we cannot use the 'conformsTo' function due to the SDK constraints, so there really isn't anything to do other than making invariants in the dependent IG's that asserts that the messageHeader is of a certain type

@olw-medcom olw-medcom requested a review from tmsMedcom February 9, 2026 09:04
@olw-medcom olw-medcom merged commit 5eaef37 into master Feb 13, 2026
2 checks passed
@olw-medcom olw-medcom deleted the olw/fix-conforms-to branch February 13, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants