Skip to content

Commit

Permalink
Update UKCore-DiagnosticReport.xml
Browse files Browse the repository at this point in the history
Re-write the FHIR path expression
  • Loading branch information
KazeemHamzat committed Dec 10, 2024
1 parent 2cbc145 commit f66950b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structuredefinitions/UKCore-DiagnosticReport.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<key value="ukcore-diag-lab-002" />
<severity value="error" />
<human value="Only one of DiagnosticReport.media.link or DiagnosticReport.media.extension:mediaLinkR5 can be populated at a time." />
<expression value="not(media.link.exists() and extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.media.link').exists())" />
<expression value="not media.link.exists() and not extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.media.link').exists()" />
</constraint>
</element>
<element id="DiagnosticReport.extension:compositionReferenceR5">
Expand Down

0 comments on commit f66950b

Please sign in to comment.