This directory holds a very lightweight, experimental web playground to interact with our CQL Engine. It supports CQL syntax highlighting and a FHIR bundle data editor.
The CQL playground is a Go server that processes CQL evaluation requests and
serves a very minimal frontend. It is meant to be served locally, and serves
on http://localhost:8080
out of the box.
We recommend you avoid putting protected health information (PHI) into this playground. As always, follow your organization's policies with respect to PHI.
Run the following from the root of the repository (note you must have Go installed):
go run cmd/cqlplay/main.go
Then in your browser, navigate to http://localhost:8080.
If you'd like to build a binary, you can run:
go build -o cqlplay cmd/cqlplay/main.go
./cqlplay
If you want to get up and running quickly without any local setup, you can run this playground on GitHub codespaces:
Once the codespace starts, simply paste the following into the terminal:
go run cmd/cqlplay/main.go
Once the program is running, you'll see a message pop up in the lower right hand corner with a link to the running playground. Click "Open in Browser" to use the playground. That's it!