# How to create GDL2 guideline based on ADL2 archetypes

**URL:** <https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560>\
**Category:** REQUESTS\
**Tags:** adl\
**Created:** [18 May 2021 09:29 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560 "2021-05-18T09:29:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rinke](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Rinke](https://discourse.openehr.org/u/Rinke)\
**Post date:** [18 May 2021 09:29 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560/1 "2021-05-18T09:29:36Z")

</div>

Hi all,

Does anyone has experience with creating GDL2 files based on ADL2 archetypes. I tried doing this with the GDL2 editor, but it has a hard time interpreting the ADL2 archetypes created with the ADL workbench apps. Wondering if there are any othere tools I could use to achieve this. Or if I should just stick to ADL 1.4 Archetypes for now when wanting to create GDL2 files.

Thanks!

Regards,  
Rinke

---

<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:** [18 May 2021 10:54 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560/2 "2021-05-18T10:54:03Z")

</div>

I suspect for right now, you have to stick to ADL 1.4, but @rong.chen can advise better.

---

<div class="post-metadata">

**Author:** ![Rinke](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Rinke](https://discourse.openehr.org/u/Rinke)\
**Post date:** [18 May 2021 10:55 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560/3 "2021-05-18T10:55:25Z")

</div>

I assumed that. Thanks for the quick reply Thomas!

---

<div class="post-metadata">

**Author:** ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Post date:** [18 May 2021 19:23 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560/4 "2021-05-18T19:23:37Z")

</div>

How hard would it be to build adl2 support for gdl2? I’m interested in the features of gdl2. But building the engine is already quite a task I presume. Also having to build adl2 support will be quite a stretch, since we solve the simplest gdl usecases with adl rules right now.  
Or is there an opensource (or commercially) available gdl engine?

---

<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:** [19 May 2021 09:18 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560/5 "2021-05-19T09:18:03Z")

</div>

Cambio has a commercial product. I think there may even be some nascent open source implementations as well. But you could start by bugging @rong.chen at Cambio CDS - he’s the expert.

I would not have thought upgrading the Cambio tools and engine to ADL2 would be that big a deal - especially if they use Archie libs.

---

<div class="post-metadata">

**Author:** ![rong.chen](https://discourse.openehr.org/user_avatar/discourse.openehr.org/rong.chen/32/515_2.png) [@rong.chen](https://discourse.openehr.org/u/rong.chen)\
**Post date:** [19 May 2021 13:07 UTC](https://discourse.openehr.org/t/how-to-create-gdl2-guideline-based-on-adl2-archetypes/1560/6 "2021-05-19T13:07:00Z")

</div>

ADL2 archetype support is on our roadmap for sure, and it will be quite straight forward to implement. Nearly all of our current development are still ADL1.4 based, I think the overall support for ADL2 need to catch up and it will take a while.

So for now, please use ADL 1.4 archetypes. If you don’t know already, here you find nearly 600 examples of GDL2 guidelines and archetypes in our open source project, [GitHub - gdl-lang/common-clinical-models: Common clinical models in the forms of openEHR archetypes and GDL guidelines](https://github.com/gdl-lang/common-clinical-models).
