Skip to content

QA Diagnoses is a List on an Encounter, Performed

Darren Duncan edited this page Oct 12, 2017 · 1 revision

Questions and Answers


Q&A - Diagnoses is a List on an Encounter, Performed

Question

I made the changes to the CQL for diagnoses it does not show any error in MAT but 2/3 test cases are still failing in Bonnie related to the diagnosis/facility location update 5.4.

Answer

It looks like the syntax you are using is:

  where Encounter.diagnoses in "Single Live Birth"

This is not the correct syntax as diagnoses is a list of diagnoses rather than a single diagnosis. It needs to be accessed similar to:

  where Encounter.diagnoses diagnosis where diagnosis in "Single Live Birth"

Wiki Index

Home

Authoring Patterns - QICore v4.1.1

Authoring Patterns - QICore v5.0.0

Authoring Patterns - QICore v6.0.0

Authoring Measures in CQL

Composite Measure Development

Cooking with CQL Examples

Cooking with CQL Q&A All Categories
Additional Q&A Examples

CQL 1.3 Impact Guidance

CQL Error Messages

Developers Introduction to CQL

Discussion Items

Example Measures

Formatting and Usage Topics

Formatting Conventions

Library Versioning

Negation in QDM

QDM Known Issues

Specific Occurrences

Specifying Population Criteria

Supplemental Data Elements

Terminology in CQL

Translator Options For Measure Development

Unions in CQL

Clone this wiki locally