Notifications
Clear all
Topic starter
Hello! We are using an obsterm to track visit dates and would like to automatically insert the current visit date to the obsterm when a note is started. Any help would be appreciated.
Thanks!
Posted : October 1, 2013 1:53 am
This code, you can place it in the white space of any form or
{!OBSNOW("obsterm",sub(document.clinicaldate,1,10))}
something like this in a text component (with extra paranthesis to keep it from printing the date in the note)
{OBSNOW("obsterm",sub(document.clinicaldate,1,10)) ""}
Posted : October 1, 2013 2:50 am
Topic starter
Thank you very much! You definitely pointed me in the right direction. The actual code is:
{!OBSNOW("OBSTERM",sub(str(document.clinicaldate),1,10))}
I appreciate the help.
Gabe
Posted : October 1, 2013 3:44 am