cqframework / clinical_quality_language

Clinical Quality Language (CQL) is an HL7 specification for the expression of clinical knowledge that can be used within both the Clinical Decision Support (CDS) and Clinical Quality Measurement (CQM) domains. This repository contains complementary tooling in support of that specification.
https://confluence.hl7.org/display/CDS/Clinical+Quality+Language
Apache License 2.0
258 stars 120 forks source link

Incorrect target mapping for interval-valued elements in a profile-informed authoring model #739

Closed brynrhodes closed 2 years ago

brynrhodes commented 2 years ago

Elements of types in profile-informed authoring models (e.g. US Core and QI Core) that are mapped to interval types in CQL (e.g. Interval) do not output with the conversion function necessary, typically resulting in run-time errors when the translated ELM is executed.

See the "Qualifying Encounters" query in the AdultOutpatientEncounters library of the ecqm-content-qicore-2022 for a reproduction.

brynrhodes commented 2 years ago

Included in v1.5.7