Using CQL with FHIR
1.1.0-cibuild - CIBuild International flag

Using CQL with FHIR, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 1.1.0-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql-ig/ and changes regularly. See the Directory of published versions

Library: Example Logic Library - Module Definition (Experimental)

Official URL: http://hl7.org/fhir/uv/cql/Library/module-example Version: 1.1.0-cibuild
Active as of 2019-09-03 Computable Name: EXMLogicModuleDefinition
Other Identifiers: http://example.org/fhir/cqi/ecqm/Library/Identifier#EXMLogic (use: official), OID:2.16.840.1.113883.4.642.40.37.28.8

This library is used as an example module definition in the Using FHIR with CQL Implementation Guide

Related Artifacts

depends-onQICore model informationhttp://example.org/fhir/us/qicore/Library/QICore-ModelInfo|4.1.1
depends-onLibrary FHIRHelpershttp://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1
depends-onCode system Diagnosis RoleDiagnosis Role
depends-onValue set Emergency Department Visithttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
depends-onValue set Psychiatric/Mental Health Patienthttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
depends-onValue set Hospital Settingshttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
depends-onValue set ONC Administrative Sexhttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
depends-onValue set Racehttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
depends-onValue set Ethnicityhttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
depends-onValue set Payerhttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

Parameters

Measurement Periodin01Period
Patientout01Patient
Inpatient Encounterout0*Encounter
Initial Populationout0*Encounter
Measure Populationout0*Encounter
Stratifier 1out0*Encounter
Stratifier 2out0*Encounter
Stratifier 3out0*Encounter
Stratifier 4out0*Encounter
SDE Ethnicityout0*Coding
SDE Payerout0*Resource
SDE Raceout0*Coding
SDE Sexout01Coding

Data Requirements

Type: Patient (http://example.org/fhir/us/qicore/StructureDefinition/qicore-patient)
Type: Encounter (http://example.org/fhir/us/qicore/StructureDefinition/qicore-encounter)
FilterValue
typeIn ValueSet http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
Type: Condition (Condition)
FilterValue
idOne of these codes:
Type: Coverage (http://example.org/fhir/us/qicore/StructureDefinition/qicore-coverage)
FilterValue
typeIn ValueSet http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

Contents