Skip to content

QDM Related Formatting Conventions

Bryn Rhodes edited this page Jul 13, 2016 · 4 revisions

QDM-Specific Formatting Conventions

In addition to general CQL Formatting Conventions, the following guidelines are intended to promote consistency and reusability of CQL developed for measures that use the Quality Data Model (QDM) to represent patient information.

Named Expression Identifiers

Identifiers for top-level named expressions should follow these guidelines:

  • Always use quoted identifiers
  • Use Title Case and appropriate spacing
  • Provide a descriptive, meaningful name

Data Type Names

  • Always use quoted identifiers
  • Use PascalCase plus appropriate spacing
  • Use the friendly name ["Encounter, Performed"]

Attribute Names

  • Never use quoted identifiers
  • Use camelCase admissionDateTime

Aliases

  • Never use quoted identifiers
  • Use PascalCase Encounter
  • Don't use abbreviations MedicationOrder
  • Use descriptive names AsthmaMedication

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