HAPPY NEW YEAR!!!

My question is on persistence layer for openehr java.
I was wondering if any body could give me a link to such.

Also, is it possibe to generate a hibernate mapping for the openehr java 
classes for use for a db schema. In other words, does the openehr classes 
include a data model layer.

(Apologies if its a stupid question but please someone kindly elucidate)

Cheers,
Ime

openehr-technical-request at openehr.org wrote: Send openEHR-technical mailing 
list submissions to
 openehr-technical at openehr.org

To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical
or, via email, send a message with subject or body 'help' to
 openehr-technical-request at openehr.org

You can reach the person managing the list at
 openehr-technical-owner at openehr.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of openEHR-technical digest..."


Today's Topics:

   1. Re: path of ArchetypeInternalRef (Bert Verhees)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 Dec 2007 09:17:03 +0100
From: Bert Verhees 
Subject: Re: path of ArchetypeInternalRef
To: For openEHR technical discussions 
Message-ID: <476B767F.2090605 at rosa.nl>
Content-Type: text/plain; charset=ISO-8859-1

Sam Heard schreef:
> Heath has said it how it is:
>
> Archetype paths - that is the path to each node in an archetype - is
> unique. This is what the ADL statement you have seen refers to.
>
> In data, in contrast, an individual archetype node which has
> occurrences set as (1...2) in the archetype could exist twice in the
> data. That is what occurrences of 2 means. How then to differentiate
> between the two instances of this node. The answer is in the name of
> that thing - which can be coded or free text. What this means is that
> you can ask for something in the data as a specific instance (unique)
> which may have a name in the path as well as the archetype_node_id's -
> for example:
>
> /items[at0002 and name/value="xxx"]
>
> or as a path as in the archetype
>
> /items[at0002]
>
> which will return all instances of the node.
>
> Both paths transform to XPath in a very straightforward manner and
> give the same results.
>
> Hope this is helpful.
Thanks Sam, for explaining, so, if I may resume:

If you have a node in your ADL
/items[0002]

and you have a node
/items[0003]

and /items[0003] contains a Internalref to items/[0002], what will be
the ADL-path?

My guess is, in cADL it will be /items[0003] (because, that is the
location of the internalref)
In data it will be /items[0002] with a "name"-qualifier.

Is that correct?

Thanks, Bert


------------------------------

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


End of openEHR-technical Digest, Vol 17, Issue 27
*************************************************



Why will you acquire so much informatics knowledge and not share...
Contribute to http://www.wiki.ehealthpedia.org/

"A little more persistence, a little more effort, and what seemed hopeless 
failure may turn to glorious success" - Elbert Hubbard
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20071231/c0413f8a/attachment.html>

Reply via email to