Managing different time granularities of clinical information by an interval-based temporal data model