-
Question/Guidance
-
Resolution: Done
-
Moderate
-
None
-
Yes
-
QI Core/CQL
-
Not measure related
-
MADiE
Hello,
Would you please provide guidance on how to author FHIR elements with different choice types in QICore/CQL (e.g., Patient.deceased, Observation.value)? For example, sometimes you would need to specify a choice type, and sometimes you don’t. It’s unclear why that is and what the general rule is for authoring FHIR elements with different choice types in QICore/CQL; it seems less straightforward than FHIR/CQL. Neither the QICore 4.1.1 IG Patterns page ( http://hl7.org/fhir/us/qicore/STU4.1.1/patterns.html ) nor the GitHub page ( https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/wiki/Authoring-Patterns---QICore-v4.1.1#accessing-encounters-with-a-direct-reference-code ) seems to get at this level of information.
Please kindly advise. Thank you!
Example 1:
FHIR/CQL: …where date from Patient.deceased as dateTime during day of Interval…
QICore 4.1.1/CQL (CQLIT-409): …where date from Patient.deceased during day of Interval…
Example 2:
FHIR/CQL: …where Observation.value as CodeableConcept in “Frailty Device”
QICore 4.1.1/CQL (InValueSet Error · Issue #16 · cqframework/vscode-cql · GitHub): ….where Observation.value as Concept in “Frailty Device”