Skip to content

Commit

Permalink
Merge pull request #384 from NHSDigital/STU2-Fixes/FixContraintDescri…
Browse files Browse the repository at this point in the history
…ptions

Swapped SHALL to SHOULD in warning human descriptions
  • Loading branch information
APageNHS authored Jun 13, 2023
2 parents 78d69a1 + 5137ccf commit 1a2eb0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion structuredefinitions/UKCore-DiagnosticReport-Lab.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<constraint>
<key value="ukcore-diag-lab-001" />
<severity value="warning" />
<human value="An effective time SHALL be given present if status = partial, preliminary, final, amended, corrected or appended" />
<human value="An effective time SHOULD be present if status = partial, preliminary, final, amended, corrected or appended" />
<expression value="effective.exists() or (effective.empty() and (status in ('partial' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'appended')).not())" />
</constraint>
</element>
Expand Down
2 changes: 1 addition & 1 deletion structuredefinitions/UKCore-Observation-Lab.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<constraint>
<key value="ukcore-obs-lab-001" />
<severity value="warning" />
<human value="Either value, dataAbsentReason or note SHALL exist" />
<human value="Either value, dataAbsentReason or note SHOULD be populated" />
<expression value="value.exists() or dataAbsentReason.exists() or note.exists()" />
</constraint>
</element>
Expand Down

0 comments on commit 1a2eb0a

Please sign in to comment.