Starter FHIR Implementation Guide
1.0.1 - draft International flag

Starter FHIR Implementation Guide, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jembi/Starter-FHIR-IG/ and changes regularly. See the Directory of published versions

Library: CQL - HIV+ Patients Initiated on ART (Experimental)

Official URL: http://jembi.org/fhir/Library/InitiatedARTLibrary Version: 1.0.1
Draft as of 2024-11-17 Computable Name: InitiatedARTLibrary

CQL Measure that reports on all HIV+ patients who have been initiated on ART within the reporting period.

Numerator: Count all HIV+ patients who have been initiated on ART within the reporting period.

Denominator: Count all patients who tested positive for HIV within the reporting period.

Generated Narrative: Library InitiatedARTLibrary

Related Artifacts

Depends OnLibrary FHIRHelpershttp://jembi.org/fhir/Library/FHIRHelpers|4.0.1
Depends OnLibrary FHIRCommonhttp://jembi.org/fhir/Library/FHIRCommon|4.0.1
Depends OnLibrary HIVChttp://jembi.org/fhir/Library/HIVCommon

Parameters

Measurement Periodin01Period
Patientout01Patient
HIV+ Patients Observationout0*Observation
Initial Populationout01boolean
Denominatorout01boolean
ART Patients Initiated on ARTout0*Observation
Numeratorout01boolean

Contents

text/cql

library InitiatedART version '0.1.0'

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'
include FHIRCommon version '4.0.1'
include HIVCommon called HIVC

parameter "Measurement Period" Interval<DateTime>
default Interval[@2023-12-01, @2023-12-31] //For testing only

context Patient

define "HIV+ Patients Observation":
  HIVC.HIVPostivePatients ( "Measurement Period" )

define "Initial Population":
  exists ( "HIV+ Patients Observation" )

define "Denominator":
  "Initial Population"

define "ART Patients Initiated on ART":
  HIVC.InitiatedART ( "Measurement Period" )

define "Numerator":
  exists ( "ART Patients Initiated on ART" )

Content not shown - (application/elm+xml, size = 12Kb )

Content not shown - (application/elm+json, size = 23Kb )