Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Other Built-in Types 

URI 

URI leaf data is enclosed within curly braces after "matches" operator. URI can be expressed as a normal URI described in  http://www.ietf.org/rfc/rfc3986.txt. URI is not case sensitive. In AQL, a URI can be either terminology URI or EHR URI.

...

This is an example of a terminology URI:

...

Image Modified

...

  EHR URI

to be continued... 

Value List

Value list leaf data is enclosed within curly braces after matches operator. Each item is separated by comma if there are multiple items in the list. Value list can be string value list, date time value list, integer value list, and real value list. Quotes are required for string value list and date time value list.

A value list is only used in AQL WHERE clause when the criteria is to match one item of the list. The relationships among these value list items are "OR".

Some examples of value list:

Code Block

matches {'string item 1', 'string item 2', 'string item3'}  // a string list. It is equivalent to matches 'string item1' or .. matches 'string item 2' or .. matches 'string item 3'
matches {'20060101', '20070101', '20080101'}            // a date value list 
matches {1, 2, 3}                                                      // a integer list
matches {1.1, 2.5, 3.8}                                             // a real value list 
Value Range

 to be continued...

AQL structure

Overview

AQL structure has been briefly introduced in Section 2.2. This section introduces AQL structure in details.

...