Starter FHIR Implementation Guide
1.0.1 - ci-build 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/ViralLoadLibrary Version: 1.0.1
Active as of 2024-10-10 Computable Name: ViralLoadLibrary

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.

Generated Narrative: Library ViralLoadLibrary

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
InDenominatorout01boolean
Viral Load Resultsout0*Observation
InNumeratorout01boolean

Contents

text/cql

library ViralLoad 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 "InDenominator":
  false

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

define "InNumerator":
  exists ( "Viral Load Results" )

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

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