If you add UID on ENTRY level and you want to use that for some 
referencing/look up functionality: 
How do you handle versioning of Compositions and its content?  Is it a new 
entry UID for each version ? 

Here are description on some functions we have added to DIPS Arena EHR Server 
to make it simpler/more convenient to work with addressing LOCATABLES. 

To make it simple for client application to access the unique reference to 
LOCATABLE we have added the function ehr-uri(<LOCATABLE>) to the AQL query 
syntax. One example may be: 

select 
ehr-uri(o) as EHRUri, 
o/data[at0002]/origin/value as Time,
o/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value/magnitude as 
Weight, o/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value/units as 
Unit 
FROM
COMPOSITION c contains observation o[openEHR-EHR-OBSERVATION.body_weight.v1] 
order by o/data[at0002]/origin/value desc
limit 5

One example of the ehr-uri may be:      
ehr:compositions/131b9960-a2b0-452b-a140-34990dd3487d::9624982A-9F42-41A5-9318-AE13D5F5031F::1/content[openEHR-EHR-OBSERVATION.body_weight.v1
 and name/value='Body weight_001']

And then when you want to get the resource defined by the EHR-URI we have added 
a simple LINK endpoint. This looks like this: 

<host>/api/v1/link?ehruri=ehr%3Acompositions%2F131b9960-a2b0-452b-a140-34990dd3487d%3A%3A9624982A-9F42-41A5-9318-AE13D5F5031F%3A%3A1%2Fcontent%5BopenEHR-EHR-OBSERVATION.body_weight.v1%20and%20name%2Fvalue%3D'Body%20weight_001'%5D

Vennlig hilsen
Bjørn Næss
Produktansvarlig
DIPS ASA

Mobil +47 93 43 29 10

-----Opprinnelig melding-----
Fra: openEHR-technical [mailto:openehr-technical-boun...@lists.openehr.org] På 
vegne av Pieter Bos
Sendt: tirsdag 13. desember 2016 14.42
Til: For openEHR technical discussions <openehr-technical@lists.openehr.org>
Emne: Re: Could the specs group consider making uid mandatory?

That sounds reasonable. I wonder how many existing systems already do this…

Regards,

Pieter Bos
Nedap Healthcare

On 13/12/16 14:24, "openEHR-technical on behalf of Ian McNicoll" 
<openehr-technical-boun...@lists.openehr.org on behalf of i...@freshehr.com> 
wrote:

    There may be some advantages in routine application of uid at ENTRY level.
    
    Ian
    Dr Ian McNicoll
    mobile +44 (0)775 209 7859
    office +44 (0)1536 414994
    skype: ianmcnicoll
    email: i...@freshehr.com
    twitter: @ianmcnicoll
    
    
    Co-Chair, openEHR Foundation ian.mcnic...@openehr.org
    Director, freshEHR Clinical Informatics Ltd.
    Director, HANDIHealth CIC
    Hon. Senior Research Associate, CHIME, UCL
    

_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to