# Archetype-versions

**URL:** https://discourse.openehr.org/t/archetype-versions/14562
**Category:** Implementers (archive)
**Created:** [14 September 2006 11:59 UTC](https://discourse.openehr.org/t/archetype-versions/14562 "2006-09-14T11:59:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [14 September 2006 11:59 UTC](https://discourse.openehr.org/t/archetype-versions/14562/1 "2006-09-14T11:59:55Z")

</div>

I is starting to stress me really. There are so many Archetypes available, and there are three tools in use by me to open them.

One is an archetype-analyzer, I wrote myself, a syntax checker.  
The other is an Archetype Editor, written by those Swedish guys,  
And one is an Archetype Editor from Ocean.

I wish there was a consistent set of Archetypes which can be opened by one or the other, and that it was documented as such.

I know, the problem is the moving target of changing ADL definitions. A little bit of help would do a lot, an error message which tells me what the problem is.

I know, this is not really a question.

But is it really the goal to stick to a certain kernel, write your archetypes, modify your editor so it can read your archetypes without crashes?  
It is what I am doing know.

Maybe it is a good idea to hold developments to improve quality. I think this is needed. I am a bit into the things going around here, but a stranger, how can he ever believe there is something good happening?

I had to say this, I do not really expect an answer.

Thanks for reading  
Bert

---

<div class="post-metadata">

### Author: ![minreddy\_minreddy](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@minreddy\_minreddy](https://discourse.openehr.org/u/minreddy_minreddy)
#### Post date: [14 September 2006 15:59 UTC](https://discourse.openehr.org/t/archetype-versions/14562/2 "2006-09-14T15:59:42Z")

</div>

Hi

I compiled java ADL parser and when i ran this with the file  
archetypes/dev/adl/openehr/demographic/openehr-demographic-person.person.draft.adl

It fails with following error

---

<div class="post-metadata">

### Author: ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)
#### Post date: [14 September 2006 17:58 UTC](https://discourse.openehr.org/t/archetype-versions/14562/3 "2006-09-14T17:58:02Z")

</div>

Bert Verhees wrote:

> I is starting to stress me really. There are so many Archetypes available, and there are three tools in use by me to open them.
> 
> One is an archetype-analyzer, I wrote myself, a syntax checker.  
> The other is an Archetype Editor, written by those Swedish guys,  
> And one is an Archetype Editor from Ocean.
> 
> I wish there was a consistent set of Archetypes which can be opened by one or the other, and that it was documented as such.

Hi Bert,

there is and have been for a long time - the only official set is at openEHR, see there is - there is only one proper set of archetypes - at [http://svn.openehr.org/knowledge/](http://svn.openehr.org/knowledge/)  
These archetypes all pass the reference parser tests, and the Ocean Archetype editor and the ADL workbench are based on this parser.

- thomas beale

---

<div class="post-metadata">

### Author: ![rong.chen](https://discourse.openehr.org/user_avatar/discourse.openehr.org/rong.chen/32/515_2.png) [@rong.chen](https://discourse.openehr.org/u/rong.chen)
#### Post date: [16 September 2006 20:27 UTC](https://discourse.openehr.org/t/archetype-versions/14562/4 "2006-09-16T20:27:20Z")

</div>

minreddy minreddy wrote:

> Hi
> 
> I compiled java ADL parser and when i ran this with the file  
> archetypes/dev/adl/openehr/demographic/openehr-demographic-person.person.draft.adl
> 
> It fails with following error
> 
> -----------  
> se.acode.openehr.parser.ParseException: Encountered "[\"ac0001\"] = \< [http://free.terminology.org?terminology\_id=acme;synonym\_of=](http://free.terminology.org?terminology_id=acme;synonym_of=) [163020007]" at line 457, column 33.

It's ";" causing problem. It doesn't seem to be allowed in URL.

> Was expecting one of:  
> "[" \<V\_LOCAL\_CODE\> "]" "=" "\<" \<URL\> "\>" ...  
> "[" \<V\_LOCAL\_CODE\> "]" "=" "\<" \<V\_QUALIFIED\_TERM\_CODE\_REF\> ...
> 
> ---------  
> This ADL file is made for ADLv1.4 and java ADL parser is for 1.3.
> 
> Is there available ADL1.4 or ADL2.0 parser?

The parser is being updated towards ADL1.4 gradually. The support for ADL2.0 will come later.

Regards,  
Rong

---

<div class="post-metadata">

### Author: ![minreddy\_minreddy](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@minreddy\_minreddy](https://discourse.openehr.org/u/minreddy_minreddy)
#### Post date: [17 September 2006 08:03 UTC](https://discourse.openehr.org/t/archetype-versions/14562/5 "2006-09-17T08:03:01Z")

</div>

Hi

I was just thinking to use some ADLv1.3 archetype files with java ADL parser.  
Could anybody give a pointer to ADLv1.3 archetypes?  
I could only find ADLv1.4 files here.[http://my.openehr.org/wsvn/knowledge/](http://my.openehr.org/wsvn/knowledge/)

rgds  
minreddy
