NorviTech / Consulting / Dates and time zones
Choosing a DA2 report’s date window, and its time zone
Which date column a Discern Analytics 2.0 report is windowed on decides what it can ever show. Which clock the timestamps use decides which day they land on.
The short version
Most activity in Millennium carries several dates: when something was created, when it was changed, when it is scheduled to happen. A DA2 report windowed on the wrong one does not return wrong numbers. It returns right numbers to a different question, and nothing on the page says so.
The window decides what can appear
Take a scheduling report meant to measure what schedulers did yesterday. Windowed on the date each appointment was created, it shows yesterday’s new bookings and nothing else: an appointment created last week and rebooked yesterday falls outside the window, so rebooking work, often a large share of the job, can never appear. Windowed on the date of the scheduling action, the same report shows both.
Neither is wrong. They answer different questions, and the choice belongs in the report’s title and in the dashboard built from it, not in someone’s memory.
Status columns are snapshots
A column such as appointment state holds its value at the moment the extract ran. For appointments that have not happened yet, that value is mostly “scheduled”, so a no-show or cancellation rate calculated on recent bookings looks excellent and is meaningless. Measure outcomes with a report windowed on when the appointment was due, after it has had time to happen, and never store a snapshot rate as if it were final.
Check the clock the timestamps use
A hosted Millennium domain does not always store timestamps in the facility’s own time zone. In one domain I worked with, timestamps came out of DA2 in US Central time for a hospital several hours away. Anything near midnight landed on the wrong day, and a census counted at the wrong hour was off by the patients admitted or discharged in between.
The check takes minutes: find an event whose local time you know for certain, such as an admission you can confirm on the unit, and compare it with the value in the extract. Then convert once, in one place, and label outputs in the zone their readers live in.
Three questions before trusting a date
Which date is the window?
Creation, action or scheduled time. Write it in the report title.
Is this value final?
If it can still change after the extract runs, it is a snapshot. Measure it later, or say so.
Whose clock is this?
Prove the time zone against one known event before building anything on the hours.
Next
- Discern Analytics 2.0 consulting — report builds, scheduled extracts, dashboards and training
- DA2, Discern Explorer and the Reporting Portal — which one a request needs
- Automating scheduled DA2 extracts into a dashboard
- Why a DA2 report’s totals come out inflated
- Getting DA2 data into Google, Azure or your warehouse
- DA2 reporting on the Continuum and CommunityWorks domains
Oracle, Oracle Health, Cerner, Millennium and Discern are trademarks of Oracle and/or its affiliates. NorviTech is independent and is not affiliated with, sponsored by or endorsed by Oracle.