Using CQL With FHIR
2.0.0 - STU 2 International flag

This page is part of the Using CQL with FHIR Implementation Guide (v2.0.0: STU2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Library: ELM Example (Experimental)

Official URL: http://hl7.org/fhir/uv/cql/Library/ELMExample Version: 2.0.0
Standards status: Informative Computable Name: ELMExample
Other Identifiers: OID:2.16.840.1.113883.4.642.40.37.28.3

Example ELM library demonstrating the ELM XML and ELM JSON profiles (a CQL library with only ELM)

Title: ELM Example
Id: ELMExample
Version: 2.0.0
Url: ELM Example

urn:oid:2.16.840.1.113883.4.642.40.37.28.3

Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2025-07-08 14:47:11+0000
Publisher: HL7 International / Clinical Decision Support
Description:

Example ELM library demonstrating the ELM XML and ELM JSON profiles (a CQL library with only ELM)

Jurisdiction: 001
Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
GlucoseThresholdQuantity01In
PatientPatient01Out
Blood Glucose ObservationsObservation0*Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Observation http://hl7.org/fhir/StructureDefinition/Observation ;; code filter:
path: code

system: http://loinc.org

code: 2339-0

display: Glucose Bld-mCnc

Content: application/elm+xml
Encoded data (50420 characters)
Content: application/elm+json
Encoded data (37800 characters)