# integer intervals

**URL:** https://discourse.openehr.org/t/integer-intervals/14307
**Category:** Implementers (archive)
**Created:** [21 September 2006 14:08 UTC](https://discourse.openehr.org/t/integer-intervals/14307 "2006-09-21T14:08:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew\_Patterson](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/a/76d3ee/32.png) [@Andrew\_Patterson](https://discourse.openehr.org/u/Andrew_Patterson)
#### Post date: [21 September 2006 14:08 UTC](https://discourse.openehr.org/t/integer-intervals/14307/1 "2006-09-21T14:08:39Z")

</div>

According to ADL spec 4.4.2.2, intervals of integer values  
can be combined using the semi colon character as follows;

critical\_range matches {|5..9; 101..110|}

Yet, the AOM definition for C\_INTEGER only allows one  
range to be specified. Should the AOM be extended  
to allow multiple integer ranges or is this syntax  
deprecated?

Andrew

---

<div class="post-metadata">

### Author: ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)
#### Post date: [21 September 2006 17:40 UTC](https://discourse.openehr.org/t/integer-intervals/14307/2 "2006-09-21T17:40:45Z")

</div>

Andrew Patterson wrote:

> According to ADL spec 4.4.2.2, intervals of integer values  
> can be combined using the semi colon character as follows;
> 
> critical\_range matches {|5..9; 101..110|}
> 
> Yet, the AOM definition for C\_INTEGER only allows one  
> range to be specified. Should the AOM be extended  
> to allow multiple integer ranges or is this syntax  
> deprecated?

ha! Good question. I think we thought this might be a nice feature in  
ADL when we first put it in (ages ago), but in fact, there has never  
been a single use for it in medicine, and it seems hard to find any use  
for it. If we stick to the informal openEHR dictum that there should be  
at least one use case for any feature in openEHR, we would remove it  
from ADL rather than further complicate the AOM.

thoughts?

- thomas
