Links may not function; however, this content may be relevant to outdated versions of the product.
Care Management - Modifying the Timeline Display
The Care Management Framework incorporates the use of a timeline display to depict a series of events and marked time period on a flexible scale time line. The time scale can be as detailed in increments as small as one hour and as long as ten years.
When a case is opened, the Timeline tab presents a graphical display of past due work objects as well as work objects scheduled in the future. Hovering over an icon on the timeline displays a summary pop-up of the event.
Configuring Timeline Display Options
The framework is configured to center the case timeline with today’s date when a case is displayed.
Timeline settings are configured in the javascript of the CaseTimeLine HTML rule.
/* this_timeline.set_timeline_title("Mary's Timeline"); */
this_timeline.center_todays_date();
/* this_timeline.startwith_todays_date(); */
/* this_timeline.startwith_todays_date("month",1); */
Below are the timeline settings used by the framework that you can update to meet your display needs:
- this_timeline.set_timeline_title(‘custom title’) - Sets the title of the timeline
- this_timeline.center_todays_date() - Centers the initial display with today's date. If today’s date is beyond the limits of the event, this setting is ignored. This is the CMF default.
- this_timeline.startwith_todays_date() - Starts the initial display with today’s date. If today’s date is beyond the limits of the event, this setting is ignored.
- this_timeline.startwith_todays_date(scale,duration) - Starts the initial display with today’s date and displays the interval requested. If today’s date is beyond the limits of the event, this setting is ignored. The scale value can be either “year|month|day”. Month is the preferred option.
Example
When the setting, this_timeline.startwith_todays_date is configured with the parameter (“month”,6), the framework starts the initial time display with today and displays the next 6 months data.
Return to About the Care Management Framework