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:
- 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.
- 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?
Bests,
Soheil Hassas Yeganeh
PhD Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran
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:
- 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.
- 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.
Hi Tomas,
Thanks a lot for your comprehensive reply.
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:
- 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.
- 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
Soheil Hassas Yeganeh wrote:
Hi Tomas,
Thanks a lot for your comprehensive reply.
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:
- 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.
- 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.
yes, sorry! I did mean the second one - a reference to a versioned container…