http://virtualhospice.ca/AllJs/HistoryHelper.js