I would like to use force automated page close handling on a field so our providers actually fill it out. However, our providers do not generally start chart updates, the MAs would start it for them. So when the MA starts the update, they cannot then place the document on hold as the field is blank.
Any ideas on a better solution to this that would still force the provider to complete the field?
You could compare the users jobtitle, so that the MA's don't get blocked, but the provider wouldn't be able to put it on hold without filling out the field.
I wish there was a page_close_event_handler that only triggers upon signing the document.
It would something like this:
--if USER_JOBTITLE()=="Physician" and document.required=="" then false else true endif
-James
Could also use User_Roles(), e.g.
if match(User_Roles(),"Physician")<>0 then
.....page close handler routine----
endif
Or USER_DEANUMBER, USER_LICNUMBER.
That works perfectly. Thanks James. I need to better acquaint myself with all of the data symbols.
I ended up using USER_JOBTITLE() but where does USER_ROLES() grab from?