example
type: Library
node role: treeRoot
id:
  v: example
language:
  v: fr
text:
  status:
    v: extensions
  div:
    v: French Title: Example CQL Library Id: example Version: 0.2.0 Url: Example CQL Library Status: draft Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Subject: system: http://hl7.org/fhir/resource-types code: Patient Date: 2025-12-05 19:07:02+0000 Publisher: HL7 International - [Some] Work Group Description: Some example library Jurisdiction: 001 Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1 Observation Category Codes http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1082 http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1053 TBD Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Patient Patient 0 1 Out Inpatient, Emergency, or Telephone Evaluation or Management Encounter Encounter 0 * Out Initial Population boolean 0 1 Out Denominator boolean 0 1 Out COVID-19 Communicable Disease Screening Observation 0 * Out Numerator boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Encounter http://hl7.org/fhir/StructureDefinition/Encounter code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 Encounter http://hl7.org/fhir/StructureDefinition/Encounter code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Encounter http://hl7.org/fhir/StructureDefinition/Encounter code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1082 Encounter http://hl7.org/fhir/StructureDefinition/Encounter code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1053 Observation http://hl7.org/fhir/StructureDefinition/Observation code filter: path: code value set: TBD Content: text/cql library …
url:
  v: http://somewhere.org/fhir/uv/myig/Library/example
  l: example
version:
  v: 0.2.0
name:
  v: Example
title:
  v: Example CQL Library
status:
  v: draft
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
subject: CodeableConcept
  coding:
    system:
      v: http://hl7.org/fhir/resource-types
      l: resource-types
    code:
      v: Patient
date:
  v: 2025-12-05T19:07:02+00:00
publisher:
  v: HL7 International - [Some] Work Group
contact:
  telecom:
    system:
      v: url
    value:
      v: http://hl7.org/Special/committees/[something]
description:
  v: Some example library
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: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1
    l: http://fhir.org/guides/cqf/common/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Code System Observation Category Codes
  resource:
    v: http://terminology.hl7.org/CodeSystem/observation-category
    l: observation-category
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Encounter Inpatient
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
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 Telephone Evaluation
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1082
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1082
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Telephone Management
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1053
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1053
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set COVID-19 Screening Result
  resource:
    v: TBD
    l: TBD
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, Emergency, or Telephone Evaluation or Management 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: 1
  type:
    v: boolean
parameter:
  name:
    v: Denominator
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: COVID-19 Communicable Disease Screening
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Observation
parameter:
  name:
    v: Numerator
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
data requirement:
  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.666.5.307
      l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307

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: 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.464.1003.101.12.1082
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1082

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.464.1003.101.12.1053
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1053

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation
code filter:
  path:
    v: code
  value set:
    v: TBD
    l: TBD

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json