Hi Dileep, It should be possible to query on versioned compositions but I feel a bit uncomfortable about using versioned data this way. For event-type compositions, I would only expect versions to be created as a result of an error correction, not as part of routine recording. For persistent-type compositions, new versions are routinely created but only when the previous version is reallyof little interest e.g summaries, status-tracking.
I'm uneasy about your suggested approach. Can you spell out an example/ 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 On Tue, 30 Oct 2018 at 08:45, Dileep V S <dil...@healthelife.in> 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 e: dil...@healthelife.in > _______________________________________________ > 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