Implementation of a HL7-CQL Engine Using the Graph Database Neo4J

Stud Health Technol Inform. 2019 Sep 3:267:46-51. doi: 10.3233/SHTI190804.

Abstract

The Clinical Quality Language (CQL) is a useful tool for defining search requests for data stores containing FHIR data. Unfortunately, there are only few execution engines that are able to evaluate CQL queries. As FHIR data represents a graph structure, the authors pursue the approach of storing all data contained in a FHIR server in the graph database Neo4J and to translate CQL queries into Neo4J's query language Cypher. The query results returned by the graph database are retranslated into their FHIR representation and returned to the querying user. The approach has been positively tested on publicly available FHIR servers with a handcrafted set of example CQL queries.

Keywords: FHIR; Neo4J; graph database; query engine.

MeSH terms

  • Databases, Factual*
  • Language