There are a bunch of AQL examples at

https://github.com/RippleOSI/Ripple-openEHR/tree/master/docs/bindings/Current%20Ripple%20Headings

Ian
Dr Ian McNicoll
mobile +44 (0)775 209 7859
office +44 (0)1536 414994
skype: ianmcnicoll
email: [email protected]
twitter: @ianmcnicoll



Director, freshEHR Clinical Informatics Ltd.
CCIO inidus Ltd. [email protected]
Co-Chair, openEHR Foundation [email protected]
Hon. Senior Research Associate, CHIME, UCL


On Tue, 17 Sep 2019 at 14:56, Ian McNicoll <[email protected]> wrote:

> Yes that works. It is also common to use the name/value attribute of the
> Composition root to identify a specific composition.
> Normally the name/value attribute of a templated Composition defaults to
> the underlying Composition archetype croot concept name e.g 'Bericht' but
> it can be renamed at template level and then queried
>
> select a
> from EHR e contains COMPOSITION a
> where a/name/value ='My local composition name'
>
> I have tended to use name/value but am coming round to using the templateId - 
> both are valid.
>
> Ian
>
>
>
>
>
>
> Dr Ian McNicoll
> mobile +44 (0)775 209 7859
> office +44 (0)1536 414994
> skype: ianmcnicoll
> email: [email protected]
> twitter: @ianmcnicoll
>
>
>
> Director, freshEHR Clinical Informatics Ltd.
> CCIO inidus Ltd. [email protected]
> Co-Chair, openEHR Foundation [email protected]
> Hon. Senior Research Associate, CHIME, UCL
>
>
> On Tue, 17 Sep 2019 at 12:44, Georg Fette <[email protected]>
> wrote:
>
>> Hi Ian,
>> Sorry, I did not mean specifically imaging data.
>> What I meant was that all our templates are based on the archetype
>> openEHR-EHR-COMPOSITION.report.v1.
>> My question therefore was, if the only possibility to retrieve all data
>> for a specific template type is by querying with something you described:
>>
>> select a
>> from EHR e contains COMPOSITION a
>> where a/archetype_details/template_id/value ='My lovely template'
>>
>> Greetings
>> Georg
>>
>> --
>> ---------------------------------------------------------------------
>> Dipl.-Inf. Georg Fette      Raum: B001
>> Universität Würzburg        Tel.: +49-(0)931-31-85516
>> Am Hubland                  Fax.: +49-(0)931-31-86732
>> 97074 Würzburg              mail: [email protected]
>> ---------------------------------------------------------------------
>>
>> _______________________________________________
>> openEHR-technical mailing list
>> [email protected]
>>
>> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>>
>
_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to