# Set a SLOT (CLUSTER) to mandatory **Category:** [Ask IEB](https://discourse.openehr.org/c/ask-ieb/37) **Created:** 2024-07-17 14:30 UTC **Views:** 32 **Replies:** 2 **URL:** https://discourse.openehr.org/t/set-a-slot-cluster-to-mandatory/5485 --- ## Post #1 by @emmanuel.eschmann Can a SLOT (CLUSTER) be set to mandatory, i.e. its ‘Occurrences’ set to ‘1..*’? The following screenshot shows a very simple ‘Blood pressure’ template with an enclosed blood pressure observation archetype. I have added an ‘Anatomical location’ cluster archetype in its ‘Structured measurement location’ slot. To make the entry of an anatomical location mandatory, I would like to constrain the ‘Occurrences’ of the slot to `‘1..*’`. However, every time I modify this ‘Occurrences’ to `‘1..*’`, it reverts to `‘0..*’`. Questions: 1. Is the constraining of ‘Occurrences’ of a slot supported by ADL (i.e. is the described problem an error of the Archetype Designer (https://tools.openehr.org/designer/))? 2. What other option is there to make content mandatory for the ‘Anatomical location’ in the ‘Structured measurement location’ slot? ![image|690x432](upload://yowDE2WoMPVkzdaRyTyJD7tVE1i.jpeg) --- ## Post #2 by @ian.mcnicoll Just make the Anatomical location cluster archetype, which fills the slot, mandatory. --- ## Post #3 by @emmanuel.eschmann [quote="ian.mcnicoll, post:2, topic:5485"] Anatomical location cluster archetype [/quote] I have already set the ‚Occurences‘ of the Anatomical location cluster archetype to ‚1..1‘ (see screenshot: Element with light blue background): ![image|690x323](upload://aVJS9WBj9bwk4ucRkJqSrY0RZLm.png) And I have even set the ‚protocol‘ node to ‚Mandatory‘ (see screenshot: node with light blue background): ![image|690x479](upload://bDoyOu5tmnVP5dnVZ2wfTQda0gF.png) But I can still create compositions based on this template with no ‘Anatomical location’ on our openEHR CDR. I do attach the Template Fileset and the post body of the example composition to this post to illustrate this: Template Fileset: [Blood pressure.opt|attachment](upload://zg6ebHiFN9QXyUla2g0hu5n4k1t.opt) (100.5 KB) post body of the example composition with missing ‘Anatomical location’: [Blood pressure Composition.json|attachment](upload://rEAfQ3mjNOJQibZdEd6YMeqznW4.json) (1.5 KB) --- **Canonical:** https://discourse.openehr.org/t/set-a-slot-cluster-to-mandatory/5485 **Original content:** https://discourse.openehr.org/t/set-a-slot-cluster-to-mandatory/5485