# Statin Therapy for the Prevention and Treatment of Cardiovascular DiseaseFHIR - eCQM QICore Content Implementation Guide v2023.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Statin Therapy for the Prevention and Treatment of Cardiovascular DiseaseFHIR**

## Measure: Statin Therapy for the Prevention and Treatment of Cardiovascular DiseaseFHIR 

| | |
| :--- | :--- |
| *Official URL*:http://ecqi.healthit.gov/ecqms/Measure/StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR | *Version*:0.1.000 |
| Draft as of 2023-08-27 | *Responsible:*[Centers for Medicare & Medicaid Services (CMS)/a>  *Computable Name*: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR    *Other Identifiers:* Short Name (use: usual, ), UUID:4d3066c5-88f7-48d2-8a93-9f946e1a41a6 (use: official, ), UUID:fd954048-8292-417e-bc77-aa0d99fb8540 (use: official, ), Publisher (use: official, )    **Usage:**Program: EP/EC    **Copyright/Legal**: Limited proprietary coding is contained in the measure specifications for convenience. Users of the proprietary code sets should obtain all necessary licenses from the owners of these code sets. CPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) is copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 is copyright 2022 World Health Organization. All Rights Reserved.     Percentage of the following patients - all considered at high risk of cardiovascular events - who were prescribed or were on statin therapy during the measurement period: * All patients who were previously diagnosed with or currently have a diagnosis of clinical atherosclerotic cardiovascular disease (ASCVD), including an ASCVD procedure; OR
* Patients aged 20 - 75 years who have ever had a low-density lipoprotein cholesterol (LDL-C) level >= 190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia; OR
* Patients aged 40 - 75 years with a diagnosis of diabetes; OR
* Patients aged 40 - 75 with a 10-year ASCVD risk score of >= 20 percent
   UNKNOWN    
* **Logic Definitions:**: **Id: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
* **Logic Definitions:**: **Download cql: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: [StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR.cql](Library-StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR.cql)
* **Logic Definitions:**: **Version: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 0.1.000
* **Logic Definitions:**: **Url: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: [Statin Therapy for the Prevention and Treatment of Cardiovascular DiseaseFHIR](Measure-StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR.md)
* **Logic Definitions:**: ** short-name identifier: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````:  CMS347FHIR 
* **Logic Definitions:**: ** version-independent identifier: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````:  urn:uuid:4d3066c5-88f7-48d2-8a93-9f946e1a41a6 
* **Logic Definitions:**: ** version-specific identifier: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````:  urn:uuid:fd954048-8292-417e-bc77-aa0d99fb8540 
* **Logic Definitions:**: ** publisher (CMS) identifier: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````:  347FHIR 
* **Logic Definitions:**: **Effective Period: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 2024-01-01 ..2024-12-31
* **Logic Definitions:**: **Status: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: draft
* **Logic Definitions:**: **Date: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 2023-08-27 20:52:19+0000
* **Logic Definitions:**: **Approval Date: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 2023-08-28
* **Logic Definitions:**: **Last Review Date: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 2023-08-28
* **Logic Definitions:**: **Name: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
* **Logic Definitions:**: **Publisher: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: Centers for Medicare & Medicaid Services (CMS)
* **Logic Definitions:**: **Author: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: Mathematica:[https://www.mathematica.org/](https://www.mathematica.org/)
* **Logic Definitions:**: **Description: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: Percentage of the following patients - all considered at high risk of cardiovascular events - who were prescribed or were on statin therapy during the measurement period:* All patients who were previously diagnosed with or currently have a diagnosis of clinical atherosclerotic cardiovascular disease (ASCVD), including an ASCVD procedure; OR
* Patients aged 20 - 75 years who have ever had a low-density lipoprotein cholesterol (LDL-C) level >= 190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia; OR
* Patients aged 40 - 75 years with a diagnosis of diabetes; OR
* Patients aged 40 - 75 with a 10-year ASCVD risk score of >= 20 percent

* **Logic Definitions:**: **Purpose: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: UNKNOWN
* **Logic Definitions:**: **Copyright: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: Limited proprietary coding is contained in the measure specifications for convenience. Users of the proprietary code sets should obtain all necessary licenses from the owners of these code sets.CPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) is copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 is copyright 2022 World Health Organization. All Rights Reserved.
* **Logic Definitions:**: **Disclaimer: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications.THE MEASURES AND SPECIFICATIONS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].
* **Logic Definitions:**: **Rationale: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: "Cardiovascular disease (CVD) is the leading cause of death in the United States, causing approximately 1 of every 3 deaths in the United States in 2015. In 2015, stroke caused approximately 1 of every 19 deaths in the United States and the estimated annual costs for CVD and stroke were $329.7 billion, including $199.2 billion in direct costs (hospital services, physicians and other professionals, prescribed medications, home health care, and other medical durables) and $130.5 billion in indirect costs from lost future productivity (cardiovascular and stroke premature deaths). CVD costs more than any other diagnostic group" (Benjamin et al., 2018).Data collected between 2011 and 2014 indicates that more than 94.6 million U.S. adults, 20 years or older, had total cholesterol levels equal to 200 mg/dL or more, while almost 28.5 million had levels 240 mg/dL or more (Benjamin et al., 2018). Elevated blood cholesterol is a major risk factor for CVD and statin therapy has been associated with a reduced risk of CVD. Numerous randomized trials have demonstrated that treatment with a statin reduces LDL-C and reduces the risk of major cardiovascular events by approximately 20 percent (Ference, 2015).In 2018, updated guidelines on the treatment of blood cholesterol to reduce atherosclerotic cardiovascular risk in adults were published (Grundy et al., 2019). This guideline was published by an Expert Panel, which synthesized evidence from randomized controlled trials to identify people most likely to benefit from cholesterol-lowering therapy. The American College of Cardiology (ACC)/American Heart Association (AHA)/Multi-society (MS) Guideline recommendations are intended to provide a strong evidence-based foundation for the treatment of blood cholesterol for the primary and secondary prevention and treatment of ASCVD in patients of all ages. The document concludes that the addition of statin therapy reduces the risk of ASCVD among high-risk individuals, defined as follows: individuals with clinical ASCVD, with LDL-C >= 190 mg/dL, with diabetes, or individuals with >= 20% risk of ASCVD as determined via use of an ASCVD risk estimator derived from the Pooled Cohort Equations (Grundy et al., 2019).One study surveying U.S. cardiology, primary care, and endocrinology practices found that 1 in 4 guideline-eligible patients were not on a statin and less than half were on the recommended statin intensity. Untreated and undertreated patients had significantly higher LDL-C levels than those receiving guideline-directed statin treatment (Navar et al., 2017). In a follow-up study authored by Nanna et al., the same clinics were divided into tertiles based on the percentage of patients with guideline-recommended statin use. The researchers found that patients in the high-tertile clinics were more likely to achieve target LDL-C levels than patients at the low- or mid-tertile clinics, and this held true when patients were stratified by primary and secondary prevention (Nanna et al., 2019a).Research also indicates that certain populations are far less likely to receive guideline-recommended statin therapy than others. A retrospective study of the National Health and Nutrition Examination Survey found that Black and Hispanic race or ethnicity, low income, lack of health insurance coverage, poor health care access, young age, and female gender are predictors of lower statin utilization (Gu et al., 2018). In particular, there is extensive evidence that women are far less likely than men to be prescribed guideline-recommended statin therapy (Nanna et al., 2019b), despite research showing that female patients with cardiovascular disease derive the same or greater benefit from statin therapy as male patients with cardiovascular disease (Puri et al., 2014).The Statin Safety Expert Panel that participated in a National Lipid Association (NLA) Statin Safety Task Force meeting in October 2013 reaffirms the general safety of statin therapy. The panel members concluded that for most patients requiring statin therapy, the potential benefits of statin therapy outweigh the potential risks. In general terms, the benefits of statins to prevent non-fatal myocardial infarction, revascularization, stroke, and CVD mortality, far outweigh any potential harm related to the drug (Jacobson, 2014).
* **Logic Definitions:**: **Clinical recommendation statement: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: This electronic clinical quality measure is intended to align with the 2018 ACC/AHA/MS Guideline on the Management of Blood Cholesterol (Grundy et al., 2019), which indicates the use of statins as the first line of cholesterol-lowering medication therapy to lower the risk of ASCVD among at-risk populations.Recommendations for Management of Blood Cholesterol to Reduce Atherosclerotic Cardiovascular Risk in Adults - Statin Treatment: Secondary Prevention:1. In patients who are 75 years of age or younger with clinical ASCVD, high-intensity statin therapy should be initiated or continued with the aim of achieving a 50% or greater reduction in LDL-C levels (Class I Recommendation), (Grundy et al., 2019).
1. In patients with clinical ASCVD in whom high-intensity statin therapy is contraindicated or who experience statin-associated side effects, moderate-intensity statin therapy should be initiated or continued with the aim of achieving a 30% to 49% reduction in LDL-C levels (Class I Recommendation), (Grundy et al., 2019).
1. In patients older than 75 years of age with clinical ASCVD, it is reasonable to initiate moderate- or high-intensity statin therapy after evaluation of the potential for ASCVD risk reduction, adverse effects, and drug–drug interactions, as well as patient frailty and patient preferences (Class IIa Recommendation), (Grundy et al., 2019).
Primary Prevention1. In patients 20 to 75 years of age with an LDL-C level of 190 mg/dL or higher (>= 4.9 mmol/L), maximally tolerated statin therapy is recommended. (Class I Recommendation), (Grundy et al., 2019).
1. In adults 40 to 75 years of age with diabetes mellitus, regardless of estimated 10-year ASCVD risk, moderate-intensity statin therapy is indicated (Class I Recommendation), (Grundy et al., 2019).
1. To facilitate decisions about preventive interventions, it is recommended to screen for traditional ASCVD risk factors and apply the race- and sex-specific Pooled Cohort Equations (PCE) to estimate 10-year ASCVD risk for asymptomatic adults 40 to 75 years of age. The higher the estimated risk, the more likely the patient is to benefit from statin treatment (Grundy et al., 2019).
The US Preventive Services Task Force (USPSTF) concludes with moderate certainty that statin use for the prevention of CVD events and all-cause mortality in adults aged 40 to 75 years with no history of CVD and who have 1 or more of these CVD risk factors and an estimated 10-year CVD event risk of 7.5% to less than 10% has at least a small net benefit (USPSTF 2022).Statin Safety and Statin-Associated Side Effects A clinician–patient risk discussion is recommended before initiation of statin therapy to review net clinical benefit, weighing the potential for ASCVD risk reduction against the potential for statin-associated side effects, statin–drug interactions, and safety, while emphasizing that side effects can be addressed successfully (Class I Recommendation), (Grundy et al., 2019).
* **Logic Definitions:**: **Guidance (Usage): **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: Initial Population Guidance: The initial population covers four distinct populations. Use the following process to prevent counting patients more than once. Initial Population 1: All patients who were previously diagnosed with or currently have a diagnosis of clinical ASCVD, including an ASCVD procedure before the end of the measurement period. - If YES, meets Initial Population 1 risk category - If NO, screen for next risk category Initial Population 2: Patients aged 20 to 75 years at the beginning of the measurement period who have ever had a laboratory test result of LDL-C >= 190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia. - If YES, meets Initial Population 2 risk category - If NO, screen for next risk category Initial Population 3: Patients aged 40 to 75 years at the beginning of the measurement period with an active diagnosis of Type 1 or Type 2 diabetes at any time during the measurement period. - If YES, meets Initial Population 3 risk category - If NO, screen for next risk category Initial Population 4: Patients aged 40 to 75 at the beginning of the measurement period with a 10-year ASCVD risk score of >= 20 percent during the measurement period. - If YES, meets Initial Population 4 risk category - If NO, patient does NOT meet Initial Population criteria and is NOT eligible for measure inclusion. Initial Population Guidance for Encounter: In order for the patient to be included in the Initial Population, the patient must have ONE initial population-eligible visit, defined as follows: outpatient visit, initial or established office visit, face-to-face interaction, preventive care services, or annual wellness visit. LDL-C Laboratory test result options: The measure can be reported for all patients with a documented LDL-C level recorded as follows: To meet Initial Population 1: There is no LDL-C result required. To meet Initial Population 2: If a patient has ANY previous laboratory result of LDL-C >= 190 mg/dL, report the highest value >= 190 mg/dL. To meet Initial Population 3: There is no LDL-C result required. To meet Initial Population 4: There is no LDL-C result required. The 10-year ASCVD risk assessment options: The 10-year ASCVD risk score is calculated using the Pooled Cohort Equations: 1) the 2013 ACC/AHA ASCVD Risk Estimator (maps to LOINC Code 79423-0) OR 2) the ACC Risk Estimator Plus (maps to LOINC Code 99055-6). If your EHR does not have either of these risk calculators, we recommend that you use the on-line versions. The 10-year ASCVD risk score (quantitative result, i.e., result.value, "%") must be documented in a structured field. The 10-year ASCVD risk assessment must be performed during the measurement period. Numerator instructions and guidance: - Current statin therapy use must be documented in the patient's current medication list or ordered during the measurement period. - ONLY statin therapy meets the measure Numerator criteria (NOT other cholesterol lowering medications). - Prescription or order does NOT need to be linked to an encounter or visit; it may be called to the pharmacy. - Statin medication "samples" provided to patients can be documented as "current statin therapy" if documented in the medication list in health/medical record. - Patients who meet the denominator criteria for inclusion, but are not prescribed or using statin therapy, will NOT meet performance for this measure unless they have an allowable denominator exception. Patients with an allowable denominator exception should be removed from the denominator of the measure and reported as a valid exception. - There is only one performance rate calculated for this measure: the weighted average of the four populations. - Adherence to statin therapy is not calculated in this measure. - It may not be appropriate to prescribe statin therapy for some patients (see exceptions and exclusions for the complete list). Intensity of statin therapy in primary and secondary prevention: The expert panel of the 2018 ACC/AHA/MS Guidelines (Grundy et al., 2019) defines recommended intensity of statin therapy on the basis of the average expected LDL-C response to specific statin and dose. Although intensity of statin therapy is important in managing cholesterol, this measure assesses prescription of ANY statin therapy, irrespective of intensity. Assessment of appropriate intensity and dosage documentation added too much complexity to allow inclusion of statin therapy intensity in the measure at this time. Lifestyle modification coaching: A healthy lifestyle is important for the prevention of cardiovascular disease. However, lifestyle modification monitoring and documentation added too much complexity to allow its inclusion in the measure at this time. Millimoles per liter (mmol/L) should be converted to milligrams per deciliter (mg/dL) for reporting this measure. This eCQM is a patient-based measure. This FHIR-based measure has been derived from the QDM-based measure: CMS 347v7. Please refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html).
* **Logic Definitions:**: ** Supplemental Data Guidance : **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 
* **Logic Definitions:**: ** Supplemental Data Elements: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: SDE Ethnicity SDE Payer SDE Race SDE Sex
* **Logic Definitions:**: **Libraries: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: 
| |
| :--- |
| [StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR](Library-StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR.md) |

