Can someone please give me the function code to pull in a text component from an action button? I cannot find it anywhere!
Thanks!
description
Inserts a text component into a chart note or displays the Find Text Componentswindow. type Data symbol function syntax INSERT_TEXT_COMP([folderpath],[name]) arguments
Note. If you leave either of these arguments blank, you must include the quotes: {INSERT_TEXT_COMP("","")} when to evaluate When Inserted in Note returns Text component identifier comment You should always set evaluation to When Inserted in Note. This function is designed specifically for quick text use in a chart note. example {INSERT_TEXT_COMP("Enterprise\MedicaLogic\Other", "Clinical Lists Update")} Inserts the Clinical Lists Update text component into the note. {INSERT_TEXT_COMP("Enterprise\MedicaLogic\Exam","")} Displays the Find Text Components dialog box focused on the ENTERPRISE\MEDICALOGIC\EXAM folder. {INSERT_TEXT_COMP("", "")} Displays the Find Text Component dialog box focused on the last folder accessed. where used Chart: quick text |
But will this work on an action button on a VFE form?
no…just quick text...
description Adds the specified text component to the current update at the position specified. type Data symbol function syntax ADD_TEXT_COMP(folderpath, name, insert_position) arguments
when to evaluate When inserted into a note or when clicking an actionbutton. returns Adds the specified text component to the current update at the position specified. comments This data symbol cannot be used with quick text. example {ADD_TEXT_COMP('EnterpriseMedicalogicExam','Vital Signs','AFTER_CURRENT')} Inserts the predefined Vital Signs text component into the current update. where used Encounter Form Editor: MEL expressions |
That is what I had already put on an action button run process and it will not execute!!! grrrrrr
see ADD_TEXT_COMP above...
DUH.... Thanks!
I'm also using a button and ADD_TEXT_COMP to insert text from a text component. But what I would like is to insert the text into a multi-line text field so the provider can edit from within the form rather than going out to the chart note. Any ideas?