# Why does renaming the Archetype in a slot cause changing its cardinality? **Category:** [Template Designer](https://discourse.openehr.org/c/template-designer/93) **Created:** 2024-09-12 06:43 UTC **Views:** 53 **Replies:** 2 **URL:** https://discourse.openehr.org/t/why-does-renaming-the-archetype-in-a-slot-cause-changing-its-cardinality/5702 --- ## Post #1 by @linforest In Ocean Template Designer, why does renaming the Archetype in a slot cause automatically changing its cardinality from 0..* to 0... 1? For example, in the [openEHR-EHR-SECTION.immunisation_list.v0](https://ckm.openehr.org/ckm/archetypes/1013.1.3727), [openEHR-EHR-ACTION.medication.v1](https://ckm.openehr.org/ckm/archetypes/1013.1.123) was dragged into the SLOT "Vaccinations administered". When renaming the imported Archetype from "药物管理"(zh-CN; en: Medication management) to "预防接种条目" or any other names, its cardinality would be automatically changed from 0..* to 0... 1. But I need its cardinality keep unchanged. --- ## Post #2 by @ian.mcnicoll Template Designer is following some older RM/AOM rules which insisted that a renamed slot had to be restricted in this way. Since then the rule has been relaxed, so that the 'no duplicate names' rules is applied at run-time, not at design-time but TD has not been updated for some time AFAIK. It was for us, one of the big benefits of moving to ArchetypeDesigner. --- ## Post #3 by @linforest If still sticking with the Ocean Template Designer, is there any workaround for this? Using a text editor, the cardinality could be manually restored to default (0..*). But once it's opened and saved again in the Ocean Template Designer, my effort will be in vain. --- **Canonical:** https://discourse.openehr.org/t/why-does-renaming-the-archetype-in-a-slot-cause-changing-its-cardinality/5702 **Original content:** https://discourse.openehr.org/t/why-does-renaming-the-archetype-in-a-slot-cause-changing-its-cardinality/5702