Quality Measure Implementation Guide
1.0.0 - STU 1

Quality Measure Implementation Guide - Downloaded Version null See the Directory of published versions

## Library: Common Library (Experimental)

Official URL: http://hl7.org/fhir/uv/cqm/Library/Common | Version: 2.0.0
Standards status: Informative | Computable Name: Common
Other Identifiers: http://example.org/fhir/cqi/ecqm/Library/Identifier#Common (use: official, ), OID:2.16.840.1.113883.4.642.40.61.28.6

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

Metadata
Title | Common Library
Version | 2.0.0
Identifier | Common
Identifier | urn:oid:2.16.840.1.113883.4.642.40.61.28.6
Approval Date | 2019-08-03
Last Review Date | 2019-08-03
Experimental | true
Jurisdiction | Global (Whole world)
Steward (Publisher) | HL7 International / Clinical Quality Information
Description | This library is used as an example in the FHIR Quality Measure Implementation Guide
Type | Logic Library
Parameter | Name: Patient Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: Patient
Data Requirement | Type: Patient Profile(s): Patient
Library Content
CQL Content |
    /*
    This example is a work in progress and should not be considered a final specification
    or recommendation for guidance. This example will help guide and direct the process
    of finding conventions and usage patterns that meet the needs of the various stakeholders
    in the measure development community.
    */
    library Common version '2.0.0'

    using FHIR version '4.0.1'

    include hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' called FHIRHelpers

    context Patient

    define function
       "Includes Or Starts During"(Condition Condition, Encounter Encounter):
          Interval[Condition.onset, Condition.abatement] includes Encounter.period
             or Condition.onset during Encounter.period
ELM XML Content |
    Encoded data (16008 characters)
ELM JSON Content |
    Encoded data (25308 characters)
Generated using version 0.4.9 of the sample-content-ig Liquid templates