Would anyone know what function or MEL syntax to use to create a VFE action button that will load and go-to a form? Similar to the CCC load-and-go button functionality?
description Adds the specified form component to the current update. type Data symbol function. syntax ADD_FORM_COMP(folderpath, name, insert_position, OPEN, label) arguments
when to evaluate When Inserted in Note or when clicking on an action button returns Adds the specified form to the current update, and opens it if the OPEN argument is present. comment This data symbol cannot be used with quick text. example 1 {ADD_FORM_COMP('Enterprise\Medicalogic\Exam','Vital Signs',’AFTER CURRENT’,’OPEN’)} Inserts and opens the Vital Signs form into the current update after the currently selected form. If used within an encounter form, the currently selected form will be closed. If used from a text component, then no form will be open when evaluated. example 2 {ADD_FORM_COMP('Enterprise\Medicalogic\Past Medical) History,'Histories','3',' ','Past, Family, Social')} Inserts the predefined Histories form into the update as the third form in the list and displays the name of the form as Histories - Past, Family, Social in the forms list column. error handling If the insert position number is greater than the number of forms in the update, the form is inserted at the end. No error message appears when a form cannot be found. where used Encounter forms, text components |
Thank you