Experience FHIR Data Science with CQL Playground: Introduction to a Live Query Execution Environment
CQL Playground - FHIR for Data Science
Summary
This page provides a live sandbox for handling FHIR data using Clinical Quality Language (CQL). Users can write and execute CQL queries directly in the browser, viewing generated DuckDB SQL and raw FHIR resources.
Details
This environment is a live CQL sandbox utilizing the FHIR for Data Science (FHIR4DS) engine. Users are able to write and execute queries directly in the browser using Clinical Quality Language (CQL). Key features include 'Live Translation,' which generates optimized DuckDB SQL from the input CQL in real-time. Queries run against a local DuckDB-WASM instance, and the raw FHIR resources can be inspected via the Patient Data pane for result verification. Note that this playground uses synthetic sample data for 28 patients; testing against real EHR data requires visiting the SMART on FHIR Demo. This serves as a powerful tool enabling developers to validate FHIR data using clinical quality evaluation logic (CQL) without needing complex SQL knowledge.
Original content copyright by respective publishers