# Occurrences bug on export of .adls archetype

**URL:** <https://discourse.openehr.org/t/occurrences-bug-on-export-of-adls-archetype/5430>\
**Category:** Tool Support\
**Tags:** ckm, archetype-designer, bug\
**Created:** [3 July 2024 12:48 UTC](https://discourse.openehr.org/t/occurrences-bug-on-export-of-adls-archetype/5430 "2024-07-03T12:48:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [3 July 2024 12:48 UTC](https://discourse.openehr.org/t/occurrences-bug-on-export-of-adls-archetype/5430/1 "2024-07-03T12:48:33Z")

</div>

While testing exporting .adls templates re: [this thread](https://discourse.openehr.org/t/oet-replacement-some-help-requested-from-sec/5402/43), I stumbled upon what I have to think is a bug.

Steps to reproduce:

1. Note the `ELEMENT[at0011] occurrences matches {0..*} matches { -- Mitigation factor` of the [`OBSERVATION.adverse_reaction_monitoring`](https://ckm.openehr.org/ckm/archetypes/1013.1.5658) archetype
2. Export said archetype from CKM as ADL2 and from Archetype Designer as .adls
3. Note that in both exported files, the element has no stated occurrences
4. Import any of the .adls files into Archetype Designer
5. Note that in Archetype Designer that the element now has occurrences `1..1`
