Quality Measure Implementation Guide
2.0.0-ballot - STU 2 Ballot

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 | Highlight text changes?
Standards status: Informative Active as of 2019-09-03 | 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 | 001 from http://unstats.un.org/unsd/methods/m49/m49.htm
Topic | FHIR
Topic | CQL
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 from http://terminology.hl7.org/CodeSystem/library-type
Dependency | Description: Library FHIRHelpers Resource: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 Canonical URL: `http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1`
Parameters
Name | Use | Card. | Type | Documentation
Patient | Out | 0..1 | 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
ELM JSON Content |
    Encoded data
Generated using version 0.5.4 of the sample-content-ig Liquid templates