I am trying to build a form to track and also 'assist' with outgoing calls to patients. Essentially, by clicking a couple boxes on the left half of the screen (such as Missed Appt Call, Multiple No-shows, etc...), use visibility regions to show things on the right side of the screen.
Thus, the right side of the screen should CHANGE as various pieces are indicated on the left side of the screen.
For example, I have a field set as drop-down list for the OBS 'PH NOTE PURP' with choices of "Missed Appt, Pre Appt".
And then on the right side I have a text field with "You recently missed a scheduled appt., blah-blah..." with a visibility region obsnow("PH NOTE PURP")=="Missed Appt"
My thinking is that once on the left side I click for a Missed Appt call, that the right side should immediately un-hide the text field. But, it is not working that way - not unhiding. So, maybe I have the coding/logic incorrect, maybe things are only analyzed once (at form open) and thus will not refresh automatically, or ??
Any thoughts or suggestions?
Your understanding of visibility sounds correct and looking at what you have there I'd anticipate it should work. It is case sensitive so you might double check that.
I would change the drop-down to a document variable and check that in your visibilities and set your obs term in the code panel. when you run a trace and look at it, sometimes when an obsterm is set, it runs other code (i.e. visibilities, etc.) before the obsterm is actually set.