Id: AdultOutpatientEncountersFHIR4 Version: 0.1.0 Url: AdultOutpatientEncountersFHIR4 Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2021-01-08 13:45:12+0000 Publisher: Clinical Quality Framework Description: AdultOutpatientEncountersFHIR4 Jurisdiction: 001 Related Artifacts: Dependencies http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRHelpers|4.1.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRCommon|1.1.000 Healthcare Common Procedure Coding System (HCPCS) level II alphanumeric codes CPT Annual Wellness Visit Home Healthcare Services Office Visit Preventive Care Services - Established Office Visit, 18 and Up Preventive Care Services-Initial Office Visit, 18 and Up Nutrition Services Telephone Visits Virtual Encounter Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Patient Patient 0 1 Out Qualifying Encounters Encounter 0 * Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Encounter http://hl7.org/fhir/StructureDefinition/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/StructureDefinition/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/StructureDefinition/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/StructureDefinition/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/StructureDefinition/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/StructureDefinition/Encounter ;;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1089 Encounter http://hl7.org/fhir/StructureDefinition/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 AdultOutpatientEncountersFHIR4 version '2.0.000' //should this be updated??#xD; #xD; /*This example is a work in progress and should not be considered a final specification#xD; or recommendation for guidance. This example will help guide and direct the process#xD; of finding conventions and usage patterns that meet the needs of the various stakeholders#xD; in the measure development community.#xD; #xD; @update: @@BTR 2020-03-31 ->#xD; Incremented version to 2.0.000#xD; Updated FHIR version to 4.0.1#xD; @@@*/#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include FHIRHelpers version '4.1.000' called FHIRHelpers#xD; include FHIRCommon version '1.1.000' called FC #xD; #xD; codesystem "HCPCS": 'http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets'#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 "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 "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 "Nutrition Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1006'#xD; valueset "Telephone Visits": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080'#xD; valueset "Online Assessments": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1089'#xD; #xD; parameter "Measurement Period" default Interval[@2025-01-01T00:00:00.0, @2026-01-01T00:00:00.0)#xD; #xD; context Patient#xD; #xD; #xD; define "Qualifying Encounters":#xD; (#xD; [Encounter: "Office Visit"]#xD; union [Encounter: "Annual Wellness Visit"]#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: "Home Healthcare Services"]#xD; union [Encounter: "Online Assessments"]#xD; union [Encounter: "Telephone Visits"]#xD; ) ValidEncounters#xD; where FC.ToInterval(ValidEncounters.period) during "Measurement Period"#xD; and ValidEncounters.status ~ 'finished' or ValidEncounters.status ~ 'in-progress' Content: application/elm+xml Encoded data (33272 characters) Content: application/elm+json Encoded data (61192 characters)
Value set Preventive Care Services - Established Office Visit, 18 and Up
Value set Preventive Care Services - Initial Office Visit, 18 and Up