AuDigitalHealth / ci-fhir-stu3

Working drafts of HL7™ FHIR® Release 3 (STU) artefacts authored and maintained by the Clinical Informatics team at the Australian Digital Health Agency.
Other
11 stars 0 forks source link

Shared Health Summary Summary Composition - invariant FHIRPaths are absolute and need to be relative #69

Closed dtr-agency closed 4 years ago

dtr-agency commented 4 years ago

Prerequisites

The bug

In composition-shs-1 invariants inv-dh-cmp-02 to inv-dh-cmp-08 have FHIRPath expresssions written as absolute paths rather than relative.

At one point we had thought that absolute was necessary (in conjunction with some older IG Publisher behaviour) but this topic has been cleared up in the FHIR community. Invariant FHIRPath expressions are to be relative path.

Invariants inv-dh-cmp-02 to inv-dh-cmp-08 need their FHIRPath converted to relative path and to be tested.

What I expected to happen

N/A

Steps to reproduce

N/A

Screenshots

N/A

Workarounds

This extant issue on the Shared Health Summary Composition may be addressed in the STU3 profile by documentation of a known issue rather than adding invariants to the Composition. Or possibly a mix of both, addition of some invariants / constraints and a known issue covering off the other invariants not included in the STU3 profile. Example known issue content

Example known issue content

Reference Description Issue No.
section(allergies) (invariants) The FHIRPath expression for inv-dh-cmp-02 is written with an absolute path and it should be a relative path. The result of this is TBD. This issue will be fixed in an R4 variant of this profile. See ci-fhir-stu3/issues/69

QA.html excerpt

N/A

Desktop (please complete the following information):

N/A

Additional context

composition-sml-prac-1 is an example of a Composition with relative path invariants.

dbojicic-agency commented 4 years ago

Work is underway to implement the conversion of all composition profile invariant FHIRPaths from absolute to relative.

dbojicic-agency commented 4 years ago

FHIRPath expressions for these elements were updated to use relative paths: