PSGMMAR2 ;BIR/CML3-MD MARS - PRINT C ORDERS(UD) ;29-May-2012 14:29;PLS
Source file <PSGMMAR2.m>
Package | Total | Call Graph |
---|---|---|
Inpatient Medications | 6 | ^PSGLOI (ATS,TS)^PSGMAR3 $$ENDTC2^PSGMI BLANK^PSGMMAR3 PRT^PSGMMIVC MARLB^PSGMUTL |
Registration | 1 | ($$NAME,$$SITE)^VASITE |
VA Fileman | 1 | NOW^%DTC |
Name | Comments | DBIA/ICR reference |
---|---|---|
PRT2 | ;
|
|
SITE(LEN) | ;* Get the Institution name
|
|
HEADER | ; pat info
|
|
PRT | ; order info
|
|
CELL(X,X1) | ; Print the **** on the not to be given cells.
|
|
S1 | ;
|
|
BOT | ; bottom of MAR
|
|
ENB | ;
|
|
ASTERS | ; Print the **** on the first label.
|
|
P | ; Print on Patient order
|
|
INIT | ; Print the initials on the label.
|
|
CHKLAB | ; Check to see if next label is needed.
|
|
W | ; Print Ward/Ward group
|
|
ONHOLD | ;Check order to see if it's ON hold, set Flag True if it is
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(53.1 - [#53.1] | PRT+2 |
^PS(55 - [#55] | ONHOLD+5, ONHOLD+7 |
^SC - [#44] | HEADER+5 |
^TMP($J | S1+2, S1+3, S1+5, P+3, P+5, P+8, W+8, W+9 |
^XTMP( | S1+3, W+3, W+5 |
Name | Line Occurrences |
---|---|
$$SITE | HEADER+4 |
@( | S1+12 |
ASTERS | CELL+2, CELL+3 |
BOT | S1+7, S1+13, PRT+7, PRT2+3, CHKLAB+2 |
CELL | PRT+9, CHKLAB+1, CHKLAB+3, INIT+1 |
ENB | PRT+3 |
HEADER | S1+7, S1+9, P+2, PRT+3, PRT+7, PRT2+3, CHKLAB+2 |
ONHOLD | PRT+1 |
PRT | P+5, W+3, W+8 |
PRT2 | PRT+9 |
Name | Field # of Occurrence |
---|---|
^( | W+3, W+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | S1+9 |
>> AD | HEADER+7 |
>> ASTERS | CELL+5, ASTERS+2 |
>> BD | HEADER+6 |
>> BLN( | ENB+4 |
CELL | CELL+1~*, CELL+5 |
>> DAO | S1+9*, P+4*, P+5*, W+3*, W+8*, PRT+1, PRT+4 |
>> DX | HEADER+7 |
>> EXPIRE | CELL+5, ASTERS+2 |
HSPACE | ASTERS+1~*, ASTERS+4 |
>> HT | HEADER+6 |
IOF | HEADER+3 |
>> L | CHKLAB+1*, CHKLAB+3*, INIT+1 |
LEN | SITE~, SITE+9 |
>> LN1 | HEADER+14, ENB+2, ENB+4, ENB+7 |
>> LN14 | HEADER+14 |
>> LN2 | PRT2+4, CHKLAB+1, BOT+2 |
>> LN3 | HEADER+14 |
>> LN4 | CELL+4, BOT+1, BOT+2 |
>> LN7 | CELL+4, BOT+1, BOT+2 |
>> MARLB | PRT+7, PRT+9, PRT2+4 |
>> MARLB( | PRT+9 |
>> MSG1 | HEADER+3*, PRT2+2*, CHKLAB+2*, BOT+1, BOT+2 |
>> MSG2 | HEADER+3*, BOT+1, BOT+2 |
>> NO | S1+2*, S1+3*, S1+5*, S1+7, S1+9 |
>> ON | PRT+1*, PRT+2, ONHOLD+3, ONHOLD+5, ONHOLD+7 |
>> ONHOLD | CELL+5, ASTERS+1, ASTERS+4, ONHOLD+1*, ONHOLD+5*, ONHOLD+7* |
>> P(9 | CELL+2*, CELL+3*!, ASTERS+2 |
>> PAGE | HEADER+6 |
>> PN | S1+1, S1+2, S1+3, S1+5, P+3, P+5, P+8, W+3, W+5, W+8 , W+9, ONHOLD+5, ONHOLD+7 |
>> PPN | HEADER+5, ENB+7 |
>> PRB | HEADER+6, ENB+7 |
PRTLN | PRT+9~*, PRT2+4 |
>> PSEX | HEADER+7 |
>> PSGALG | HEADER+8 |
>> PSGD( | CELL+5, ASTERS+2 |
>> PSGDT | S1+9*, HEADER+1 |
PSGLFFD | CELL+2~*, CELL+5, ASTERS+2* |
>> PSGLNF | INIT+1 |
>> PSGLRN | INIT+1 |
>> PSGLRPH | INIT+1 |
>> PSGLSM | INIT+1 |
>> PSGLSSD | CELL+5, ASTERS+2 |
>> PSGLWS | INIT+1 |
>> PSGMARB | S1+1, S1+7 |
>> PSGMARDF | HEADER+3, HEADER+14, CELL+1 |
>> PSGMARFP | HEADER+3 |
PSGMARGD | PRT+4*, CELL+2~*, CELL+5, ASTERS+2 |
>> PSGMAROC | HEADER+3*, PRT+3, PRT+7, PRT+8*, PRT2+1, PRT2+4*, CHKLAB+1*, CHKLAB+2, BOT+2* |
>> PSGMARS | S1+7 |
>> PSGMARSP | HEADER+3 |
>> PSGMARTS | P+5*, W+3*, W+8*, PRT+4*, PRT+5, CELL+3 |
>> PSGMPG | S1+11*, ENB+1*, ENB+7 |
>> PSGMPGN | S1+11*, P+8*, W+5*, W+9*, ENB+1*, ENB+7 |
>> PSGMSORT | PRT+2, PRT+4 |
PSGON | ONHOLD+2~, ONHOLD+3*, ONHOLD+5, ONHOLD+7 |
>> PSGORD | PRT+4* |
>> PSGPG | HEADER+3* |
>> PSGRBPPN | S1+1, S1+2, S1+3, W+2, W+7 |
>> PSGREP | S1+3, W+3, W+5 |
>> PSGSS | S1+2, S1+3, S1+5, S1+9, S1+12 |
PSGX | HEADER+11~* |
>> PSGXDT | HEADER+1*, HEADER+4 |
>> PSJDIET | HEADER+13 |
PSJPSTO | PRT+4*, PRT+10! |
>> PSSN | HEADER+6, ENB+7 |
>> PST | S1+9*, P+3*, P+5, W+3*, W+8*, PRT+3, PRT+4*, PRT+10*, CELL+2 |
>> PWDN | S1+2, S1+3, S1+5, P+3, P+5, P+8, HEADER+5, HEADER+6, HEADER+7, ENB+7 |
>> Q | W+3*, W+8*, CELL+5*, ASTERS+2*, BOT+2*, ENB+4* |
BOT+1*, BOT+2* | |
QTS | CELL+1~, CELL+5* |
>> RB | S1+1, W+3, W+5, W+8, W+9 |
>> SPACES | ASTERS+1*, ASTERS+2, ASTERS+4* |
>> TD | HEADER+7 |
>> TM | S1+2, S1+3, S1+5, W+3, W+5, W+8, W+9 |
>> TS | PRT+7, PRT2+1, CHKLAB+2, CELL+3 |
>> TS( | PRT+9, CHKLAB+1, CHKLAB+3, INIT+1, CELL+4, CELL+5 |
U | HEADER+4, PRT+1, PRT+2, PRT+4, SITE+7, SITE+9 |
>> WDN | S1+2, S1+3, S1+5, W+3, W+5, W+8, W+9 |
>> WT | HEADER+5 |
X | S1+1*, S1+2, S1+3, S1+5, CELL~, CELL+2, CELL+3, CELL+4, CELL+5, SITE+3~ , SITE+4*, SITE+7*, SITE+8, SITE+9 |
X1 | CELL~, CELL+1, CELL+4 |
>> Y | S1+1*, S1+2, S1+3, S1+5 |