Notifications
Clear all
Topic starter
I want to pull in an obsterm from a previous form but I only want it to pull if last recorded value was within a certain time frame. Example... I want to use obsprev to pull patient weight if weight was recorded within the past 2 days, otherwise I want nothing to pull. Is there an easy way to do this?
Thanks
Debbie
Posted : February 17, 2014 1:22 am
{if durationdays(LAST_SIGNED_OBS_DATE("weight"),str(._TODAYSDATE))<=2 then
obsnow("weight",obsprev("weight"))
endif}
Posted : February 17, 2014 1:41 am