Archie 2.0 and OpenEHR Visual Studio Code extension 0.5

Recently we at Nedap Healthcare released Archie version 2.0, a java library for creating applications working with OpenEHR Archetypes and Reference Model data. It introduces support for the latest ADL/AOM features: soft terminology constraints and RM overlays. The first allows for terminology constraint codes to be specified with an example, preferred, extensible or required binding strength, allowing for more options in specialisation or in templates. The RM overlay allows for attributes in the RM at a specific place defined in an archetype or template to be hidden, shown, or renamed.

Of course, modelling tools will have to be updated for these new features to be usable. We did that for one such tool, the OpenEHR visual studio code plugin. It transforms visual studio code into a full IDE for OpenEHR archetypes. As such, it is intended for people who are at least somewhat comfortable editing ADL files by hand. To try it, install visual studio code and open an ADL 1.4 or 2.x file in it. Visual studio code will prompt to install the plugin. Alternatively, you can visit OpenEHR ADL & AQL support - Visual Studio Marketplace and install it from there. Version 0.5.0 of the plugin supports the new features. In addition, the latest version supports syntax highlighting and hovers for the expression language included in ADL 2.

In Archie 2.0 the JSON and XML serialisation of the Archetype Object Model also have been made compliant with the official specification, including full backwards compatibility with the earlier formats.

For a full list of release notes, see Releases · openEHR/archie · GitHub .

For the specification of the rm_overlay in ADL 2, including what to use it for and how to use it, see Archetype Definition Language 2 (ADL2)
For the specification of soft terminology constraints in ADL 2, see Archetype Definition Language 2 (ADL2)


I’m continuously stuck between getting upset at your team for taking potential fun work away from me and being grateful to your team for doing all this hard work and sharing it with the community in such a generous way.

Joking aside, fantastic work as always, and a big thank you to all at Nedap.


So impressed with all that you openEHR people are doing in the Netherlands - reminds me of the pioneering days of Jan van Bemel and then Johan van der Lei. Congratulations and thank you. David


Lovely job, installed nicely and recognised some AQL without any effort!! Need to play with the ADL aspects now


Thank you for the kind words! Since all of this is open source under the Apache 2 license, including the visual studio code plugin, any contributions are very welcome :wink:


@seref, your holiday on Monday is obviously cancelled…


It is completely true that you guys are doing an exceptional job. Hats off to all of you!

1 Like