CQL Simulator
Teaching simulator · curated ELM only · zero network
Run pre-translated teaching libraries against synthetic patient bundles in the browser. Nothing is uploaded, nothing calls VSAC or a payer, and this is not live DTR — it is an education plane for seeing what curated ELM returns.
Source CQL (read-only)
library HomeOxygenTherapyPrepopulation version '1.0.0'
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
valueset "COPD Diagnoses": 'https://payer.example.org/fhir/ValueSet/copd-diagnoses'
valueset "Oxygen Saturation Tests": 'https://payer.example.org/fhir/ValueSet/spo2-observations'
context Patient
define "Copd Diagnoses":
[Condition: "COPD Diagnoses"]
define "Resting SpO2 Results":
[Observation: "Oxygen Saturation Tests"]
define "Most Recent Resting SpO2":
Last("Resting SpO2 Results" O sort by effective)
Results
Pick a library and bundle, then Run — or use a curated scenario.