Edit Global Scripts View
This view is similar to the
Scripts
tab, in the
Edit Channel
view, except that the scripts here are global across all channels.
Navigation
Edit Global Scripts
Tasks
Recommendations
Explore
Mirth® Connect by NextGen Healthcare User Guide
Edit Channel View
The Edit Channel view is where channels are configured. General settings and other properties not specific to a connector are configured on the Summary Tab. Connector-specific settings are configured on the Source and Destinations tabs. Channel-level scripts not specific to connectors are configured on the Scripts Tab. Navigation Summary Tab The Summary tab is where general settings not specifically tied to connectors are configured. Source Tab The Source tab is where the source connector is configured. This includes the source connector properties, and the source filter / transformer scripts. Destinations Tab You can configure destination connectors on the Destinations tab. Scripts Tab You can configure channel-level scripts using the Scripts tab. Edit Channel Tasks Parent topic: Edit Views
Mirth® Connect by NextGen Healthcare User Guide
Navigation
Select the Channels link in the Mirth® Connect task pane on the top-left side of the window to enter the Channels View: Select the Edit Global Scripts task in the Channel Tasks area. Parent topic: Edit Global Scripts View
Mirth® Connect by NextGen Healthcare User Guide
Edit Views
This section is separated into the following topics: Edit Channel View Edit Filter / Transformer Views Edit Global Scripts View Edit Code Templates View Edit Alert View Edit Channel View Edit Filter / Transformer Views You can use the Edit Filter view or the Transformer view to configure filter rules and transformer steps. Edit Global Scripts View The Edit Global Scripts view provides global scripts across all channels. Edit Code Templates View This view is where code templates and libraries are configured for your Mirth® Connect server. Edit Alert View Use the Edit Alert view to configure and modfiy alerts. Parent topic: Mirth Connect Administrator
Mirth® Connect by NextGen Healthcare User Guide
Tasks
The following context-specific tasks are available: Task Icon Task Name Description Save Scripts Saves all global scripts. Validate Script Validates the currently viewed script, ensuring that there are no syntax errors. Import Scripts Imports all global scripts from an XML file. Export Scripts Exports all global scripts to an XML file. Parent topic: Edit Global Scripts View
Mirth® Connect by NextGen Healthcare User Guide
Edit Global Scripts
Select a script type from the drop-down menu and edit the script in the text area below. There is also a Reference List to the right for easy drag-and-drop of common helper methods / code templates. The following global script types can be edited: Deploy Script: This script executes once whenever any channel or set of channels deploys. You have access to the global / configuration maps here. Typically this script is used to perform a one-time operation, such as loading a properties file from disk, or instantiate a database connection. Undeploy Script: This script executes once whenever any channel or set of channels is undeployed. You have access to the global / configuration maps here. Typically this script is used to cleanup any data created from the deploy script, such as closing a database connection. Preprocessor Script: This script applies across all channels, and executes once for every message, after the attachment handler has run but before the message reaches the source filte
Mirth® Connect by NextGen Healthcare User Guide
Server Settings Tab
This tab shows general global settings that pertain to the server or default channel properties. Image of the Server Settings tab. General Settings Channel Settings Email Settings Notification Settings Tasks Restore Config Clear All Statistics Parent topic: Settings View