Querying an openEHR CDR with SQL, Cypher, and GraphQL? Yes, it’s possible.

We never tested whether the AQL provided by @siljelb can be transformed into SQL by hand.

I learned there are two kinds of users:

  • Those who know AQL and don’t want to learn SQL
  • Those who know SQL and don’t want to learn AQL

Who am I to decide which xQL is better. This is why I added AQL to my CDR. The performance isn’t bad :wink: