Atrius India Core FHIR Implementation Guide
0.1.0 - ci-build

Atrius India Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Library: Atrius Cumulative Medication Duration CQL (Experimental)

Official URL: https://atrius.in/fhir/r4/atrius-in/Library/AtriusCumulativeMedicationDuration Version: 0.1.0
Draft as of 2026-09-21 Computable Name: AtriusCumulativeMedicationDuration
Other Identifiers: OID:1.3.6.1.4.1.66219.1.28.14

Cumulative medication duration (CMD 6.0.000) helper for AtriusIn.

Exception parsing generated Narrative (see /var/folders/bz/z29s920s4yj32x_58w7hlrs00000gn/T/liquid-9f706d3f-81c3-40bd-bc2b-c94e4fc93d36.html): 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 559 column 23