Dileep,
If you are querying the EHR (or demographics) repository for older
versions, the usual way to understand this concept is similar to in e.g.
Github or other DVCS systems, which is: you are stating a time-point in
system time and you want to see the data versions that were current then.
AQL has the TIMEWINDOW clause to implement this
<https://www.openehr.org/releases/QUERY/latest/docs/AQL/AQL.html#_timewindow>.
I don't know how widely this is implemented.
In addition, the EHR REST API
<https://www.openehr.org/releases/ITS/latest/docs/ehr.html#directory-directory-get>
allows access to the EHR directory (FOLDER structure) at given versions.
- thomas
On 30/10/2018 08:45, Dileep V S wrote:
Hi,
We are implementing virtual folders to organize compositions as per
episodes of care and encounters. The plan is to keep track of
versioned compositions in encounters to capture the change of
information(Complaints and diagnosis getting resolved across
encounters inside an episode).This will allow us to view the
compositions as they were in any encounter and not the latest version
always.
For this we need to be able to query specific versions of compositions
using aql. Can some body point me to the documentation or examples of
how to do this?
regards
Dileep V S
/Founder/
HealtheLife Ventures LLP
m: +91 9632888113
a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100
w: healthelife.in <http://healthelife.in/> e: dil...@healthelife.in
<mailto:dil...@healthelife.in>
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
--
Thomas Beale
Principal, Ars Semantica <http://www.arssemantica.com>
Consultant, ABD Project, Intermountain Healthcare
<https://intermountainhealthcare.org/>
Management Board, Specifications Program Lead, openEHR Foundation
<http://www.openehr.org>
Chartered IT Professional Fellow, BCS, British Computer Society
<http://www.bcs.org/category/6044>
Health IT blog <http://wolandscat.net/> | Culture blog
<http://wolandsothercat.net/> | The Objective Stance
<https://theobjectivestance.net/>
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org