EXMLogic
type: Library
node role: treeRoot
id:
  v: EXMLogic
text:
  status:
    v: extensions
  div:
    v: Metadata Title Example Logic Library Version 2.0.0 Identifier EXMLogic Identifier urn:oid:2.16.840.1.113883.4.642.40.61.28.20 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 Dependency Description: Code System Diagnosis Role Resource: Diagnosis Role Canonical URL: http://terminology.hl7.org/CodeSystem/diagnosis-role Dependency Description: Value Set Emergency Department Visit Resource: Emergency Department Visit Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Dependency Description: Value Set Psychiatric/Mental Health Patient Resource: Psychiatric/Mental Health Diagnosis Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299 Dependency Description: Value Set Hospital Settings Resource: Hospital Settings Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126 Dependency Description: Value Set Chronic Liver Disease Legacy Example Resource: Chronic Liver Disease Legacy Example Canonical URL: http://hl7.org/fhir/uv/cqm/ValueSet/chronic-liver-disease-legacy-example Dependency Description: Value Set ONC Administrative Sex Resource: ONC Administrative Sex Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1 Dependency Description: Value Set Race Resource: Race Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836 Dependency Description: Value Set Ethnicity Resource: Ethnicity Canonical URL: http://cts.nlm.nih.gov/…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: cqi
url:
  v: http://hl7.org/fhir/uv/cqm/Library/EXMLogic
  l: EXMLogic
identifier:
  use:
    v: official
  system:
    v: http://example.org/fhir/cqi/ecqm/Library/Identifier
    l: Identifier
  value:
    v: EXMLogic
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.61.28.20
version:
  v: 2.0.0
name:
  v: EXMLogic
title:
  v: Example Logic Library
status:
  v: active
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2019-09-03
publisher:
  v: HL7 International / Clinical Quality Information
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/cqi
description:
  v: This library is used as an example in the FHIR Quality Measure Implementation Guide
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
approval date:
  v: 2019-08-03
last review date:
  v: 2019-08-03
topic:
  text:
    v: FHIR
topic:
  text:
    v: CQL
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    l: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Code System Diagnosis Role
  resource:
    v: http://terminology.hl7.org/CodeSystem/diagnosis-role
    l: diagnosis-role
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Emergency Department Visit
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Psychiatric/Mental Health Patient
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Hospital Settings
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Chronic Liver Disease Legacy Example
  resource:
    v: http://hl7.org/fhir/uv/cqm/ValueSet/chronic-liver-disease-legacy-example
    l: chronic-liver-disease-legacy-example
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set ONC Administrative Sex
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Race
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Ethnicity
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Payer
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Period
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Inpatient Encounter
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Initial Population
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter

name:
  v: Measure Population
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

name:
  v: Stratifier 1
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

name:
  v: Stratifier 2
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

name:
  v: Stratifier 3
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

name:
  v: Stratifier 4
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

name:
  v: SDE Ethnicity
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Coding

name:
  v: SDE Payer
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: SDE Race
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Coding

name:
  v: SDE Sex
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Coding

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
code filter:
  path:
    v: id

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
code filter:
  path:
    v: id

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Coverage
profile:
  v: http://hl7.org/fhir/StructureDefinition/Coverage
  l: Coverage
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json