Package | hl7.fhir.uv.cqm |
Resource Type | Measure |
Id | HBPComponent |
FHIR Version | R4 |
Source | http://hl7.org/fhir/uv/cqm/https://build.fhir.org/ig/HL7/fhir-cqm/Measure-HBPComponent.html |
URL | http://hl7.org/fhir/uv/cqm/Measure/HBPComponent |
Version | 0.0.001 |
Status | active |
Date | 2025-08-07T21:50:23-06:00 |
Name | HBPComponent |
Title | Preventive Care and Screening: Screening for High Blood Pressure and Follow-Up Documented |
Realm | uv |
Authority | hl7 |
Description | This is an example only. |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Knowledge Artifact Metadata | |
---|---|
Name (machine-readable) | HBPComponent |
Title (human-readable) | Preventive Care and Screening: Screening for High Blood Pressure and Follow-Up Documented |
Status | Active |
Experimental | true |
Description | This is an example only. |
Effective Period | 2022-01-01..2022-12-31 |
Use Context | Clinical Venue = EC |
Measure Steward | HL7 International / Clinical Quality Information |
Steward Contact Details | http://www.hl7.org/Special/committees/cqi |
Measure Metadata | |
Short Name Identifier | High Blood Pressure Screening |
Version Independent Identifier | http://example.org/fhir/us/cqm/Measure/HBPComponent |
Version Specific Identifier | http://example.org/fhir/us/cqm/Measure/22v11 |
Version Number | 0.0.001 |
Measure Scoring | Proportion |
Measure Type | Process |
Improvement Notation | Increased score indicates improvement |
Measure Population Criteria | |
Initial Population |
ID: 53248B01-E1CF-4C67-AE39-8483F8114CAE
Description: No description provided Logic Definition: Initial Population |
Denominator |
ID: 9D2AB719-A4D5-41D3-8785-7DBE8CA10FD3
Description: No description provided Logic Definition: Denominator |
Denominator Exclusion |
ID: 165DEA75-8DF1-4F2C-9F8A-BBEE1A02A5D6
Description: No description provided Logic Definition: Denominator Exclusions |
Denominator Exception |
ID: BF70F2AC-568C-4587-AF54-E4F54E6FCC83
Description: No description provided Logic Definition: Denominator Exceptions |
Numerator |
ID: 7B0319A6-913B-4F39-8D3C-04FA0A6B5C3A
Description: No description provided Logic Definition: Numerator |
Supplemental Data Elements | |
Supplemental Data Element |
ID: cd02ebb6-a0bf-4196-90f9-80f2a8a79bbf
Usage Code: Supplemental Data Description: No description provided Logic Definition: SDE Ethnicity |
Supplemental Data Element |
ID: a67a3fc7-cedd-4d78-b7b0-4718fa7f3e2b
Usage Code: Supplemental Data Description: No description provided Logic Definition: SDE Payer |
Supplemental Data Element |
ID: 3dc8840d-cc30-44af-a233-3b2b6c602060
Usage Code: Supplemental Data Description: No description provided Logic Definition: SDE Race |
Supplemental Data Element |
ID: 5a4e95aa-f8b3-400f-89b3-02555a361251
Usage Code: Supplemental Data Description: No description provided Logic Definition: SDE Sex |
Measure Logic | |
Primary Library | HBP Component Library |
Dependency |
Description: Library SDE
Resource: Supplemental Data Elementsversion: null2.0.000) Canonical URL: http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000 |
Dependency |
Description: Library FHIRHelpers
Resource: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 |
Dependency |
Description: Library Global
Resource: MAT Global Common Functions FHIR Libraryversion: null5.0.000) Canonical URL: http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000 |
Dependency |
Description: Code system LOINC
Resource: Logical Observation Identifiers, Names and Codes (LOINC) Canonical URL: http://loinc.org |
Dependency |
Description: Value set Encounter to Screen for Blood Pressure
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920 |
Dependency |
Description: Value set Lifestyle Recommendation
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581 |
Dependency |
Description: Value set Weight Reduction Recommended
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510 |
Dependency |
Description: Value set Dietary Recommendations
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515 |
Dependency |
Description: Value set Recommendation to Increase Physical Activity
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518 |
Dependency |
Description: Value set Referral or Counseling for Alcohol Consumption
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583 |
Dependency |
Description: Value set Follow Up Within One Year
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579 |
Dependency |
Description: Value set Referral to Primary Care or Alternate Provider
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580 |
Dependency |
Description: Value set Finding of Elevated Blood Pressure or Hypertension
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514 |
Dependency |
Description: Value set Follow Up Within 4 Weeks
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578 |
Dependency |
Description: Value set Laboratory Tests for Hypertension
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482 |
Dependency |
Description: Value set Pharmacologic Therapy for Hypertension
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577 |
Dependency |
Description: Value set Payer
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 |
Dependency |
Description: Value set Diagnosis of Hypertension
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263 |
Dependency |
Description: Value set Medical Reason
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007 |
Dependency |
Description: Value set Patient Declined
Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582 |
Direct Reference Code |
Display: Systolic blood pressure
Code: 8480-6 System: http://loinc.org |
Direct Reference Code |
Display: Diastolic blood pressure
Code: 8462-4 System: http://loinc.org |
Direct Reference Code |
Display: 12 lead EKG panel
Code: 34534-8 System: http://loinc.org |
Direct Reference Code |
Display: EKG study
Code: 11524-6 System: http://loinc.org |
Parameter |
Name: Measurement Period
Use: In Min Cardinality: 0 Max Cardinality: 1 Type: Period |
Parameter |
Name: SDE Sex
Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: Coding |
Parameter |
Name: Numerator
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter |
Parameter |
Name: Denominator
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter |
Parameter |
Name: SDE Payer
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Resource |
Parameter |
Name: Initial Population
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter |
Parameter |
Name: SDE Ethnicity
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Coding |
Parameter |
Name: Denominator Exclusions
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter |
Parameter |
Name: SDE Race
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Coding |
Parameter |
Name: Denominator Exceptions
Use: Out Min Cardinality: 0 Max Cardinality: * Type: Encounter |
Measure Logic Data Requirements | |
Data Requirement |
Type: Patient
Profile(s): Patient Must Support Elements: birthDate, url, extension, value |
Data Requirement |
Type: Encounter
Profile(s): Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920
|
Data Requirement |
Type: Observation
Profile(s): Observation Must Support Elements: code, effective, status, value Code Filter(s): Path: code Code: |
Data Requirement |
Type: Observation
Profile(s): Observation Must Support Elements: code, effective, status, value Code Filter(s): Path: code Code: |
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code Code: |
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code Code: |
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn, reasonCode Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583
|
Data Requirement |
Type: ServiceRequest
Profile(s): ServiceRequest Must Support Elements: code, authoredOn Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482
|
Data Requirement |
Type: MedicationRequest
Profile(s): MedicationRequest Must Support Elements: medication, authoredOn Code Filter(s): Path: medication ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577
|
Data Requirement |
Type: MedicationRequest
Profile(s): MedicationRequest Must Support Elements: medication.reference, authoredOn |
Data Requirement |
Type: Medication
Profile(s): Medication Must Support Elements: id, code |
Data Requirement |
Type: Coverage
Profile(s): Coverage Must Support Elements: type, period Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
|
Data Requirement |
Type: Condition
Profile(s): Condition Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263
|
Measure Logic Definitions | |
Logic Definition | Library Name: SupplementalDataElements |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: SupplementalDataElements |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: SupplementalDataElements |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: SupplementalDataElements |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: MATGlobalCommonFunctions |
|
|
Logic Definition | Library Name: MATGlobalCommonFunctions |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: MATGlobalCommonFunctions |
|
|
Logic Definition | Library Name: MATGlobalCommonFunctions |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: HBPComponent |
|
|
Logic Definition | Library Name: FHIRHelpers |
|
|
Generated using version 0.4.6 of the sample-content-ig Liquid templates |
{ "resourceType": "Measure", "id": "HBPComponent", "meta": { "profile": [ "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-proportionmeasure", "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure", "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-publishablemeasure", "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure" ] }, "language": "en", "text": { "status": "extensions", "div": "<!-- snip (see above) -->" }, "contained": [ { "resourceType": "Library", "id": "effective-data-requirements", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "system": "http://loinc.org", "code": "8480-6", "display": "Systolic blood pressure" } }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "system": "http://loinc.org", "code": "8462-4", "display": "Diastolic blood pressure" } }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "system": "http://loinc.org", "code": "34534-8", "display": "12 lead EKG panel" } }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "system": "http://loinc.org", "code": "11524-6", "display": "EKG study" } }, { "extension": [ { "url": "libraryName", "valueString": "SupplementalDataElements" }, { "url": "name", "valueString": "SDE Sex" }, { "url": "statement", "valueString": "define \"SDE Sex\": case when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' } when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' } else null end" }, { "url": "displaySequence", "valueInteger": 0 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "SDE Sex" }, { "url": "statement", "valueString": "define \"SDE Sex\": SDE.\"SDE Sex\"" }, { "url": "displaySequence", "valueInteger": 1 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Qualifying Encounter During Measurement Period" }, { "url": "statement", "valueString": "define \"Qualifying Encounter During Measurement Period\": [Encounter: \"Encounter to Screen for Blood Pressure\"] ValidEncounter where ValidEncounter.period during \"Measurement Period\"" }, { "url": "displaySequence", "valueInteger": 2 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Normal Blood Pressure Reading" }, { "url": "statement", "valueString": "define \"Encounter with Normal Blood Pressure Reading\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP where SystolicBP.effective during QualifyingEncounter.period sort by effective ), EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP where DiastolicBP.effective during QualifyingEncounter.period sort by effective ) where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 120 'mm[Hg]' ) and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 80 'mm[Hg]' )" }, { "url": "displaySequence", "valueInteger": 3 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Prehypertensive Blood Pressure Reading" }, { "url": "statement", "valueString": "define \"Encounter with Prehypertensive Blood Pressure Reading\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP where SystolicBP.effective during QualifyingEncounter.period sort by effective ), EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP where DiastolicBP.effective during QualifyingEncounter.period sort by effective ) where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 140 'mm[Hg]' ) and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 90 'mm[Hg]' ) and ( EncounterLastSystolicBP.value >= 120 'mm[Hg]' or EncounterLastDiastolicBP.value >= 80 'mm[Hg]' )" }, { "url": "displaySequence", "valueInteger": 4 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Intervention for Hypertension" }, { "url": "statement", "valueString": "define \"Encounter with Order for Intervention for Hypertension\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with ( [ServiceRequest: \"Lifestyle Recommendation\"] union [ServiceRequest: \"Weight Reduction Recommended\"] union [ServiceRequest: \"Dietary Recommendations\"] union [ServiceRequest: \"Recommendation to Increase Physical Activity\"] union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"] ) HighBloodPressureIntervention such that HighBloodPressureIntervention.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 5 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Follow Up Within One Year" }, { "url": "statement", "valueString": "define \"Encounter with Order for Follow Up Within One Year\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [ServiceRequest: \"Follow Up Within One Year\"] FollowupOneYear such that FollowupOneYear.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 6 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Referral to Alternate Provider for High Blood Pressure Reading" }, { "url": "statement", "valueString": "define \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"] Referral such that Referral.authoredOn same day as start of QualifyingEncounter.period and Referral.reasonCode in \"Finding of Elevated Blood Pressure or Hypertension\"" }, { "url": "displaySequence", "valueInteger": 7 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with High Blood Pressure Reading" }, { "url": "statement", "valueString": "define \"Encounter with High Blood Pressure Reading\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP where SystolicBP.effective during QualifyingEncounter.period sort by effective ), EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP where DiastolicBP.effective during QualifyingEncounter.period sort by effective ) where EncounterLastSystolicBP.value > 0 'mm[Hg]' and EncounterLastDiastolicBP.value > 0 'mm[Hg]' and ( EncounterLastSystolicBP.value >= 140 'mm[Hg]' or EncounterLastDiastolicBP.value >= 90 'mm[Hg]' )" }, { "url": "displaySequence", "valueInteger": 8 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with High Blood Pressure Reading Within Year Prior" }, { "url": "statement", "valueString": "define \"Encounter with High Blood Pressure Reading Within Year Prior\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP where SystolicBP.effective 1 year or less before start of QualifyingEncounter.period sort by effective ), EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP where DiastolicBP.effective 1 year or less before start of QualifyingEncounter.period sort by effective ) where EncounterLastSystolicBP.value > 0 'mm[Hg]' and EncounterLastDiastolicBP.value > 0 'mm[Hg]' and ( EncounterLastSystolicBP.value >= 140 'mm[Hg]' or EncounterLastDiastolicBP.value >= 90 'mm[Hg]' )" }, { "url": "displaySequence", "valueInteger": 9 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with First Hypertensive Reading" }, { "url": "statement", "valueString": "define \"Encounter with First Hypertensive Reading\": \"Encounter with High Blood Pressure Reading\" except \"Encounter with High Blood Pressure Reading Within Year Prior\"" }, { "url": "displaySequence", "valueInteger": 10 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Follow Up Within 4 Weeks" }, { "url": "statement", "valueString": "define \"Encounter with Order for Follow Up Within 4 Weeks\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [ServiceRequest: \"Follow Up Within 4 Weeks\"] Followup4Weeks such that Followup4Weeks.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 11 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Second Hypertensive Reading" }, { "url": "statement", "valueString": "define \"Encounter with Second Hypertensive Reading\": \"Encounter with High Blood Pressure Reading\" intersect \"Encounter with High Blood Pressure Reading Within Year Prior\"" }, { "url": "displaySequence", "valueInteger": 12 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Laboratory Test for Hypertension" }, { "url": "statement", "valueString": "define \"Encounter with Order for Laboratory Test for Hypertension\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [ServiceRequest: \"Laboratory Tests for Hypertension\"] HypertensionLabs such that HypertensionLabs.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 13 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Electrocardiogram for Hypertension" }, { "url": "statement", "valueString": "define \"Encounter with Order for Electrocardiogram for Hypertension\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with ( [ServiceRequest: \"12 lead EKG panel\"] union [ServiceRequest: \"EKG study\"] ) ECG such that ECG.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 14 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Hypertension Medication" }, { "url": "statement", "valueString": "define \"Encounter with Order for Hypertension Medication\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] AntihypertensiveMedication such that AntihypertensiveMedication.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 15 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Numerator" }, { "url": "statement", "valueString": "define \"Numerator\": \"Encounter with Normal Blood Pressure Reading\" union ( \"Encounter with Prehypertensive Blood Pressure Reading\" intersect ( ( \"Encounter with Order for Intervention for Hypertension\" intersect \"Encounter with Order for Follow Up Within One Year\" ) union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\" ) ) union ( \"Encounter with First Hypertensive Reading\" intersect ( ( \"Encounter with Order for Intervention for Hypertension\" intersect \"Encounter with Order for Follow Up Within 4 Weeks\" ) union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\" ) ) union ( \"Encounter with Second Hypertensive Reading\" intersect ( ( \"Encounter with Order for Intervention for Hypertension\" intersect ( \"Encounter with Order for Laboratory Test for Hypertension\" union \"Encounter with Order for Electrocardiogram for Hypertension\" union \"Encounter with Order for Hypertension Medication\" ) ) union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\" ) )" }, { "url": "displaySequence", "valueInteger": 16 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Initial Population" }, { "url": "statement", "valueString": "define \"Initial Population\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [Patient] BirthDate such that Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of \"Measurement Period\" ) >= 18" }, { "url": "displaySequence", "valueInteger": 17 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Denominator" }, { "url": "statement", "valueString": "define \"Denominator\": \"Initial Population\"" }, { "url": "displaySequence", "valueInteger": 18 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "SupplementalDataElements" }, { "url": "name", "valueString": "SDE Payer" }, { "url": "statement", "valueString": "define \"SDE Payer\": [Coverage: type in \"Payer\"] Payer return { code: Payer.type, period: Payer.period }" }, { "url": "displaySequence", "valueInteger": 19 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "SDE Payer" }, { "url": "statement", "valueString": "define \"SDE Payer\": SDE.\"SDE Payer\"" }, { "url": "displaySequence", "valueInteger": 20 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "SupplementalDataElements" }, { "url": "name", "valueString": "SDE Ethnicity" }, { "url": "statement", "valueString": "define \"SDE Ethnicity\": (flatten ( Patient.extension Extension where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity' return Extension.extension )) E where E.url = 'ombCategory' or E.url = 'detailed' return E.value as Coding" }, { "url": "displaySequence", "valueInteger": 21 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "SDE Ethnicity" }, { "url": "statement", "valueString": "define \"SDE Ethnicity\": SDE.\"SDE Ethnicity\"" }, { "url": "displaySequence", "valueInteger": 22 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Denominator Exclusions" }, { "url": "statement", "valueString": "define \"Denominator Exclusions\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with [Condition: \"Diagnosis of Hypertension\"] Hypertension such that Global.\"Prevalence Period\" ( Hypertension ) overlaps before QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 23 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "SupplementalDataElements" }, { "url": "name", "valueString": "SDE Race" }, { "url": "statement", "valueString": "define \"SDE Race\": (flatten ( Patient.extension Extension where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race' return Extension.extension )) E where E.url = 'ombCategory' or E.url = 'detailed' return E.value as Coding" }, { "url": "displaySequence", "valueInteger": 24 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "SDE Race" }, { "url": "statement", "valueString": "define \"SDE Race\": SDE.\"SDE Race\"" }, { "url": "displaySequence", "valueInteger": 25 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement" }, { "url": "statement", "valueString": "define \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with ( [Observation: \"Systolic blood pressure\"] union [Observation: \"Diastolic blood pressure\"] ) NoBPScreen such that ( NoBPScreen.code in \"Medical Reason\" or NoBPScreen.code in \"Patient Declined\" ) and NoBPScreen.effective same day as start of QualifyingEncounter.period and \"Not Done\"(NoBPScreen) and NoBPScreen.status = 'final'" }, { "url": "displaySequence", "valueInteger": 26 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Encounter with Order for Hypertension Follow Up Declined by Patient" }, { "url": "statement", "valueString": "define \"Encounter with Order for Hypertension Follow Up Declined by Patient\": \"Qualifying Encounter During Measurement Period\" QualifyingEncounter with ( [ServiceRequest: \"12 lead EKG panel\"] union [ServiceRequest: \"EKG study\"] union [ServiceRequest: \"Follow Up Within One Year\"] union [ServiceRequest: \"Follow Up Within 4 Weeks\"] union [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"] union [ServiceRequest: \"Lifestyle Recommendation\"] union [ServiceRequest: \"Weight Reduction Recommended\"] union [ServiceRequest: \"Dietary Recommendations\"] union [ServiceRequest: \"Recommendation to Increase Physical Activity\"] union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"] union [ServiceRequest: \"Laboratory Tests for Hypertension\"] union [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] ) NoFollowUpOrdered such that NoFollowUpOrdered.doNotPerform is true and NoFollowUpOrdered.code in \"Patient Declined\" and NoFollowUpOrdered.authoredOn same day as start of QualifyingEncounter.period" }, { "url": "displaySequence", "valueInteger": 27 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Denominator Exceptions" }, { "url": "statement", "valueString": "define \"Denominator Exceptions\": \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\" union \"Encounter with Order for Hypertension Follow Up Declined by Patient\"" }, { "url": "displaySequence", "valueInteger": 28 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToString" }, { "url": "statement", "valueString": "define function ToString(value AdministrativeGender): value.value" }, { "url": "displaySequence", "valueInteger": 29 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToInterval" }, { "url": "statement", "valueString": "/* @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period) value to a CQL DateTime Interval @comment: If the start value of the given period is unspecified, the starting boundary of the resulting interval will be open (meaning the start of the interval is unknown, as opposed to interpreted as the beginning of time). */ define function ToInterval(period FHIR.Period): if period is null then null else if period.\"start\" is null then Interval(period.\"start\".value, period.\"end\".value] else Interval[period.\"start\".value, period.\"end\".value]" }, { "url": "displaySequence", "valueInteger": 30 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToDateTime" }, { "url": "statement", "valueString": "define function ToDateTime(value dateTime): value.value" }, { "url": "displaySequence", "valueInteger": 31 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToDateTime" }, { "url": "statement", "valueString": "define function ToDateTime(value instant): value.value" }, { "url": "displaySequence", "valueInteger": 32 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToInterval" }, { "url": "statement", "valueString": "/* @description: Converts the given FHIR [Range](https://hl7.org/fhir/datatypes.html#Range) value to a CQL Interval of Quantity */ define function ToInterval(range FHIR.Range): if range is null then null else Interval[ToQuantity(range.low), ToQuantity(range.high)]" }, { "url": "displaySequence", "valueInteger": 33 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToQuantity" }, { "url": "statement", "valueString": "/* @description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity) value to a CQL Quantity @comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity has a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`) an error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used. @seealso: ToCalendarUnit */ define function ToQuantity(quantity FHIR.Quantity): case when quantity is null then null when quantity.value is null then null when quantity.comparator is not null then Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.') when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org' or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) } else Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')') end" }, { "url": "displaySequence", "valueInteger": 34 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToCalendarUnit" }, { "url": "statement", "valueString": "/* @description: Converts a UCUM definite duration unit to a CQL calendar duration unit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities) topic of the CQL specification. @comment: Note that for durations above days (or weeks), the conversion is understood to be approximate */ define function ToCalendarUnit(unit System.String): case unit when 'ms' then 'millisecond' when 's' then 'second' when 'min' then 'minute' when 'h' then 'hour' when 'd' then 'day' when 'wk' then 'week' when 'mo' then 'month' when 'a' then 'year' else unit end" }, { "url": "displaySequence", "valueInteger": 35 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToConcept" }, { "url": "statement", "valueString": "/* @description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept. */ define function ToConcept(concept FHIR.CodeableConcept): if concept is null then null else System.Concept { codes: concept.coding C return ToCode(C), display: concept.text.value }" }, { "url": "displaySequence", "valueInteger": 36 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToCode" }, { "url": "statement", "valueString": "/* @description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code. */ define function ToCode(coding FHIR.Coding): if coding is null then null else System.Code { code: coding.code.value, system: coding.system.value, version: coding.version.value, display: coding.display.value }" }, { "url": "displaySequence", "valueInteger": 37 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToString" }, { "url": "statement", "valueString": "define function ToString(value string): value.value" }, { "url": "displaySequence", "valueInteger": 38 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "MATGlobalCommonFunctions" }, { "url": "name", "valueString": "CalendarAgeInYearsAt" }, { "url": "statement", "valueString": "define function \"CalendarAgeInYearsAt\"(BirthDateTime DateTime, AsOf DateTime): years between ToDate(BirthDateTime)and ToDate(AsOf)" }, { "url": "displaySequence", "valueInteger": 39 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "MATGlobalCommonFunctions" }, { "url": "name", "valueString": "ToDate" }, { "url": "statement", "valueString": "define function \"ToDate\"(Value DateTime): DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)" }, { "url": "displaySequence", "valueInteger": 40 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToDate" }, { "url": "statement", "valueString": "define function ToDate(value date): value.value" }, { "url": "displaySequence", "valueInteger": 41 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToString" }, { "url": "statement", "valueString": "define function ToString(value uri): value.value" }, { "url": "displaySequence", "valueInteger": 42 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "MATGlobalCommonFunctions" }, { "url": "name", "valueString": "Prevalence Period" }, { "url": "statement", "valueString": "define function \"Prevalence Period\"(condition Condition): Interval[start of \"Normalize Interval\"(condition.onset), end of \"Normalize Abatement\"(condition))" }, { "url": "displaySequence", "valueInteger": 43 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "MATGlobalCommonFunctions" }, { "url": "name", "valueString": "Normalize Abatement" }, { "url": "statement", "valueString": "define function \"Normalize Abatement\"(condition Condition): if condition.abatement is FHIR.dateTime then Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)] else if condition.abatement is FHIR.Period then FHIRHelpers.ToInterval(condition.abatement as FHIR.Period) else if condition.abatement is FHIR.string then Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value') else if condition.abatement is FHIR.Age then Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age), FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year) else if condition.abatement is FHIR.Range then Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low), FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year) else if condition.abatement is FHIR.boolean then Interval[end of \"Normalize Interval\"(condition.onset), condition.recordedDate) else null" }, { "url": "displaySequence", "valueInteger": 44 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "Not Done" }, { "url": "statement", "valueString": "define function \"Not Done\"(res DomainResource ): if ( res R where ( \"GetModiferExtension\"(R, 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone').value = true ) ) is not null then true else false" }, { "url": "displaySequence", "valueInteger": 45 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToBoolean" }, { "url": "statement", "valueString": "define function ToBoolean(value boolean): value.value" }, { "url": "displaySequence", "valueInteger": 46 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "GetModiferExtension" }, { "url": "statement", "valueString": "define function \"GetModiferExtension\"(res DomainResource, url String ): singleton from \"GetModifierExtensions\"(res, url)" }, { "url": "displaySequence", "valueInteger": 47 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "HBPComponent" }, { "url": "name", "valueString": "GetModifierExtensions" }, { "url": "statement", "valueString": "define function \"GetModifierExtensions\"(res DomainResource, url String ): res.modifierExtension E where E.url = ( url ) return E" }, { "url": "displaySequence", "valueInteger": 48 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" }, { "extension": [ { "url": "libraryName", "valueString": "FHIRHelpers" }, { "url": "name", "valueString": "ToString" }, { "url": "statement", "valueString": "define function ToString(value ObservationStatus): value.value" }, { "url": "displaySequence", "valueInteger": 49 } ], "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" } ], "name": "EffectiveDataRequirements", "status": "active", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/library-type", "code": "module-definition" } ] }, "relatedArtifact": [ { "type": "depends-on", "display": "Library SDE", "resource": "http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000" }, { "type": "depends-on", "display": "Library FHIRHelpers", "resource": "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1" }, { "type": "depends-on", "display": "Library Global", "resource": "http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000" }, { "type": "depends-on", "display": "Code system LOINC", "resource": "http://loinc.org" }, { "type": "depends-on", "display": "Value set Encounter to Screen for Blood Pressure", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920" }, { "type": "depends-on", "display": "Value set Lifestyle Recommendation", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581" }, { "type": "depends-on", "display": "Value set Weight Reduction Recommended", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510" }, { "type": "depends-on", "display": "Value set Dietary Recommendations", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515" }, { "type": "depends-on", "display": "Value set Recommendation to Increase Physical Activity", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518" }, { "type": "depends-on", "display": "Value set Referral or Counseling for Alcohol Consumption", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583" }, { "type": "depends-on", "display": "Value set Follow Up Within One Year", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579" }, { "type": "depends-on", "display": "Value set Referral to Primary Care or Alternate Provider", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580" }, { "type": "depends-on", "display": "Value set Finding of Elevated Blood Pressure or Hypertension", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514" }, { "type": "depends-on", "display": "Value set Follow Up Within 4 Weeks", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578" }, { "type": "depends-on", "display": "Value set Laboratory Tests for Hypertension", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482" }, { "type": "depends-on", "display": "Value set Pharmacologic Therapy for Hypertension", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577" }, { "type": "depends-on", "display": "Value set Payer", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591" }, { "type": "depends-on", "display": "Value set Diagnosis of Hypertension", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263" }, { "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" }, { "type": "depends-on", "display": "Value set Patient Declined", "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582" } ], "parameter": [ { "name": "Measurement Period", "use": "in", "min": 0, "max": "1", "type": "Period" }, { "name": "SDE Sex", "use": "out", "min": 0, "max": "1", "type": "Coding" }, { "name": "Numerator", "use": "out", "min": 0, "max": "*", "type": "Encounter" }, { "name": "Denominator", "use": "out", "min": 0, "max": "*", "type": "Encounter" }, { "name": "SDE Payer", "use": "out", "min": 0, "max": "*", "type": "Resource" }, { "name": "Initial Population", "use": "out", "min": 0, "max": "*", "type": "Encounter" }, { "name": "SDE Ethnicity", "use": "out", "min": 0, "max": "*", "type": "Coding" }, { "name": "Denominator Exclusions", "use": "out", "min": 0, "max": "*", "type": "Encounter" }, { "name": "SDE Race", "use": "out", "min": 0, "max": "*", "type": "Coding" }, { "name": "Denominator Exceptions", "use": "out", "min": 0, "max": "*", "type": "Encounter" } ], "dataRequirement": [ { "type": "Patient", "profile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ], "mustSupport": [ "birthDate", "url", "extension", "value" ] }, { "type": "Encounter", "profile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ], "mustSupport": [ "type", "period" ], "codeFilter": [ { "path": "type", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920" } ] }, { "type": "Observation", "profile": [ "http://hl7.org/fhir/StructureDefinition/Observation" ], "mustSupport": [ "code", "effective", "status", "value" ], "codeFilter": [ { "path": "code", "code": [ { "system": "http://loinc.org", "code": "8480-6", "display": "Systolic blood pressure" } ] } ] }, { "type": "Observation", "profile": [ "http://hl7.org/fhir/StructureDefinition/Observation" ], "mustSupport": [ "code", "effective", "status", "value" ], "codeFilter": [ { "path": "code", "code": [ { "system": "http://loinc.org", "code": "8462-4", "display": "Diastolic blood pressure" } ] } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "code": [ { "system": "http://loinc.org", "code": "34534-8", "display": "12 lead EKG panel" } ] } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "code": [ { "system": "http://loinc.org", "code": "11524-6", "display": "EKG study" } ] } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn", "reasonCode" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583" } ] }, { "type": "ServiceRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ], "mustSupport": [ "code", "authoredOn" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482" } ] }, { "type": "MedicationRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ], "mustSupport": [ "medication", "authoredOn" ], "codeFilter": [ { "path": "medication", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577" } ] }, { "type": "MedicationRequest", "profile": [ "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ], "mustSupport": [ "medication.reference", "authoredOn" ] }, { "type": "Medication", "profile": [ "http://hl7.org/fhir/StructureDefinition/Medication" ], "mustSupport": [ "id", "code" ] }, { "type": "Coverage", "profile": [ "http://hl7.org/fhir/StructureDefinition/Coverage" ], "mustSupport": [ "type", "period" ], "codeFilter": [ { "path": "type", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591" } ] }, { "type": "Condition", "profile": [ "http://hl7.org/fhir/StructureDefinition/Condition" ], "mustSupport": [ "code" ], "codeFilter": [ { "path": "code", "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263" } ] } ] } ], "extension": [ { "url": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis", "valueCode": "Encounter" }, { "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem", "valueReference": { "reference": "Device/software-system-example" } }, { "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements", "valueCanonical": "#effective-data-requirements" }, { "extension": [ { "url": "usage", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage", "code": "supplemental-data" } ] } }, { "url": "guidance", "valueMarkdown": "This guidance provides instructions on how to collect and report supplemental data elements for this measure." } ], "url": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-supplementalDataGuidance" } ], "url": "http://hl7.org/fhir/uv/cqm/Measure/HBPComponent", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type", "code": "version-independent", "display": "Version Independent" } ] }, "system": "urn:ietf:rfc:3986", "value": "http://example.org/fhir/us/cqm/Measure/HBPComponent" }, { "use": "official", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type", "code": "version-specific", "display": "Version Specific" } ] }, "system": "urn:ietf:rfc:3986", "value": "http://example.org/fhir/us/cqm/Measure/22v11" }, { "use": "usual", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type", "code": "short-name", "display": "Short Name" } ] }, "value": "High Blood Pressure Screening" }, { "system": "urn:ietf:rfc:3986", "value": "urn:oid:2.16.840.1.113883.4.642.40.61.29.11" } ], "version": "0.0.001", "name": "HBPComponent", "title": "Preventive Care and Screening: Screening for High Blood Pressure and Follow-Up Documented", "status": "active", "experimental": true, "date": "2025-08-07T21:50:23-06:00", "publisher": "HL7 International / Clinical Quality Information", "contact": [ { "telecom": [ { "system": "url", "value": "http://www.hl7.org/Special/committees/cqi" } ] } ], "description": "This is an example only.", "useContext": [ { "code": { "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", "code": "venue", "display": "Clinical Venue" }, "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/uv/cqm/CodeSystem/intended-venue-codes", "code": "ec", "display": "EC" } ] } } ], "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "effectivePeriod": { "start": "2022-01-01", "end": "2022-12-31" }, "library": [ "http://hl7.org/fhir/uv/cqm/Library/HBPComponent" ], "scoring": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-scoring", "code": "proportion", "display": "Proportion" } ] }, "type": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-type", "code": "process" } ] } ], "improvementNotation": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation", "code": "increase" } ] }, "group": [ { "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.linkId", "valueString": "primary" } ], "population": [ { "id": "53248B01-E1CF-4C67-AE39-8483F8114CAE", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId", "valueString": "primary-hbpcomponent-initial-population" } ], "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", "code": "initial-population", "display": "Initial Population" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Initial Population" } }, { "id": "9D2AB719-A4D5-41D3-8785-7DBE8CA10FD3", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId", "valueString": "primary-hbpcomponent-denominator" } ], "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", "code": "denominator", "display": "Denominator" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Denominator" } }, { "id": "165DEA75-8DF1-4F2C-9F8A-BBEE1A02A5D6", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId", "valueString": "primary-hbpcomponent-denominator-exclusion" } ], "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", "code": "denominator-exclusion", "display": "Denominator Exclusion" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Denominator Exclusions" } }, { "id": "BF70F2AC-568C-4587-AF54-E4F54E6FCC83", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId", "valueString": "primary-hbpcomponent-denominator-exception" } ], "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", "code": "denominator-exception", "display": "Denominator Exception" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Denominator Exceptions" } }, { "id": "7B0319A6-913B-4F39-8D3C-04FA0A6B5C3A", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId", "valueString": "primary-hbpcomponent-numerator" } ], "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", "code": "numerator", "display": "Numerator" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Numerator" } } ] } ], "supplementalData": [ { "id": "cd02ebb6-a0bf-4196-90f9-80f2a8a79bbf", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId", "valueString": "hbpcomponent-sde-ethnicity" } ], "usage": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage", "code": "supplemental-data" } ] } ], "criteria": { "language": "text/cql-identifier", "expression": "SDE Ethnicity" } }, { "id": "a67a3fc7-cedd-4d78-b7b0-4718fa7f3e2b", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId", "valueString": "hbpcomponent-sde-payer" } ], "usage": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage", "code": "supplemental-data" } ] } ], "criteria": { "language": "text/cql-identifier", "expression": "SDE Payer" } }, { "id": "3dc8840d-cc30-44af-a233-3b2b6c602060", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId", "valueString": "hbpcomponent-sde-race" } ], "usage": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage", "code": "supplemental-data" } ] } ], "criteria": { "language": "text/cql-identifier", "expression": "SDE Race" } }, { "id": "5a4e95aa-f8b3-400f-89b3-02555a361251", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId", "valueString": "ccscomponent-sde-sex" } ], "usage": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage", "code": "supplemental-data" } ] } ], "criteria": { "language": "text/cql-identifier", "expression": "SDE Sex" } } ] }