2006/11/21, Sam Heard <sam.heard at oceaninformatics.biz>:
>
>  Mattias
> Thanks - we were not really prepared for people to run with this right now
> but I include a candidate schema which is in tune with the ADL Parser and
> encorporates your observations
>
Hi Sam,

Thanks, I'll have a look at it.

> 4. There's an entity called 'C_CODED_TERM' which is a DOMAIN_TYPE, but it
> should probably be renamed to 'C_CODED_TEXT'. If this is a correct
> assumption, the 'reference' element should then be renamed to 'query' and
> another element called 'subset' should also be added. See the specification
> of C_DV_CODED_TEXT in the Archetype Profile specification here: 
> http://svn.openehr.org/specification/BRANCHES/Release-1.1-candidate/publishing/architecture/am/openehr_archetype_profile.pdf
> .
>
> XML spec of 'C_CODED_TERM' is found here: 
> http://svn.openehr.org/specification/BRANCHES/Release-1.1-candidate/publishing/its/XML-schema/documentation/Archetype.xsd.html_h1644545557.html
>
>
>  Actually the constraint required is on the CODE_PHRASE and in the new ADL
> Parser it is called C_CODE_PHRASE. This does not affect the ADL so noone
> noticed the change. The schema now has C_CODE_PHRASE instead.
>

But the C_CODE_PHRASE is _not_ a C_DOMAIN_TYPE according to the Archetype
Profile. Where can I find this class specification? If you look at the
schema you see that C_CODED_TERM inherits C_DOMAIN_TYPE...


> Furthermore, there are two attributes in the AOM specification of
> ARCHETYPE_ONTOLOGY that I couldn't find in the ADL archetypes - namely
> 'specialisation_depth' and 'parent_archetype'. These attributes are not
> accessible from the ArchetypeOntology class in the 1.0.1-RC1 version of
> the Java kernel, and the latter is not found in the XML schema spec.
>
> parent_archetype_id is part of archetype in the Schema.
>

Okay, I guess the XML schema isn't completely equal to the AOM in this case
because it would require to output yet another archetype in the
ARCHETYPE_ONTOLOGY.


> Still interested in the changing the term.text and description to
> attributes - any interest? The implementation is not given in the AOM.
>

This is found in the AOM:

items: Hash <String,  String>
Hash of keys ("text", "description" etc) and corresponding values.

at page 46
http://svn.openehr.org/specification/BRANCHES/Release-1.1-candidate/publishing/architecture/am/aom.pdf


Cheers,

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20061121/ce9d7f36/attachment.html>
-------------- next part --------------
_______________________________________________
openEHR-technical mailing list
openEHR-technical at openehr.org
http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical

Reply via email to