Re: AQL on versioned compositions

2018-11-02 Thread Thomas Beale
On 02/11/2018 00:00, Heather Leslie wrote: 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 cl

RE: AQL on versioned compositions

2018-11-01 Thread Heather Leslie
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 On Behalf Of Pablo Pazos Sent: Friday, 2 November 2018 7:15 AM To: For openEHR technical discussions Subject: Re: AQL on

Re: AQL on versioned compositions

2018-11-01 Thread Pablo Pazos
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:4

Re: AQL on versioned compositions

2018-11-01 Thread Thomas Beale
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.

Re: AQL on versioned compositions

2018-10-30 Thread Dileep V S
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 encou

Re: AQL on versioned compositions

2018-10-30 Thread Ian McNicoll
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

AQL on versioned compositions

2018-10-30 Thread Dileep V S
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 al