Hi Georg, You don't find the templates as such, you find compositions committed against those templates definitions. Templates are just definitions of how to aggregate archetypes to meet a specific use-case. It is the composition instance that is committed and queried against. The data within that instance is tagged to show which archetype was used to define the data structure, and which overall template was used, but you are not really querying archetypes or templates, you are querying openEHR instance data marked-up to show how those data structures were defined and arranged - that mark-up is what allows you to use the template and archetypes to figure out how to query the data.
Ian Dr Ian McNicoll mobile +44 (0)775 209 7859 office +44 (0)1536 414994 skype: ianmcnicoll email: i...@freshehr.com twitter: @ianmcnicoll Director, freshEHR Clinical Informatics Ltd. CCIO inidus Ltd. i...@inidus.com Co-Chair, openEHR Foundation ian.mcnic...@openehr.org Hon. Senior Research Associate, CHIME, UCL On Tue, 17 Sep 2019 at 11:21, Georg Fette <georg.fe...@uni-wuerzburg.de> wrote: > Thanks for the answers. > > Is a template apart from being a container which aggregates archetypes, > a semi-definition or a derivation of an archetype ? The .oet template > definitions always state a derivation from a an existing archetype > (archetype_id="openEHR-EHR-COMPOSITION.report.v1"), and the type from > which this archetype is inherited from (xsi:type="COMPOSITION"). > So when I query with AQL for this archetype I should find those > templates, is that correct ? > 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: georg.fe...@uni-wuerzburg.de > --------------------------------------------------------------------- > > > _______________________________________________ > 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