Skip to content

Add invariant to prevent simultaneous use of Observation.value[x] and Observation.extension:value-r5#37

Open
patrick-werner wants to merge 1 commit intomasterfrom
only-allow-single-value-55552
Open

Add invariant to prevent simultaneous use of Observation.value[x] and Observation.extension:value-r5#37
patrick-werner wants to merge 1 commit intomasterfrom
only-allow-single-value-55552

Conversation

@patrick-werner
Copy link
Copy Markdown
Collaborator

This pull request introduces an important validation to the MedicalTestResultEuCore profile to ensure data consistency in medical test observations. The main change is the addition of a new invariant that enforces mutual exclusivity between two fields, alongside minor updates to the profile definition.

Validation and constraints:

  • Added the obs-value-1 invariant to the MedicalTestResultEuCore profile, which ensures that Observation.extension:value-r5 and Observation.value[x] cannot be used simultaneously. This prevents conflicting information in the observation resource.
  • Updated the profile to reference the new invariant by adding * obeys obs-value-1.

Subproject update:

  • Updated the subproject commit reference in __r4-r5 to a newer commit, which may include upstream changes or fixes.

@patrick-werner
Copy link
Copy Markdown
Collaborator Author

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.

1 participant