Attachment Handler Properties
The following attachment handlers are supported:
Entire Message Attachment Handler Properties
Regex Attachment Handler Properties
DICOM Attachment Handler Properties
JavaScript Attachment Handler Properties
Custom Attachment Handler Properties
Entire Message Attachment Handler Properties
Regex Attachment Handler Properties
DICOM Attachment Handler Properties
JavaScript Attachment Handler Properties
Custom Attachment Handler Properties
Recommendations
Explore
Mirth® Connect by NextGen Healthcare User Guide
DICOM Data Type
This data type works in conjunction with the DICOM Listener / DICOM Sender and the DICOM Attachment Handler to consume and transformer DICOM messages. It has no configurable data type properties, but will automatically convert binary DICOM data to and from an XML format specified by the dcm4che parser library. Example XML snippet: <dicom> <tag00020000 len="4" tag="00020000" vr="UL">212</tag00020000> <tag00020001 len="2" tag="00020001" vr="OB">00\01</tag00020001> <tag00020002 len="26" tag="00020002" vr="UI">1.2.840.10008.5.1.4.1.1.4</tag00020002> <tag00020003 len="60" tag="00020003" vr="UI">1.3.46.670589.11.30.9.1062531302827752870602.13.1.1.1.0.0.1</tag00020003> <tag00020010 len="18" tag="00020010" vr="UI">1.2.840.10008.1.2</tag00020010> <tag00020012 len="18" tag="00020012" vr="UI">1.3.46.670589.17.1</tag00020012> <tag00020013 len="14" tag="00020013" vr="SH">ARCVTS04NOV99</tag00020013> <tag00020016 len="14" tag="00020016" vr="AE">VTS_DCM_STORE</tag00020016> <tag00080005 len="10" tag="0
Mirth® Connect by NextGen Healthcare User Guide
DICOM Sender
This destination connector works in conjunction with the DICOM Attachment Handler Properties and the DICOM Data Type to allow Mirth® Connect to send DICOM data. This connector supports the C-STORE operation as a Service Class User (SCU). Additional options are available with the SSL Manager extension. Supported property groups: Destination Settings Item Name Default Value Description A Remote Host 127.0.0.1 The remote IP to send to. B Local Host The local address that the client socket will be bound to. C Remote Port 104 The remote port to send to. D Local Port The local port that the client socket will be bound to. E Remote Application Entity The Application Entity title to sent to. F Local Application Entity The Application Entity title to identify the local client with. G Max Async operations 0 Maximum number of outstanding operations performed asynchronously. Enter 0 for unlimited. H Priority Medium Priority of the C-STORE operation. I Request Storage Commitment No Request storage
Mirth® Connect by NextGen Healthcare User Guide
DICOM Listener
This source connector works in conjunction with the DICOM Attachment Handler and the DICOM Data Type to allow Mirth® Connect to receive and consume DICOM data. This connector supports the C-STORE operation as a Service Class Provider (SCP). Additional options are available with the SSL Manager extension. Supported property groups: Listener Settings Source Settings Item Name Default Value Description A Application Entity If specified, only requests with a matching Application Entity title will be accepted. B Max Async operations 0 Maximum number of outstanding operations performed asynchronously, unlimited by default. C Pack PDV No Send only one PDV in one P-Data-TF PDU, pack command and data PDF in one P-DATA-TF PDU by default. D DIMSE-RSP interval period (s) 10 Period to check for outstanding DIMSE-RSP, 10 seconds by default. E P-DATA-TF PDUs max length sent (KB) 16 Maximal length in KB of sent P-DATA-TF PDUs, 16 KB by default. F A-RELEASE-RP timeout (s) 5 Timeout for receiving A-RELE
Mirth® Connect by NextGen Healthcare User Guide
Code Template Contexts
Similar to how a code template library can be included only on specific channels, code templates can further be isolated to specific scripts. This can be helpful for ensuring that there are no conflicts between function names, and also for better memory usage, since not all code templates need to be compiled in with all scripts across your entire server. The script contexts are organized into groups, allowing you to easily include a code template in, for example, all global scripts, in a single select. The following groups are displayed: Global Scripts: The global deploy/undeploy/preprocessor/postprocessor scripts, not specific to any particular channel. For additional information, see Edit Global Scripts View. Channel Scripts: The channel-level deploy/undeploy/preprocessor/postprocessor scripts (more info here) , as well as the JavaScript Attachment Handler and JavaScript Batch Adapter (for additional information, see Data Types) . Source Connector: The source filter/transformer scrip
Mirth® Connect by NextGen Healthcare User Guide
Attachment MIME Types
As explained in the Attachments Tab section, there are four types of attachment viewers in the Message Browser: Text, Image, DICOM, and PDF. The type s of attachment corresponding with these viewers are: text/*: Plain textual data. image/*: Image data (JPGs, PNGs, etc.). DICOM: A special (not strictly MIME) type reserved for DICOM attachment data. application/pdf: PDF data. The * is a wildcard, signifying that anything can be present there. For example, if you are reading in RTF data, the appropriate MIME type would be text/rtf, which matches the text/* type when the message browser is searching for an attachment viewer. Note that when extracting / creating attachments, you can use any type you want. It has no effect on how the data is stored or reattached (except for the DICOM special case), only how it is displayed in the message browser. Parent topic: Attachment Handlers
Mirth® Connect by NextGen Healthcare User Guide
Regex Attachment Handler Properties
This attachment handler extracts data from the incoming message using regular expressions. You can specify multiple expressions, each with their own MIME type. There are also options to replace certain values on the extracted attachment data before storing it in the database, and replace values in the attachment data right before reinserting it into the message for outbound dispatching. Regular Expressions Table String Replacement Tables Parent topic: Attachment Handler Properties