# Question about ADL-syntax (1.4) archetypeslot **Category:** [Implementers (archive)](https://discourse.openehr.org/c/implementers-archive/158) **Created:** 2010-10-25 09:49 UTC **Views:** 3 **Replies:** 10 **URL:** https://discourse.openehr.org/t/question-about-adl-syntax-1-4-archetypeslot/15022 --- ## Post #1 by @system Hi, Please allow me this ignorant question\. Below the "allow\_archetype", there are includes \(and excludes\) Below the "include" are rules what is include\(d\) Like this\. \(examples from repository on OpenEhr website\) 1\) allow\_archetype CLUSTER occurrences matches \{0\.\.1\} matches \{     include         archetype\_id/value matches \{/change\\\.v1draft/\} 2\) allow\_archetype ITEM\_TREE occurrences matches \{0\.\.1\} matches \{     include         domain\_concept matches \{/referral\\\.v1/\} 3\) allow\_archetype ADDRESS matches \{     include         id matches \{"br\-demographic\-ADDRESS\.\*"\} The problem I have is that there seems inconsistency\. In example 1 is the archetypeid of the archetype\-details referred which has a property value\. Thsi seems OK to me In example 2 is the domain\_concept used, which is a property of the archetype\_id but not of the archetypedetails\., shouldn't this be: archetype\_id/domain\_concept Example 3 makes to me no sense at all\. Both archetypedetails and archetype\_id have a property id Can someone please explain this to me? Thanks, Bert --- ## Post #2 by @system Op 25\-10\-10 11:49, Bert Verhees schreef: > Example 3 makes to me no sense at all\. Both archetypedetails and > archetype\_id have a property id > Example 3 makes to me no sense at all\. Both archetypedetails and archetype\_id have \*no\* property id --- ## Post #3 by @Peter_Gummer1 Bert Verhees wrote: > \(examples from repository on OpenEhr website\) Hi Bert, These are very strange examples of slots\. They are not typical at all\. Where did you find these archetypes? \- Peter --- ## Post #4 by @system > These are very strange examples of slots\. They are not typical at all\. > > Where did you find these archetypes? > Thanks, Peter, for your reply I downloaded them with SVN from http://www.openehr.org/svn/knowledge/archetypes Is that not OK? Bert --- ## Post #5 by @Peter_Gummer1 Bert Verhees wrote: > I downloaded them with SVN from > http://www.openehr.org/svn/knowledge/archetypes > > Is that not OK? Those archetypes are obsolete\. They were abandoned years ago\. The current work on archetypes is in CKM: www\.openehr\.org/knowledge/ \- Peter --- ## Post #6 by @system > Those archetypes are obsolete\. They were abandoned years ago\. The > current work on archetypes is in CKM: >   I noticed some problems in the abandoned ones\. But I skipped skip those which did not parse well I do not use archetypes for medical\-content, only for technical purposes\. Is het possible to download the CKM\-ones as convenient as the abandoned ones? Because I didn't find how, it was the reason I skipped them until today\. By the way, I found an example of an archetype\-slot allow\_archetype CLUSTER\[at0014\] occurrences matches \{0\.\.\*\} matches \{ \-\- Cessation attempts     include         archetype\_id/value matches \{/openEHR\-EHR\-CLUSTER\\\.cessation\_attempts\\\.v1/\} \} This conform my example 1 in my previous question\. If you send me the download link of the CKM archetypes, than maybe I can answer my previous question myself, or I come back with more specific question Thanks Bert --- ## Post #7 by @Seref Hi Bert, CKM supports download of all archetypes in a single zip archive. That is as convenient as it gets for me ;) The functionality should be accessable from a menu item, should not be hard to spot. Regards Seref --- ## Post #8 by @system > ``` > By the way, I found an example of an archetype-slot > allow_archetype CLUSTER[at0014] occurrences matches {0..*} matches { > -- Cessation attempts > include > archetype_id/value matches > {/openEHR-EHR-CLUSTER\.cessation_attempts\.v1/} > } > > This conform my example 1 in my previous question. > > ``` Yes, this is from the substance use archetypes in CKM, and is correct. your previous example 1 had a .v1draft id which deprecated. Thee is also an Archetype Validation report for each archetype in CKM, where errors such as in your examples 2 and 3 would be reported. > ``` > If you send me the download link of the CKM archetypes, than maybe I can > answer my previous question myself, or I come back with more specific > question > > ``` Yes, in the menu: Archetypes/Bulk export Sebastian --- ## Post #9 by @system Thanks Seref, It must be very clumsy of me, but I cannot find a menu-option where all the archetypes are in a single zip-archive. Maybe I should register first. I'll do that now, and if I don't succeed in answering my previous questions, I'll come back to this list. Thanks Bert Op 25-10-10 13:35, Seref Arikan schreef: --- ## Post #10 by @system Thanks, I just registered and found the bulk export, I think this will answer my questions. I throw away the abondoned ones quickly. Bert Op 25-10-10 13:51, Sebastian Garde schreef: --- ## Post #11 by @ian.mcnicoll Hi Bert, Yes \- register on CKM first and then you can download all of the archetypes via menu Archetypes\-> Bulk export\. Dr Ian McNicoll office / fax \+44\(0\)1536 414994 mobile \+44 \(0\)775 209 7859 skype ianmcnicoll ian\.mcnicoll@oceaninformatics\.com Clinical analyst, Ocean Informatics openEHR Clinical Knowledge Editor www\.openehr\.org/knowledge Honorary Senior Research Associate, CHIME, UCL BCS Primary Health Care SG Group www\.phcsg\.org --- **Canonical:** https://discourse.openehr.org/t/question-about-adl-syntax-1-4-archetypeslot/15022 **Original content:** https://discourse.openehr.org/t/question-about-adl-syntax-1-4-archetypeslot/15022