# Composition Archetypes are generated with atcode in EventContext **Category:** [Archetype Designer](https://discourse.openehr.org/c/archetype-designer/30) **Created:** 2022-11-16 10:59 UTC **Views:** 613 **Replies:** 0 **URL:** https://discourse.openehr.org/t/composition-archetypes-are-generated-with-atcode-in-eventcontext/3202 --- ## Post #1 by @stefanspiska If I create a new Composition Archetype then ehr generated adl code is ``` definition COMPOSITION[at0000] matches { -- test category matches { DV_CODED_TEXT[at0001] matches { -- Coded text defining_code matches { [openehr::433] } } } context matches { EVENT_CONTEXT[at0002] matches {*} -- Event Context } } ``` but I think this should be ``` definition COMPOSITION[at0000] matches { -- test category matches { DV_CODED_TEXT[at0001] matches { -- Coded text defining_code matches { [openehr::433] } } } context matches { EVENT_CONTEXT matches {*} -- Event Context } } ``` since the path to context is /context and not /context[at0001]. This matches also what I see in other composition archetypes. --- **Canonical:** https://discourse.openehr.org/t/composition-archetypes-are-generated-with-atcode-in-eventcontext/3202 **Original content:** https://discourse.openehr.org/t/composition-archetypes-are-generated-with-atcode-in-eventcontext/3202