PSBOMT1 ;BIRMINGHAM/TEJ-BCMA MEDICATION THERAPY REPORT ;Mar 2004
Source file <PSBOMT1.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 2 | LIST^DIC ($$GET1,D)^DIQ |
Barcode Medication Administration | 1 | ($$PTFTR,PT)^PSBOHDR |
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 |
Package | Total | Caller Graph |
---|---|---|
Barcode Medication Administration | 1 | PSBOMT |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETADSO | ; GET ALL ADDITIVES FOR ALL ORDERABLE ITEMS
|
|
FINDIENS | ; USE PSBOIS,PSBADDS AND PSBSOLS TO FIND ALL IENS FOR THE RPT
|
|
HDR | ; Header
|
|
LEGEND | ; Report Legend
|
|
FTR | ;
|
|
MAKELINE(X,CNT) | ;LINE OF WHAT'S PASSED IN CNT TIMES
|
|
PARSE(X,CNT) | ;Split text for wrapping.
|
|
PAD(X,CNT) | ;
|
|
CLEANALL | ; KILL ALL TMP LEVELS USED VARIABLES
|
|
CLEANSUM | ; KILL ALL BUN THE "PSBIENS" LEVEL
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
^PS(52.6 - [#52.6] | LIST^DIC |
^PS(52.7 - [#52.7] | LIST^DIC |
^PSB(53.79 - [#53.79] | GET1^DIQ |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | MAKELINE~, MAKELINE+3, PARSE~, PARSE+1, PARSE+4, PAD~, PAD+1 |
>> CNTX | PARSE+1*, PARSE+2, PARSE+3, PARSE+4 |
>> CNTXX | PARSE+4* |
DUZ(2 | HDR+6 |
IOF | HDR+1 |
IOM | HDR+7, LEGEND+19, LEGEND+21, FTR+2, FTR+4, FTR+5 |
IOSL | LEGEND+15, LEGEND+18, FTR+1 |
>> PSB | LEGEND+6*, LEGEND+7, LEGEND+8 |
PSBAOUT | GETADSO+1!, GETADSO+7! |
PSBAOUT("DILIST" | GETADSO+4, GETADSO+5, GETADSO+6 |
>> PSBCFLG | HDR+15 |
>> PSBDT | FINDIENS+3*, FINDIENS+4 |
>> PSBDTTM | FTR+5 |
PSBHDR | HDR+9!, LEGEND+17 |
PSBHDR("NAME" | FTR+4 |
PSBHDR("ROOM" | FTR+3 |
PSBHDR("SSN" | FTR+4 |
PSBHDR("WARD" | FTR+3 |
PSBHDR(1 | HDR+10*, HDR+11*, HDR+12* |
PSBHDR(2 | HDR+13*, HDR+14* |
PSBHDR(3 | HDR+15*, HDR+16* |
PSBHDR(4 | HDR+15* |
>> PSBIEN | FINDIENS+4*, FINDIENS+5, FINDIENS+6, FINDIENS+9*, FINDIENS+10, FINDIENS+12, FINDIENS+13, FINDIENS+14, FINDIENS+17*, FINDIENS+18 , FINDIENS+20, FINDIENS+21, FINDIENS+22 |
>> PSBINIT | LEGEND+7* |
>> PSBLGD("INITIALS" | LEGEND+6, LEGEND+7*, LEGEND+8!, LEGEND+14 |
>> PSBLGD("ORDER | TYPES" , LEGEND+2*, LEGEND+3*, LEGEND+4*, LEGEND+5*, LEGEND+13 |
PSBLGDO | LEGEND+1! |
PSBLGDO( | LEGEND+13*, LEGEND+14*, LEGEND+20 |
PSBLGDO("" | LEGEND+15, LEGEND+18, LEGEND+20 |
PSBLGDO(0 | LEGEND+9* |
PSBLGDO(1 | LEGEND+10* |
PSBLGDO(2 | LEGEND+11*, LEGEND+14* |
PSBLGDO(3 | LEGEND+12* |
>> PSBNO | LEGEND+11, LEGEND+13 |
PSBOIP | CLEANALL+1! |
PSBOIP("OIP" | GETADSO+2, GETADSO+9 |
>> PSBOUTP("" | HDR+5 |
>> PSBOUTP(0 | HDR+4* |
>> PSBPG | HDR+5*, HDR+7 |
>> PSBPGNUM | HDR+4*, HDR+5 |
>> PSBPGRM | HDR+7* |
>> PSBRPNM | HDR+3* |
>> PSBRPT( | HDR+8, HDR+11, HDR+12, HDR+14 |
>> PSBRPT(0 | HDR+4*, HDR+6* |
PSBSOUT | GETADSO+1!, GETADSO+14! |
PSBSOUT("DILIST" | GETADSO+11, GETADSO+12, GETADSO+13 |
>> PSBSTOP | FINDIENS+3, FINDIENS+13, FINDIENS+21 |
>> PSBSTRT | FINDIENS+3, FINDIENS+13, FINDIENS+21 |
>> PSBXDFN | FINDIENS+3, FINDIENS+4, FINDIENS+9, FINDIENS+10, FINDIENS+17, FINDIENS+18, LEGEND+17 |
>> TMP("PSBADDS" | GETADSO+6*, FINDIENS+8, CLEANALL+1!, CLEANSUM+1! |
>> TMP("PSBIENS" | FINDIENS+6*, FINDIENS+14*, FINDIENS+22*, CLEANALL+2!, CLEANSUM+1! |
>> TMP("PSBOIS" | FINDIENS+2, CLEANSUM+1! |
>> TMP("PSBSOLS" | GETADSO+13*, FINDIENS+16, CLEANALL+1!, CLEANSUM+1! |
U | FINDIENS+5, FINDIENS+12, FINDIENS+20, HDR+6, HDR+8, HDR+11, HDR+12, HDR+14 |
>> UOA | PARSE+4 |
>> UOAX | PARSE+1*, PARSE+2*, PARSE+3*, PARSE+4 |
X | FTR+3*, FTR+4, MAKELINE~, MAKELINE+3, PARSE~, PARSE+1, PAD~, PAD+1 |
>> X1 | LEGEND+13*, LEGEND+14*, LEGEND+20* |
>> X2 | LEGEND+13*, LEGEND+14* |
>> XA | GETADSO+2*, GETADSO+5, GETADSO+9*, GETADSO+12, FINDIENS+2*, FINDIENS+3, FINDIENS+4, FINDIENS+8*, FINDIENS+11, FINDIENS+16* , FINDIENS+19 |
>> XB | GETADSO+4*, GETADSO+5, GETADSO+6, GETADSO+11*, GETADSO+12, GETADSO+13, FINDIENS+10*, FINDIENS+11, FINDIENS+18*, FINDIENS+19 |
Y | HDR+11*, HDR+12*, HDR+14*, MAKELINE+1~, MAKELINE+2*, MAKELINE+3*, MAKELINE+4 |
Z | MAKELINE+1~, MAKELINE+3* |