Skip to content

A "Very Simple" Python script for converting Atlas cohort definitions into CQL files.

Notifications You must be signed in to change notification settings

gt-health/AtlasToCQL

Repository files navigation

AtlasToCQL

A "Very Simple" Python script for converting Atlas cohort definitions into CQL files. This project is a simple main.py file that

  • Reads the ExampleAtlasDefinition.json atlas-cohort definition as defined in a json exported format.
  • Reads the Initial population, the primary criteria, and additional critieria
  • Converts the criteria to individual cql statements.
  • Uses simple set logic to create a final In_Population definition
  • Outputs the result to ExampleCQLOutput.cql

It's based on a common set of CQL functions used by the ARHQ CDS Authoring tool, although this project uses the Atlas cohort format as input; rather than an arbitary form definition.

About

A "Very Simple" Python script for converting Atlas cohort definitions into CQL files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages