Modifying Ian's example for a/uid/value and using uid values instead of names should do the trick
On Friday, August 17, 2018, Dileep V S <dil...@healthelife.in> wrote: > Thanks Ian, > > However my requirement is different. I seem to have confused you with the > way my question was framed. > > What I meant by composition ID was in fact Composition UID. I want to > query the same template (/name/value), but limited to specific commits > (compositionUIDs). > > I hope that helps > > 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 > > On Fri, Aug 17, 2018 at 3:54 PM, Ian McNicoll <i...@freshehr.com> wrote: > >> Hi Dileep, >> >> I do this by querying on the name attribute of the root composition >> archetype - see the examples in >> >> https://github.com/RippleOSI/Ripple-openEHR/blob/master/docs >> /bindings/Current%20Ripple%20Headings/Clinical%20notes/clinical_notes.md >> >> You can of course query on multiple names. >> >> where a/name/value matches {'Clinical Notes', 'Other Clinical Notes'} >> >> Going forward I would expect the list of allowable composition names to >> come from a controlled vocabulary or even a local terminology. >> >> 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 Fri, 17 Aug 2018 at 10:54, Dileep V S <dil...@healthelife.in> wrote: >> >>> Hi, >>> >>> Can you write an AQL to query only on a list of specific compositions? >>> Is there any sample for reference? >>> >>> I am trying to create the concept of clinical encounters and maintain a >>> collection of compositions per encounter. I am using AQL to retrieve data >>> per encounter and need to pass the corresponding set of compositions. >>> >>> Thanks in advance >>> >>> 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 >> >> >
_______________________________________________ openEHR-technical mailing list openEHR-technical@lists.openehr.org http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org