Hi Tomas,
Thanks a lot for your comprehensive reply.

On Jul 16, 2009, at 3:37 PM, Thomas Beale wrote:

>
> Hi Soheil,
>
> Thomas Beale wrote:
>>
>> Soheil Hassas Yeganeh wrote:
>>>
>>> Hi there,
>>>
>>> I was reading the documents and specifications of OpenEHR EHR. As  
>>> far as I read, EHR class has some fields of type OBJECT_REF (e.g.  
>>> status, compositions, ...).
>>> These fields are all versioned and the details of each version can  
>>> be found in the contributions of the EHR.
>>> So, there are two possibilities hear that I can not get which one  
>>> is corret:
>>> 1. The OBJECT_REF points to an object that is a real object, not a  
>>> version one. For example the reference points to an object of type  
>>> EHR_STATUS.
>>> 2. The OBJECT_REF points to the versioned object and the user can  
>>> find real objects from the versioned one. For example the  
>>> reference points to a VERSION object of type EHR_STATUS.
>>>
>>> Would you please let me know which one is correct?
>
> technically it can do both things; it depends on the kind of 'id'  
> used. In the EHR model, the references from the EHR object to the  
> various EHR_STATUS etc objects are of the first kind above, i.e. a  
> reference to a VERSIONED_EHR_STATUS etc; the reference is the same  
> no matter how many versions of EHR_STATUS are made.
The second one, you mean? I read the java reference implementation and  
saw it is implemented in the same way.


Bests,
Soheil Hassas Yeganeh
PhD Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran

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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20090716/c28be82a/attachment.html>

Reply via email to