* **Logic Definitions:**: **Related Artifact Dependencies: **
  * * **Group**: 64345cac7c12bd4a0fdf2869
  * **Scoring**: **Group scoring:** proportion 
  * **Population Criteria**: 64345cac7c12bd4a0fdf286a
  * **Expression**: **Group scoring:** proportion 
  * ?: 64345cac7c12bd4a0fdf286b
  * ?: **Group scoring:** proportion 
  * ?: 64469d732adc647f6c92e98b
  * ?: **Group scoring:** proportion 

* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: ASVCD Diagnosis or Procedure before End of Measurement Period
* **Library Name**: 
  * **Name**: ````define "ASVCD Diagnosis or Procedure before End of Measurement Period": ( ( [Condition: "Myocardial Infarction"] union [Condition: "Cerebrovascular Disease Stroke or TIA"] union [Condition: "Atherosclerosis and Peripheral Arterial Disease"] union [Condition: "Ischemic Heart Disease or Other Related Diagnoses"] union [Condition: "Stable and Unstable Angina"] ) ASCVDDiagnosis where ( ASCVDDiagnosis.isProblemListItem ( ) or ASCVDDiagnosis.isHealthConcern ( ) ) and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDDiagnosis.isActive ( ) ) union ( ( [Procedure: "PCI"] union [Procedure: "CABG Surgeries"] union [Procedure: "Carotid Intervention"] union [Procedure: "CABG or PCI Procedure"] ) ASCVDProcedure where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of "Measurement Period" and ASCVDProcedure.status = 'completed' )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Qualifying Encounter during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Qualifying Encounter during day of Measurement Period": ( [Encounter: "Annual Wellness Visit"] union [Encounter: "Office Visit"] union [Encounter: "Outpatient Consultation"] union [Encounter: "Outpatient Encounters for Preventive Care"] union [Encounter: "Preventive Care Services Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Individual Counseling"] union [Encounter: "Preventive Care Services Initial Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services Other"] /*union [Encounter: "UnlistedEncounter"This will change with a future standards update CQLIT-368*/ ) QualifyingEncounter where QualifyingEncounter.period during day of "Measurement Period" and QualifyingEncounter.status = 'finished'````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 1
* **Library Name**: 
  * **Name**: ````define "Initial Population 1": exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 at Start of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 at Start of Measurement Period": AgeInYearsAt(date from start of "Measurement Period") in Interval[20, 75]````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: LDL Result Greater Than or Equal To 190
* **Library Name**: 
  * **Name**: ````define "LDL Result Greater Than or Equal To 190": [Observation: "LDL Cholesterol"] LDL190 where LDL190.value as Quantity >= 190 'mg/dL' and LDL190.effective.toInterval ( ) starts before end of "Measurement Period" and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Hypercholesterolemia Diagnosis
