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

Incorrect use of fixedCodeableConcept in various profiles #48

Closed robeastwood-agency closed 4 years ago

robeastwood-agency commented 5 years ago

Prerequisites

The bug

Attempts to fix the value of system and code in CodeableConcept elements are incorrectly using fixedCodeableConcept directly on the CodeableConcept element. The result of this prohibits CodeableConcept.text and CodeableConcept.coding.display (as well as other elements), which will inhibit the representation of realistic instances of data. This is apparent in the following profiles:

What I expected to happen

The fixed values are present as expected without prohibiting other useful elements.

Workarounds

None

Desktop (please complete the following information):

Additional context

Wherever possible, use ElementDefinition.pattern[x] for specifying values of CodeableConcept and Coding type elements.

RichardTON commented 4 years ago

This issue is accepted as a known issue for composition-sml-prac-1 due to project constraints in accordance with the following requirements:

LB-Agency commented 4 years ago

This issue is accepted as a known issue for list-medseventchanges-1 in accordance with the following requirements:

robeastwood-agency commented 4 years ago

This issue has also been accepted as known issues for the composition profile composition-es-1. STU3 work has been ceased and any future work will continue with R4.

Note that 7 known issues were added, one for each of the affected elements.

robeastwood-agency commented 4 years ago

Closed in error (as this still affects other profiles)

dbojicic-agency commented 4 years ago

Updated Composition Shared Health Summary to fix values of all CodeableConcept elements by using patternCodeableConcept rather than fixedCodeableConcept. This allows an instance to include extra elements including repetitions (multiple codings).

davidmckillop commented 4 years ago

Created known issues of Provenance for the Generation of a List profile for the CodeableConcept elements of activity, agent:assemblingDevice.role and agent:All Slices,

dbojicic-agency commented 4 years ago

Work has commenced to fix values of all CodeableConcept elements in Personal Health Summary Composition profile (StructureDefinition-composition-phs-1) by using patternCodeableConcept rather than fixedCodeableConcept.

dbojicic-agency commented 4 years ago

Updated Composition Personal Health Summary to fix values of all CodeableConcept elements by using patternCodeableConcept rather than fixedCodeableConcept. This allows an instance to include extra elements including repetitions (multiple codings).

davidmckillop commented 4 years ago

Updated Composition Personal Health Notes (composition-phn-1) to fix values of all CodeableConcept elements by using patternCodeableConcept rather than fixedCodeableConcept. This allows an instance to include extra elements including repetitions (multiple codings).

dbojicic-agency commented 4 years ago

Work is in progress to address this issue in the Advance Care Planning Document Reference (StructureDefinition-documentreference-acp-1) profile. In this profile existing DocumentReference.type fixed value will be replaced by a terminology binding to a value set that allows for subtypes of the advance care planning document.

dbojicic-agency commented 4 years ago

Advance Care Planning Document Reference (StructureDefinition-documentreference-acp-1) profile has now been updated to remove the fixed value from DocumentReference.type; instead, the element is now bound to a value set to allow for different types.

SatyaYelisetti commented 4 years ago

Work is in progress to address this issue in the Advance Care Planning Composition (StructureDefinition-composition-acp-1) profile. In this profile existing Composition.type and Composition.section.code fixedCodeableConcept will be replaced by patternCodeableConcept.

SatyaYelisetti commented 4 years ago

Advance Care Planning Composition.type and Composition.section.code fixedCodeableConcept have been replaced by patternCodeableConcept and the profile is now out for review.

SatyaYelisetti commented 4 years ago

Advance Care Planning Composition.type and Composition.section.code fixedCodeableConcept have been replaced by patternCodeableConcept via commit a3eff3d .

RichardTON commented 4 years ago

Advance Care Directive Custodian Record Composition.type and Composition.section.code fixed value have been replaced by required pattern via commit ca46530