TIULMED1 ; SLC/JM - Active/Recent Med Objects Routine ;31-Dec-2012 14:51;DU
Source file <TIULMED1.m>
Package | Total | Caller Graph |
---|---|---|
Text Integration Utility | 2 | TIULMED TIULMED3 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ML(SUB) | ;Returns true if multiple exists and contains data
|
|
PL(PNUM) | ;Retuns length of peice
|
|
STRIP(X) | ; Removes Leading and Trialing Spaces
|
|
ADDTITLE | ;Adds a title line indicating which meds are in the list
|
|
XSUMS(STR,NOADD) | ; XSUMs a string
|
|
FDT(PNUM) | ;Returns formatted date from piece number
|
|
ADDM(SUB,FORCE) | ; Adds or XSUMs Multiple
|
|
WRAP | ; Wraps DATA to the output
|
|
ADD(TXT) | ; Saves TXT in TARGET
|
|
WARNING | ;Inserts warning about CLASSORT if needed
|
|
ADDP(PNUM) | ; Adds or XSUMs a piece of NODE
|
|
FLUSH | ; Flush the DATA buffer
|
|
ADDMED(XMODE) | ; if XMODE creates XSTR, if not add med to TARGET
|
|
ADDDATE(LINENUM,TXT,PNUM) | ;Add date to TARGET
|
|
ADDL(TXT) | ; Add with ADDLNUM on FIRST
|
|
ADDLNUM(TXT) | ; Add text with Line Number added to front of string
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(52.41 - [#52.41] | ADDMED+64 |
^TMP("PS" | ADDM+5, ADDM+6, ADDM+9, ADDM+10, ML+3, ML+4 |
Name | Line Occurrences |
---|---|
$$FDT | ADDDATE+3 |
$$ML | ADDMED+27, ADDMED+34 |
$$PL | ADDMED+11, ADDMED+12, ADDMED+19, ADDMED+22, ADDDATE+1 |
$$STRIP | ADDMED+23, ADDMED+25, ADDMED+28, ADDMED+35, WRAP+16, WRAP+20, ADDP+8, ADDM+10 |
ADD | ADDLNUM+2, ADDLNUM+3, ADDL+4, ADDMED+60, ADDDATE+2, WRAP+24, ADDTITLE+19, ADDTITLE+20, ADDTITLE+23, ADDTITLE+24 , WARNING+3, WARNING+4, WARNING+7, WARNING+8 |
ADDDATE | ADDMED+54, ADDMED+69, ADDMED+70, ADDMED+72 |
ADDL | WRAP+19, FLUSH+3 |
ADDLNUM | ADDL+2 |
ADDM | ADDMED+13, ADDMED+14, ADDMED+16, ADDMED+29, ADDMED+30, ADDMED+33, ADDMED+36, ADDMED+40 |
ADDP | ADDMED+6, ADDMED+11, ADDMED+12, ADDMED+21, ADDMED+24, ADDMED+37, ADDMED+51 |
FLUSH | ADDMED+9, ADDMED+15, ADDMED+32, ADDMED+38, ADDMED+41, ADDMED+49, ADDM+8 |
WRAP | ADDMED+26, ADDP+9, ADDM+11, FLUSH+2 |
XSUMS | ADDP+2, ADDP+3, ADDM+4, ADDM+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> ACTVONLY | ADDTITLE+2, ADDTITLE+4, ADDTITLE+5 |
ALL | ADDTITLE+1~, ADDTITLE+6*, ADDTITLE+7, ADDTITLE+8*, ADDTITLE+9*, ADDTITLE+11, ADDTITLE+12, ADDTITLE+13 |
>> ALLMEDS | ADDTITLE+6 |
>> CLASSORT | WARNING+1 |
>> COUNT | ADDLNUM+2 |
DATA | ADDMED+1~, ADDMED+5*, ADDMED+9*, ADDMED+10*, ADDMED+20*, ADDMED+23*, ADDMED+25*, ADDMED+28*, ADDMED+35*, WRAP+11 , WRAP+14, WRAP+16, WRAP+20*, WRAP+23, WRAP+25, WRAP+26*, ADDP+8*, ADDM+10*, FLUSH+1, FLUSH+3* |
DATA1 | WRAP+2~, WRAP+16*, WRAP+18, WRAP+19 |
>> DETAILED | ADDMED+9, ADDMED+15, ADDMED+18, ADDMED+28, ADDMED+32, ADDMED+38, ADDMED+53, WRAP+10, ADDM+8 |
DONE | WRAP+2~, WRAP+3*, WRAP+4, WRAP+12*, WRAP+22* |
FIRST | ADDL+1, ADDL+3*, ADDMED+1~, ADDMED+2*, WRAP+7 |
FORCE | ADDM~, ADDM+8 |
>> HEADER | ADD+3, ADDLNUM+2, WRAP+9 |
I | ADDMED+43~, ADDMED+44*, ADDMED+56~, ADDMED+57*, ADDMED+58*, ADDMED+59*, ADDMED+60, ADDMED+65, ADDMED+67 |
IDX | XSUMS+1~, XSUMS+4*, WRAP+2~, WRAP+13*, WRAP+14*, WRAP+15*, WRAP+16, WRAP+20, ADDM+1~, ADDM+2* , ADDM+5*, ADDM+6, ADDM+9*, ADDM+10, ML+1~, ML+2*, ML+3*, ML+4 |
>> INDEX | ADDM+5, ADDM+6, ADDM+9, ADDM+10, ML+3, ML+4 |
>> ISINP | ADDTITLE+8 |
LEN | XSUMS+1~, XSUMS+2*, XSUMS+4, WRAP+2~, WRAP+11*, WRAP+12, WRAP+13 |
LINENUM | ADDDATE~, ADDDATE+2, ADDDATE+3 |
>> LLEN | WRAP+18, WRAP+25 |
MAX | WRAP+2~, WRAP+5*, WRAP+7*, WRAP+8*, WRAP+9*, WRAP+10*, WRAP+12, WRAP+13, WRAP+14, WRAP+15 |
>> MEDTYPE | ADDMED+54, ADDMED+55 |
ML | ML+1~, ML+2*, ML+3, ML+4*, ML+5 |
MSG | ADDTITLE+1~, ADDTITLE+2*, ADDTITLE+3*, ADDTITLE+4*, ADDTITLE+5*, ADDTITLE+10*, ADDTITLE+11*, ADDTITLE+12*, ADDTITLE+13*, ADDTITLE+14* , ADDTITLE+18, ADDTITLE+19, ADDTITLE+22*, ADDTITLE+23, WARNING+2~, WARNING+5*, WARNING+6*, WARNING+7 |
>> NEXTLINE | ADD+1*, ADD+4, ADDMED+5, ADDMED+44, ADDMED+57, ADDMED+60, ADDDATE+2, WRAP+24 |
NOADD | XSUMS~, XSUMS+3 |
>> NODE | ADDMED+62, ADDMED+64, ADDMED+67, FDT+2, ADDP+3, ADDP+6, PL+1 |
>> OUTPTYPE | ADDMED+54, ADDMED+55 |
>> PIEN | ADDMED+64* |
PNUM | FDT~, FDT+2, ADDDATE~, ADDDATE+1, ADDDATE+3, ADDP~, ADDP+2, ADDP+3, ADDP+6, ADDP+7 , PL~, PL+1 |
>> REFILL | ADDMED+64*, ADDMED+65 |
>> SPACE60 | ADDMED+65, ADDMED+67, ADDDATE+3, WRAP+18, WRAP+25 |
STR | XSUMS~, XSUMS+2, XSUMS+3, XSUMS+4 |
SUB | ADDM~, ADDM+4, ADDM+5, ADDM+6, ADDM+9, ADDM+10, ML~, ML+3, ML+4 |
SUP | ADDTITLE+1~ |
SUPFX | ADDTITLE+1~, ADDTITLE+15*, ADDTITLE+16*, ADDTITLE+17*, ADDTITLE+20, ADDTITLE+22 |
>> SUPPLIES | ADDTITLE+15 |
>> TAB | ADD+2, ADD+3, ADDLNUM+1*, ADDLNUM+4* |
>> TARGET | ADD+4, ADDMED+44, ADDMED+58, ADDMED+65, ADDMED+67, ADDDATE+3, WRAP+18, WRAP+25 |
TOPLINE | ADDMED+1~, ADDMED+5*, ADDMED+44, ADDMED+54, ADDMED+57, ADDMED+58, ADDMED+59, ADDMED+69, ADDMED+70, ADDMED+72 , WRAP+18, WRAP+24, WRAP+25 |
TSTAT | ADDMED+1~, ADDMED+62*, ADDMED+63, ADDMED+66 |
TXT | ADD~, ADD+2*, ADD+3*, ADD+4, ADDLNUM~, ADDLNUM+2, ADDLNUM+3, ADDL~, ADDL+2, ADDL+4 , ADDDATE~, ADDDATE+3 |
>> TYPE | ADDMED+7, ADDMED+17, ADDMED+31 |
U | ADDMED+44, ADDMED+62, ADDMED+64, ADDMED+67, FDT+2, ADDP+3, ADDP+6, PL+1 |
>> UNKNOWNS | WARNING+6, WARNING+8 |
VALUE | ADDP+5~, ADDP+6*, ADDP+7*, ADDP+8 |
WSTATUS | ADDMED+1~, ADDMED+5*, ADDMED+50*, ADDMED+52*, WRAP+5, WRAP+12, WRAP+17, WRAP+21, WRAP+22* |
X | FDT+1~, FDT+3*, FDT+4, STRIP~, STRIP+1*, STRIP+2*, STRIP+3 |
XCOUNT | ADDMED+1~, ADDMED+3*, ADDMED+47, XSUMS+4* |
XMODE | ADDMED~, ADDMED+3, ADDMED+8, ADDMED+18, ADDMED+28, ADDMED+35, ADDMED+42, ADDMED+45, WRAP+1, ADDP+1 , ADDM+3, FLUSH+1 |
>> XSTR | ADDMED+3*, ADDMED+46*, ADDMED+47*, XSUMS+3* |
XSUM | ADDMED+1~, ADDMED+3*, ADDMED+47, XSUMS+4* |
Y | FDT+1~, FDT+2*, FDT+3 |