Outbound messages with sizes of up to 500MB can be generated via a batch import process such as DIP or a Workflow Send HL7 Message action. Large documents can be sent within these messages, which is useful for when a text transcription is insufficient and a large image file or PDF needs to be sent.
Documents are embedded in a message by assigning the predefined value $$FILEDATA to a field in a message template. Optionally, the $$FILEEXT value can be used as well to indicate the extension of the embedded file, although it is not required.
Each predefined value can only be assigned to a single field in the message, and if the $$FILEEXT value is used, it must be in the same segment as the field which $$FILEDATA is assigned to. If either value is assigned to more than one field, or if they are not assigned to fields in the same segment, the document will not be added to the outbound message.