title: TQuery: a context-sensitive temporal query language.
abstract: Users of electronic medical databases request pertinent information by recasting their clinical questions into a formal database query language. Because the query language is the user's only access to the data, the query language must be powerful enough to enable users to express their data requirements. However, a competing need is for the query language to be restrictive enough so that queries can have unambiguous semantics and the query processor can generate correct answers. We describe a query language, called TQuery , that was designed specifically to formulate database queries that are dependent on temporal and contextual relationships. TQuery specifications express contextual constraints without the need to explicitly reference calendar dates. TQuery is the database query language used to retrieve patient data from an object-oriented electronic patient medical-record system called the temporal network (TNET). TNET and TQuery were developed to support the real-time temporal reasoning and representation needs of a LISP workstation-based medical expert system.
authors.affiliation: Department of Internal Medicine, Washington University School of Medicine, St. Louis, Missouri 63110.
authors.forename: M G
authors.initials: MG
authors.lastname: Kahn
authors.forename: S
authors.initials: S
authors.lastname: Tu
authors.forename: L M
authors.initials: LM
authors.lastname: Fagan
mesh_terms: D016208:Databases, Factual; D005103:Expert Systems; D006801:Humans; D016347:Medical Records Systems, Computerized; D012984:Software; D013813:Therapy, Computer-Assisted