We use ancillary staff to do limited data entry for the providers. To work around the problem of two people trying to be in one update at the same time, we created a data entry update for the ancillary staff. Once they sign their update, they open another update for the provider and all of the info is supposed to flow into the provider note. (I know it's convoluted but it works for us.) All of this works fine except for one area: Review of Systems. This is set up as a separate tab within the form. If the providers do not click open the tab, the text translation is never triggered. What do I need to change to get this into the note without an extra click?
Here is the visibility region control:
(str(LAST_SIGNED_OBS_DATE("ROS:General"))== sub(str(DOCUMENT.CLINICALDATE),1,10)) AND DOCUMENT.RECORDNEWROS==""
And the text tranlation:
{if (str(LAST_SIGNED_OBS_DATE("ROS:General")) == sub(str(DOCUMENT.CLINICALDATE),1,10)) and DOCUMENT.RECORDNEWROS=="" then CFMT(OBSPREV("ROS:General"),"","General: ","B","") else "" endif}
Have you considered placing a Text Field on your first tab, but hide it in a Visibility Region? Within the Text Translation for this Text Field place all of your Text Translation from Tab # 2, in this Text Translation, but you'll want to set it up as Watcher Expressions, that way if they do use Tab # 2 and make any changes it is reflected in the Text Translation from Tab # 1. Obviously, if you have all of the Text Translation on Tab # 1, then you'll not want any Text Translation on Tab # 2.
Thank you for your suggestion. This does make it work. Can you tell me why? Why does it matter which tab of the form the text translation is on? On the test form I just loaded, I left the ROS on the third tab and copied one section of it to the first tab just to see if it would work. Now the translation is showing on both tabs like I would expect it to. When I come across stuff like this I'm never certain if it is a glitch within VFE/MEL or if I just don't understand how it's supposed to work.
The way I understand it, the Text Translation on subsequent tabs does not go to the chart until the Tab, itself, has been loaded for the first time. Opening a form only opens the first tab and does not open the subsequent tabs until they are clicked.