MHV7U ;WAS/GPM - HL7 UTILITIES ; [1/7/08 10:21pm]
Source file <MHV7U.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
|
|
BLDWP(WP,SEG,MAXLEN,FORMAT,FMTLEN,HL) | ;
|
|
ESCAPE(VAL,HL) | ;Escape any special characters
; *** Does not handle long strings of special characters *** |
|
UNESC(VAL,HL) | ;Reconstitute any escaped characters
|