dQM CMS Content Implementation Guide
2026.1.0 - CI Build

dQM CMS Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2026.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/dqm-content-cms-2026/ and changes regularly. See the Directory of published versions

Library: HOB Organism Taxonomy Logic (Experimental)

Official URL: https://madie.cms.gov/Library/HOBOrganismTaxonomy Version: 2026.1.0
Standards status: Informative Maturity Level: 1 Computable Name: HOBOrganismTaxonomy

DRAFT Data elements used to determine organism taxonomy as part of the calculation of Hospital-onset Bacteremia and Fungemia measures.

Metadata
Title HOB Organism Taxonomy Logic
Version 2026.1.0
Status Draft
Experimental true
Topic FHIR
Topic CQL
Description

DRAFT Data elements used to determine organism taxonomy as part of the calculation of Hospital-onset Bacteremia and Fungemia measures.

Type logic-library from http://terminology.hl7.org/CodeSystem/library-type
Parameter Name: OrganismTaxonomy
Use: Out
Min Cardinality: 0
Max Cardinality: *
Type: Resource
Library Content
CQL Content
library HOBOrganismTaxonomy

// TODO: Need to construct more concise tables here
define "OrganismTaxonomy":
{
  { "snomed_preferred_term": '(Cholera) or (Vibrio cholerae)', "snomed_concept_id": '186087007', "roll_up_genus_level": '1', "roll_up_genus_name": 'Vibrio', "roll_up_genus_conceptid": '34872001', "roll_up_species_level": '1', "roll_up_species_name": 'Vibrio cholerae', "roll_up_species_conceptid": '75953000', "nhsn_community_associated": '0', "nhsn_skin_commensal": '0', "snomed_status": '0' }
}

define fluent function species(organism Concept):
  OrganismTaxonomy T
    where exists (organism.codes C where C.system = 'http://snomed.info/sct' and C.code = T.snomed_concept_id)
    return T.roll_up_species_conceptid

define fluent function genus(organism Concept):
  OrganismTaxonomy T
    where exists (organism.codes C where C.system = 'http://snomed.info/sct' and C.code = T.snomed_concept_id)
    return T.roll_up_genus_conceptid

define fluent function organismMatches(organismA Concept, organismB Concept):
  organismA ~ organismB
    or organismA.species() = organismB.species()
    or (
      organismA.species() is null 
        and organismB.species() is null
        and organismA.genus() = organismB.genus()
    )

ELM XML Content
Encoded data (42380 characters)
ELM JSON Content
Encoded data (78744 characters)
Generated using version 0.5.0 of the sample-content-ig Liquid templates