FHIR Chat · ToConcept not defined for List<Code> · cql

Stream: cql

Topic: ToConcept not defined for List<Code>


view this post on Zulip Zach Smith (Dec 16 2019 at 19:18):

The ToConcept operator is only defined for the Code data type. However, the conversion matrix on the Convert operator docs lists List<Code> to Concept as an allowed explicit conversion. Was this intentional?

view this post on Zulip Bryn Rhodes (Dec 16 2019 at 22:09):

We removed the implicit conversion from a List of Codes to a concept, but the overload should still be there to allow the explicit conversion as indicated in the chart. Added STU4#1884 to address this.

view this post on Zulip Mohammad Afaq Khan (Dec 18 2019 at 20:16):

In QDM 5.5 Encounter, Performed.diagnoses.diagnosis isn't working. Is Encounter, Performed.diagnoses.code the same thing?

view this post on Zulip Bryn Rhodes (Dec 19 2019 at 05:38):

["Encounter, Performed"] E where exists (E.diagnoses D where D.code in "Inpatient Diagnoses")

view this post on Zulip Bryn Rhodes (Dec 19 2019 at 05:38):

Diagnoses is a repeating element (DiagnosisComponent), each of which has a code, presentOnAdmissionIndicator and rank.

view this post on Zulip Mohammad Afaq Khan (Dec 19 2019 at 11:37):

Thanks @Bryn Rhodes


Last updated: Apr 12 2022 at 19:14 UTC