CMS Draft FHIR Measures
2024.1.0 - CI Build

CMS Draft FHIR Measures, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2024.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-2024/ and changes regularly. See the Directory of published versions

Library: CumulativeMedicationDuration

Official URL: https://madie.cms.gov/Library/CumulativeMedicationDuration Version: 4.1.000
Active as of 2024-12-11 Responsible: ICF Computable Name: CumulativeMedicationDuration
Other Identifiers: https://madie.cms.gov/login#660c3cee34f8773b6f26972b (use: official, )

This library provides cumulative medication duration calculation logic for use with FHIR medication prescription, administration, and dispensing resources. The logic here follows the guidance provided as part of the 5.6 version of Quality Data Model.

Exception generating Narrative: unable to parse character reference ' period.unit) end /* Returns a daily frequency for the given code representation of frequency. The function expects codes from the [EventTiming](http://hl7.org/fhir/codesystem-event-timing.html) or [V3TimingEvent](http://hl7.org/fhir/v3/TimingEvent/cs.html) code systems. // TODO: Determine whether or not we should use timing.code at all.... */ define function ToDaily(frequency Code): case when frequency ~ '' (last text = ' ' at line 482 column 23