Notifications
Clear all
Topic starter
Every option I try in VFE will only have the form open before the form that has the button to open the form.
The form that has the button to add the form is the first page of an encounter. It's a Nurse Intake form. The button adds the immunization form. I have set it to every option to try to get it to open after the nurse intake to no avail. It ALWAYS opens before regardless of which option I choose.
Someone help!
Thank you,
Rebecca B.
WMPNY
Posted : January 17, 2014 10:12 pm
Can you post your code?
Posted : January 19, 2014 11:43 pm
I think this is a known bug. We ended up having to write a function to get forms to insert AFTER rather than BEFORE.
{ fn OUT_INSERT_AFTER_HPI(strInsertFormPath,strInsertFormName) {strFORMLIST = getfield(GET_FORM_LIST(),"|","") numWHEREHPI = match(strFORMLIST,"Enterprise" + numtoascii(092) + "^OUT-HPI Review") numWHEREHPI=numWHEREHPI+1 ADD_FORM_COMP(strInsertFormPath,strInsertFormName, str(numWHEREHPI))} }
{OUT_INSERT_AFTER_HPI("Enterprise\CCC", "Adult ACV-CCC")}
Posted : January 20, 2014 8:58 am
Topic starter
Thank you for the function. 🙂
Rebecca B.
Posted : January 20, 2014 10:19 pm