Notifications
Clear all
Topic starter
Does anyone have MEL that will calculate the # of days between two dates? For instance if the RXFILLDATE previous obs is 05/03/2012 and obsnow is entered as 05/04/2012 then it would calculate 1.
None of the code I am trying is working,
Stacey LaGrange
Software Developer/Analyst
St. Mary's Health System
[email protected]
(207) 777-8410
Posted : May 4, 2012 12:46 am
check out function DURATIONDAYS.
Posted : May 4, 2012 1:00 am
Try:
{durationdays(obsprev("RXFILLDATE"), obsnow("rxfilldate"))}
Posted : May 4, 2012 1:09 am
Topic starter
That worked great, thank you so much for responding.
Posted : May 6, 2012 9:26 pm