Person-Centered Outcomes (PCO) Implementation Guide
1.0.0 - STU 1 United States of America flag

This page is part of the Person-Centered Outcomes (PCO) Implementation Guide (v1.0.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Library: GoalIdentificationMeasure

Official URL: http://hl7.org/fhir/us/pco/Library/GoalIdentificationMeasure Version: 1.0.0
Standards status: Trial-use Maturity Level: 2 Computable Name: GoalIdentificationMeasure

CQL logic for the Goal Identification Measure

Metadata
Version 1.0.0
Status Draft
Jurisdiction United States of America
Steward (Publisher) HL7 International / Patient Care
Steward Contact HL7 International / Patient Care
Description

CQL logic for the Goal Identification Measure

Type logic-library from http://terminology.hl7.org/CodeSystem/library-type
Dependency Description: FHIR model information
Resource: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
Canonical URL: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
Dependency Description: Library FHIRCommon
Resource: http://hl7.org/fhir/uv/cql/Library/FHIRCommon|2.0.0
Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIRCommon|2.0.0
Dependency Description: Library FHIRHelpers
Resource: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
Dependency Description: Library PC
Resource: http://hl7.org/fhir/us/pco/Library/PCOCommon|0.1.0
Canonical URL: http://hl7.org/fhir/us/pco/Library/PCOCommon|0.1.0
Dependency Description: Library PCOLogic
Resource: http://hl7.org/fhir/us/pco/Library/GoalAttainmentLogic|0.1.0
Canonical URL: http://hl7.org/fhir/us/pco/Library/GoalAttainmentLogic|0.1.0
Data Requirement Type: Patient
Profile(s): Patient
Parameters
Name Use Card. Type Documentation
Measurement Period In 0..1 Period
Follow-Up Interval In 0..1 Range
Patient Out 0..1 Patient
Initial Population Out 0..* Patient
Denominator Out 0..* Patient
Denominator Exclusions Out 0..1 Resource
Denominator Exceptions Out 0..1 Resource
Numerator Out 0..* Patient
Library Content
CQL Content
library GoalIdentificationMeasure 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

/*
Goal Identification: % of individuals 18 years of age and older with a complex care need 
who had a PCO goal identified resulting in completion of goal attainment scaling (GAS) 
or a Patient-Reported Outcome Measure (PROM) and development of an action plan.
*/

/*
@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.
@comment: TODO - How do we determine "complex care need?"
*/
define "Denominator":
  "Initial Population"

define "Denominator Exclusions":
  null

define "Denominator Exceptions":
  null

/* 
... has a PCO goal identified resulting in completion of goal attainment scaling (GAS)
or a Patient-Reported Outcome Measure (PROM) and development of an action plan.
*/
define "Numerator":
  "Denominator" person where
    exists PCOLogic."PCO Goals During Measurement Period"
      and exists PCOLogic."Baseline Scores Before Follow-Up Period"
ELM XML Content
Encoded data 
ELM JSON Content
Encoded data 
Generated using version 0.5.4 of the sample-content-ig Liquid templates