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 - Viral Load (All Patients) (Experimental)

Official URL: http://jembi.org/fhir/Library/ViralLoad Version: 1.0.1
Active as of 2024-12-11 Computable Name: ViralLoad

CQL Measure that reports on all patients who have a HIV viral load date within the reporting period.

Numerator: Count all patients who have an HIV viral load result within the reporting period.

Denominator: None.

Title: CQL - Viral Load (All Patients)
Id: ViralLoad
Version: 1.0.1
Url: CQL - Viral Load (All Patients)
Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2024-12-11 06:22:36+0000
Publisher: Jembi Health Systems
Description:

CQL Measure that reports on all patients who have a HIV viral load date within the reporting period.

Numerator: Count all patients who have an HIV viral load result within the reporting period.

Denominator: None.
Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
Measurement PeriodPeriod01In
PatientPatient01Out
Denominatorboolean01Out
Viral Load ResultsObservation0*Out
Numeratorboolean01Out
Content: text/cql
library ViralLoad version '1.0.1'

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'
//include fhir.cqf.common.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 "Denominator":
  false

define "Viral Load Results":
  HIVC.ViralLoadResult ( "Measurement Period" )

define "Numerator":
  exists ( "Viral Load Results" )
Content: application/elm+xml
Encoded data (13548 characters)
Content: application/elm+json
Encoded data (25512 characters)