Hello I built an in-house lab form that allows you to order the tests through a button. One of our providers asked if it was possible that when the Medical Assistant clicked on the button it changed color. Sort of how the Immunization Commit button works. I have no clue how this could be done so any help is greatly appreciated.
Thanks!
-Alex
you need 2 visibilities...one with a normal action button, and one with a 'dimmed' action button that does nothing. both visibility regions should check a variable/obs term that the first button populates.
You stack visibility regions with different colored buttons in them. The regular button, when pushed, sets a document variable or an obs term. The visibility rules show the press me button color when that value is empty and show the I'm pressed button color when the value is present.
I think I am missing something because I can't get this to work.
My first Visibility is set to DOCUMENT.HEMOCC_ORD == ""
My second Visibility is set to DOCUMENT.HEMOCC_ORD <> ""
My second visibility never shows up.
Is the field where you set DOCUMENT.HEMOCC_ORD in the visibility region with the button(s)? If so, move it outside the visibility region and try it.