MAG7UM ;WOIFO/MLH - Imaging - HL7 - utilities - make a message from a parse tree; 05/18/2007 11:23
Source file <MAG7UM.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
MAKE(XTREE,XMSG) | ; make a parse tree into an array of message lines
|
|
PROCFLD(XTREE,XNSEG,XNFLD,XSEG) | ; process a field
|
|
ESC(XDTA) | ;apply escape sequence to data
; Insert an intermediate token, then expand the intermediate token to ; the real escape sequence. (We have to do 2 steps because the escape ; sequence uses the escape character.) |
Name | Line Occurrences |
---|---|
$$ESC | PROCFLD+26 |
PROCFLD | MAKE+46, MAKE+52 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CMP | PROCFLD+12~, PROCFLD+22!, PROCFLD+26*, PROCFLD+28 |
ENC | MAKE+17~, MAKE+33*, MAKE+34, MAKE+44 |
ERR | MAKE+16~ |
FLD | MAKE+23~, PROCFLD+15~, PROCFLD+30*, PROCFLD+32 |
I | MAKE+15~, MAKE+39* |
IMSG | MAKE+20~ |
NCMP | PROCFLD+11~, PROCFLD+20*, PROCFLD+21*, PROCFLD+24, PROCFLD+25, PROCFLD+28 |
NFLD | MAKE+22~, MAKE+45*, MAKE+46*, MAKE+51*, MAKE+52*, PROCFLD+32 |
NMSEG | MAKE+19~, MAKE+28*, MAKE+47, MAKE+50*, MAKE+53 |
NREP | PROCFLD+9~, PROCFLD+17*, PROCFLD+18*, PROCFLD+21, PROCFLD+24, PROCFLD+25, PROCFLD+30 |
NSCM | PROCFLD+13~, PROCFLD+23*, PROCFLD+24*, PROCFLD+25, PROCFLD+26 |
NSEG | MAKE+18~, MAKE+28*, MAKE+29, MAKE+30, MAKE+32, MAKE+33, MAKE+35, MAKE+36, MAKE+37, MAKE+40 , MAKE+42, MAKE+43, MAKE+46, MAKE+48*, MAKE+52, MAKE+53 |
REP | PROCFLD+10~, PROCFLD+19!, PROCFLD+28*, PROCFLD+30 |
SCM | PROCFLD+14~, PROCFLD+25*, PROCFLD+26 |
SEG | MAKE+21~, MAKE+44*, MAKE+46, MAKE+47, MAKE+49!, MAKE+52, MAKE+53 |
UCS | MAKE+14~, MAKE+34*, PROCFLD+28, ESC+5 |
UEC | MAKE+14~, MAKE+34*, ESC+7, ESC+9, ESC+10, ESC+11, ESC+12, ESC+13 |
UFS | MAKE+14~, MAKE+32*, MAKE+44, MAKE+53, PROCFLD+32, ESC+4 |
URS | MAKE+14~, MAKE+34*, PROCFLD+30, ESC+6 |
USS | MAKE+14~, MAKE+34*, PROCFLD+26, ESC+8 |
X | MAKE+15~, MAKE+38*, MAKE+39*, MAKE+40 |
XDTA | ESC~, ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8*, ESC+9*, ESC+10*, ESC+11*, ESC+12* , ESC+13*, ESC+14 |
XMSG | MAKE~, MAKE+25, MAKE+47, MAKE+53 |
XNFLD | PROCFLD~, PROCFLD+18, PROCFLD+21, PROCFLD+24, PROCFLD+25 |
XNSEG | PROCFLD~, PROCFLD+18, PROCFLD+21, PROCFLD+24, PROCFLD+25 |
XSEG | PROCFLD~, PROCFLD+32* |
XTREE | MAKE~, MAKE+27, MAKE+28, MAKE+29, MAKE+30, MAKE+32, MAKE+33, MAKE+35, MAKE+36, MAKE+37 , MAKE+40, MAKE+42, MAKE+43, MAKE+46, MAKE+48, MAKE+52, MAKE+53, PROCFLD~, PROCFLD+18, PROCFLD+21 , PROCFLD+24, PROCFLD+25 |