# Archie 2.0 and OpenEHR Visual Studio Code extension 0.5

**URL:** <https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559>\
**Category:** Releases\
**Created:** [28 April 2022 14:22 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559 "2022-04-28T14:22:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pieterbos](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pieterbos/32/512_2.png) [@pieterbos](https://discourse.openehr.org/u/pieterbos)\
**Post date:** [28 April 2022 14:22 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/1 "2022-04-28T14:22:21Z")

</div>

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](https://marketplace.visualstudio.com/items?itemName=NedapHealthcare.openehr-adl-lsp) 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](https://github.com/openEHR/archie/releases) .

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)](https://specifications.openehr.org/releases/AM/latest/ADL2.html#_rm_overlay_section)  
For the specification of soft terminology constraints in ADL 2, see [Archetype Definition Language 2 (ADL2)](https://specifications.openehr.org/releases/AM/latest/ADL2.html#_soft_terminology_constraint)

---

<div class="post-metadata">

**Author:** ![Seref](https://discourse.openehr.org/user_avatar/discourse.openehr.org/seref/32/13_2.png) [@Seref](https://discourse.openehr.org/u/Seref)\
**Post date:** [28 April 2022 14:27 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/2 "2022-04-28T14:27:14Z")

</div>

> [@pieterbos](#):
>
> It transforms visual studio code into a full IDE for OpenEHR archetypes

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.

---

<div class="post-metadata">

**Author:** ![DavidIngram](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/d/4491bb/32.png) [@DavidIngram](https://discourse.openehr.org/u/DavidIngram)\
**Post date:** [28 April 2022 17:32 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/3 "2022-04-28T17:32:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)\
**Post date:** [28 April 2022 17:53 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/4 "2022-04-28T17:53:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pieterbos](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pieterbos/32/512_2.png) [@pieterbos](https://discourse.openehr.org/u/pieterbos)\
**Post date:** [29 April 2022 12:49 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/5 "2022-04-29T12:49:34Z")

</div>

> [@Seref](#):
>
> 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.

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 😉

---

<div class="post-metadata">

**Author:** ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Post date:** [29 April 2022 14:18 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/6 "2022-04-29T14:18:31Z")

</div>

> [@pieterbos](#):
>
> 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

@seref, your holiday on Monday is obviously cancelled…

---

<div class="post-metadata">

**Author:** ![sandersbud4](https://discourse.openehr.org/user_avatar/discourse.openehr.org/sandersbud4/32/1051_2.png) [@sandersbud4](https://discourse.openehr.org/u/sandersbud4)\
**Post date:** [21 May 2022 08:22 UTC](https://discourse.openehr.org/t/archie-2-0-and-openehr-visual-studio-code-extension-0-5/2559/7 "2022-05-21T08:22:09Z")

</div>

> [@DavidIngram](#):
>
> 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

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