We're updating the issue view to help you get more done.Learn more

Add grammar support for plus-or-minus ranges.

Currently the ODIN Antlr grammar does not support the documented +/- form of ranges, as described here - http://www.openehr.org/releases/BASE/latest/docs/odin/odin.html#_intervals_of_ordered_primitive_types

This should be added.
[originally raised by Kurt Allen].

Status

Assignee

Thomas Beale

Reporter

Thomas Beale

Raised By

Claude Nanjo

Impact Analysis

No impact, since the change cleanly adds new patterns for intervals without changing the semantics of any existing ODIN text.

Analyst

Thomas Beale

Change Description

Grammar now includes +/- rules. Changes visible here: * diffs: https://github.com/openEHR/adl-antlr/commit/7dca57c3b9eb85e113013cafe3180ee4c9c8e0ed#diff-e9b4fb6788a46dd76e8a1ce522e56c52 * new version of odin_values.g4 file: https://github.com/openEHR/adl-antlr/blob/master/src/main/antlr/odin_values.g4 (search for SYM_PLUS_OR_MINUS) * in published spec: http://www.openehr.org/releases/BASE/latest/docs/odin/odin.html#_syntax_specification (search for SYM_PLUS_OR_MINUS).

Acceptance

Shinji KOBAYASHI
Sebastian Iancu
Rong Chen
Pablo Pazos
Ian McNicoll
Diego Bosca
Boštjan Lah

Time estimate

8h

Components

Fix versions

Due date

2017/05/12

Priority

Minor