Hi Dileep,

From a clinician/modeller’s point of view, each of the consultations or visits 
that you describe as screening, consult encounter, revisit encounters are 
discrete events and need to be recorded using a separate event COMPOSITION. 
Each clinical consult will be recorded independently including identifying the 
changes from visit to visit. As part of a consult a diagnosis may be marked as 
resolved and that should be included as part of the consult record.

This information needs to be recorded once for medicolegal purposes and 
sensible querying. Similar data that needs both event based recording and 
sensible updated representation in summaries or persistent lists include 
medications, problem/diagnosis, immunisations, adverse reactions, social 
history, tobacco/alcohol summaries etc.

The question of where that data should be actually 1) stored vs 2) copied and 
displayed vs 3)displayed as the result of a query or 4)<other technical 
solution outside my capability> is not implemented consistently as far as I 
understand. Implementers please correct me if you have documented consensus.

For medicolegal purposes the consult record needs to be able to be accurately 
displayed and reintegrated on request, even if the component data is stored in 
a mix of event and persistent COMPOSITIONS.

I would think that you would also need to be able to keep a representation of 
the health summary, also primarily for medicolegal purposes, so that it could 
be determined precisely what the clinician viewed in that summary as they made 
a critical clinical decision, especially if it were to result in a bad outcome. 
That is one of the key reasons for the versioned persistent compositions.

And that will not prevent the patient summary being the last known status of 
the person – totally agree with your intent there. It’s just a question of how 
to be able to demonstrate what was the summary on a certain data, at a certain 
time.

Not helping with folders, but hope this contributes regarding consideration of 
event and persistent COMPOSITIONS. And further complicated with some of our CKM 
persistent COMPOSITIONS currently being constrained as events while we wait for 
some RM changes to support addition of context to the persistent ones.

Kind regards

Heatehr


From: openEHR-technical <openehr-technical-boun...@lists.openehr.org> On Behalf 
Of Pablo Pazos
Sent: Friday, 2 November 2018 7:15 AM
To: For openEHR technical discussions <openehr-technical@lists.openehr.org>
Subject: Re: AQL on versioned compositions

Hi Dileep, from your description of complaint/diagnosis usage, it feels that 
should be a persistent composition. And as I see it, for clinical use, the last 
version is the one that should be used. Review of previous versiosn of data is 
more for audit IMO.


Best,
Pablo.

On Tue, Oct 30, 2018 at 8:44 AM Dileep V S 
<dil...@healthelife.in<mailto:dil...@healthelife.in>> wrote:
Hi Ian,

If we take an OP episode, it will consist of possibly a screening encounter, 
then a consult encounter and one or more revisit encounters. We will start with 
recording data such as complaints, diagnosis, medication order etc . This data 
will be reviewed and updated in every subsequent encounters. So a 
complaint/diagnosis recorded in the consult may get marked as resolved during 
one of the subsequent revisits or sometimes something new gets added. A 
medication order made during the consult may get discontinued and another added 
later

The folders representing each of the encounters maintain a pointer to the 
corresponding versions of the composition so that the snapshot of the patient 
status is preserved and can be accessed(using an aql of versioned composition) 
any time into the future.

We are not using persistent compositions anywhere. To display a persistent 
status(Active complaints, diagnosis or medications), we use an aql to filter on 
status to display the relevant information. We expect that the doctor will 
review and update status of active items during an encounter. This is important 
for us as we are approaching the problem from a person centric view where the 
health status of the person concerned is evolving with every health encounter. 
Our patient summary is thus, always the last known status of the person.

By default the clinical information view is limited to an episode using virtual 
folders. But a summary view across episodes is also possible if we run the 
query outside the virtual folder context. Also in our case the compositions can 
get versioned as an episode progresses.

I hope that helps. Do feel free to point out any problems with our approach

regards



[https://drive.google.com/uc?id=0BxQc41y9yqs6bkE5a1JQQVBjZG8]

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>


On Tue, Oct 30, 2018 at 3:02 PM, Ian McNicoll 
<i...@freshehr.com<mailto:i...@freshehr.com>> wrote:
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<mailto:i...@freshehr.com>
twitter: @ianmcnicoll

[https://docs.google.com/uc?export=download&id=0BzLo3mNUvbAjUmNWaFZYZlZ5djg&revid=0BzLo3mNUvbAjRzZKc0JpUXl2SkRtMDJ0bkdUcUQxM2dqSVdrPQ]
Co-Chair, openEHR Foundation 
ian.mcnic...@openehr.org<mailto: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<mailto: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
[https://drive.google.com/uc?id=0BxQc41y9yqs6bkE5a1JQQVBjZG8]

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<mailto: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<mailto: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<mailto:openEHR-technical@lists.openehr.org>
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


--
Ing. Pablo Pazos Gutiérrez
pablo.pa...@cabolabs.com<mailto:pablo.pa...@cabolabs.com>
+598 99 043 145
skype: cabolabs
Subscribe to our newsletter<http://eepurl.com/b_w_tj>

[https://drive.google.com/uc?id=0B27lX-sxkymfM1pnTU44YXlFbHc&export=download]<https://cabolabs.com/>
http://www.cabolabs.com<http://www.cabolabs.com/>
https://cloudehrserver.com<https://cloudehrserver.com/>


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

Reply via email to