FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: Measure/CCSComponent

Packagehl7.fhir.uv.cqm
Resource TypeMeasure
IdCCSComponent
FHIR VersionR4
Sourcehttp://hl7.org/fhir/uv/cqm/https://build.fhir.org/ig/HL7/fhir-cqm/Measure-CCSComponent.html
URLhttp://hl7.org/fhir/uv/cqm/Measure/CCSComponent
Version0.0.001
Statusactive
Date2025-08-07T21:50:22-06:00
NameCCSComponent
TitleCervical Cancer Screening
Realmuv
Authorityhl7
DescriptionThis is only an example.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Knowledge Artifact Metadata
Name (machine-readable) CCSComponent
Title (human-readable) Cervical Cancer Screening
Status Active
Experimental true
Description

This is only an example.

Effective Period 2022-01-01..2022-12-31
Use Context Clinical Venue = EC
Measure Steward HL7 International / Clinical Quality Information
Steward Contact Details http://www.hl7.org/Special/committees/cqi
Measure Metadata
Short Name Identifier Colorectal Cancer Screening
Version Independent Identifier http://example.org/fhir/us/cqm/Measure/CCSComponent
Version Specific Identifier http://example.org/fhir/us/cqm/Measure/130v10
Version Number 0.0.001
Measure Scoring Proportion
Measure Type Process
Improvement Notation Increased score indicates improvement
Measure Population Criteria
Initial Population ID: 93644713-B761-4A71-A6DB-38675B4D4AA0
Description: No description provided Logic Definition: Initial Population
Denominator ID: CCC5263F-B14C-4EFC-B726-3C323A137132
Description: No description provided Logic Definition: Denominator
Denominator Exclusion ID: C8F51A00-EDC7-4F91-8415-25395BF16D16
Description: No description provided Logic Definition: Denominator Exclusion
Numerator ID: 9E219037-5E8B-40F6-A304-4460BD8D3FFA
Description: No description provided Logic Definition: Numerator
Supplemental Data Elements
Supplemental Data Element ID: 4d3fff25-29d7-4e61-9fdd-a02a85c1472f
Usage Code: Supplemental Data
Description: No description provided
Logic Definition: SDE Ethnicity
Supplemental Data Element ID: 4732f9d3-e4c9-4a24-ab3c-9247a55d73ef
Usage Code: Supplemental Data
Description: No description provided
Logic Definition: SDE Payer
Supplemental Data Element ID: 523c2619-71c6-4e60-83f8-3d8eeef75398
Usage Code: Supplemental Data
Description: No description provided
Logic Definition: SDE Race
Supplemental Data Element ID: 336d1356-61a7-4220-9635-ffc50b90af2f
Usage Code: Supplemental Data
Description: No description provided
Logic Definition: SDE Sex
Measure Logic
Primary Library CCS Component Library
Dependency Description: Library SDE
Resource: Supplemental Data Elementsversion: null2.0.000)
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000
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: Library Global
Resource: MAT Global Common Functions FHIR Libraryversion: null5.0.000)
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000
Dependency Description: Library AdultOutpatientEncounters
Resource: Adult Outpatient Encounters Common Libraryversion: null2.0.000)
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/AdultOutpatientEncounters|2.0.000
Dependency Description: Library Hospice
Resource: Hospice FHIR Libraryversion: null2.0.000)
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/Hospice|2.0.000
Dependency Description: Library Frailty
Resource: Advanced Illness and Frailty Exclusion Libraryversion: null5.12.000)
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/AdvancedIllnessandFrailtyExclusion|5.12.000
Dependency Description: Code system SNOMEDCT:2017-09
Resource: http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709
Canonical URL: http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709
Dependency Description: Value set Colonoscopy
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020
Dependency Description: Value set Fecal Occult Blood Test (FOBT)
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011
Dependency Description: Value set Flexible Sigmoidoscopy
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010
Dependency Description: Value set FIT DNA
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039
Dependency Description: Value set CT Colonography
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038
Dependency Description: Value set Office Visit
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001
Dependency Description: Value set Annual Wellness Visit
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240
Dependency Description: Value set Preventive Care Services - Established Office Visit, 18 and Up
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025
Dependency Description: Value set Preventive Care Services-Initial Office Visit, 18 and Up
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023
Dependency Description: Value set Home Healthcare Services
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016
Dependency Description: Value set Payer
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Dependency Description: Value set Encounter Inpatient
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
Dependency Description: Value set Hospice care ambulatory
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
Dependency Description: Value set Malignant Neoplasm of Colon
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001
Dependency Description: Value set Total Colectomy
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019
Dependency Description: Value set Frailty Device
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
Dependency Description: Value set Frailty Diagnosis
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
Dependency Description: Value set Frailty Encounter
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
Dependency Description: Value set Frailty Symptom
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
Dependency Description: Value set Outpatient
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087
Dependency Description: Value set Observation
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086
Dependency Description: Value set ED
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085
Dependency Description: Value set Nonacute Inpatient
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084
Dependency Description: Value set Advanced Illness
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
Dependency Description: Value set Acute Inpatient
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
Dependency Description: Value set Dementia Medications
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
Dependency Description: Value set Care Services in Long-Term Residential Facility
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014
Dependency Description: Value set Nursing Facility Visit
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012
Direct Reference Code Display: Discharge to home for hospice care (procedure)
Code: 428361000124107
System: http://snomed.info/sct
Direct Reference Code Display: Discharge to healthcare facility for hospice care (procedure)
Code: 428371000124100
System: http://snomed.info/sct
Parameter Name: Measurement Period
Use: In
Min Cardinality: 0
Max Cardinality: 1
Type: Period
Parameter Name: SDE Sex
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: Coding
Parameter Name: Numerator
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: boolean
Parameter Name: Denominator
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: boolean
Parameter Name: SDE Payer
Use: Out
Min Cardinality: 0
Max Cardinality: *
Type: Resource
Parameter Name: Initial Population
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: boolean
Parameter Name: SDE Ethnicity
Use: Out
Min Cardinality: 0
Max Cardinality: *
Type: Coding
Parameter Name: Denominator Exclusion
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: boolean
Parameter Name: SDE Race
Use: Out
Min Cardinality: 0
Max Cardinality: *
Type: Coding
Measure Logic Data Requirements
Data Requirement Type: Patient
Profile(s): Patient
Must Support Elements: url, extension, value
Data Requirement Type: Procedure
Profile(s): Procedure
Must Support Elements: code, status, performed
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020
Data Requirement Type: Procedure
Profile(s): Procedure
Must Support Elements: code, status, performed
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010
Data Requirement Type: Procedure
Profile(s): Procedure
Must Support Elements: code, status, performed
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038
Data Requirement Type: Procedure
Profile(s): Procedure
Must Support Elements: code, status, performed
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
Data Requirement Type: Procedure
Profile(s): Procedure
Must Support Elements: code, status, performed
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019
Data Requirement Type: Observation
Profile(s): Observation
Must Support Elements: code, status, value, effective
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011
Data Requirement Type: Observation
Profile(s): Observation
Must Support Elements: code, status, value, effective
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039
Data Requirement Type: Observation
Profile(s): Observation
Must Support Elements: code, effective
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, status, hospitalization, hospitalization.dischargeDisposition, period, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, diagnosis, period, status
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: type, period, status, diagnosis
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012
Data Requirement Type: Coverage
Profile(s): Coverage
Must Support Elements: type, period
Code Filter(s):
Path: type
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Data Requirement Type: ServiceRequest
Profile(s): ServiceRequest
Must Support Elements: code, intent, authoredOn
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
Data Requirement Type: Condition
Profile(s): Condition
Must Support Elements: code
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001
Data Requirement Type: Condition
Profile(s): Condition
Must Support Elements: code
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
Data Requirement Type: Condition
Profile(s): Condition
Must Support Elements: code, id
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
Data Requirement Type: DeviceRequest
Profile(s): DeviceRequest
Must Support Elements: code, authoredOn
Code Filter(s):
Path: code
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
Data Requirement Type: MedicationDispense
Profile(s): MedicationDispense
Must Support Elements: medication, whenHandedOver
Code Filter(s):
Path: medication
ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
Data Requirement Type: MedicationDispense
Profile(s): MedicationDispense
Must Support Elements: medication.reference, whenHandedOver
Data Requirement Type: Medication
Profile(s): Medication
Must Support Elements: id, code
Measure Logic Definitions
Logic Definition Library Name: SupplementalDataElements
define "SDE Sex":   case       when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }       when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }       else null     end
Logic Definition Library Name: CCSComponent
define "SDE Sex":   SDE."SDE Sex"
Logic Definition Library Name: CCSComponent
define "Colonoscopy Performed":   [Procedure: "Colonoscopy"] Colonoscopy       where Colonoscopy.status = 'completed'         and Global."Normalize Interval" ( Colonoscopy.performed ) ends 10 years or less on or before         end of "Measurement Period"
Logic Definition Library Name: CCSComponent
define "Fecal Occult Blood Test Performed":   [Observation: "Fecal Occult Blood Test (FOBT)"] FecalOccultResult       where FecalOccultResult.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FecalOccultResult.value is not null         and Global."Normalize Interval" ( FecalOccultResult.effective ) during day of "Measurement Period"
Logic Definition Library Name: CCSComponent
define "Flexible Sigmoidoscopy Performed":   [Procedure: "Flexible Sigmoidoscopy"] FlexibleSigmoidoscopy       where FlexibleSigmoidoscopy.status = 'completed'         and Global."Normalize Interval" ( FlexibleSigmoidoscopy.performed ) ends 5 years or less on or before         end of "Measurement Period"
Logic Definition Library Name: CCSComponent
define "Fecal Immunochemical Test DNA":   [Observation: "FIT DNA"] FitDNA       where FitDNA.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FitDNA.value is not null         and Global."Normalize Interval" ( FitDNA.effective ) occurs 3 years or less on or before day of         end of "Measurement Period"
Logic Definition Library Name: CCSComponent
define "CT Colonography Performed":   [Procedure: "CT Colonography"] Colonography       where Colonography.status = 'completed'         and Global."Normalize Interval" ( Colonography.performed ) ends 5 years or less on or before         end of "Measurement Period"
Logic Definition Library Name: CCSComponent
define "Numerator":   exists "Colonoscopy Performed"       or exists "Fecal Occult Blood Test Performed"       or exists "Flexible Sigmoidoscopy Performed"       or exists "Fecal Immunochemical Test DNA"       or exists "CT Colonography Performed"
Logic Definition Library Name: AdultOutpatientEncounters
define "Qualifying Encounters":  (     [Encounter: "Office Visit"]     union [Encounter: "Annual Wellness Visit"]     union [Encounter: "Preventive Care Services - Established Office Visit, 18 and Up"]     union [Encounter: "Preventive Care Services-Initial Office Visit, 18 and Up"]     union [Encounter: "Home Healthcare Services"]   ) ValidEncounter   where ValidEncounter.period during "Measurement Period"     and ValidEncounter.status  = 'finished'
Logic Definition Library Name: CCSComponent
define "Initial Population":   Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) in Interval[50, 75]       and exists AdultOutpatientEncounters."Qualifying Encounters"
Logic Definition Library Name: CCSComponent
define "Denominator":   "Initial Population"
Logic Definition Library Name: SupplementalDataElements
define "SDE Payer":   [Coverage: type in "Payer"] Payer         return {           code: Payer.type,           period: Payer.period         }
Logic Definition Library Name: CCSComponent
define "SDE Payer":   SDE."SDE Payer"
Logic Definition Library Name: SupplementalDataElements
define "SDE Ethnicity":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding
Logic Definition Library Name: CCSComponent
define "SDE Ethnicity":   SDE."SDE Ethnicity"
Logic Definition Library Name: Hospice
define "Has Hospice":  exists (     [Encounter: "Encounter Inpatient"] DischargeHospice    where DischargeHospice.status = 'finished'       and (          DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)"         or DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)"       )     and DischargeHospice.period ends during "Measurement Period"  )     or exists (       [ServiceRequest: "Hospice care ambulatory"] HospiceOrder         where HospiceOrder.intent = 'order'             and HospiceOrder.authoredOn in "Measurement Period"     )     or exists (       [Procedure: "Hospice care ambulatory"] HospicePerformed         where HospicePerformed.status = 'completed'           and Global."Normalize Interval"(HospicePerformed.performed) overlaps "Measurement Period"     )
Logic Definition Library Name: CCSComponent
define "Malignant Neoplasm":   [Condition: "Malignant Neoplasm of Colon"] ColorectalCancer       where Global."Prevalence Period" ( ColorectalCancer ) starts on or before       end of "Measurement Period"
Logic Definition Library Name: CCSComponent
define "Total Colectomy Performed":   [Procedure: "Total Colectomy"] Colectomy       where Colectomy.status = 'completed'         and Global."Normalize Interval" ( Colectomy.performed ) starts on or before         end of "Measurement Period"
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
define "Has Criteria Indicating Frailty":   //Ask Bryn about devices        exists ( [DeviceRequest: "Frailty Device"] FrailtyDeviceOrder          where FrailtyDeviceOrder.authoredOn during "Measurement Period"        )           // DeviceUseStatement has a known issue with the publication tooling           // so it is removed to allow this IG to publish until that is fixed         //or exists ( [DeviceUseStatement: "Frailty Device"] FrailtyDeviceUse         //  where Global."Normalize Interval"(FrailtyDeviceUse.timing) overlaps "Measurement Period"         //)         or exists ( [Condition: "Frailty Diagnosis"] FrailtyDiagnosis           where Global."Prevalence Period"(FrailtyDiagnosis) overlaps "Measurement Period"         )         or exists ( [Encounter: "Frailty Encounter"] FrailtyEncounter           where FrailtyEncounter.period overlaps "Measurement Period"         )         or exists ( [Observation: "Frailty Symptom"] FrailtySymptomObservation           where Global."Normalize Interval"(FrailtySymptomObservation.effective) overlaps "Measurement Period"         )
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
define "Outpatient Encounters with Advanced Illness":   ( [Encounter: "Outpatient"]         union [Encounter: "Observation"]         union [Encounter: "ED"]         union [Encounter: "Nonacute Inpatient"] ) OutpatientEncounter          with [Condition: "Advanced Illness"] AdvancedIllnessDiagnosis                   such that exists (                       OutpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )                   and OutpatientEncounter.period starts 2 years or less on or before          end of "Measurement Period"
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
define "Inpatient Encounter with Advanced Illness":   [Encounter: "Acute Inpatient"] InpatientEncounter         with [Condition: "Advanced Illness"] AdvancedIllnessDiagnosis                   such that exists (                       InpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )          and InpatientEncounter.period starts 2 years or less on or before          end of "Measurement Period"
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
define "Dementia Medications In Year Before or During Measurement Period":   ["MedicationDispense": "Dementia Medications"] DementiaMed         where DementiaMed.whenHandedOver during Interval[                   ( start of "Measurement Period" - 1 year ), end of "Measurement Period"               ]
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
define "Advanced Illness and Frailty Exclusion Not Including Over Age 80":   //If the measure does NOT include populations age 80 and older, then use this logic:        Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(Patient.birthDate), start of "Measurement Period")>= 65               and "Has Criteria Indicating Frailty"               and ( Count("Outpatient Encounters with Advanced Illness")>= 2                   or exists ( "Inpatient Encounter with Advanced Illness" )                   or exists "Dementia Medications In Year Before or During Measurement Period"               )
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
// start here  define "Long Term Care Periods During Measurement Period":   ( [Encounter: "Care Services in Long-Term Residential Facility"]                 union [Encounter: "Nursing Facility Visit"] ) LongTermFacilityEncounter                 where LongTermFacilityEncounter.period overlaps "Measurement Period"                 return LongTermFacilityEncounter.period                  intersect "Measurement Period"
Logic Definition Library Name: AdvancedIllnessandFrailtyExclusion
define "Long Term Care Periods Longer Than 90 Consecutive Days":   exists ( "Long Term Care Periods During Measurement Period" LongTermCareDuringMP         where duration in days of LongTermCareDuringMP > 90     )
Logic Definition Library Name: CCSComponent
define "Denominator Exclusion":   Hospice."Has Hospice"       or exists "Malignant Neoplasm"       or exists "Total Colectomy Performed"       or Frailty."Advanced Illness and Frailty Exclusion Not Including Over Age 80"         and Frailty."Long Term Care Periods Longer Than 90 Consecutive Days"
Logic Definition Library Name: SupplementalDataElements
define "SDE Race":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding
Logic Definition Library Name: CCSComponent
define "SDE Race":   SDE."SDE Race"
Logic Definition Library Name: FHIRHelpers
define function ToString(value AdministrativeGender): value.value
Logic Definition Library Name: FHIRHelpers
define function ToString(value ProcedureStatus): value.value
Logic Definition Library Name: FHIRHelpers
define function ToString(value ObservationStatus): value.value
Logic Definition Library Name: MATGlobalCommonFunctions
define function "CalendarAgeInYearsAt"(BirthDateTime DateTime, AsOf DateTime):  years between ToDate(BirthDateTime)and ToDate(AsOf)
Logic Definition Library Name: MATGlobalCommonFunctions
define function "ToDate"(Value DateTime):  DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)
Logic Definition Library Name: FHIRHelpers
define function ToDate(value date): value.value
Logic Definition Library Name: FHIRHelpers
/* @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period) value to a CQL DateTime Interval @comment: If the start value of the given period is unspecified, the starting boundary of the resulting interval will be open (meaning the start of the interval is unknown, as opposed to interpreted as the beginning of time). */ define function ToInterval(period FHIR.Period):     if period is null then         null     else         if period."start" is null then             Interval(period."start".value, period."end".value]         else             Interval[period."start".value, period."end".value]
Logic Definition Library Name: FHIRHelpers
define function ToString(value EncounterStatus): value.value
Logic Definition Library Name: FHIRHelpers
define function ToString(value uri): value.value
Logic Definition Library Name: FHIRHelpers
/* @description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept. */ define function ToConcept(concept FHIR.CodeableConcept):     if concept is null then         null     else         System.Concept {             codes: concept.coding C return ToCode(C),             display: concept.text.value         }
Logic Definition Library Name: FHIRHelpers
/* @description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code. */ define function ToCode(coding FHIR.Coding):     if coding is null then         null     else         System.Code {           code: coding.code.value,           system: coding.system.value,           version: coding.version.value,           display: coding.display.value         }
Logic Definition Library Name: FHIRHelpers
define function ToString(value ServiceRequestIntent): value.value
Logic Definition Library Name: FHIRHelpers
define function ToDateTime(value dateTime): value.value
Logic Definition Library Name: MATGlobalCommonFunctions
define function "Prevalence Period"(condition Condition):   Interval[start of "Normalize Interval"(condition.onset), end of "Normalize Abatement"(condition))
Logic Definition Library Name: MATGlobalCommonFunctions
define function "Normalize Abatement"(condition Condition):  if condition.abatement is FHIR.dateTime then    Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]  else if condition.abatement is FHIR.Period then    FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)  else if condition.abatement is FHIR.string then     Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')  else if condition.abatement is FHIR.Age then   Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),    FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)  else if condition.abatement is FHIR.Range then    Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),     FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)  else if condition.abatement is FHIR.boolean then    Interval[end of "Normalize Interval"(condition.onset), condition.recordedDate)  else null
Logic Definition Library Name: FHIRHelpers
/* @description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity)  value to a CQL Quantity @comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity has a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`) an error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used. @seealso: ToCalendarUnit */ define function ToQuantity(quantity FHIR.Quantity):     case         when quantity is null then null         when quantity.value is null then null         when quantity.comparator is not null then             Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')         when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'               or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then             System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }         else             Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')')     end
Logic Definition Library Name: FHIRHelpers
/* @description: Converts a UCUM definite duration unit to a CQL calendar duration unit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities)  topic of the CQL specification. @comment: Note that for durations above days (or weeks), the conversion is understood to be approximate */ define function ToCalendarUnit(unit System.String):     case unit         when 'ms' then 'millisecond'         when 's' then 'second'         when 'min' then 'minute'         when 'h' then 'hour'         when 'd' then 'day'         when 'wk' then 'week'         when 'mo' then 'month'         when 'a' then 'year'         else unit     end
Logic Definition Library Name: FHIRHelpers
define function ToString(value string): value.value
Generated using version 0.4.6 of the sample-content-ig Liquid templates

