Closed robeastwood-agency closed 4 years ago
Work is in progress to check if that invariants have relative FHIRPath.
The invariants have now been changed to have relative paths and are now under review.
Changes to the FHIRpath can now be found in the above commit of the structure definition.
Prerequisites
The bug
In the Advance Care Planning composition profile (composition-acp-1), the invariants on the following 2 extensions have faulty FHIRPath expressions, related to the use of 'conformsTo'. The consequence of which is that acceptable content for these elements always fails to be valid against these invariants.
1) Element: Composition.extension:compositionAuthorRole
Composition.extension('http://hl7.org.au/fhir/StructureDefinition/composition-author-role').resolve().conformsTo('http://ns.electronichealth.net.au/ci/fhir/3.0/StructureDefinition/practitioner-ident-1')
2) Element: Composition.attester.extension:attesterRelatedParty
Composition.attester.extension('http://hl7.org.au/fhir/StructureDefinition/attester-related-party').resolve().conformsTo('http://ns.electronichealth.net.au/ci/fhir/3.0/StructureDefinition/relatedperson-ident-1')
|What I expected to happen
Acceptable content for this element shall be valid against these invariants. Unacceptable content for this element shall not be valid against these invariants.
The fix
The correct (and simplified) FHIRPath is (respectively):
Screenshots
N/A
Workarounds
N/A
QA.html excerpt
N/A
Desktop (please complete the following information):
N/A
Additional context
N/A