Skip to Navigation | Skip to Content

openEHR-Implementers mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: ArchetypeOntology


Hi Tim,

This is also how the AOM XML schema is represented. 

 

My understanding is that ArchetypeOntology is a functional class (like the EHR and VERSIONED_OBJECT classes) rather than a data object class, hence it does not necessarily directly reflect the data model and its serialisation.

 

Heath

 

From: openehr-implementers-bounces@openehr.org [mailto:openehr-implementers-bounces@openehr.org] On Behalf Of Rong Chen
Sent: Tuesday, 30 September 2008 6:02 AM
To: timothywayne.cook@gmail.com; For openEHR implementation discussions
Subject: Re: ArchetypeOntology

 

Hi Tim,

term_codes and constraint_codes are really just codes not ArchetypeTerms as indicated by the AOM specification. But you do need other attributes to keep the mapping between different language, codes and ArchetypeTerms in order to implement the methods.

In the Java implementation, a nested Map (Hash in Java) is used to keep all the mappings. The key of the outer map is language and the key for inner map is the code.

Cheers,
Rong

On Mon, Sep 29, 2008 at 8:26 PM, Tim Cook <timothywayne.cook@gmail.com> wrote:

Hi All,

While attempting to implement the ArchetypeOntology I have ran into some
confusion.

The attributes term_codes and constraint_codes are documented as being a
List of strings.

However, it seems to me that they should be a List of ArchetypeTerms. So
that the code is associated with the Hash (or Tuple) of the
text/description etc.

how is everyone else implementing this?

--Tim



--
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
**************************************************************
*You may get my Public GPG key from  popular keyservers or   *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************

_______________________________________________
openEHR-implementers mailing list
openEHR-implementers@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-implementers

 

_______________________________________________
openEHR-implementers mailing list
openEHR-implementers@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-implementers