[openEHR-EHR-COMPOSITION.encounter.v1*] (or perhaps more correctly
[openEHR-EHR-COMPOSITION.encounter.v1.*], where the dot means any character
not the version delimiter) and [openEHR-EHR-COMPOSITION.encounter.v\d+] are
different.  The first allows all revisions of .v1 (e.g. v1.1, v1.2, ..)
whilst the later allows all versions.  The rules of archetype major versions
state that they cannot be compared and where as revisions have strict rules
about what can be modified to ensure compatible.  Thomas has explained this
elsewhere.  Therefore the former is more useful in queries.

Heath

> -----Original Message-----
> From: openehr-technical-bounces at openehr.org [mailto:openehr-technical-
> bounces at openehr.org] On Behalf Of Karsten Hilbert
> Sent: Wednesday, 4 June 2008 5:45 PM
> To: openehr-technical at openehr.org
> Subject: Re: openEHR Querying specifications
> 
> On Wed, Jun 04, 2008 at 09:09:56AM +0930, Heath Frankel wrote:
> 
> > Versions should be handled using the regular expression syntax of the
> > archetype ID, as is done in ADL to represent slot constraints and
> > action_arcehtype_id in ACTIVITY.
> >
> > E.g. [openEHR-EHR-COMPOSITION.encounter.v1*]
> 
> [openEHR-EHR-COMPOSITION.encounter.v\d+], hopefully ?
> 
> Karsten
> --
> GPG key ID E4071346 @ wwwkeys.pgp.net
> E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical


Reply via email to