Using CQL with FHIR
1.0.0-snapshot - Snapshot International flag

This page is part of the Using CQL with FHIR Implementation Guide (v1.0.0-snapshot: STU1 Draft) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, 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.0.0-snapshot
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://hl7.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://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
Type: Encounter (http://hl7.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://hl7.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