Quality Measure Implementation Guide
2.0.0-ballot - STU 2 Ballot International flag

Quality Measure Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cqm/ and changes regularly. See the Directory of published versions

Library: CAUTI Rate (Experimental)

Official URL: http://hl7.org/fhir/uv/cqm/Library/CAUTIRate Version: 2.0.0-ballot
Standards status: Informative Draft as of 2026-04-03 Maturity Level: 1 Computable Name: CAUTIRate
Other Identifiers: OID:2.16.840.1.113883.4.642.40.61.28.40

DRAFT population criteria and continuous-variable functions used in the calculation of NHSN Catheter-associated Urinary Tract Infection Rates measure.

Metadata
Title CAUTI Rate
Version 2.0.0-ballot
Identifier urn:oid:2.16.840.1.113883.4.642.40.61.28.40
Status Draft
Experimental true
Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm
Topic FHIR
Topic CQL
Steward (Publisher) HL7 International / Clinical Quality Information
Description

DRAFT population criteria and continuous-variable functions used in the calculation of NHSN Catheter-associated Urinary Tract Infection Rates measure.

Type logic-library from http://terminology.hl7.org/CodeSystem/library-type
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 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 Elements
Resource: CAUTI Elements
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/CAUTIElements
Data Requirement Type: Location
Profile(s): Location
Parameters
Name Use Card. Type Documentation
Measurement Period In 0..1 Period
Patient Out 0..1 Patient
Denominator Initial Population Out 0..* Location
Denominator Out 0..* Location
Numerator Initial Population Out 0..1 boolean
Numerator Out 0..1 boolean
Library Content
CQL Content
/*
@description: Demonstrates Catheter-Associated Urinary Tract Infection Rate as a location-based ratio of continuous variables measure 
@comment: (Number of CAUTIs per location / Number of Urinary Catheter Days per location) * 1000
@seealso: https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/blob/master/Source/Cooking%20With%20CQL/93/CAUTI.md
*/
library CAUTIRate

using FHIR version '4.0.1'

include hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' called FHIRHelpers
include hl7.fhir.uv.cql.FHIRCommon version '2.0.0' called FHIRCommon

include CAUTIElements called Elements

parameter "Measurement Period" Interval<DateTime> 
  default Interval[@2026-01-01T00:00:00, @2026-12-31T23:59:59]

context Patient

define "Denominator Initial Population":
  [Location] L
    with Elements."Encounter During Measurement Period" E
     such that E.location.location.references(L)

define "Denominator":
  "Denominator Initial Population"

define function "Denominator Observation"():
  Sum(
    Elements."Catheter Usage During Measurement Period" Usage
      return all duration in days of Usage
  )

define "Numerator Initial Population":
  exists (Elements."Encounter During Measurement Period")

define "Numerator":
  "Numerator Initial Population"

define function "Numerator Observation"():
  Count(Elements."Catheter-Associated UTI")

ELM XML Content
Encoded data 
ELM JSON Content
Encoded data 
Generated using version 0.5.4 of the sample-content-ig Liquid templates