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 Standardized Infection Ratio (SIR) (Experimental)

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

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

Metadata
Title CAUTI Standardized Infection Ratio (SIR)
Version 2.0.0-ballot
Identifier urn:oid:2.16.840.1.113883.4.642.40.61.28.41
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 Standardized Infection Ratio 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
Dependency Description: Library Parameters
Resource: CAUTI Parameters
Canonical URL: http://hl7.org/fhir/uv/cqm/Library/CAUTIParameters
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 Standardized Infection Ratio as a ratio of continuous variables measure
@comment: Observed (O) HAIs / Predicted (P) HAIs. This measure is calculated with a predicted denominator, rather than event data in the source
@seealso: https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/blob/master/Source/Cooking%20With%20CQL/93/CAUTI.md
*/
library CAUTISIR

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
include CAUTIParameters called Parameters

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"(location Location):
  Sum(
    from (Parameters."Location Parameters"(location)) P, Parameters."Critical Access Hospital Parameters" H
      where P ~ H.parameter
      return all H.parameterEstimate
  ) * Elements."Patient Days"(location)

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