Question about ADL-syntax (1.4) archetypeslot

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

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

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

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

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

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

Hi Bert,
CKM supports download of all archetypes in a single zip archive. That is as convenient as it gets for me :wink:
The functionality should be accessable from a menu item, should not be hard to spot.

Regards
Seref

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

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:

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:

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