Id: MPPPatientLevel Url: MPPPatientLevel Name: MPPPatientLevel Status: draft Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-05-13 23:09:13+0000 Related Artifacts: Dependencies http://hl7.org/fhir/Library/QICore-ModelInfo CQMCommon version: 1.4.000 FHIRHelpers version: 4.3.000 QICoreCommon version: 1.5.000 SupplementalDataElements version: 3.4.000 AttributionModel version: 0.1.0 Annual Wellness Visit Face-to-Face Interaction HIV HIV Viral Load Home Healthcare Services Office Visit Outpatient Consultation Preventive Care Services - Established Office Visit, 18 and Up Preventive Care Services-Initial Office Visit, 18 and Up Preventive Care Services - Other Preventive Care Services, Initial Office Visit, 0 to 17 Preventive Care, Established Office Visit, 0 to 17 Telehealth Services Telephone Visits Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Provider string 0 1 In Patient Resource 0 1 Out Has Qualifying Encounter During First 240 Days of Measurement Period boolean 0 1 Out Initial Population boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1008 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1048 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1022 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1024 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080 Content: text/cql library MPPPatientLevel#xD; #xD; using QICore version '4.1.1'#xD; #xD; include CQMCommon version '1.4.000' called CQMCommon#xD; include FHIRHelpers version '4.3.000' called FHIRHelpers#xD; include QICoreCommon version '1.5.000' called QICoreCommon#xD; include SupplementalDataElements version '3.4.000' called SDE#xD; include AttributionModel version '0.1.0' called AM#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; parameter "Measurement Period" Interval<DateTime>#xD; default Interval[@2024-01-01T00:00:00.000Z, @2025-01-01T00:00:00.000Z)#xD; #xD; context Patient#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; ) QualifyingEncounter#xD; where QualifyingEncounter.period during day of Interval[start of "Measurement Period", start of "Measurement Period" + 240 days]#xD; and QualifyingEncounter.isAttributable()#xD; )#xD; #xD; define "Initial Population":#xD; "Has Qualifying Encounter During First 240 Days of Measurement Period"#xD; Content: application/elm+xml Encoded data (42968 characters)
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 Qualifying Encounter During First 240 Days of Measurement Period