Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/HL7/fhir-ips
Browse files Browse the repository at this point in the history
  • Loading branch information
jddamore committed Jul 31, 2024
2 parents 72aaf45 + 3893ba2 commit 358647a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions input/fsh/invariants/ips-2.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Invariant: ips-2
Description: "If observation status is other then \"registered\" or \"cancelled\", at least one of these Observation elements shall be provided: \"value\", \"dataAbsentReason\", \"hasMember\" or \"component\""
Description: "At least one of these Observation elements shall be provided: \"value\", \"dataAbsentReason\", \"hasMember\" or \"component\""
Severity: #error
Expression: "(status in ('registered'|'cancelled')) or value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()"
Expression: "value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()"
4 changes: 2 additions & 2 deletions input/fsh/invariants/ips-3.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Invariant: ips-3
Description: "If observation has components and observation status is other than \"registered\" or \"cancelled\", at least one of these Observation.component elements shall be provided: \"value\" or \"dataAbsentReason\""
Description: "If observation has components, at least one of these Observation.component elements shall be provided: \"value\" or \"dataAbsentReason\""
Severity: #error
Expression: "component.exists() implies (status in ('registered'|'cancelled')) or component.value.exists() or component.dataAbsentReason.exists()"
Expression: "component.exists() implies (component.value.exists() or component.dataAbsentReason.exists())"

0 comments on commit 358647a

Please sign in to comment.