Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AU Base Diagnostic Imaging Result & AU Base Diagnostic Result: changes to update bodySite to bodyStructure (FHIR-47117) #893

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Usage Notes

**Profile specific implementation guidance:**
- The [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html) extension may be suitable for use where
- The [bodyStructure](http://hl7.org/fhir/R4/extension-bodysite.html) extension may be suitable for use where
- body site is not implicit in the code found in `Observation.code` and
- body site information is to be handled as a separate resource (e.g. to identify and track separately) instead of an inline coded element in `Observation.bodySite`.
- See the [AU Base Pathology Result](StructureDefinition-au-pathologyresult.html) profile for guidance on representing the result of a pathology test.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Usage Notes

**Profile specific implementation guidance:**
- The [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html) extension may be suitable for use where
- The [bodyStructure](http://hl7.org/fhir/R4/extension-bodysite.html) extension may be suitable for use where
- body site is not implicit in the code found in `Observation.code` and
- body site information cannot be adequately captured by a single inline coded element in `Observation.bodySite`.
- When sending an observation that represents a study series or panel:
Expand Down
23 changes: 23 additions & 0 deletions input/pagecontent/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@

To help implementers, only the more significant changes are listed here.

#### Changes in this version
<ul>
<li>Changes to <a href="StructureDefinition-au-imagingresult.html">AU Base Diagnostic Imaging Result</a>:
<ul>
<li>moved the usage of the BodyStructure reference extension to the Observation element instead of Observation.bodySite, renamed the slice from bodySite to bodyStructure, and added invariant inv-obs-1 to ensure that bodySite and bodyStructure are mutually exclusive (<a href="https://jira.hl7.org/browse/FHIR-47117">FHIR-47117</a>)
</li>
</ul>
</li>
<li>Changes to <a href="StructureDefinition-au-diagnosticresult.html">AU Base Diagnostic Result</a>:
<ul>
<li>renamed the bodySite slice to bodyStructure, and added invariant inv-obs-1 to ensure that bodySite and bodyStructure are mutually exclusive (<a href="https://jira.hl7.org/browse/FHIR-47117">FHIR-47117</a>)
</li>
</ul>
</li>
</ul>

### Release 4.2.2-preview
- Publication date: 2024-12-02
- Publication status: Preview
- Based on FHIR version: 4.0.1

To help implementers, only the more significant changes are listed here.

#### Changes in this version
<ul>
<li>New profiles:
Expand Down
11 changes: 9 additions & 2 deletions input/resources/au-diagnosticresult.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
<human value="A diagnostic result shall at least have value or data absent reason or a child observation with a value or data absent reason" />
<expression value="value.exists() or dataAbsentReason.exists() or hasMember.exists() or component.value.exists() or component.dataAbsentReason.exists()" />
</constraint>
<constraint>
<key value="inv-obs-1" />
<severity value="error" />
<human value="bodyStructure shall only be present if Observation.bodySite is not present" />
<expression value="bodySite.exists() implies extension('http://hl7.org/fhir/StructureDefinition/bodySite').empty()"/>
</constraint>
</element>
<element id="Observation.extension">
<path value="Observation.extension" />
Expand All @@ -36,13 +42,14 @@
<rules value="open" />
</slicing>
</element>
<element id="Observation.extension:bodySite">
<element id="Observation.extension:bodyStructure">
<path value="Observation.extension" />
<sliceName value="bodySite" />
<sliceName value="bodyStructure" />
<type>
<code value="Extension" />
<profile value="http://hl7.org/fhir/StructureDefinition/bodySite" />
</type>
<condition value="inv-obs-1"/>
</element>
<element id="Observation.category">
<path value="Observation.category" />
Expand Down
45 changes: 26 additions & 19 deletions input/resources/au-imagingresult.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@
<human value="An imaging result shall at least have value or data absent reason or a child observation with a value or data absent reason" />
<expression value="value.exists() or dataAbsentReason.exists() or hasMember.exists() or component.value.exists() or component.dataAbsentReason.exists()" />
</constraint>
<constraint>
<key value="inv-obs-1" />
<severity value="error" />
<human value="bodyStructure shall only be present if Observation.bodySite is not present" />
<expression value="bodySite.exists() implies extension('http://hl7.org/fhir/StructureDefinition/bodySite').empty()"/>
</constraint>
</element>
<element id="Observation.extension">
<path value="Observation.extension" />
<slicing>
<discriminator>
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="Observation.extension:bodyStructure">
<path value="Observation.extension" />
<sliceName value="bodyStructure" />
<type>
<code value="Extension" />
<profile value="http://hl7.org/fhir/StructureDefinition/bodySite" />
</type>
<condition value="inv-obs-1"/>
</element>
<element id="Observation.category">
<path value="Observation.category"/>
Expand Down Expand Up @@ -119,25 +144,7 @@
<strength value="preferred" />
<valueSet value="https://healthterminologies.gov.au/fhir/ValueSet/body-site-1" />
</binding>
</element>
<element id="Observation.bodySite.extension">
<path value="Observation.bodySite.extension" />
<slicing>
<discriminator>
<type value="value" />
<path value="url" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="Observation.bodySite.extension:bodySite">
<path value="Observation.bodySite.extension" />
<sliceName value="bodySite" />
<max value="1"/>
<type>
<code value="Extension" />
<profile value="http://hl7.org/fhir/StructureDefinition/bodySite" />
</type>
<condition value="inv-obs-1"/>
</element>
<element id="Observation.hasMember">
<path value="Observation.hasMember" />
Expand Down