Skip to content

Commit

Permalink
fixed invariant to survive new IGP test
Browse files Browse the repository at this point in the history
  • Loading branch information
saulakravitz committed Jul 27, 2023
1 parent 161b109 commit 1cb6cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion input/fsh/invariants/SDOH-Task-3.fsh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Invariant: SDOH-Task-3
Description: "If Task.code is \"review-material\", then Task.focus of DocumentReference is required."
Severity: #error
Expression: "code.coding.where(system='http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' and code='review-material').exists() implies focus.resolve() is DocumentReference"
Expression: "code.coding.where(system='http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' and code='review-material').exists()
implies focus.resolve().all($this is DocumentReference)"
XPath: "true()"

0 comments on commit 1cb6cbf

Please sign in to comment.