Id: PalliativeCareFHIR Version: 0.1.0 Url: PalliativeCareFHIR Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-05-11 22:31:14+0000 Publisher: Clinical Quality Framework Jurisdiction: 001 Related Artifacts: Dependencies http://fhir.org/guides/cqf/aphl/chronic-ds/Library/MATGlobalCommonFunctionsFHIR4|6.0.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRHelpers|4.1.000 AlphoraCommon http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRCommon|1.1.000 LOINC Palliative Care Encounter Palliative Care Intervention Palliative Care Diagnosis Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Patient Patient 0 1 Out Palliative Care in the Measurement Period boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Observation http://hl7.org/fhir/StructureDefinition/Observation ;; code filter: path: code system: http://loinc.org code: 71007-9 display: Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal) Condition http://hl7.org/fhir/StructureDefinition/Condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167 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.1090 Procedure http://hl7.org/fhir/StructureDefinition/Procedure ;; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135 Content: text/cql library PalliativeCareFHIR version '2.0.000'#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include MATGlobalCommonFunctionsFHIR4 version '6.0.000' called Global#xD; include FHIRHelpers version '4.1.000' called FHIRHelpers#xD; include AlphoraCommon called AC#xD; include FHIRCommon version '1.1.000' called FC #xD; #xD; codesystem "LOINC": 'http://loinc.org'#xD; #xD; valueset "Palliative Care Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090' #xD; valueset "Palliative Care Intervention": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135' #xD; valueset "Palliative Care Diagnosis": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167'#xD; #xD; code "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)": '71007-9' from "LOINC" display 'Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)'#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; define "Palliative Care in the Measurement Period":#xD; exists(#xD; (AC.QualifiedObservations([Observation: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"])) PalliativeObservation#xD; where FC.ToInterval(PalliativeObservation.effective) overlaps "Measurement Period"#xD; ) or exists(#xD; (AC.QualifiedConditions([Condition: "Palliative Care Diagnosis"])) PalliativeDiagnosis#xD; where FC.ToPrevalenceInterval(PalliativeDiagnosis) overlaps "Measurement Period"#xD; ) or exists(#xD; (AC.QualifiedEncounters([Encounter: "Palliative Care Encounter"])) PalliativeEncounter#xD; where FC.ToInterval(PalliativeEncounter.period) overlaps "Measurement Period"#xD; ) or exists(#xD; (AC.QualifiedProcedures([Procedure: "Palliative Care Intervention"])) PalliativeProcedure#xD; where FC.ToInterval(PalliativeProcedure.performed) overlaps "Measurement Period"#xD; )#xD; #xD; Content: application/elm+xml Encoded data (40156 characters) Content: application/elm+json Encoded data (75864 characters)
Palliative Care in the Measurement Period
Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)