Exploring openEHR CDRs - A new tool.

I managed to complete a beta version of my new tool, which demonstrates the use of the openEHR APIs against a CDR.

Although built on a cross-platform framework, the tool is currently only for Windows (as I’m not paying for an Apple developer licence :enraged_face: to make a Mac version).

A brief description of the tool is at https://www.ehr-ctrl.info/ - if you want a version I can share the download link. Just drop me an email at info@ehr-ctrl.info

The tool is free, a gift to the community :slight_smile:

Responding to emails became too arduous :slight_smile: . I have put the download links directly on the site at Downloads · ehr-ctrl

Hey @richard.kavanagh , nice work! I love to see how there is more and more tooling being built in this space.

I’ve been building something very similar, it’s called openEHR Explorer , a cross-platform desktop app (macOs, Windows, Linux) for browsing EHRs, templates and running AQL against EHRBase / Better instances. I also just made it public a few weeks ago.
It’s been out for a few releases now (currently v0.5.0), distributed via Homebrew/Scoop/direct download.

Will definitely give your tool a look, and curious to exchange some ideas / learnings.

Very cool to see new tools helping developers and experts getting stuff. We should also update the EHRbase Sandbox to add some new capabilities. A proper AQL editor would be nice I guess.

I’ve used codemirror for some autocompletion in openEHR Explorer, which was not too hard to setup: openehr-explorer/src/lib/aql/codemirror-autocomplete.ts at main · platzhersh/openehr-explorer · GitHub

Feel free to take inspiration / copy. Maybe you even see some missing things. If the interest is big enough, I could see to share the whole editor as a npm package.

I guess you could use Aces completer API to add something similar in the ehrbase sandbox.

Thing is we got multiple iterations of AQL editors in our commercial offering. So it’s more a question of having the time and focus to add this one to the Sandbox. It’s nice to be busy, but these “extras” are then typically de-prioritized unfortunately.

I have integrated codemirror into the ehr-ctrl app - next version available at the weekend :slight_smile:

Realy nice work @richard.kavanagh . I installed it successfully on MacOS.

One minor issue - I can setup non-EHRbase CDRs but the url that is constructed injects ehrbase, which is specific to Ehrbase and therefor I can’t set it up to point at my instance of ferroEHR.

https://cdr.ehrfix.uk/cdr/ferroehr/ehrbase/rest/openehr/v1/definition/template/adl1.4 when it should be

https://cdr.ehrfix.uk/cdr/ferroehr/rest/openehr/v1/definition/template/adl1.4

It’s a fair point - when I started, it was a personal project for me on my own Docker instance of EHRbase, then I found the public endpoint.

I will amend it so that it works with ferrorEHR and I’m happy to grow it to any other CDR that offers a public endpoint.

@ian.mcnicoll https://openehr-explorer.dev/ already supports different vendors (EHRBase, Better, FerroEHR, generic) :wink:

Hi Ian - I have sent you a download link to a new version that should handle ferroEHR.
Let me know if you have any issues.

There are a couple of other things I want to add to the toll before I do a general release.