Macro commands are special commands that can be placed at the end of the outbound device mapping table that control specific features.
#USEORC | Automatically create ORC segment |
#USESEQ | Add sequence numbers to OBX,2 |
#USETILDES | Add tilde ''~'' to the end of each OBX,5 piece |
#NOOBX | Do not create OBX lines |
#USECR | Use CR at end of each line, not CR+LF |
#CCF | Special Cleveland Clinic logic |
#SINGLEOBX | Output all report lines on one OBX |
#NEWLINE= | String to append to end of each paragraph if using single OBX. Default is tilde (~), but some systems require "\.br\" when using formatted text (FT) |
#ENCODEDELIMITERS | Replace delimiters with Rockford Clinic escape codes |
#USET08 | Use T08 instead of T10 for replacement MDM documents |
#OBXCODE='code' | Use to override what to use for the OBX segment code. default is OBX |
#TEXTFIELD='field#' | Field in OBX to put the report text lines in 'default is 5' |
#RAD1 | Create separate messages 'files' for each order |
#RAD2 | Create one message with multiple OBR's for all orders |
#RAD3 | Create one OBR message and put multiple order numbers in ORB,2. Meditech format. |
#NOSPACE | Do not insert one space in OBX,5 for blank body lines |
#NOREPLACE | On MDM results, use T02 for the event code for replacement documents, not T10. |
#OBSERVATION_ID='fname' | An .INI file that exists in the site's folder that contains observation ID information for OBX,3 and OBX,4. |
#USETEVENT=xxx | This will override any the Event code in MDM documents. Default is to use the normal Event Code |
#OBXZEF | Creates the body of the report normally in OBX in a ZEF segment but also creates an OBX segment with additional information. (Note: No additional macros are needed with the use of #OBXZEF). See Macro Examples. |
For example
#USETEVENT=T05 | This will use the Event – T05 instead of the T02 or T09 codes |