Let me see if I follow you. You want a script, but you don't want elements to be active unless they press something first like showing patient information. I would create a start page that has all the elements but make the values visible based on a Boolean and have a button that says Show Info or something. When they do that, run a custom action to change the Boolean and then change to a copy of the start page. Now all the elements will be visible.
Make sense and is that what you are looking for?
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.comhttps://www.ttecDigital.comhttps://RobertWC.Blogspot.com------------------------------