SDHL7UL ;MS/TG - TMP HL7 Routine;JULY 23, 2018
Source file <SDHL7UL.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| LOADMSG(MSGROOT) | ; Load HL7 message into temporary global for processing
 | 
|
| LOADXMT(XMT) | ;Set HL dependent XMT values
 | 
|
| DELIM(PROTOCOL) | ;Return string of message delimiters based on Protocol
 | 
|
| PARSEMSG(MSGROOT,HL) | ; Message Parser
 ; Does not handle segments that span nodes ; Does not handle extremely long segments (uses a local) ; Does not handle long fields (segment parser doesn't)  | 
|
| PARSESEG(SEG,DATA,HL) | ;Generic segment parser
 | 
|
| BLDSEG(DATA,HL) | ;generic segment builder
 | 
|
| RESET | ; Initialize or clear session pointer into log
 | 
|
| LOGPRG(RESULT,DTM) | ;Purge SDHL7 application log
 | 
|
| AUTOPRG | ;
 | 
|
| LOG(NAME,DATA,TYPE,LEVEL) | ;Log to SDHL7 application log
 | 
|
| ESCAPE(VAL,HL) | ;Escape any special characters
 ; *** Does not handle long strings of special characters ***  |