Using CQL with FHIR
2.0.0-ballot - STU2Ballot 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 2.0.0-ballot 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: 2.0.0-ballot
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

Title: Example Logic Library - Module Definition
Id: module-example
Version: 2.0.0-ballot
Url: Example Logic Library - Module Definition
Official

EXMLogic

urn:oid:2.16.840.1.113883.4.642.40.37.28.8

Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: module-definition

Date: 2019-09-03
Publisher: HL7 International / Clinical Decision Support
Description:

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

Jurisdiction: 001
Related Artifacts:

Dependencies

  • http://example.org/fhir/us/qicore/Library/QICore-ModelInfo|4.1.1
  • http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1
  • Diagnosis Role
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Parameters:
NameTypeMinMaxIn/Out
Measurement PeriodPeriod01In
PatientPatient01Out
Inpatient EncounterEncounter0*Out
Initial PopulationEncounter0*Out
Measure PopulationEncounter0*Out
Stratifier 1Encounter0*Out
Stratifier 2Encounter0*Out
Stratifier 3Encounter0*Out
Stratifier 4Encounter0*Out
SDE EthnicityCoding0*Out
SDE PayerResource0*Out
SDE RaceCoding0*Out
SDE SexCoding01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://example.org/fhir/us/qicore/StructureDefinition/qicore-patient ;
Encounter http://example.org/fhir/us/qicore/StructureDefinition/qicore-encounter code filter:
path: type
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
Condition http://hl7.org/fhir/StructureDefinition/Condition code filter:
path: id
Coverage http://example.org/fhir/us/qicore/StructureDefinition/qicore-coverage code filter:
path: type
value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591