Canonical Resource Management Infrastructure Implementation Guide
1.0.0 - STU1

Publication Build: This will be filled in by the publication tooling

## Library: Example Logic Library - Module Definition (Experimental)

Official URL: http://hl7.org/fhir/uv/crmi/Library/moduledefinition-example | Version: 1.0.0
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.38.28.7

This library is used as an example module definition in the FHIR Quality Measure Implementation Guide

## Related Artifacts

depends-on | FHIR model information | `http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1`
depends-on | Library FHIRHelpers | `http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1`
depends-on | Code system Diagnosis Role | Diagnosis Role
depends-on | Value set Emergency Department Visit | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292`
depends-on | Value set Psychiatric/Mental Health Patient | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299`
depends-on | Value set Hospital Settings | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126`
depends-on | Value set ONC Administrative Sex | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1`
depends-on | Value set Race | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836`
depends-on | Value set Ethnicity | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837`
depends-on | Value set Payer | `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591`

## Parameters

Measurement Period | in | 0 | 1 | Period
Patient | out | 0 | 1 | Patient
Inpatient Encounter | out | 0 | * | Encounter
Initial Population | out | 0 | * | Encounter
Measure Population | out | 0 | * | Encounter
Stratifier 1 | out | 0 | * | Encounter
Stratifier 2 | out | 0 | * | Encounter
Stratifier 3 | out | 0 | * | Encounter
Stratifier 4 | out | 0 | * | Encounter
SDE Ethnicity | out | 0 | * | Coding
SDE Payer | out | 0 | * | Resource
SDE Race | out | 0 | * | Coding
SDE Sex | out | 0 | 1 | Coding

## Data Requirements

Type: Patient (http://example.org/fhir/us/qicore/StructureDefinition/qicore-patient)

Type: Encounter (http://example.org/fhir/us/qicore/StructureDefinition/qicore-encounter)
Filter | Value
type | In ValueSet http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

Type: Condition (http://example.org/fhir/us/qicore/StructureDefinition/qicore-Condition)
Filter | Value
id | One of these codes:

Type: Coverage (http://example.org/fhir/us/qicore/StructureDefinition/qicore-coverage)
Filter | Value
type | In ValueSet http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

## Contents