* **Library Name**: 
  * **Name**: ````define "Hypercholesterolemia Diagnosis": ( [Condition: "Familial Hypercholesterolemia"] Hypercholesterolemia where ( Hypercholesterolemia.isProblemListItem ( ) or Hypercholesterolemia.isHealthConcern ( ) ) and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of "Measurement Period" and Hypercholesterolemia.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD
* **Library Name**: 
  * **Name**: ````define "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD": "Patients Aged 20 to 75 at Start of Measurement Period" and exists ( "LDL Result Greater Than or Equal To 190" union "Hypercholesterolemia Diagnosis" ) and not exists ( "ASVCD Diagnosis or Procedure before End of Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 2
* **Library Name**: 
  * **Name**: ````define "Initial Population 2": "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": Patient.race R return Tuple { codes: R.ombCategory union R.detailed, display: R.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Race
* **Library Name**: 
  * **Name**: ````define "SDE Race": SDE."SDE Race"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Diabetes Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Diabetes Diagnosis": exists ( [Condition: "Diabetes"] Diabetes where ( Diabetes.isProblemListItem ( ) or Diabetes.isHealthConcern ( ) ) and Diabetes.prevalenceInterval ( ) overlaps day of "Measurement Period" and Diabetes.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia
* **Library Name**: 
  * **Name**: ````define "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia": AgeInYearsAt(date from start of "Measurement Period") >= 40 and AgeInYearsAt(date from start of "Measurement Period") <= 75 and "Has Diabetes Diagnosis" and ( not exists "ASVCD Diagnosis or Procedure before End of Measurement Period" and not exists "LDL Result Greater Than or Equal To 190" and not exists "Hypercholesterolemia Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 3
* **Library Name**: 
  * **Name**: ````define "Initial Population 3": "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Ten Year CVD Risk is High
* **Library Name**: 
  * **Name**: ````define "Ten Year CVD Risk is High": ( exists ( [Observation: "Cardiovascular disease 10Y risk [Likelihood]"] union [Observation: "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"] ) AtRiskCVD where AtRiskCVD.value as Quantity >= 20 '%' and AtRiskCVD.effective.toInterval ( ) during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes
* **Library Name**: 
  * **Name**: ````define "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes": AgeInYearsAt(date from start of "Measurement Period") in Interval[40, 75] and "Ten Year CVD Risk is High" and not ( exists "ASVCD Diagnosis or Procedure before End of Measurement Period" or exists "Hypercholesterolemia Diagnosis" or exists "LDL Result Greater Than or Equal To 190" or "Has Diabetes Diagnosis" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Initial Population 4
* **Library Name**: 
  * **Name**: ````define "Initial Population 4": "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes" and exists "Qualifying Encounter during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````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````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Sex
* **Library Name**: 
  * **Name**: ````define "SDE Sex": SDE."SDE Sex"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 3
* **Library Name**: 
  * **Name**: ````define "Denominator 3": "Initial Population 3"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Statin Therapy Prescribed Anytime during day of Measurement Period
* **Library Name**: 
  * **Name**: ````define "Statin Therapy Prescribed Anytime during day of Measurement Period": ( [MedicationRequest: "Low Intensity Statin Therapy"] union [MedicationRequest: "Moderate Intensity Statin Therapy"] union [MedicationRequest: "High Intensity Statin Therapy"] ) StatinPrescribed where StatinPrescribed.status in { 'active', 'completed' } and StatinPrescribed.intent ~ 'order' and StatinPrescribed.doNotPerform is not true and ( StatinPrescribed.authoredOn during day of "Measurement Period" or exists ( StatinPrescribed.dosageInstruction.timing T where T.repeat.bounds.toInterval ( ) overlaps day of "Measurement Period" ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Numerator
* **Library Name**: 
  * **Name**: ````define "Numerator": exists "Statin Therapy Prescribed Anytime during day of Measurement Period"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 2
* **Library Name**: 
  * **Name**: ````define "Denominator 2": "Initial Population 2"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 4
* **Library Name**: 
  * **Name**: ````define "Denominator 4": "Initial Population 4"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": [Coverage: type in "Payer Type"] Payer return { code: Payer.type, period: Payer.period }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Payer
* **Library Name**: 
  * **Name**: ````define "SDE Payer": SDE."SDE Payer"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: SupplementalDataElements
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": Patient.ethnicity E return Tuple { codes: { E.ombCategory } union E.detailed, display: E.text }````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: SDE Ethnicity
* **Library Name**: 
  * **Name**: ````define "SDE Ethnicity": SDE."SDE Ethnicity"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exclusions
* **Library Name**: 
  * **Name**: ````define "Denominator Exclusions": exists ( ( [Condition: "Breastfeeding"] union [Condition: "Rhabdomyolysis"] ) ExclusionDiagnosis where ( ExclusionDiagnosis.isProblemListItem ( ) or ExclusionDiagnosis.isHealthConcern ( ) ) and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of "Measurement Period" and ExclusionDiagnosis.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator 1
* **Library Name**: 
  * **Name**: ````define "Denominator 1": "Initial Population 1"````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Allergy to Statin
* **Library Name**: 
  * **Name**: ````define "Has Allergy to Statin": exists ( [AllergyIntolerance: "Statin Allergen"] StatinAllergy where QICoreCommon."ToInterval" ( StatinAllergy.onset ) overlaps day of "Measurement Period" and StatinAllergy.clinicalStatus ~ QICoreCommon."allergy-active" or StatinAllergy.clinicalStatus is null )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: Hospice
  * **Name**: Has Hospice Services
* **Library Name**: 
  * **Name**: ````define "Has Hospice Services": exists ((([Encounter: "Encounter Inpatient"]).isEncounterPerformed()) InpatientEncounter where (InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and InpatientEncounter.period.toInterval() ends during day of "Measurement Period" ) or exists ((([Encounter: "Hospice Encounter"]).isEncounterPerformed()) HospiceEncounter where HospiceEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Observation: "Hospice care [Minimum Data Set]"]).isAssessmentPerformed()) HospiceAssessment where HospiceAssessment.value ~ "Yes (qualifier value)" and HospiceAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ((([ServiceRequest: "Hospice Care Ambulatory"]).isInterventionOrder()) HospiceOrder where HospiceOrder.authoredOn.toInterval() during day of "Measurement Period" ) or exists ((([Procedure: "Hospice Care Ambulatory"]).isInterventionPerformed()) HospicePerformed where HospicePerformed.performed.toInterval() overlaps day of "Measurement Period" ) or exists (([Condition: "Hospice Diagnosis"]) HospiceCareDiagnosis where HospiceCareDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: PalliativeCare
  * **Name**: Has Palliative Care in the Measurement Period
* **Library Name**: 
  * **Name**: ````define "Has Palliative Care in the Measurement Period": exists ((([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"]).isAssessmentPerformed()) PalliativeAssessment where PalliativeAssessment.effective.toInterval() overlaps day of "Measurement Period" ) or exists ([Condition: "Palliative Care Diagnosis"] PalliativeDiagnosis where PalliativeDiagnosis.prevalenceInterval() overlaps day of "Measurement Period" ) or exists ((([Encounter: "Palliative Care Encounter"]).isEncounterPerformed()) PalliativeEncounter where PalliativeEncounter.period.toInterval() overlaps day of "Measurement Period" ) or exists ((([Procedure: "Palliative Care Intervention"]).isInterventionPerformed()) PalliativeIntervention where PalliativeIntervention.performed.toInterval() overlaps day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Hepatitis or Liver Disease Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has Hepatitis or Liver Disease Diagnosis": exists ( ( [Condition: "Hepatitis A"] union [Condition: "Hepatitis B"] union [Condition: "Liver Disease"] ) HepatitisLiverDisease where ( HepatitisLiverDisease.isProblemListItem ( ) or HepatitisLiverDisease.isHealthConcern ( ) ) and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of "Measurement Period" and HepatitisLiverDisease.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Statin Associated Muscle Symptoms
* **Library Name**: 
  * **Name**: ````define "Has Statin Associated Muscle Symptoms": exists ( [Condition: "Statin Associated Muscle Symptoms"] StatinMuscleSymptom where ( StatinMuscleSymptom.isProblemListItem ( ) or StatinMuscleSymptom.isHealthConcern ( ) ) and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of "Measurement Period" and StatinMuscleSymptom.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has ESRD Diagnosis
* **Library Name**: 
  * **Name**: ````define "Has ESRD Diagnosis": exists ( [Condition: "End Stage Renal Disease"] ESRD where ( ESRD.isProblemListItem ( ) or ESRD.isHealthConcern ( ) ) and ESRD.prevalenceInterval ( ) overlaps day of "Measurement Period" and ESRD.isActive ( ) )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Adverse Reaction to Statin
* **Library Name**: 
  * **Name**: ````define "Has Adverse Reaction to Statin": exists ( [AdverseEvent: event in "Statin Allergen"] StatinReaction where StatinReaction.recordedDate during day of "Measurement Period" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Has Medical Reason for Not Ordering Statin Therapy
* **Library Name**: 
  * **Name**: ````define "Has Medical Reason for Not Ordering Statin Therapy": exists ( ( [MedicationNotRequested: "Low Intensity Statin Therapy"] union [MedicationNotRequested: "Moderate Intensity Statin Therapy"] union [MedicationNotRequested: "High Intensity Statin Therapy"] ) NoStatinTherapyOrdered with "Qualifying Encounter during day of Measurement Period" QualifyingEncounter such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period and NoStatinTherapyOrdered.status = 'completed' and NoStatinTherapyOrdered.reasonCode in "Medical Reason" )````
* **Library Name**: **Library Name**
  * **Name**: **Name**
* **Library Name**: StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR
  * **Name**: Denominator Exceptions
* **Library Name**: 
  * **Name**: ````define "Denominator Exceptions": "Has Allergy to Statin" or Hospice."Has Hospice Services" or PalliativeCare."Has Palliative Care in the Measurement Period" or "Has Hepatitis or Liver Disease Diagnosis" or "Has Statin Associated Muscle Symptoms" or "Has ESRD Diagnosis" or "Has Adverse Reaction to Statin" or "Has Medical Reason for Not Ordering Statin Therapy"````: * `Library/QICoreCommon|1.5.000`
* `Library/FHIRHelpers|4.3.000`
* `Library/FHIRHelpers|4.3.000`
* `Library/SupplementalDataElements|3.4.000`
* `Library/FHIRHelpers|4.3.000`
* `Library/Hospice|6.7.000`
* `Library/Status|1.6.000`
* `Library/QICoreCommon|1.5.000`
* `Library/FHIRHelpers|4.3.000`
* `Library/PalliativeCare|1.7.000`
* [Condition Category Codes](http://terminology.hl7.org/7.1.0/CodeSystem-condition-category.html)
* [US Core Condition Category Extension Codes](http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-condition-category.html)
* [Condition Clinical Status Codes](http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html)
* [LOINC](http://tx.fhir.org/r4/ValueSet/x-loinc2.82)
* [AllergyIntolerance Clinical Status Codes](http://terminology.hl7.org/7.1.0/CodeSystem-allergyintolerance-clinical.html)
* [SNOMED CT (all versions)](http://hl7.org/fhir/R4/codesystem-snomedct.html)
* [Observation Category Codes](http://terminology.hl7.org/7.1.0/CodeSystem-observation-category.html)
* [LOINC](http://tx.fhir.org/r4/ValueSet/x-loinc2.82)
* [Myocardial Infarction](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.403/expansion)
* [Cerebrovascular Disease, Stroke, TIA](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.44/expansion)
* [Atherosclerosis and Peripheral Arterial Disease](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.21/expansion)
* [Ischemic Heart Disease or Other Related Diagnoses](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.46/expansion)
* [Stable and Unstable Angina](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.47/expansion)
* [PCI](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.67/expansion)
* [CABG Surgeries](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.694/expansion)
* [Carotid Intervention](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.204/expansion)
* [CABG, PCI Procedure](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1138.566/expansion)
* [Annual Wellness Visit](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion)
* [Office Visit](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1001/expansion)
* [Outpatient Consultation](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1008/expansion)
* [Outpatient Encounters for Preventive Care](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1576/expansion)
* [Preventive Care Services - Established Office Visit, 18 and Up](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1025/expansion)
* [Preventive Care Services-Individual Counseling](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1026/expansion)
* [Preventive Care Services-Initial Office Visit, 18 and Up](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1023/expansion)
* [Preventive Care Services - Other](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.11.1150/expansion)
* [LDL Cholesterol](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1573/expansion)
* [Hypercholesterolemia](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.100/expansion)
* [Diabetes](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.103.12.1001/expansion)
* [Low Intensity Statin Therapy](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1574/expansion)
* [Moderate Intensity Statin Therapy](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1575/expansion)
* [High Intensity Statin Therapy](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1572/expansion)
* [Payer](https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion)
* [Breastfeeding](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.73/expansion)
* [Rhabdomyolysis](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.102/expansion)
* [Statin Allergen](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.42/expansion)
* [Encounter Inpatient](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion)
* [Hospice Encounter](https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1003-20210820)
* [Hospice Care Ambulatory](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1584/expansion)
* [Hospice Diagnosis](https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1165-20220818)
* [Palliative Care Diagnosis](https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1167-20220820)
* [Palliative Care Encounter](https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090-20210224)
* [Palliative Care Intervention](https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135-20210224)
* [Hepatitis A](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1024/expansion)
* [Hepatitis B](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.269/expansion)
* [Liver Disease](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.42/expansion)
* [Statin Associated Muscle Symptoms](https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1108.85-20240208)
* [End Stage Renal Disease](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.353/expansion)
* [Medical Reason](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1007/expansion)


                                 ](https://www.cms.gov/) |



## Resource Content

```json
{
  "resourceType" : "Measure",
  "id" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm",
    "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm",
    "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"]
  },
  "contained" : [{
    "resourceType" : "Library",
    "id" : "effective-data-requirements",
    "extension" : [{
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
        "code" : "problem-list-item",
        "display" : "Problem List Item"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/us/core/CodeSystem/condition-category",
        "code" : "health-concern",
        "display" : "Health Concern"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
        "code" : "active"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
        "code" : "recurrence"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
        "code" : "relapse"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://loinc.org",
        "code" : "99055-6",
        "display" : "Cardiovascular disease 10Y risk [Likelihood]"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://loinc.org",
        "code" : "79423-0",
        "display" : "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
        "code" : "active"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "428361000124107",
        "display" : "Discharge to home for hospice care (procedure)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "428371000124100",
        "display" : "Discharge to healthcare facility for hospice care (procedure)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
        "code" : "survey",
        "display" : "survey"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://loinc.org",
        "code" : "45755-6",
        "display" : "Hospice care [Minimum Data Set]"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "373066001",
        "display" : "Yes (qualifier value)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://loinc.org",
        "code" : "71007-9",
        "display" : "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"
      }
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "ASVCD Diagnosis or Procedure before End of Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "define \"ASVCD Diagnosis or Procedure before End of Measurement Period\":\n  ( ( [Condition: \"Myocardial Infarction\"]\n      union [Condition: \"Cerebrovascular Disease Stroke or TIA\"]\n      union [Condition: \"Atherosclerosis and Peripheral Arterial Disease\"]\n      union [Condition: \"Ischemic Heart Disease or Other Related Diagnoses\"]\n      union [Condition: \"Stable and Unstable Angina\"] ) ASCVDDiagnosis\n      where ( ASCVDDiagnosis.isProblemListItem ( )\n          or ASCVDDiagnosis.isHealthConcern ( )\n      )\n        and ASCVDDiagnosis.prevalenceInterval ( ) starts on or before day of end of \"Measurement Period\"\n        and ASCVDDiagnosis.isActive ( )\n  )\n    union ( ( [Procedure: \"PCI\"]\n        union [Procedure: \"CABG Surgeries\"]\n        union [Procedure: \"Carotid Intervention\"]\n        union [Procedure: \"CABG or PCI Procedure\"] ) ASCVDProcedure\n        where ASCVDProcedure.performed.toInterval ( ) starts on or before day of end of \"Measurement Period\"\n          and ASCVDProcedure.status = 'completed'\n    )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 0
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Qualifying Encounter during day of Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Qualifying Encounter during day of Measurement Period\":\n  ( [Encounter: \"Annual Wellness Visit\"]\n    union [Encounter: \"Office Visit\"]\n    union [Encounter: \"Outpatient Consultation\"]\n    union [Encounter: \"Outpatient Encounters for Preventive Care\"]\n    union [Encounter: \"Preventive Care Services Established Office Visit, 18 and Up\"]\n    union [Encounter: \"Preventive Care Services Individual Counseling\"]\n    union [Encounter: \"Preventive Care Services Initial Office Visit, 18 and Up\"]\n    union [Encounter: \"Preventive Care Services Other\"]\n           /*union [Encounter: \"UnlistedEncounter\"This will change with a future standards update CQLIT-368*/\n  ) QualifyingEncounter\n    where QualifyingEncounter.period during day of \"Measurement Period\"\n      and QualifyingEncounter.status = 'finished'"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Initial Population 1"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Initial Population 1\":\n  exists \"ASVCD Diagnosis or Procedure before End of Measurement Period\"\n    and exists \"Qualifying Encounter during day of Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 2
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Patients Aged 20 to 75 at Start of Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Patients Aged 20 to 75 at Start of Measurement Period\":\n  AgeInYearsAt(date from start of \"Measurement Period\") in Interval[20, 75]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 3
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "LDL Result Greater Than or Equal To 190"
      },
      {
        "url" : "statement",
        "valueString" : "define \"LDL Result Greater Than or Equal To 190\":\n  [Observation: \"LDL Cholesterol\"] LDL190\n    where LDL190.value as Quantity >= 190 'mg/dL'\n      and LDL190.effective.toInterval ( ) starts before end of \"Measurement Period\"\n      and LDL190.status in { 'final', 'amended', 'corrected', 'appended' }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 4
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Hypercholesterolemia Diagnosis"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Hypercholesterolemia Diagnosis\":\n  ( [Condition: \"Familial Hypercholesterolemia\"] Hypercholesterolemia\n      where ( Hypercholesterolemia.isProblemListItem ( )\n          or Hypercholesterolemia.isHealthConcern ( )\n      )\n        and Hypercholesterolemia.prevalenceInterval ( ) starts on or before day of end of \"Measurement Period\"\n        and Hypercholesterolemia.isActive ( )\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 5
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD\":\n  \"Patients Aged 20 to 75 at Start of Measurement Period\"\n    and exists ( \"LDL Result Greater Than or Equal To 190\"\n        union \"Hypercholesterolemia Diagnosis\"\n    )\n    and not exists ( \"ASVCD Diagnosis or Procedure before End of Measurement Period\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 6
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Initial Population 2"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Initial Population 2\":\n  \"Patients Aged 20 to 75 with LDL Cholesterol Result Greater than or Equal to 190 or Hypercholesterolemia without ASCVD\"\n    and exists \"Qualifying Encounter during day of Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 7
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "SupplementalDataElements"
      },
      {
        "url" : "name",
        "valueString" : "SDE Race"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 8
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "SDE Race"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Race\":\n  SDE.\"SDE Race\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 9
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has Diabetes Diagnosis"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Diabetes Diagnosis\":\n  exists ( [Condition: \"Diabetes\"] Diabetes\n      where ( Diabetes.isProblemListItem ( )\n          or Diabetes.isHealthConcern ( )\n      )\n        and Diabetes.prevalenceInterval ( ) overlaps day of \"Measurement Period\"\n        and Diabetes.isActive ( )\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 10
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia\":\n  AgeInYearsAt(date from start of \"Measurement Period\") >= 40\n    and AgeInYearsAt(date from start of \"Measurement Period\") <= 75\n    and \"Has Diabetes Diagnosis\"\n    and ( not exists \"ASVCD Diagnosis or Procedure before End of Measurement Period\"\n        and not exists \"LDL Result Greater Than or Equal To 190\"\n        and not exists \"Hypercholesterolemia Diagnosis\"\n    )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 11
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Initial Population 3"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Initial Population 3\":\n  \"Patients Aged 40 to 75 Years with Diabetes without ASCVD or LDL Greater than 190 or Hypercholesterolemia\"\n    and exists \"Qualifying Encounter during day of Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 12
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Ten Year CVD Risk is High"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Ten Year CVD Risk is High\":\n  ( exists ( [Observation: \"Cardiovascular disease 10Y risk [Likelihood]\"]\n      union [Observation: \"Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013\"] ) AtRiskCVD\n      where AtRiskCVD.value as Quantity >= 20 '%'\n        and AtRiskCVD.effective.toInterval ( ) during day of \"Measurement Period\"\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 13
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes\":\n  AgeInYearsAt(date from start of \"Measurement Period\") in Interval[40, 75]\n    and \"Ten Year CVD Risk is High\"\n    and not ( exists \"ASVCD Diagnosis or Procedure before End of Measurement Period\"\n        or exists \"Hypercholesterolemia Diagnosis\"\n        or exists \"LDL Result Greater Than or Equal To 190\"\n        or \"Has Diabetes Diagnosis\"\n    )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 14
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Initial Population 4"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Initial Population 4\":\n  \"Patients Age 40 to 75 Years and have a 10 Year CVD Risk of High without ASCVD and High LDL and Diabetes\"\n    and exists \"Qualifying Encounter during day of Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 15
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "SupplementalDataElements"
      },
      {
        "url" : "name",
        "valueString" : "SDE Sex"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n      else null\n    end"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 16
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "SDE Sex"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Sex\":\n  SDE.\"SDE Sex\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 17
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Denominator 3"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Denominator 3\":\n  \"Initial Population 3\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 18
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Statin Therapy Prescribed Anytime during day of Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Statin Therapy Prescribed Anytime during day of Measurement Period\":\n  ( [MedicationRequest: \"Low Intensity Statin Therapy\"]\n    union [MedicationRequest: \"Moderate Intensity Statin Therapy\"]\n    union [MedicationRequest: \"High Intensity Statin Therapy\"] ) StatinPrescribed\n    where StatinPrescribed.status in { 'active', 'completed' }\n      and StatinPrescribed.intent ~ 'order'\n      and StatinPrescribed.doNotPerform is not true\n      and ( StatinPrescribed.authoredOn during day of \"Measurement Period\"\n          or exists ( StatinPrescribed.dosageInstruction.timing T\n              where T.repeat.bounds.toInterval ( ) overlaps day of \"Measurement Period\"\n          )\n      )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 19
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Numerator"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Numerator\":\n  exists \"Statin Therapy Prescribed Anytime during day of Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 20
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Denominator 2"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Denominator 2\":\n  \"Initial Population 2\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 21
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Denominator 4"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Denominator 4\":\n  \"Initial Population 4\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 22
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "SupplementalDataElements"
      },
      {
        "url" : "name",
        "valueString" : "SDE Payer"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 23
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "SDE Payer"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Payer\":\n  SDE.\"SDE Payer\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 24
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "SupplementalDataElements"
      },
      {
        "url" : "name",
        "valueString" : "SDE Ethnicity"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 25
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "SDE Ethnicity"
      },
      {
        "url" : "statement",
        "valueString" : "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 26
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Denominator Exclusions"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Denominator Exclusions\":\n  exists ( ( [Condition: \"Breastfeeding\"]\n      union [Condition: \"Rhabdomyolysis\"] ) ExclusionDiagnosis\n      where ( ExclusionDiagnosis.isProblemListItem ( )\n          or ExclusionDiagnosis.isHealthConcern ( )\n      )\n        and ExclusionDiagnosis.prevalenceInterval ( ) overlaps day of \"Measurement Period\"\n        and ExclusionDiagnosis.isActive ( )\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 27
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Denominator 1"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Denominator 1\":\n  \"Initial Population 1\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 28
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has Allergy to Statin"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Allergy to Statin\":\n  exists ( [AllergyIntolerance: \"Statin Allergen\"] StatinAllergy\n      where QICoreCommon.\"ToInterval\" ( StatinAllergy.onset ) overlaps day of \"Measurement Period\"\n        and StatinAllergy.clinicalStatus ~ QICoreCommon.\"allergy-active\"\n        or StatinAllergy.clinicalStatus is null\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 29
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "Hospice"
      },
      {
        "url" : "name",
        "valueString" : "Has Hospice Services"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Hospice Services\":\n  exists ((([Encounter: \"Encounter Inpatient\"]).isEncounterPerformed()) InpatientEncounter\n      where (InpatientEncounter.hospitalization.dischargeDisposition ~ \"Discharge to home for hospice care (procedure)\"\n          or InpatientEncounter.hospitalization.dischargeDisposition ~ \"Discharge to healthcare facility for hospice care (procedure)\"\n      )\n        and InpatientEncounter.period.toInterval() ends during day of \"Measurement Period\"\n  )\n    or exists ((([Encounter: \"Hospice Encounter\"]).isEncounterPerformed()) HospiceEncounter\n        where HospiceEncounter.period.toInterval() overlaps day of \"Measurement Period\"\n    )\n    or exists ((([Observation: \"Hospice care [Minimum Data Set]\"]).isAssessmentPerformed()) HospiceAssessment\n        where HospiceAssessment.value ~ \"Yes (qualifier value)\"\n          and HospiceAssessment.effective.toInterval() overlaps day of \"Measurement Period\"\n    )\n    or exists ((([ServiceRequest: \"Hospice Care Ambulatory\"]).isInterventionOrder()) HospiceOrder\n        where HospiceOrder.authoredOn.toInterval() during day of \"Measurement Period\"\n    )\n    or exists ((([Procedure: \"Hospice Care Ambulatory\"]).isInterventionPerformed()) HospicePerformed\n        where HospicePerformed.performed.toInterval() overlaps day of \"Measurement Period\"\n    )\n    or exists (([Condition: \"Hospice Diagnosis\"]) HospiceCareDiagnosis\n        where HospiceCareDiagnosis.prevalenceInterval() overlaps day of \"Measurement Period\"\n    )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 30
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "PalliativeCare"
      },
      {
        "url" : "name",
        "valueString" : "Has Palliative Care in the Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Palliative Care in the Measurement Period\":\n  exists ((([Observation: \"Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)\"]).isAssessmentPerformed()) PalliativeAssessment\n      where PalliativeAssessment.effective.toInterval() overlaps day of \"Measurement Period\"\n  )\n    or exists ([Condition: \"Palliative Care Diagnosis\"] PalliativeDiagnosis\n        where PalliativeDiagnosis.prevalenceInterval() overlaps day of \"Measurement Period\"\n    )\n    or exists ((([Encounter: \"Palliative Care Encounter\"]).isEncounterPerformed()) PalliativeEncounter\n        where PalliativeEncounter.period.toInterval() overlaps day of \"Measurement Period\"\n    )\n    or exists ((([Procedure: \"Palliative Care Intervention\"]).isInterventionPerformed()) PalliativeIntervention\n        where PalliativeIntervention.performed.toInterval() overlaps day of \"Measurement Period\"\n    )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 31
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has Hepatitis or Liver Disease Diagnosis"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Hepatitis or Liver Disease Diagnosis\":\n  exists ( ( [Condition: \"Hepatitis A\"]\n      union [Condition: \"Hepatitis B\"]\n      union [Condition: \"Liver Disease\"] ) HepatitisLiverDisease\n      where ( HepatitisLiverDisease.isProblemListItem ( )\n          or HepatitisLiverDisease.isHealthConcern ( )\n      )\n        and HepatitisLiverDisease.prevalenceInterval ( ) overlaps day of \"Measurement Period\"\n        and HepatitisLiverDisease.isActive ( )\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 32
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has Statin Associated Muscle Symptoms"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Statin Associated Muscle Symptoms\":\n  exists ( [Condition: \"Statin Associated Muscle Symptoms\"] StatinMuscleSymptom\n      where ( StatinMuscleSymptom.isProblemListItem ( )\n          or StatinMuscleSymptom.isHealthConcern ( )\n      )\n        and StatinMuscleSymptom.prevalenceInterval ( ) overlaps day of \"Measurement Period\"\n        and StatinMuscleSymptom.isActive ( )\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 33
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has ESRD Diagnosis"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has ESRD Diagnosis\":\n  exists ( [Condition: \"End Stage Renal Disease\"] ESRD\n      where ( ESRD.isProblemListItem ( )\n          or ESRD.isHealthConcern ( )\n      )\n        and ESRD.prevalenceInterval ( ) overlaps day of \"Measurement Period\"\n        and ESRD.isActive ( )\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 34
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has Adverse Reaction to Statin"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Adverse Reaction to Statin\":\n  exists ( [AdverseEvent: event in \"Statin Allergen\"] StatinReaction\n      where StatinReaction.recordedDate during day of \"Measurement Period\"\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 35
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Has Medical Reason for Not Ordering Statin Therapy"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Has Medical Reason for Not Ordering Statin Therapy\":\n  exists ( ( [MedicationNotRequested: \"Low Intensity Statin Therapy\"]\n      union [MedicationNotRequested: \"Moderate Intensity Statin Therapy\"]\n      union [MedicationNotRequested: \"High Intensity Statin Therapy\"] ) NoStatinTherapyOrdered\n      with \"Qualifying Encounter during day of Measurement Period\" QualifyingEncounter\n        such that NoStatinTherapyOrdered.authoredOn during QualifyingEncounter.period\n          and NoStatinTherapyOrdered.status = 'completed'\n          and NoStatinTherapyOrdered.reasonCode in \"Medical Reason\"\n  )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 36
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"
      },
      {
        "url" : "name",
        "valueString" : "Denominator Exceptions"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Denominator Exceptions\":\n  \"Has Allergy to Statin\"\n    or Hospice.\"Has Hospice Services\"\n    or PalliativeCare.\"Has Palliative Care in the Measurement Period\"\n    or \"Has Hepatitis or Liver Disease Diagnosis\"\n    or \"Has Statin Associated Muscle Symptoms\"\n    or \"Has ESRD Diagnosis\"\n    or \"Has Adverse Reaction to Statin\"\n    or \"Has Medical Reason for Not Ordering Statin Therapy\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 37
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    }],
    "status" : "active",
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/library-type",
        "code" : "module-definition"
      }]
    },
    "relatedArtifact" : [{
      "type" : "depends-on",
      "display" : "Library QICoreCommon",
      "resource" : "Library/QICoreCommon|1.5.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "Library/FHIRHelpers|4.3.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "Library/FHIRHelpers|4.3.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library SDE",
      "resource" : "Library/SupplementalDataElements|3.4.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "Library/FHIRHelpers|4.3.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library Hospice",
      "resource" : "Library/Hospice|6.7.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library Status",
      "resource" : "Library/Status|1.6.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library QICoreCommon",
      "resource" : "Library/QICoreCommon|1.5.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "Library/FHIRHelpers|4.3.000"
    },
    {
      "type" : "depends-on",
      "display" : "Library PalliativeCare",
      "resource" : "Library/PalliativeCare|1.7.000"
    },
    {
      "type" : "depends-on",
      "display" : "Code system ConditionCategory",
      "resource" : "http://terminology.hl7.org/CodeSystem/condition-category"
    },
    {
      "type" : "depends-on",
      "display" : "Code system USCoreConditionCategoryExtensionCodes",
      "resource" : "http://hl7.org/fhir/us/core/CodeSystem/condition-category"
    },
    {
      "type" : "depends-on",
      "display" : "Code system ConditionClinicalStatusCodes",
      "resource" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
    },
    {
      "type" : "depends-on",
      "display" : "Code system LOINC",
      "resource" : "http://loinc.org"
    },
    {
      "type" : "depends-on",
      "display" : "Code system AllergyIntoleranceClinicalStatusCodes",
      "resource" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
    },
    {
      "type" : "depends-on",
      "display" : "Code system SNOMEDCT",
      "resource" : "http://snomed.info/sct"
    },
    {
      "type" : "depends-on",
      "display" : "Code system ObservationCategoryCodes",
      "resource" : "http://terminology.hl7.org/CodeSystem/observation-category"
    },
    {
      "type" : "depends-on",
      "display" : "Code system LOINC",
      "resource" : "http://loinc.org"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Myocardial Infarction",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.403"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Cerebrovascular Disease Stroke or TIA",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.44"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Atherosclerosis and Peripheral Arterial Disease",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.21"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Ischemic Heart Disease or Other Related Diagnoses",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.46"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Stable and Unstable Angina",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.47"
    },
    {
      "type" : "depends-on",
      "display" : "Value set PCI",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.67"
    },
    {
      "type" : "depends-on",
      "display" : "Value set CABG Surgeries",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.694"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Carotid Intervention",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.204"
    },
    {
      "type" : "depends-on",
      "display" : "Value set CABG or PCI Procedure",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1138.566"
    },
    {
      "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 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 Outpatient Consultation",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Outpatient Encounters for Preventive Care",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1576"
    },
    {
      "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 Individual Counseling",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026"
    },
    {
      "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 Preventive Care Services Other",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1150"
    },
    {
      "type" : "depends-on",
      "display" : "Value set LDL Cholesterol",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1573"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Familial Hypercholesterolemia",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.100"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Diabetes",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Low Intensity Statin Therapy",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1574"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Moderate Intensity Statin Therapy",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1575"
    },
    {
      "type" : "depends-on",
      "display" : "Value set High Intensity Statin Therapy",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1572"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Payer Type",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Breastfeeding",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.73"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Rhabdomyolysis",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.102"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Statin Allergen",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.42"
    },
    {
      "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 Encounter",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Hospice Care Ambulatory",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Hospice Diagnosis",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Palliative Care Diagnosis",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Palliative Care Encounter",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Palliative Care Intervention",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Hepatitis A",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1024"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Hepatitis B",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.269"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Liver Disease",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.42"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Statin Associated Muscle Symptoms",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.85"
    },
    {
      "type" : "depends-on",
      "display" : "Value set End Stage Renal Disease",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.353"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Medical Reason",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007"
    }],
    "parameter" : [{
      "name" : "Measurement Period",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "type" : "Period"
    },
    {
      "name" : "Initial Population 1",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Initial Population 2",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "SDE Race",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Resource"
    },
    {
      "name" : "Initial Population 3",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Initial Population 4",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "SDE Sex",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "Denominator 3",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Numerator",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Denominator 2",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Denominator 4",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "SDE Payer",
      "use" : "out",
      "min" : 0,
      "max" : "*",
      "type" : "Resource"
    },
    {
      "name" : "SDE Ethnicity",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Resource"
    },
    {
      "name" : "Denominator Exclusions",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Denominator 1",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Denominator Exceptions",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    }],
    "dataRequirement" : [{
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/Condition"],
      "mustSupport" : ["clinicalStatus"]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.403"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.44"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.21"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.46"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.47"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.67"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.694"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.204"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1138.566"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "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/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "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/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1576"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "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/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "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/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1150"
      }]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/Patient"],
      "mustSupport" : ["birthDate", "birthDate.value", "gender", "gender.value"]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code", "value", "effective", "status", "status.value"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1573"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.100"
      }]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"]
    },
    {
      "type" : "uri",
      "profile" : ["http://hl7.org/fhir/uri"],
      "mustSupport" : ["value"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"],
      "mustSupport" : ["url", "extension"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"],
      "mustSupport" : ["url", "extension"]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "code" : [{
          "system" : "http://loinc.org",
          "code" : "99055-6",
          "display" : "Cardiovascular disease 10Y risk [Likelihood]"
        }]
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "code" : [{
          "system" : "http://loinc.org",
          "code" : "79423-0",
          "display" : "Cardiovascular disease 10Y risk [Likelihood] ACC-AHA Pooled Cohort by Goff 2013"
        }]
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1574"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1574"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1575"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1575"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1572"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1572"
      }]
    },
    {
      "type" : "Coverage",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"],
      "mustSupport" : ["type", "period"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
      }]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"],
      "mustSupport" : ["url", "extension"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"],
      "mustSupport" : ["url", "extension"]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.73"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.102"
      }]
    },
    {
      "type" : "AllergyIntolerance",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance"],
      "mustSupport" : ["code", "onset", "clinicalStatus"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.42"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "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/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type",
      "hospitalization",
      "hospitalization.dischargeDisposition",
      "period"],
      "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/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type", "period"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "code" : [{
          "system" : "http://loinc.org",
          "code" : "45755-6",
          "display" : "Hospice care [Minimum Data Set]"
        }]
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code", "value", "effective"],
      "codeFilter" : [{
        "path" : "code",
        "code" : [{
          "system" : "http://loinc.org",
          "code" : "45755-6",
          "display" : "Hospice care [Minimum Data Set]"
        }]
      }]
    },
    {
      "type" : "ServiceRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584"
      }]
    },
    {
      "type" : "ServiceRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"],
      "mustSupport" : ["code", "authoredOn", "authoredOn.value"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code", "performed"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "code" : [{
          "system" : "http://loinc.org",
          "code" : "71007-9",
          "display" : "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"
        }]
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"],
      "mustSupport" : ["code", "effective"],
      "codeFilter" : [{
        "path" : "code",
        "code" : [{
          "system" : "http://loinc.org",
          "code" : "71007-9",
          "display" : "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"
        }]
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090"
      }]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"],
      "mustSupport" : ["type", "period"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135"
      }]
    },
    {
      "type" : "Procedure",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"],
      "mustSupport" : ["code", "performed"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1024"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.269"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.42"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.85"
      }]
    },
    {
      "type" : "Condition",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.353"
      }]
    },
    {
      "type" : "AdverseEvent",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent"],
      "mustSupport" : ["event", "recordedDate", "recordedDate.value"],
      "codeFilter" : [{
        "path" : "event",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.42"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1574"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1574"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1575"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1575"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1572"
      }]
    },
    {
      "type" : "MedicationRequest",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"],
      "mustSupport" : ["medication"],
      "codeFilter" : [{
        "path" : "medication",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1572"
      }]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"],
      "mustSupport" : ["url", "extension"]
    },
    {
      "type" : "Coverage",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"],
      "mustSupport" : ["type", "period"],
      "codeFilter" : [{
        "path" : "type",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
      }]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"],
      "mustSupport" : ["url", "extension"]
    }]
  }],
  "extension" : [{
    "id" : "supplementalDataGuidance",
    "extension" : [{
      "url" : "guidance"
    },
    {
      "url" : "usage",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
          "code" : "supplemental-data",
          "display" : "Supplemental Data"
        }],
        "text" : "Supplemental Data Guidance"
      }
    }],
    "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance"
  },
  {
    "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
    "valueReference" : {
      "reference" : "#effective-data-requirements"
    }
  }],
  "url" : "http://ecqi.healthit.gov/ecqms/Measure/StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR",
  "identifier" : [{
    "use" : "usual",
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
        "code" : "short-name"
      }]
    },
    "system" : "https://madie.cms.gov/measure/shortName",
    "value" : "CMS347FHIR"
  },
  {
    "use" : "official",
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
        "code" : "version-independent"
      }]
    },
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:uuid:4d3066c5-88f7-48d2-8a93-9f946e1a41a6"
  },
  {
    "use" : "official",
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
        "code" : "version-specific"
      }]
    },
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:uuid:fd954048-8292-417e-bc77-aa0d99fb8540"
  },
  {
    "use" : "official",
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
        "code" : "publisher"
      }]
    },
    "system" : "https://madie.cms.gov/measure/cmsId",
    "value" : "347FHIR",
    "assigner" : {
      "display" : "CMS"
    }
  }],
  "version" : "0.1.000",
  "name" : "StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR",
  "title" : "Statin Therapy for the Prevention and Treatment of Cardiovascular DiseaseFHIR",
  "status" : "draft",
  "experimental" : false,
  "date" : "2023-08-27T20:52:19+00:00",
  "publisher" : "Centers for Medicare & Medicaid Services (CMS)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.cms.gov/"
    }]
  }],
  "description" : "Percentage of the following patients - all considered at high risk of cardiovascular events - who were prescribed or were on statin therapy during the measurement period: \n- All patients who were previously diagnosed with or currently have a diagnosis of clinical atherosclerotic cardiovascular disease (ASCVD), including an ASCVD procedure; OR \n- Patients aged 20 - 75 years who have ever had a low-density lipoprotein cholesterol (LDL-C) level >= 190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia; OR \n- Patients aged 40 - 75 years with a diagnosis of diabetes; OR\n- Patients aged 40 - 75 with a 10-year ASCVD risk score of >= 20 percent",
  "useContext" : [{
    "code" : {
      "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
      "code" : "program"
    },
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs",
        "code" : "ep-ec",
        "display" : "EP/EC"
      }]
    }
  }],
  "purpose" : "UNKNOWN",
  "usage" : "Initial Population Guidance: \nThe initial population covers four distinct populations. Use the following process to prevent counting patients more than once.\n\nInitial Population 1:  \nAll patients who were previously diagnosed with or currently have a diagnosis of clinical ASCVD, including an ASCVD procedure before the end of the measurement period.\n\n\n- If YES, meets Initial Population 1 risk category\t\t \n- If NO, screen for next risk category\n\nInitial Population 2: \nPatients aged 20 to 75 years at the beginning of the measurement period who have ever had a laboratory test result of LDL-C >= 190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia.\n\n- If YES, meets Initial Population 2 risk category\t\t \n- If NO, screen for next risk category\n\nInitial Population 3:\nPatients aged 40 to 75 years at the beginning of the measurement period with an active diagnosis of Type 1 or Type 2 diabetes at any time during the measurement period.\n\n- If YES, meets Initial Population 3 risk category\n- If NO, screen for next risk category\n\nInitial Population 4: \nPatients aged 40 to 75 at the beginning of the measurement period with a 10-year ASCVD risk score of >= 20 percent during the measurement period.\n\n- If YES, meets Initial Population 4 risk category\n- If NO, patient does NOT meet Initial Population criteria and is NOT eligible for measure inclusion.\n\nInitial Population Guidance for Encounter:\nIn order for the patient to be included in the Initial Population, the patient must have ONE initial population-eligible visit, defined as follows: outpatient visit, initial or established office visit, face-to-face interaction, preventive care services, or annual wellness visit.\n\nLDL-C Laboratory test result options:\nThe measure can be reported for all patients with a documented LDL-C level recorded as follows:\n\nTo meet Initial Population 1: \nThere is no LDL-C result required.\n\nTo meet Initial Population 2:\nIf a patient has ANY previous laboratory result of LDL-C >= 190 mg/dL, report the highest value >= 190 mg/dL.\n\nTo meet Initial Population 3: \nThere is no LDL-C result required.\n\nTo meet Initial Population 4: \nThere is no LDL-C result required.\n\nThe 10-year ASCVD risk assessment options:\nThe 10-year ASCVD risk score is calculated using the Pooled Cohort Equations: 1) the 2013 ACC/AHA ASCVD Risk Estimator (maps to LOINC Code 79423-0) OR 2) the ACC Risk Estimator Plus (maps to LOINC Code 99055-6). If your EHR does not have either of these risk calculators, we recommend that you use the on-line versions. The 10-year ASCVD risk score (quantitative result, i.e., result.value, \"%\") must be documented in a structured field. The 10-year ASCVD risk assessment must be performed during the measurement period.  \n  \nNumerator instructions and guidance:\n- Current statin therapy use must be documented in the patient's current medication list or ordered during the measurement period.\n- ONLY statin therapy meets the measure Numerator criteria (NOT other cholesterol lowering medications).\n- Prescription or order does NOT need to be linked to an encounter or visit; it may be called to the pharmacy.\n- Statin medication \"samples\" provided to patients can be documented as \"current statin therapy\" if documented in the medication list in health/medical record.\n- Patients who meet the denominator criteria for inclusion, but are not prescribed or using statin therapy, will NOT meet performance for this measure unless they have an allowable denominator exception. Patients with an allowable denominator exception should be removed from the denominator of the measure and reported as a valid exception. \n- There is only one performance rate calculated for this measure: the weighted average of the four populations.\n- Adherence to statin therapy is not calculated in this measure.\n- It may not be appropriate to prescribe statin therapy for some patients (see exceptions and exclusions for the complete list). \n\nIntensity of statin therapy in primary and secondary prevention:\nThe expert panel of the 2018 ACC/AHA/MS Guidelines (Grundy et al., 2019) defines recommended intensity of statin therapy on the basis of the average expected LDL-C response to specific statin and dose. Although intensity of statin therapy is important in managing cholesterol, this measure assesses prescription of ANY statin therapy, irrespective of intensity. Assessment of appropriate intensity and dosage documentation added too much complexity to allow inclusion of statin therapy intensity in the measure at this time.\n\nLifestyle modification coaching:\nA healthy lifestyle is important for the prevention of cardiovascular disease. However, lifestyle modification monitoring and documentation added too much complexity to allow its inclusion in the measure at this time.\n\nMillimoles per liter (mmol/L) should be converted to milligrams per deciliter (mg/dL) for reporting this measure.\n\nThis eCQM is a patient-based measure.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS 347v7.  \nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html).",
  "copyright" : "Limited proprietary coding is contained in the measure specifications for convenience. Users of the proprietary code sets should obtain all necessary licenses from the owners of these code sets. \n\nCPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) is copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 is copyright 2022 World Health Organization. All Rights Reserved.",
  "approvalDate" : "2023-08-28",
  "lastReviewDate" : "2023-08-28",
  "effectivePeriod" : {
    "start" : "2024-01-01",
    "end" : "2024-12-31"
  },
  "author" : [{
    "name" : "Mathematica",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.mathematica.org/"
    }]
  }],
  "library" : ["http://ecqi.healthit.gov/ecqms/Library/StatinTherapyforthePreventionandTreatmentofCardiovascularDiseaseFHIR"],
  "disclaimer" : "These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications.\n\nTHE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].",
  "rationale" : "\"Cardiovascular disease (CVD) is the leading cause of death in the United States, causing approximately 1 of every 3 deaths in the United States in 2015. In 2015, stroke caused approximately 1 of every 19 deaths in the United States and the estimated annual costs for CVD and stroke were $329.7 billion, including $199.2 billion in direct costs (hospital services, physicians and other professionals, prescribed medications, home health care, and other medical durables) and $130.5 billion in indirect costs from lost future productivity (cardiovascular and stroke premature deaths). CVD costs more than any other diagnostic group\" (Benjamin et al., 2018).\n\nData collected between 2011 and 2014 indicates that more than 94.6 million U.S. adults, 20 years or older, had total cholesterol levels equal to 200 mg/dL or more, while almost 28.5 million had levels 240 mg/dL or more (Benjamin et al., 2018). Elevated blood cholesterol is a major risk factor for CVD and statin therapy has been associated with a reduced risk of CVD. Numerous randomized trials have demonstrated that treatment with a statin reduces LDL-C and reduces the risk of major cardiovascular events by approximately 20 percent (Ference, 2015).\n\nIn 2018, updated guidelines on the treatment of blood cholesterol to reduce atherosclerotic cardiovascular risk in adults were published (Grundy et al., 2019). This guideline was published by an Expert Panel, which synthesized evidence from randomized controlled trials to identify people most likely to benefit from cholesterol-lowering therapy. The American College of Cardiology (ACC)/American Heart Association (AHA)/Multi-society (MS) Guideline recommendations are intended to provide a strong evidence-based foundation for the treatment of blood cholesterol for the primary and secondary prevention and treatment of ASCVD in patients of all ages. The document concludes that the addition of statin therapy reduces the risk of ASCVD among high-risk individuals, defined as follows: individuals with clinical ASCVD, with LDL-C >= 190 mg/dL, with diabetes, or individuals with >= 20% risk of ASCVD as determined via use of an ASCVD risk estimator derived from the Pooled Cohort Equations (Grundy et al., 2019).\n\nOne study surveying U.S. cardiology, primary care, and endocrinology practices found that 1 in 4 guideline-eligible patients were not on a statin and less than half were on the recommended statin intensity. Untreated and undertreated patients had significantly higher LDL-C levels than those receiving guideline-directed statin treatment (Navar et al., 2017). In a follow-up study authored by Nanna et al., the same clinics were divided into tertiles based on the percentage of patients with guideline-recommended statin use. The researchers found that patients in the high-tertile clinics were more likely to achieve target LDL-C levels than patients at the low- or mid-tertile clinics, and this held true when patients were stratified by primary and secondary prevention (Nanna et al., 2019a). \n\nResearch also indicates that certain populations are far less likely to receive guideline-recommended statin therapy than others. A retrospective study of the National Health and Nutrition Examination Survey found that Black and Hispanic race or ethnicity, low income, lack of health insurance coverage, poor health care access, young age, and female gender are predictors of lower statin utilization (Gu et al., 2018). In particular, there is extensive evidence that women are far less likely than men to be prescribed guideline-recommended statin therapy (Nanna et al., 2019b), despite research showing that female patients with cardiovascular disease derive the same or greater benefit from statin therapy as male patients with cardiovascular disease (Puri et al., 2014). \n\nThe Statin Safety Expert Panel that participated in a National Lipid Association (NLA) Statin Safety Task Force meeting in October 2013 reaffirms the general safety of statin therapy. The panel members concluded that for most patients requiring statin therapy, the potential benefits of statin therapy outweigh the potential risks. In general terms, the benefits of statins to prevent non-fatal myocardial infarction, revascularization, stroke, and CVD mortality, far outweigh any potential harm related to the drug (Jacobson, 2014).",
  "clinicalRecommendationStatement" : "This electronic clinical quality measure is intended to align with the 2018 ACC/AHA/MS Guideline on the Management of Blood Cholesterol (Grundy et al., 2019), which indicates the use of statins as the first line of cholesterol-lowering medication therapy to lower the risk of ASCVD among at-risk populations.\n\nRecommendations for Management of Blood Cholesterol to Reduce Atherosclerotic Cardiovascular Risk in Adults - Statin Treatment:\nSecondary Prevention:\n1. In patients who are 75 years of age or younger with clinical ASCVD, high-intensity statin therapy should be initiated or continued with the aim of achieving a 50% or greater reduction in LDL-C levels (Class I Recommendation), (Grundy et al., 2019).\n\n2. In patients with clinical ASCVD in whom high-intensity statin therapy is contraindicated or who experience statin-associated side effects, moderate-intensity statin therapy should be initiated or continued with the aim of achieving a 30% to 49% reduction in LDL-C levels (Class I Recommendation), (Grundy et al., 2019).\n\n3. In patients older than 75 years of age with clinical ASCVD, it is reasonable to initiate moderate- or high-intensity statin therapy after evaluation of the potential for ASCVD risk reduction, adverse effects, and drug–drug interactions, as well as patient frailty and patient preferences (Class IIa Recommendation), (Grundy et al., 2019). \n\nPrimary Prevention \n1. In patients 20 to 75 years of age with an LDL-C level of 190 mg/dL or higher (>= 4.9 mmol/L), maximally tolerated statin therapy is recommended. (Class I Recommendation), (Grundy et al., 2019). \n\n2. In adults 40 to 75 years of age with diabetes mellitus, regardless of estimated 10-year ASCVD risk, moderate-intensity statin therapy is indicated (Class I Recommendation), (Grundy et al., 2019).\n\n3. To facilitate decisions about preventive interventions, it is recommended to screen for traditional ASCVD risk factors and apply the race- and sex-specific Pooled Cohort Equations (PCE) to estimate 10-year ASCVD risk for asymptomatic adults 40 to 75 years of age. The higher the estimated risk, the more likely the patient is to benefit from statin treatment (Grundy et al., 2019). \n\nThe US Preventive Services Task Force (USPSTF) concludes with moderate certainty that statin use for the prevention of CVD events and all-cause mortality in adults aged 40 to 75 years with no history of CVD and who have 1 or more of these CVD risk factors and an estimated 10-year CVD event risk of 7.5% to less than 10% has at least a small net benefit (USPSTF 2022).\n\nStatin Safety and Statin-Associated Side Effects\nA clinician–patient risk discussion is recommended before initiation of statin therapy to review net clinical benefit, weighing the potential for ASCVD risk reduction against the potential for statin-associated side effects, statin–drug interactions, and safety, while emphasizing that side effects can be addressed successfully (Class I Recommendation), (Grundy et al., 2019).",
  "group" : [{
    "id" : "64345cac7c12bd4a0fdf2869",
    "extension" : [{
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
          "code" : "proportion",
          "display" : "Proportion"
        }]
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
      "valueCode" : "boolean"
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-type",
          "code" : "process",
          "display" : "Process"
        }]
      }
    }],
    "description" : "All patients who were previously diagnosed with or currently have a diagnosis of clinical ASCVD, including an ASCVD procedure before the end of the measurement period and were  taking a statin medication during the measure period. ",
    "population" : [{
      "id" : "BB8354EA-BB6C-479C-8E83-E7B390A559B7",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "description" : "All patients who were previously diagnosed with or currently have a diagnosis of clinical ASCVD, including an ASCVD procedure.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Initial Population 1"
      }
    },
    {
      "id" : "645C2B7E-D180-4C6C-A12D-FA742CEE6236",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator",
          "display" : "Denominator"
        }]
      },
      "description" : "Equals Initial Population",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator 1"
      }
    },
    {
      "id" : "2F05449B-CB3A-411E-B806-C17BB0834E70",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exclusion",
          "display" : "Denominator Exclusion"
        }]
      },
      "description" : "Patients who are breastfeeding at any time during the measurement period.\nPatients who have a diagnosis of rhabdomyolysis at any time during the measurement period.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exclusions"
      }
    },
    {
      "id" : "92DFF13B-6E00-4ACD-8098-0B41F9E1B38F",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator",
          "display" : "Numerator"
        }]
      },
      "description" : "Patients who are actively using or who receive an order (prescription) for statin therapy at any time during the measurement period",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Numerator"
      }
    },
    {
      "id" : "1528b965-d6d6-4b5b-8281-7e0cc2e10500",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator-exclusion",
          "display" : "Numerator Exclusion"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier"
      }
    },
    {
      "id" : "6683E1DB-3E65-452A-90CD-F6FCA9CD1036",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exception",
          "display" : "Denominator Exception"
        }]
      },
      "description" : "Patients with statin-associated muscle symptoms or an allergy to statin medication.\nPatients who are receiving palliative or hospice care.\nPatients with active liver disease or hepatic disease or insufficiency.\nPatients with end-stage renal disease (ESRD).\nPatients with documentation of a medical reason for not being prescribed statin therapy.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exceptions"
      }
    }]
  },
  {
    "id" : "64345cac7c12bd4a0fdf286a",
    "extension" : [{
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
          "code" : "proportion",
          "display" : "Proportion"
        }]
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
      "valueCode" : "boolean"
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-type",
          "code" : "process",
          "display" : "Process"
        }]
      }
    }],
    "description" : "Patients aged 20 to 75 years at the beginning of the measurement period who have ever had a laboratory result of LDL-C >=190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia and were  taking a statin medication during the measure period. ",
    "population" : [{
      "id" : "AE92716B-9295-4FD4-9EC5-5F371EF7BB54",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "description" : "Patients aged 20 to 75 years at the beginning of the measurement period who have ever had a laboratory result of LDL-C >=190 mg/dL or were previously diagnosed with or currently have an active diagnosis of familial hypercholesterolemia.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Initial Population 2"
      }
    },
    {
      "id" : "019787D8-0265-4238-86D8-516E52640DE8",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator",
          "display" : "Denominator"
        }]
      },
      "description" : "Equals Initial Population",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator 2"
      }
    },
    {
      "id" : "88A24FDD-B20E-4C48-8990-41602699FBE0",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exclusion",
          "display" : "Denominator Exclusion"
        }]
      },
      "description" : "Patients who are breastfeeding at any time during the measurement period.\nPatients who have a diagnosis of rhabdomyolysis at any time during the measurement period.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exclusions"
      }
    },
    {
      "id" : "61962C3B-A066-489F-8D24-130DD235A93E",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator",
          "display" : "Numerator"
        }]
      },
      "description" : "Patients who are actively using or who receive an order (prescription) for statin therapy at any time during the measurement period",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Numerator"
      }
    },
    {
      "id" : "8e23f0f2-3533-44b7-93ba-328b38d50b0a",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator-exclusion",
          "display" : "Numerator Exclusion"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier"
      }
    },
    {
      "id" : "B65C7F11-C2BF-4347-B192-7478FB3E449C",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exception",
          "display" : "Denominator Exception"
        }]
      },
      "description" : "Patients with statin-associated muscle symptoms or an allergy to statin medication.\nPatients who are receiving palliative or hospice care.\nPatients with active liver disease or hepatic disease or insufficiency.\nPatients with end-stage renal disease (ESRD).\nPatients with documentation of a medical reason for not being prescribed statin therapy.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exceptions"
      }
    }]
  },
  {
    "id" : "64345cac7c12bd4a0fdf286b",
    "extension" : [{
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
          "code" : "proportion",
          "display" : "Proportion"
        }]
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
      "valueCode" : "boolean"
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-type",
          "code" : "process",
          "display" : "Process"
        }]
      }
    }],
    "description" : "    Patients aged 40 to 75 years at the beginning of the measurement period with Type 1 or Type 2 diabetes and were  taking a statin medication during the measure period. ",
    "population" : [{
      "id" : "90593E26-2AE7-44E5-8F16-13F8BB8AF3FE",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "description" : "Patients aged 40 to 75 years at the beginning of the measurement period with Type 1 or Type 2 diabetes.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Initial Population 3"
      }
    },
    {
      "id" : "58989F74-4389-40EF-81C8-8FD66E61A012",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator",
          "display" : "Denominator"
        }]
      },
      "description" : "Equals Initial Population",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator 3"
      }
    },
    {
      "id" : "DCC4B2BF-D52D-4E0B-A977-C662A8C777D5",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exclusion",
          "display" : "Denominator Exclusion"
        }]
      },
      "description" : "Patients who are breastfeeding at any time during the measurement period.\nPatients who have a diagnosis of rhabdomyolysis at any time during the measurement period.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exclusions"
      }
    },
    {
      "id" : "50E2C566-36E6-4A9B-8469-7AD5610C4371",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator",
          "display" : "Numerator"
        }]
      },
      "description" : "Patients who are actively using or who receive an order (prescription) for statin therapy at any time during the measurement period",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Numerator"
      }
    },
    {
      "id" : "cc52f17a-b8f0-487b-abaa-5ec4ea102cac",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator-exclusion",
          "display" : "Numerator Exclusion"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier"
      }
    },
    {
      "id" : "F497D54E-9D85-46E5-8C24-16758DDD84AC",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exception",
          "display" : "Denominator Exception"
        }]
      },
      "description" : "Patients with statin-associated muscle symptoms or an allergy to statin medication.\nPatients who are receiving palliative or hospice care.\nPatients with active liver disease or hepatic disease or insufficiency.\nPatients with end-stage renal disease (ESRD).\nPatients with documentation of a medical reason for not being prescribed statin therapy.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exceptions"
      }
    }]
  },
  {
    "id" : "64469d732adc647f6c92e98b",
    "extension" : [{
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
          "code" : "proportion",
          "display" : "Proportion"
        }]
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
      "valueCode" : "boolean"
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-type",
          "code" : "process",
          "display" : "Process"
        }]
      }
    }],
    "description" : " Patients aged 40 to 75 at the beginning of the measurement period with a 10-year ASCVD risk score (i.e., 2013 ACC/AHA ASCVD Risk Estimator or the ACC Risk Estimator Plus) of >= 20 percent and were  taking a statin medication during the measure period.  ",
    "population" : [{
      "id" : "df956c44-5be1-4cef-b9ce-230e9a54a264",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "description" : "Population 4: Patients aged 40 to 75 at the beginning of the measurement period with a 10-year ASCVD risk score (i.e., 2013 ACC/AHA ASCVD Risk Estimator or the ACC Risk Estimator Plus) of >= 20 percent during the measurement period.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Initial Population 4"
      }
    },
    {
      "id" : "45503796-0f10-4d1a-a8c0-85021b78d76e",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator",
          "display" : "Denominator"
        }]
      },
      "description" : "Equals Initial Population",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator 4"
      }
    },
    {
      "id" : "ab1c1241-4f4e-49b1-893e-fb9e09878b48",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exclusion",
          "display" : "Denominator Exclusion"
        }]
      },
      "description" : "Patients who are breastfeeding at any time during the measurement period.\nPatients who have a diagnosis of rhabdomyolysis at any time during the measurement period.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exclusions"
      }
    },
    {
      "id" : "0ee14e92-4198-4941-8f45-42491c038128",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator",
          "display" : "Numerator"
        }]
      },
      "description" : "Patients who are actively using or who receive an order (prescription) for statin therapy at any time during the measurement period",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Numerator"
      }
    },
    {
      "id" : "007f433c-0b34-41bc-917e-bf4fb455901e",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator-exclusion",
          "display" : "Numerator Exclusion"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier"
      }
    },
    {
      "id" : "bea2c1e7-c5ff-4e6d-bffd-c5c8f81413a7",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator-exception",
          "display" : "Denominator Exception"
        }]
      },
      "description" : "Patients with statin-associated muscle symptoms or an allergy to statin medication.\nPatients who are receiving palliative or hospice care.\nPatients with active liver disease or hepatic disease or insufficiency.\nPatients with end-stage renal disease (ESRD).\nPatients with documentation of a medical reason for not being prescribed statin therapy.",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Denominator Exceptions"
      }
    }]
  }],
  "supplementalData" : [{
    "id" : "sde-ethnicity",
    "usage" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
        "code" : "supplemental-data"
      }]
    }],
    "description" : "SDE Ethnicity",
    "criteria" : {
      "language" : "text/cql-identifier",
      "expression" : "SDE Ethnicity"
    }
  },
  {
    "id" : "sde-payer",
    "usage" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
        "code" : "supplemental-data"
      }]
    }],
    "description" : "SDE Payer",
    "criteria" : {
      "language" : "text/cql-identifier",
      "expression" : "SDE Payer"
    }
  },
  {
    "id" : "sde-race",
    "usage" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
        "code" : "supplemental-data"
      }]
    }],
    "description" : "SDE Race",
    "criteria" : {
      "language" : "text/cql-identifier",
      "expression" : "SDE Race"
    }
  },
  {
    "id" : "sde-sex",
    "usage" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
        "code" : "supplemental-data"
      }]
    }],
    "description" : "SDE Sex",
    "criteria" : {
      "language" : "text/cql-identifier",
      "expression" : "SDE Sex"
    }
  }]
}

```
