Metadata Version 0.5.3 Status Draft Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm Steward (Publisher) HL7 International - [Some] Work Group Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Dependency Description: Library FHIRHelpers Resource: http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1 Canonical URL: http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1 Dependency Description: Library CQMCommon Resource: CQMCommonExample Canonical URL: http://somewhere.org/fhir/uv/mycontentig/Library/CQMCommonExample Dependency Description: Library QICoreCommon Resource: QICoreCommonExample Canonical URL: http://somewhere.org/fhir/uv/mycontentig/Library/QICoreCommonExample Dependency Description: Library SDE Resource: SupplementalDataElementsExample Canonical URL: http://somewhere.org/fhir/uv/mycontentig/Library/SupplementalDataElementsExample Dependency Description: Code system SNOMEDCT Resource: SNOMED CT (all versions) Canonical URL: http://snomed.info/sct Dependency Description: Code system CPT Resource: Current Procedural Terminology (CPT®) Canonical URL: http://www.ama-assn.org/go/cpt Dependency Description: Value set Annual Wellness Visit Resource: Annual Wellness Visit Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240 Dependency Description: Value set Face-to-Face Interaction Resource: Face-to-Face Interaction Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1048 Dependency Description: Value set HIV Resource: HIV Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1003 Dependency Description: Value set HIV Viral Load Resource: HIV Viral Load Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1002 Dependency Description: Value set Home Healthcare Services Resource: Home Healthcare Services Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016 Dependency Description: Value set Office Visit Resource: Office Visit Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001 Dependency Description: Value set Outpatient Consultation Resource: Outpatient Consultation Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008 Dependency Description: Value set Preventive Care Services Established Office Visit, 18 and Up Resource: Preventive Care Services Established Office Visit, 18 and Up Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025 Dependency Description: Value set Preventive Care Services Initial Office Visit, 18 and Up Resource: Preventive Care Services Initial Office Visit, 18 and Up Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023 Dependency Description: Value set Preventive Care Services Other Resource: Preventive Care Services Other Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1030 Dependency Description: Value set Preventive Care Services, Initial Office Visit, 0 to 17 Resource: Preventive Care Services, Initial Office Visit, 0 to 17 Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1022 Dependency Description: Value set Preventive Care, Established Office Visit, 0 to 17 Resource: Preventive Care, Established Office Visit, 0 to 17 Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1024 Dependency Description: Value set Telehealth Services Resource: Telehealth Services Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1031 Dependency Description: Value set Telephone Visits Resource: Telephone Visits Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080 Data Requirement Type: Patient Profile(s): QICore Patient Data Requirement Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition Must Support Elements: code Code Filter(s): Path: code ValueSet: HIV Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Office Visit Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Outpatient Consultation Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Annual Wellness Visit Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Face-to-Face Interaction Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Home Healthcare Services Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Preventive Care Services Established Office Visit, 18 and Up Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Preventive Care Services Initial Office Visit, 18 and Up Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Preventive Care Services, Initial Office Visit, 0 to 17 Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Preventive Care, Established Office Visit, 0 to 17 Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Telephone Visits Data Requirement Type: Encounter Profile(s): QICore Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Preventive Care Services Other Data Requirement Type: Observation Profile(s): QICore Observation Must Support Elements: code, effective Code Filter(s): Path: code ValueSet: HIV Viral Load Parameters Name Use Card. Type Documentation Measurement Period In 0..1 Period Patient Out 0..1 Resource Has Active HIV Diagnosis Before or in First 90 Days of Measurement Period Out 0..1 boolean Has Qualifying Encounter During First 240 Days of Measurement Period Out 0..1 boolean Initial Population Out 0..1 boolean Denominator Out 0..1 boolean SDE Ethnicity Out 0..1 Resource SDE Payer Out 0..* Resource SDE Race Out 0..1 Resource SDE Sex Out 0..1 Coding Most Recent Viral Load Test During Measurement Period Out 0..1 Resource Numerator Out 0..1 boolean Library Content CQL Content library HIVViralSuppressionFHIRExample version '0.5.3-cibuild'#xD; #xD; using QICore version '4.1.1'#xD; #xD; include FHIRHelpers version '4.0.1' called FHIRHelpers#xD; include CQMCommonExample called CQMCommon#xD; include QICoreCommonExample called QICoreCommon#xD; include SupplementalDataElementsExample called SDE#xD; #xD; codesystem "SNOMEDCT": 'http://snomed.info/sct'#xD; codesystem "CPT": 'http://www.ama-assn.org/go/cpt'#xD; #xD; valueset "Annual Wellness Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240'#xD; valueset "Face-to-Face Interaction": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1048'#xD; valueset "HIV": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1003'#xD; valueset "HIV Viral Load": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.120.12.1002'#xD; valueset "Home Healthcare Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016'#xD; valueset "Office Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001'#xD; valueset "Outpatient Consultation": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008'#xD; valueset "Preventive Care Services Established Office Visit, 18 and Up": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025'#xD; valueset "Preventive Care Services Initial Office Visit, 18 and Up": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023'#xD; valueset "Preventive Care Services Other": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1030'#xD; valueset "Preventive Care Services, Initial Office Visit, 0 to 17": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1022'#xD; valueset "Preventive Care, Established Office Visit, 0 to 17": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1024'#xD; valueset "Telehealth Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1031'#xD; valueset "Telephone Visits": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080'#xD; #xD; code "Below threshold level (qualifier value)": '260988000' from "SNOMEDCT" display 'Below threshold level (qualifier value)'#xD; code "Not detected (qualifier value)": '260415000' from "SNOMEDCT" display 'Not detected (qualifier value)'#xD; /*code "Unlisted preventive medicine service": '99429' from "CPT" display 'Unlisted preventive medicine service'*/#xD; /*additional info can be found in CQLIT-368*/#xD; #xD; #xD; #xD; parameter "Measurement Period" Interval<DateTime>#xD; default Interval[@2024-01-01T00:00:00.0, @2025-01-01T00:00:00.0)#xD; #xD; context Patient#xD; #xD; define "Denominator":#xD; "Initial Population"#xD; #xD; define "SDE Ethnicity":#xD; SDE."SDE Ethnicity"#xD; #xD; define "SDE Payer":#xD; SDE."SDE Payer"#xD; #xD; define "SDE Race":#xD; SDE."SDE Race"#xD; #xD; define "SDE Sex":#xD; SDE."SDE Sex"#xD; #xD; define "Has Active HIV Diagnosis Before or in First 90 Days of Measurement Period":#xD; exists ["Condition": "HIV"] HIVDx#xD; where QICoreCommon."ToPrevalenceInterval" ( HIVDx ) starts before day of ( start of "Measurement Period" + 90 days )#xD; #xD; define "Initial Population":#xD; "Has Active HIV Diagnosis Before or in First 90 Days of Measurement Period"#xD; and "Has Qualifying Encounter During First 240 Days of Measurement Period"#xD; #xD; define "Most Recent Viral Load Test During Measurement Period":#xD; Last(["Observation": "HIV Viral Load"] ViralLoad#xD; where QICoreCommon."Latest"(ViralLoad.effective) during day of "Measurement Period"#xD; sort by start of QICoreCommon."ToInterval"(effective)#xD; )#xD; #xD; define "Has Qualifying Encounter During First 240 Days of Measurement Period":#xD; exists ( ["Encounter": "Office Visit"]#xD; union ["Encounter": "Outpatient Consultation"]#xD; union ["Encounter": "Annual Wellness Visit"]#xD; union ["Encounter": "Face-to-Face Interaction"]#xD; union ["Encounter": "Home Healthcare Services"]#xD; union ["Encounter": "Preventive Care Services Established Office Visit, 18 and Up"]#xD; union ["Encounter": "Preventive Care Services Initial Office Visit, 18 and Up"]#xD; union ["Encounter": "Preventive Care Services, Initial Office Visit, 0 to 17"]#xD; union ["Encounter": "Preventive Care, Established Office Visit, 0 to 17"]#xD; union ["Encounter": "Telephone Visits"]#xD; union ["Encounter": "Preventive Care Services Other"] ) QualifyingEncounter#xD; where QualifyingEncounter.period during day of Interval[start of "Measurement Period", start of "Measurement Period" + 240 days]#xD; #xD; define "Numerator":#xD; "Most Recent Viral Load Test During Measurement Period".value < 200 '{copies}/mL'#xD; or "Most Recent Viral Load Test During Measurement Period".value ~ "Below threshold level (qualifier value)"#xD; or "Most Recent Viral Load Test During Measurement Period".value ~ "Not detected (qualifier value)"#xD; // or "Most Recent Viral Load Test During Measurement Period".value = "Below threshold level (qualifier value)"#xD; // or "Most Recent Viral Load Test During Measurement Period".value = "Not detected (qualifier value)"#xD; #xD; ELM XML Content Encoded data ELM JSON Content Encoded data Generated using version 0.5.3 of the sample-content-ig Liquid templates
Value set Preventive Care Services Established Office Visit, 18 and Up
Value set Preventive Care Services Initial Office Visit, 18 and Up
Value set Preventive Care Services Other
Value set Preventive Care Services, Initial Office Visit, 0 to 17
Value set Preventive Care, Established Office Visit, 0 to 17
Has Active HIV Diagnosis Before or in First 90 Days of Measurement Period
Has Qualifying Encounter During First 240 Days of Measurement Period
Most Recent Viral Load Test During Measurement Period