# Occurrences bug on export of .adls archetype **Category:** [Tool Support](https://discourse.openehr.org/c/tool-support/29) **Created:** 2024-07-03 12:48 UTC **Views:** 44 **Replies:** 0 **URL:** https://discourse.openehr.org/t/occurrences-bug-on-export-of-adls-archetype/5430 --- ## Post #1 by @siljelb 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` --- **Canonical:** https://discourse.openehr.org/t/occurrences-bug-on-export-of-adls-archetype/5430 **Original content:** https://discourse.openehr.org/t/occurrences-bug-on-export-of-adls-archetype/5430