Change search
CiteExportLink to record
Permanent link

Direct link
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Parsing AQL Queries into SQL Queries using ANTLR
Linköping University, Department of Computer and Information Science, Database and information techniques.
2015 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

An Electronic Health Record is a collection of each patient’s health information which is stored electronically or in digital format. openEHR is an open standard specification for electronic health record data. openEHR has a method for querying a set of clinical data using the Archetype Query Language (AQL). 

The EHR data is in XML format and this format is a tree like structure. Since XML databases were considerably slower, AQL needs to be translated to another query language. Researchers have already investigated translating AQL to XQuery and tested the performance. Since the performance was not satisfactory, we now investigate translating AQL to SQL.

AQL queries are translated to SQL queries using the ANTLR tool. The translation is implemented in Java language. The AQL queries which are translated into SQL queries are also tested in this thesis work. Finally, the result is to get the corresponding SQL query for any given AQL query.

Place, publisher, year, edition, pages
2015. , 145 p.
National Category
Computer Science
URN: urn:nbn:se:liu:diva-124151ISRN: LIU-IDA/LITH-EX-A--15/067--SEOAI: diva2:897009
Subject / course
Master's programme in Computer Science
2015-11-13, Muhammad al-Khwarizmi, Linköpings universitet, Linköping University, Linköping, 10:15 (English)
Available from: 2016-01-28 Created: 2016-01-19 Last updated: 2016-01-28Bibliographically approved

Open Access in DiVA

fulltext(1295 kB)