# list of time/dates and the AOM **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2006-09-21 07:59 UTC **Views:** 1 **Replies:** 1 **URL:** https://discourse.openehr.org/t/list-of-time-dates-and-the-aom/14291 --- ## Post #1 by @Andrew_Patterson > From the ADL spec 4\.4\.6 Constraints on Dates, Times and Durations Dates, times, date/times and durations may all be constrained in three ways: using a list of values, using intervals, and using patterns However, the C\_DATE, C\_TIME etc classes for the AOM only have a 'range' slot and not a 'list' slot\. In constrast, the C\_INTEGER, C\_REAL have both a 'range' and a 'list'\. Is there a different way of representing lists of dates in AOM? Andrew --- ## Post #2 by @thomas.beale Andrew Patterson wrote: > >From the ADL spec > > 4\.4\.6 Constraints on Dates, Times and Durations > Dates, times, date/times and durations may all be constrained > in three ways: using a list of values, using intervals, > and using patterns > > However, the C\_DATE, C\_TIME etc classes for the AOM > only have a 'range' slot and not a 'list' slot\. In constrast, the > C\_INTEGER, C\_REAL have both a 'range' and a 'list'\. > > Is there a different way of representing lists of > dates in AOM? >   We have never implemented lists of dates, and it is another thing that no\-one has asked for\. But on this one, it seems to me that it would be more consistent to actually add it\. What do others think? One thing to keep in mind is that literal dates are very unlikely to turn up in clinical archetypes \- they never have so far\. All date/time constraining is done via the patterns, which in the AOM corresponds to those boolean flags you see\. \- thomas --- **Canonical:** https://discourse.openehr.org/t/list-of-time-dates-and-the-aom/14291 **Original content:** https://discourse.openehr.org/t/list-of-time-dates-and-the-aom/14291