Has anyone ever tried to use multiple ADD_FORM_COMPS within a button? Essentially once the user would start an update they would come to a form (Form Loader) that would have a few buttons on it. When they click a button it would load a bunch of forms (shown below).
ADD_FORM_COMP("Enterprise\CCC","HPI-CCC","1","","")
ADD_FORM_COMP("Enterprise","Self Management","2","","")
ADD_FORM_COMP("Enterprise\CKHS","Pre Visit","3","","")
ADD_FORM_COMP("Enterprise\CKHS","Medication-Allergy Review CKHS","4","","")
ADD_FORM_COMP("Enterprise\CKHS","History-Risk Factors CKHS","5","","")
ADD_FORM_COMP("Enterprise\CCC","ROS-CCC","6","","")
I used to be able to do something like the above with no problem a few years ago. However now, it seems that forms that have function libraries get messed up with this type of functionality and I get MEL vomit all over the place.
Has anyone else seen anything like this. We are on EMR 9.8 SP12
Thanks
I would have to actually look at the forms and the code behind the forms to discern what is going on, but my strong suspicion is that the forms may be referencing variables in their functions that have the same name. That can cause all sorts of strange behavior including the MEL vomit that you describe
that's what I had hoped. The forms were perfectly together when the encounter is started via the Update button. It seems that forms with function libraries do not load the libraries once I get to 5 or so Add_form_comp.
Dave
Any luck with this? I have run into a similar issue. Additionally, once I leave the update and come back in, the form components change order. I can't keep all of the components in the order I need