Skip to content

Commit

Permalink
QA Appointment invariant app-4 status noshow invalid code specified
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpos committed Aug 12, 2022
1 parent 81b8236 commit 096a41f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/appointment/structuredefinition-Appointment.xml
Expand Up @@ -91,9 +91,9 @@
<constraint>
<key value="app-4"/>
<severity value="error"/>
<human value="Cancellation reason is only used for appointments that have been cancelled, or no-show"/>
<expression value="cancellationReason.exists() implies (status=&#39;no-show&#39; or status=&#39;cancelled&#39;)"/>
<xpath value="not(exists(f:cancellationReason)) or f:status/@value=(&#39;no-show&#39;, &#39;cancelled&#39;)"/>
<human value="Cancellation reason is only used for appointments that have been cancelled, or noshow"/>
<expression value="cancellationReason.exists() implies (status=&#39;noshow&#39; or status=&#39;cancelled&#39;)"/>
<xpath value="not(exists(f:cancellationReason)) or f:status/@value=(&#39;noshow&#39;, &#39;cancelled&#39;)"/>
<source value="http://hl7.org/fhir/StructureDefinition/Appointment"/>
</constraint>
<constraint>
Expand Down

0 comments on commit 096a41f

Please sign in to comment.