Id: GoalFollowUpMeasure Version: 1.0.0 Url: GoalFollowUpMeasure Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-03-02 20:03:58+0000 Publisher: HL7 International / Patient Care Description: CQL logic for the Goal Follow-up Measure Jurisdiction: US Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 http://hl7.org/fhir/uv/cql/Library/FHIRCommon|2.0.0 http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 http://hl7.org/fhir/us/pco/Library/PCOCommon|0.1.0 http://hl7.org/fhir/us/pco/Library/GoalAttainmentLogic|0.1.0 Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Follow-Up Interval Range 0 1 In Patient Patient 0 1 Out Initial Population Patient 0 * Out Denominator Patient 0 * Out Denominator Exclusions Resource 0 1 Out Denominator Exceptions Resource 0 1 Out Numerator Patient 0 * Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Content: text/cql /* @description: Measure 2 - Goal Follow-up: % of individuals 18 years of age or older with a complex care need who received follow-up on their PCO goal within two weeks to six months of when the PCO goal and GAS or PROM were identified. @author: Mountain Lotus WellBeing LLC */ library GoalFollowUpMeasure version '0.1.0' using FHIR version '4.0.1' include hl7.fhir.uv.cql.FHIRCommon version '2.0.0' include hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' include PCOCommon version '0.1.0' called PC include GoalAttainmentLogic version '0.1.0' called PCOLogic parameter "Measurement Period" Interval<DateTime> default Interval[@2024-01-01T00:00:00.000Z, @2024-12-31T23:59:59.999Z] parameter "Follow-Up Interval" Interval<System.Quantity> default Interval[2 weeks, 26 weeks] context Patient /* @description: Includes individuals 18 years of age and older. */ define "Initial Population": { Patient person where AgeInYearsAt(start of "Measurement Period") >= 18 } /* @description: Initial Population individuals with a complex care need and has a PCO Goal. @comment: TODO - How do we determine "complex care need?" */ define "Denominator": "Initial Population" define "Denominator Exclusions": null define "Denominator Exceptions": null /* @description: Indivuals who received follow-up on their PCO goal within two weeks to six months of when the PCO goal and GAS or PROM were identified. */ define "Numerator": "Denominator" person where exists PCOLogic."Follow-Up Scores During Measurement Period" Content: application/elm+xml Encoded data (21252 characters) Content: application/elm+json Encoded data (37788 characters)
CQL logic for the Goal Follow-up Measure