Source

{
  "resourceType": "Measure",
  "id": "CCSComponent",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure",
      "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure",
      "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-proportionmeasure",
      "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-publishablemeasure",
      "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-cqlmeasure",
      "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure"
    ]
  },
  "language": "en",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "Library",
      "id": "effective-data-requirements",
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "version": "http://snomed.info/sct/731000124108/version/201709",
            "code": "428361000124107",
            "display": "Discharge to home for hospice care (procedure)"
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "version": "http://snomed.info/sct/731000124108/version/201709",
            "code": "428371000124100",
            "display": "Discharge to healthcare facility for hospice care (procedure)"
          }
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "SupplementalDataElements"
            },
            {
              "url": "name",
              "valueString": "SDE Sex"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Sex\":   case       when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }       when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }       else null     end"
            },
            {
              "url": "displaySequence",
              "valueInteger": 0
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "SDE Sex"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Sex\":   SDE.\"SDE Sex\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 1
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Colonoscopy Performed"
            },
            {
              "url": "statement",
              "valueString": "define \"Colonoscopy Performed\":   [Procedure: \"Colonoscopy\"] Colonoscopy       where Colonoscopy.status = 'completed'         and Global.\"Normalize Interval\" ( Colonoscopy.performed ) ends 10 years or less on or before         end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 2
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Fecal Occult Blood Test Performed"
            },
            {
              "url": "statement",
              "valueString": "define \"Fecal Occult Blood Test Performed\":   [Observation: \"Fecal Occult Blood Test (FOBT)\"] FecalOccultResult       where FecalOccultResult.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FecalOccultResult.value is not null         and Global.\"Normalize Interval\" ( FecalOccultResult.effective ) during day of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 3
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Flexible Sigmoidoscopy Performed"
            },
            {
              "url": "statement",
              "valueString": "define \"Flexible Sigmoidoscopy Performed\":   [Procedure: \"Flexible Sigmoidoscopy\"] FlexibleSigmoidoscopy       where FlexibleSigmoidoscopy.status = 'completed'         and Global.\"Normalize Interval\" ( FlexibleSigmoidoscopy.performed ) ends 5 years or less on or before         end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 4
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Fecal Immunochemical Test DNA"
            },
            {
              "url": "statement",
              "valueString": "define \"Fecal Immunochemical Test DNA\":   [Observation: \"FIT DNA\"] FitDNA       where FitDNA.status in { 'final', 'amended', 'corrected', 'preliminary' }         and FitDNA.value is not null         and Global.\"Normalize Interval\" ( FitDNA.effective ) occurs 3 years or less on or before day of         end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 5
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "CT Colonography Performed"
            },
            {
              "url": "statement",
              "valueString": "define \"CT Colonography Performed\":   [Procedure: \"CT Colonography\"] Colonography       where Colonography.status = 'completed'         and Global.\"Normalize Interval\" ( Colonography.performed ) ends 5 years or less on or before         end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 6
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Numerator"
            },
            {
              "url": "statement",
              "valueString": "define \"Numerator\":   exists \"Colonoscopy Performed\"       or exists \"Fecal Occult Blood Test Performed\"       or exists \"Flexible Sigmoidoscopy Performed\"       or exists \"Fecal Immunochemical Test DNA\"       or exists \"CT Colonography Performed\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 7
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdultOutpatientEncounters"
            },
            {
              "url": "name",
              "valueString": "Qualifying Encounters"
            },
            {
              "url": "statement",
              "valueString": "define \"Qualifying Encounters\":  (     [Encounter: \"Office Visit\"]     union [Encounter: \"Annual Wellness Visit\"]     union [Encounter: \"Preventive Care Services - Established Office Visit, 18 and Up\"]     union [Encounter: \"Preventive Care Services-Initial Office Visit, 18 and Up\"]     union [Encounter: \"Home Healthcare Services\"]   ) ValidEncounter   where ValidEncounter.period during \"Measurement Period\"     and ValidEncounter.status  = 'finished'"
            },
            {
              "url": "displaySequence",
              "valueInteger": 8
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Initial Population"
            },
            {
              "url": "statement",
              "valueString": "define \"Initial Population\":   Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of \"Measurement Period\" ) in Interval[50, 75]       and exists AdultOutpatientEncounters.\"Qualifying Encounters\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 9
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Denominator"
            },
            {
              "url": "statement",
              "valueString": "define \"Denominator\":   \"Initial Population\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 10
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "SupplementalDataElements"
            },
            {
              "url": "name",
              "valueString": "SDE Payer"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Payer\":   [Coverage: type in \"Payer\"] Payer         return {           code: Payer.type,           period: Payer.period         }"
            },
            {
              "url": "displaySequence",
              "valueInteger": 11
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "SDE Payer"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Payer\":   SDE.\"SDE Payer\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 12
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "SupplementalDataElements"
            },
            {
              "url": "name",
              "valueString": "SDE Ethnicity"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Ethnicity\":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding"
            },
            {
              "url": "displaySequence",
              "valueInteger": 13
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "SDE Ethnicity"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Ethnicity\":   SDE.\"SDE Ethnicity\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 14
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "Hospice"
            },
            {
              "url": "name",
              "valueString": "Has Hospice"
            },
            {
              "url": "statement",
              "valueString": "define \"Has Hospice\":  exists (     [Encounter: \"Encounter Inpatient\"] DischargeHospice    where DischargeHospice.status = 'finished'       and (          DischargeHospice.hospitalization.dischargeDisposition ~ \"Discharge to home for hospice care (procedure)\"         or DischargeHospice.hospitalization.dischargeDisposition ~ \"Discharge to healthcare facility for hospice care (procedure)\"       )     and DischargeHospice.period ends during \"Measurement Period\"  )     or exists (       [ServiceRequest: \"Hospice care ambulatory\"] HospiceOrder         where HospiceOrder.intent = 'order'             and HospiceOrder.authoredOn in \"Measurement Period\"     )     or exists (       [Procedure: \"Hospice care ambulatory\"] HospicePerformed         where HospicePerformed.status = 'completed'           and Global.\"Normalize Interval\"(HospicePerformed.performed) overlaps \"Measurement Period\"     )"
            },
            {
              "url": "displaySequence",
              "valueInteger": 15
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Malignant Neoplasm"
            },
            {
              "url": "statement",
              "valueString": "define \"Malignant Neoplasm\":   [Condition: \"Malignant Neoplasm of Colon\"] ColorectalCancer       where Global.\"Prevalence Period\" ( ColorectalCancer ) starts on or before       end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 16
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Total Colectomy Performed"
            },
            {
              "url": "statement",
              "valueString": "define \"Total Colectomy Performed\":   [Procedure: \"Total Colectomy\"] Colectomy       where Colectomy.status = 'completed'         and Global.\"Normalize Interval\" ( Colectomy.performed ) starts on or before         end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 17
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Has Criteria Indicating Frailty"
            },
            {
              "url": "statement",
              "valueString": "define \"Has Criteria Indicating Frailty\":   //Ask Bryn about devices        exists ( [DeviceRequest: \"Frailty Device\"] FrailtyDeviceOrder          where FrailtyDeviceOrder.authoredOn during \"Measurement Period\"        )           // DeviceUseStatement has a known issue with the publication tooling           // so it is removed to allow this IG to publish until that is fixed         //or exists ( [DeviceUseStatement: \"Frailty Device\"] FrailtyDeviceUse         //  where Global.\"Normalize Interval\"(FrailtyDeviceUse.timing) overlaps \"Measurement Period\"         //)         or exists ( [Condition: \"Frailty Diagnosis\"] FrailtyDiagnosis           where Global.\"Prevalence Period\"(FrailtyDiagnosis) overlaps \"Measurement Period\"         )         or exists ( [Encounter: \"Frailty Encounter\"] FrailtyEncounter           where FrailtyEncounter.period overlaps \"Measurement Period\"         )         or exists ( [Observation: \"Frailty Symptom\"] FrailtySymptomObservation           where Global.\"Normalize Interval\"(FrailtySymptomObservation.effective) overlaps \"Measurement Period\"         )"
            },
            {
              "url": "displaySequence",
              "valueInteger": 18
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Outpatient Encounters with Advanced Illness"
            },
            {
              "url": "statement",
              "valueString": "define \"Outpatient Encounters with Advanced Illness\":   ( [Encounter: \"Outpatient\"]         union [Encounter: \"Observation\"]         union [Encounter: \"ED\"]         union [Encounter: \"Nonacute Inpatient\"] ) OutpatientEncounter          with [Condition: \"Advanced Illness\"] AdvancedIllnessDiagnosis                   such that exists (                       OutpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )                   and OutpatientEncounter.period starts 2 years or less on or before          end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 19
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Inpatient Encounter with Advanced Illness"
            },
            {
              "url": "statement",
              "valueString": "define \"Inpatient Encounter with Advanced Illness\":   [Encounter: \"Acute Inpatient\"] InpatientEncounter         with [Condition: \"Advanced Illness\"] AdvancedIllnessDiagnosis                   such that exists (                       InpatientEncounter.diagnosis.condition EncounterDiagnosis                           where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id)                   )          and InpatientEncounter.period starts 2 years or less on or before          end of \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 20
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Dementia Medications In Year Before or During Measurement Period"
            },
            {
              "url": "statement",
              "valueString": "define \"Dementia Medications In Year Before or During Measurement Period\":   [\"MedicationDispense\": \"Dementia Medications\"] DementiaMed         where DementiaMed.whenHandedOver during Interval[                   ( start of \"Measurement Period\" - 1 year ), end of \"Measurement Period\"               ]"
            },
            {
              "url": "displaySequence",
              "valueInteger": 21
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Advanced Illness and Frailty Exclusion Not Including Over Age 80"
            },
            {
              "url": "statement",
              "valueString": "define \"Advanced Illness and Frailty Exclusion Not Including Over Age 80\":   //If the measure does NOT include populations age 80 and older, then use this logic:        Global.\"CalendarAgeInYearsAt\"(FHIRHelpers.ToDate(Patient.birthDate), start of \"Measurement Period\")>= 65               and \"Has Criteria Indicating Frailty\"               and ( Count(\"Outpatient Encounters with Advanced Illness\")>= 2                   or exists ( \"Inpatient Encounter with Advanced Illness\" )                   or exists \"Dementia Medications In Year Before or During Measurement Period\"               )"
            },
            {
              "url": "displaySequence",
              "valueInteger": 22
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Long Term Care Periods During Measurement Period"
            },
            {
              "url": "statement",
              "valueString": "// start here  define \"Long Term Care Periods During Measurement Period\":   ( [Encounter: \"Care Services in Long-Term Residential Facility\"]                 union [Encounter: \"Nursing Facility Visit\"] ) LongTermFacilityEncounter                 where LongTermFacilityEncounter.period overlaps \"Measurement Period\"                 return LongTermFacilityEncounter.period                  intersect \"Measurement Period\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 23
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "AdvancedIllnessandFrailtyExclusion"
            },
            {
              "url": "name",
              "valueString": "Long Term Care Periods Longer Than 90 Consecutive Days"
            },
            {
              "url": "statement",
              "valueString": "define \"Long Term Care Periods Longer Than 90 Consecutive Days\":   exists ( \"Long Term Care Periods During Measurement Period\" LongTermCareDuringMP         where duration in days of LongTermCareDuringMP > 90     )"
            },
            {
              "url": "displaySequence",
              "valueInteger": 24
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "Denominator Exclusion"
            },
            {
              "url": "statement",
              "valueString": "define \"Denominator Exclusion\":   Hospice.\"Has Hospice\"       or exists \"Malignant Neoplasm\"       or exists \"Total Colectomy Performed\"       or Frailty.\"Advanced Illness and Frailty Exclusion Not Including Over Age 80\"         and Frailty.\"Long Term Care Periods Longer Than 90 Consecutive Days\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 25
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "SupplementalDataElements"
            },
            {
              "url": "name",
              "valueString": "SDE Race"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Race\":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding"
            },
            {
              "url": "displaySequence",
              "valueInteger": 26
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CCSComponent"
            },
            {
              "url": "name",
              "valueString": "SDE Race"
            },
            {
              "url": "statement",
              "valueString": "define \"SDE Race\":   SDE.\"SDE Race\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 27
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value AdministrativeGender): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 28
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value ProcedureStatus): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 29
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value ObservationStatus): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 30
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "MATGlobalCommonFunctions"
            },
            {
              "url": "name",
              "valueString": "CalendarAgeInYearsAt"
            },
            {
              "url": "statement",
              "valueString": "define function \"CalendarAgeInYearsAt\"(BirthDateTime DateTime, AsOf DateTime):  years between ToDate(BirthDateTime)and ToDate(AsOf)"
            },
            {
              "url": "displaySequence",
              "valueInteger": 31
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "MATGlobalCommonFunctions"
            },
            {
              "url": "name",
              "valueString": "ToDate"
            },
            {
              "url": "statement",
              "valueString": "define function \"ToDate\"(Value DateTime):  DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)"
            },
            {
              "url": "displaySequence",
              "valueInteger": 32
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToDate"
            },
            {
              "url": "statement",
              "valueString": "define function ToDate(value date): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 33
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToInterval"
            },
            {
              "url": "statement",
              "valueString": "/* @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period) value to a CQL DateTime Interval @comment: If the start value of the given period is unspecified, the starting boundary of the resulting interval will be open (meaning the start of the interval is unknown, as opposed to interpreted as the beginning of time). */ define function ToInterval(period FHIR.Period):     if period is null then         null     else         if period.\"start\" is null then             Interval(period.\"start\".value, period.\"end\".value]         else             Interval[period.\"start\".value, period.\"end\".value]"
            },
            {
              "url": "displaySequence",
              "valueInteger": 34
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value EncounterStatus): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 35
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value uri): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 36
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToConcept"
            },
            {
              "url": "statement",
              "valueString": "/* @description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept. */ define function ToConcept(concept FHIR.CodeableConcept):     if concept is null then         null     else         System.Concept {             codes: concept.coding C return ToCode(C),             display: concept.text.value         }"
            },
            {
              "url": "displaySequence",
              "valueInteger": 37
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToCode"
            },
            {
              "url": "statement",
              "valueString": "/* @description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code. */ define function ToCode(coding FHIR.Coding):     if coding is null then         null     else         System.Code {           code: coding.code.value,           system: coding.system.value,           version: coding.version.value,           display: coding.display.value         }"
            },
            {
              "url": "displaySequence",
              "valueInteger": 38
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value ServiceRequestIntent): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 39
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToDateTime"
            },
            {
              "url": "statement",
              "valueString": "define function ToDateTime(value dateTime): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 40
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "MATGlobalCommonFunctions"
            },
            {
              "url": "name",
              "valueString": "Prevalence Period"
            },
            {
              "url": "statement",
              "valueString": "define function \"Prevalence Period\"(condition Condition):   Interval[start of \"Normalize Interval\"(condition.onset), end of \"Normalize Abatement\"(condition))"
            },
            {
              "url": "displaySequence",
              "valueInteger": 41
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "MATGlobalCommonFunctions"
            },
            {
              "url": "name",
              "valueString": "Normalize Abatement"
            },
            {
              "url": "statement",
              "valueString": "define function \"Normalize Abatement\"(condition Condition):  if condition.abatement is FHIR.dateTime then    Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]  else if condition.abatement is FHIR.Period then    FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)  else if condition.abatement is FHIR.string then     Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')  else if condition.abatement is FHIR.Age then   Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),    FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)  else if condition.abatement is FHIR.Range then    Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),     FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)  else if condition.abatement is FHIR.boolean then    Interval[end of \"Normalize Interval\"(condition.onset), condition.recordedDate)  else null"
            },
            {
              "url": "displaySequence",
              "valueInteger": 42
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToQuantity"
            },
            {
              "url": "statement",
              "valueString": "/* @description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity)  value to a CQL Quantity @comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity has a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`) an error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used. @seealso: ToCalendarUnit */ define function ToQuantity(quantity FHIR.Quantity):     case         when quantity is null then null         when quantity.value is null then null         when quantity.comparator is not null then             Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')         when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'               or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then             System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }         else             Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')')     end"
            },
            {
              "url": "displaySequence",
              "valueInteger": 43
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToCalendarUnit"
            },
            {
              "url": "statement",
              "valueString": "/* @description: Converts a UCUM definite duration unit to a CQL calendar duration unit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities)  topic of the CQL specification. @comment: Note that for durations above days (or weeks), the conversion is understood to be approximate */ define function ToCalendarUnit(unit System.String):     case unit         when 'ms' then 'millisecond'         when 's' then 'second'         when 'min' then 'minute'         when 'h' then 'hour'         when 'd' then 'day'         when 'wk' then 'week'         when 'mo' then 'month'         when 'a' then 'year'         else unit     end"
            },
            {
              "url": "displaySequence",
              "valueInteger": 44
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value string): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 45
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        }
      ],
      "name": "EffectiveDataRequirements",
      "status": "active",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/library-type",
            "code": "module-definition"
          }
        ]
      },
      "relatedArtifact": [
        {
          "type": "depends-on",
          "display": "Library SDE",
          "resource": "http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000"
        },
        {
          "type": "depends-on",
          "display": "Library FHIRHelpers",
          "resource": "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1"
        },
        {
          "type": "depends-on",
          "display": "Library Global",
          "resource": "http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000"
        },
        {
          "type": "depends-on",
          "display": "Library AdultOutpatientEncounters",
          "resource": "http://hl7.org/fhir/uv/cqm/Library/AdultOutpatientEncounters|2.0.000"
        },
        {
          "type": "depends-on",
          "display": "Library Hospice",
          "resource": "http://hl7.org/fhir/uv/cqm/Library/Hospice|2.0.000"
        },
        {
          "type": "depends-on",
          "display": "Library Frailty",
          "resource": "http://hl7.org/fhir/uv/cqm/Library/AdvancedIllnessandFrailtyExclusion|5.12.000"
        },
        {
          "type": "depends-on",
          "display": "Code system SNOMEDCT:2017-09",
          "resource": "http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709"
        },
        {
          "type": "depends-on",
          "display": "Value set Colonoscopy",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020"
        },
        {
          "type": "depends-on",
          "display": "Value set Fecal Occult Blood Test (FOBT)",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011"
        },
        {
          "type": "depends-on",
          "display": "Value set Flexible Sigmoidoscopy",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010"
        },
        {
          "type": "depends-on",
          "display": "Value set FIT DNA",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039"
        },
        {
          "type": "depends-on",
          "display": "Value set CT Colonography",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038"
        },
        {
          "type": "depends-on",
          "display": "Value set Office Visit",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"
        },
        {
          "type": "depends-on",
          "display": "Value set Annual Wellness Visit",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"
        },
        {
          "type": "depends-on",
          "display": "Value set Preventive Care Services - Established Office Visit, 18 and Up",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"
        },
        {
          "type": "depends-on",
          "display": "Value set Preventive Care Services-Initial Office Visit, 18 and Up",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"
        },
        {
          "type": "depends-on",
          "display": "Value set Home Healthcare Services",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"
        },
        {
          "type": "depends-on",
          "display": "Value set Payer",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
        },
        {
          "type": "depends-on",
          "display": "Value set Encounter Inpatient",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
        },
        {
          "type": "depends-on",
          "display": "Value set Hospice care ambulatory",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"
        },
        {
          "type": "depends-on",
          "display": "Value set Malignant Neoplasm of Colon",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001"
        },
        {
          "type": "depends-on",
          "display": "Value set Total Colectomy",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019"
        },
        {
          "type": "depends-on",
          "display": "Value set Frailty Device",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"
        },
        {
          "type": "depends-on",
          "display": "Value set Frailty Diagnosis",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074"
        },
        {
          "type": "depends-on",
          "display": "Value set Frailty Encounter",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088"
        },
        {
          "type": "depends-on",
          "display": "Value set Frailty Symptom",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075"
        },
        {
          "type": "depends-on",
          "display": "Value set Outpatient",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087"
        },
        {
          "type": "depends-on",
          "display": "Value set Observation",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086"
        },
        {
          "type": "depends-on",
          "display": "Value set ED",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"
        },
        {
          "type": "depends-on",
          "display": "Value set Nonacute Inpatient",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084"
        },
        {
          "type": "depends-on",
          "display": "Value set Advanced Illness",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082"
        },
        {
          "type": "depends-on",
          "display": "Value set Acute Inpatient",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083"
        },
        {
          "type": "depends-on",
          "display": "Value set Dementia Medications",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510"
        },
        {
          "type": "depends-on",
          "display": "Value set Care Services in Long-Term Residential Facility",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"
        },
        {
          "type": "depends-on",
          "display": "Value set Nursing Facility Visit",
          "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"
        }
      ],
      "parameter": [
        {
          "name": "Measurement Period",
          "use": "in",
          "min": 0,
          "max": "1",
          "type": "Period"
        },
        {
          "name": "SDE Sex",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "Coding"
        },
        {
          "name": "Numerator",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "boolean"
        },
        {
          "name": "Denominator",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "boolean"
        },
        {
          "name": "SDE Payer",
          "use": "out",
          "min": 0,
          "max": "*",
          "type": "Resource"
        },
        {
          "name": "Initial Population",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "boolean"
        },
        {
          "name": "SDE Ethnicity",
          "use": "out",
          "min": 0,
          "max": "*",
          "type": "Coding"
        },
        {
          "name": "Denominator Exclusion",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "boolean"
        },
        {
          "name": "SDE Race",
          "use": "out",
          "min": 0,
          "max": "*",
          "type": "Coding"
        }
      ],
      "dataRequirement": [
        {
          "type": "Patient",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Patient"
          ],
          "mustSupport": [
            "url",
            "extension",
            "value"
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "code",
            "status",
            "performed"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1020"
            }
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "code",
            "status",
            "performed"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1010"
            }
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "code",
            "status",
            "performed"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1038"
            }
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "code",
            "status",
            "performed"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"
            }
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "code",
            "status",
            "performed"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1019"
            }
          ]
        },
        {
          "type": "Observation",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport": [
            "code",
            "status",
            "value",
            "effective"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1011"
            }
          ]
        },
        {
          "type": "Observation",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport": [
            "code",
            "status",
            "value",
            "effective"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1039"
            }
          ]
        },
        {
          "type": "Observation",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport": [
            "code",
            "effective"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "status",
            "hospitalization",
            "hospitalization.dischargeDisposition",
            "period",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "diagnosis",
            "period",
            "status"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Encounter"
          ],
          "mustSupport": [
            "type",
            "period",
            "status",
            "diagnosis"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"
            }
          ]
        },
        {
          "type": "Coverage",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Coverage"
          ],
          "mustSupport": [
            "type",
            "period"
          ],
          "codeFilter": [
            {
              "path": "type",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
            }
          ]
        },
        {
          "type": "ServiceRequest",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
          ],
          "mustSupport": [
            "code",
            "intent",
            "authoredOn"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"
            }
          ]
        },
        {
          "type": "Condition",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Condition"
          ],
          "mustSupport": [
            "code"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1001"
            }
          ]
        },
        {
          "type": "Condition",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Condition"
          ],
          "mustSupport": [
            "code"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074"
            }
          ]
        },
        {
          "type": "Condition",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Condition"
          ],
          "mustSupport": [
            "code",
            "id"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082"
            }
          ]
        },
        {
          "type": "DeviceRequest",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/DeviceRequest"
          ],
          "mustSupport": [
            "code",
            "authoredOn"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"
            }
          ]
        },
        {
          "type": "MedicationDispense",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
          ],
          "mustSupport": [
            "medication",
            "whenHandedOver"
          ],
          "codeFilter": [
            {
              "path": "medication",
              "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510"
            }
          ]
        },
        {
          "type": "MedicationDispense",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
          ],
          "mustSupport": [
            "medication.reference",
            "whenHandedOver"
          ]
        },
        {
          "type": "Medication",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Medication"
          ],
          "mustSupport": [
            "id",
            "code"
          ]
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis",
      "valueCode": "boolean"
    },
    {
      "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
      "valueReference": {
        "reference": "Device/software-system-example"
      }
    },
    {
      "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical": "#effective-data-requirements"
    }
  ],
  "url": "http://hl7.org/fhir/uv/cqm/Measure/CCSComponent",
  "identifier": [
    {
      "use": "official",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type",
            "code": "version-independent",
            "display": "Version Independent"
          }
        ]
      },
      "system": "urn:ietf:rfc:3986",
      "value": "http://example.org/fhir/us/cqm/Measure/CCSComponent"
    },
    {
      "use": "official",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type",
            "code": "version-specific",
            "display": "Version Specific"
          }
        ]
      },
      "system": "urn:ietf:rfc:3986",
      "value": "http://example.org/fhir/us/cqm/Measure/130v10"
    },
    {
      "use": "usual",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type",
            "code": "short-name",
            "display": "Short Name"
          }
        ]
      },
      "value": "Colorectal Cancer Screening"
    },
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.61.29.2"
    }
  ],
  "version": "0.0.001",
  "name": "CCSComponent",
  "title": "Cervical Cancer Screening",
  "status": "active",
  "experimental": true,
  "date": "2025-08-07T21:50:22-06:00",
  "publisher": "HL7 International / Clinical Quality Information",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cqi"
        }
      ]
    }
  ],
  "description": "This is only an example.",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "venue",
        "display": "Clinical Venue"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/uv/cqm/CodeSystem/intended-venue-codes",
            "code": "ec",
            "display": "EC"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "effectivePeriod": {
    "start": "2022-01-01",
    "end": "2022-12-31"
  },
  "library": [
    "http://hl7.org/fhir/uv/cqm/Library/CCSComponent"
  ],
  "scoring": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/measure-scoring",
        "code": "proportion",
        "display": "Proportion"
      }
    ]
  },
  "type": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/measure-type",
          "code": "process"
        }
      ]
    }
  ],
  "improvementNotation": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
        "code": "increase"
      }
    ]
  },
  "group": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.linkId",
          "valueString": "primary"
        }
      ],
      "population": [
        {
          "id": "93644713-B761-4A71-A6DB-38675B4D4AA0",
          "extension": [
            {
              "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
              "valueString": "primary-ccscomponent-initial-population"
            }
          ],
          "code": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/measure-population",
                "code": "initial-population",
                "display": "Initial Population"
              }
            ]
          },
          "criteria": {
            "language": "text/cql-identifier",
            "expression": "Initial Population"
          }
        },
        {
          "id": "CCC5263F-B14C-4EFC-B726-3C323A137132",
          "extension": [
            {
              "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
              "valueString": "primary-ccscomponent-denominator"
            }
          ],
          "code": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/measure-population",
                "code": "denominator",
                "display": "Denominator"
              }
            ]
          },
          "criteria": {
            "language": "text/cql-identifier",
            "expression": "Denominator"
          }
        },
        {
          "id": "C8F51A00-EDC7-4F91-8415-25395BF16D16",
          "extension": [
            {
              "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
              "valueString": "primary-ccscomponent-denominator-exclusion"
            }
          ],
          "code": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/measure-population",
                "code": "denominator-exclusion",
                "display": "Denominator Exclusion"
              }
            ]
          },
          "criteria": {
            "language": "text/cql-identifier",
            "expression": "Denominator Exclusion"
          }
        },
        {
          "id": "9E219037-5E8B-40F6-A304-4460BD8D3FFA",
          "extension": [
            {
              "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
              "valueString": "primary-ccscomponent-numerator"
            }
          ],
          "code": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/measure-population",
                "code": "numerator",
                "display": "Numerator"
              }
            ]
          },
          "criteria": {
            "language": "text/cql-identifier",
            "expression": "Numerator"
          }
        }
      ]
    }
  ],
  "supplementalData": [
    {
      "id": "4d3fff25-29d7-4e61-9fdd-a02a85c1472f",
      "extension": [
        {
          "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
          "valueString": "ccscomponent-sde-ethnicity"
        }
      ],
      "usage": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code": "supplemental-data"
            }
          ]
        }
      ],
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "SDE Ethnicity"
      }
    },
    {
      "id": "4732f9d3-e4c9-4a24-ab3c-9247a55d73ef",
      "extension": [
        {
          "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
          "valueString": "ccscomponent-sde-payer"
        }
      ],
      "usage": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code": "supplemental-data"
            }
          ]
        }
      ],
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "SDE Payer"
      }
    },
    {
      "id": "523c2619-71c6-4e60-83f8-3d8eeef75398",
      "extension": [
        {
          "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
          "valueString": "ccscomponent-sde-race"
        }
      ],
      "usage": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code": "supplemental-data"
            }
          ]
        }
      ],
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "SDE Race"
      }
    },
    {
      "id": "336d1356-61a7-4220-9635-ffc50b90af2f",
      "extension": [
        {
          "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
          "valueString": "ccscomponent-sde-sex"
        }
      ],
      "usage": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code": "supplemental-data"
            }
          ]
        }
      ],
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "SDE Sex"
      }
    }
  ]
}