I have a question the is a bit related to the discussion about the constraining of the ELEMENT type in the laboratory_analytes. The current specification defines the field "ehr_status" of the class EHR with the type OBJECT_REF. In the AQL specification there is an example (chapter NOT) that accesses this field with the assumption that the field is of type EHR_STATUS. I have written a type checker for AQL queries, so I am now stumbling across queries that access fields of potential subclasses or derived archetypes.
Does/should the specification generally allow such a thing ?

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

Reply via email to