Terminology
type: Library
node role: treeRoot
id:
  v: Terminology
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Metadata Title Terminology Library Version 1.0.0 Identifier urn:oid:2.16.840.1.113883.4.642.40.61.28.35 Status Draft Jurisdiction Global (Whole world) Steward (Publisher) HL7 International / Clinical Quality Information Description This library is the primary measure library for the terminology example measure Type Logic Library Parameter Name: Measurement Period Use: In Min Cardinality: 0 Max Cardinality: 1 Type: Period Parameter Name: Inpatient Encounter Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter Parameter Name: Venous Foot Pumps Applied Use: Out Min Cardinality: 0 Max Cardinality: * Type: Procedure Parameter Name: Initial Population Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter Data Requirement Type: Encounter Profile(s): Encounter Must Support Elements: type, status Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307|20160929 Data Requirement Type: Procedure Profile(s): Procedure Must Support Elements: code, status, bodySite Code Filter(s): Path: code Code(s): SNOMED CT: 442023007 (442023007) (version = http://snomed.info/sct/731000124108/version/201709 ) Library Content CQL Content /*#xD; This example is purely for illustration purposes to show how all the elements of a#xD; FHIR-based quality measure are represented. It is intentionally simplified to show#xD; specific aspects of a measure, and is not intended as an example of a clinically#xD; meaningful measure.#xD; */#xD; library Terminology version '1.0.0'#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' called FHIRHelpers#xD; #xD; include CommonTerminologies version '1.0.0' called Common#xD; #xD; // NOTE: Versioning is used in this example to illustrate completely how versioning is applied#xD; // References to specific versions of code systems and value sets should be used only when necessary#xD; #xD; valueset "Encounter Inpatient SNOMEDCT Value Set":#xD; 'http://cts.nlm.ni…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: String
      v: 3.25.0
  parameter:
    name:
      v: option
    value: String
      v: EnableAnnotations
  parameter:
    name:
      v: option
    value: String
      v: EnableLocators
  parameter:
    name:
      v: format
    value: String
      v: JSON
  parameter:
    name:
      v: format
    value: String
      v: XML
  parameter:
    name:
      v: analyzeDataRequirements
    value: Boolean
      v: false
  parameter:
    name:
      v: collapseDataRequirements
    value: Boolean
      v: true
  parameter:
    name:
      v: compatibilityLevel
    value: String
      v: 1.5
  parameter:
    name:
      v: enableCqlOnly
    value: Boolean
      v: false
  parameter:
    name:
      v: errorLevel
    value: String
      v: Info
  parameter:
    name:
      v: signatureLevel
    value: String
      v: None
  parameter:
    name:
      v: validateUnits
    value: Boolean
      v: true
  parameter:
    name:
      v: verifyOnly
    value: Boolean
      v: false
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
    l: cqf-cqlOptions
  value: Reference
    l: options
    reference:
      v: #options
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/Terminology
  l: Terminology
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.61.28.35
version:
  v: 1.0.0
name:
  v: Terminology
title:
  v: Terminology Library
status:
  v: draft
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-03-03T17:18:20+00:00
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 the primary measure library for the terminology example measure
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
    l: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo
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: Library Common
  resource:
    v: http://hl7.org/fhir/uv/cqm/Library/CommonTerminologies|1.0.0
    l: http://hl7.org/fhir/uv/cqm/Library/CommonTerminologies
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Encounter Inpatient SNOMEDCT Value Set
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307|20160929
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Period
parameter:
  name:
    v: Inpatient Encounter
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Venous Foot Pumps Applied
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Procedure

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

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: status
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307|20160929
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.7.307

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
must support:
  v: code
must support:
  v: status
must support:
  v: bodySite
code filter:
  path:
    v: code
  code: http://snomed.info/id/442023007
    system:
      v: http://snomed.info/sct
      l: sct
    version:
      v: http://snomed.info/sct/731000124108/version/201709
    code:
      v: 442023007

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json