Loading...
Recommendations
Explore
Using the Context Menu in the JavaScript Editor
The Context menu contains items that let you Undo/Redo actions; Select/Copy/Cut/Paste/Delete code; Find/Replace code; collapse/expand sections of code; and characterizes tabs/whitespace/line endings.
Finding/Replacing Code in the JavaScript Editor
Folding in the JavaScript Editor
Finding/Replacing Code in the JavaScript Editor
Folding in the JavaScript Editor
Using the Context Menu in the JavaScript Editor
Mirth® Connect by NextGen Healthcare User Guide
Finding/Replacing Code in the JavaScript Editor
You can use the Context menu to find code, to find and replace certain found code, or to find and replace all found code. Navigate to the page that has the desired JavaScript Editor, and right-click / control+click in the Editor. On the Context menu, select Find/Replace. On the Find/Replace dialog > Find text field, enter the code string you want to replace (in this case, $co) . Note: If you are merely searching for all incidents of "$co" in the code, select the Find/Replace dialog's Find button > Close button. In the JS Editor, all incidents of the entered string are highlighted. In the Replace with field, enter your replacement string (in this case, $c) . Configure other search filters as desired, and, depending on the situation, select the Replace button (to replace only the first incident of the string) or the Replace All button (to replace all incidents of the string). Note: Mirth® Connect performs the selected action and highlights the strings in the Editor. Select the
Mirth® Connect by NextGen Healthcare User Guide
Folding in the JavaScript Editor
Folding, which refers to collapsing/expanding portions of code in the JavaScript Editor, can be accomplished manually by selecting the + / - icon in the left margin of the JS Editor or from the Editor's Context menu (which offers more ways to collapse/expand folds faster than you can do manually). Use the following steps to collapse/expand a fold from the Context menu. (The procedures to perform the other folding actions are similar.) Navigate to the page that has the desired JavaScript Editor, and select the first line of the desired fold. Note: You need to select the first line in the desired fold. which lines are distinguished by a +/- icon in the grey margin of the JS Editor (previous graphic). If you do not select one of these lines, the Editor does not collapse/expand the fold. You can see how many lines of code are in a fold by moving the pointer into the grey margin below a +/- icon, which action reveals a bracket that extends from the icon down to the last line of the fold. Ri
Mirth® Connect by NextGen Healthcare User Guide
Using the Auto-Completion Popup in the JavaScript Editor
The Auto-Completion popup simplifies channel coding, eliminating the need to go back and forth between the JavaScript Editor and the User API or even the Message Template list on the same page as the Editor by putting all coding variables (e.g., code templates, classes, functions, variables) in one popup within the Editor itself. Accompanying the Auto-Completion popup is a descriptor window that displays, depending on the selected item, its name and various traits. To display the Auto-Completion popup, select on the beginning/end of a line in the JavaScript Editor, then hold down the ctrl / control button, and select the space bar. On the list, double-click the desired item to add it to the code in the Editor. Note: When adding classes in the JavaScript Editor, double-click the desired class on the Auto-Completion popup, and type a period after the class to reveal a list of its methods (that perform specific actions), then double-click the desired method to add it to the Editor. Parent
Mirth® Connect by NextGen Healthcare User Guide
Remapping Editor Shortcut Keys
All editor shortcut key mappings can be changed from the Administrator Settings Tab in the Settings View. You only have to do this once, even if you log into multiple, separate Mirth® Connect instances. Parent topic: Using the JavaScript Editor
Mirth® Connect by NextGen Healthcare User Guide
Using the JavaScript Editor
Mirth® Connect has a rich JavaScript editor that includes automatic code completion, code folding, multi-line tabs/comment toggles, auto-indentation, bracket matching, macros, and much more. Using the Context Menu in the JavaScript Editor Remapping Editor Shortcut Keys Using the Auto-Completion Popup in the JavaScript Editor Using the Context Menu in the JavaScript Editor Using the Auto-Completion Popup in the JavaScript Editor Remapping Editor Shortcut Keys Parent topic: Mirth Connect and JavaScript
NextGen® Enterprise EHR Template Editor Help, 8.3.1
Edit Menu
Command Function Delete Deletes the selected fields. Select All Selects all fields. Copy Copies the selected field. Paste Displays the window for inserting the selected field type. Undo Enables you to undo the last preceding action, up to 11 times. You can undo/redo the following types of actions: moving, resizing, deleting, inserting, or pasting fields; resizing data sheet columns or popup templates; setting up field properties or alignment; setting up template properties; or entering expressions. Redo Enables you to reverse the preceding undo action, up to 11 times. Parent topic: Template Editor Main Window Components See also Copy Fields within the Same Template