PSIVOPT ;BIR/PR,MLM - OPTION DRIVER ;Mar 04, 2019@16:30:34
Source file <PSIVOPT.m>
Package | Total | Call Graph |
---|---|---|
Inpatient Medications | 19 | ENL^PSGVDS CKO^PSIVCHK (EXPIR,HOLD)^PSIVOE ($$IVDUPADD,ENLBL)^PSIVOPT E^PSIVOPT1 (D,R)^PSIVOPT2 LOG^PSIVORAL SHOW1^PSIVORC VF^PSIVORC2 (NATURE,ORPARM)^PSIVOREN GT531^PSIVORFA GT55^PSIVORFB (EN,ENNH)^PSIVORV2 WP^PSJAC EN1^PSJHL2 EN^PSJLIFN EN^PSJLIORD $$LOCK^PSJOEA CHK^PSJOEA1 |
VA FileMan | 4 | NOW^%DTC ^DIC ^DIE ^DIK |
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 |
---|---|---|
UNLOCK | ; Unlock order.
|
|
K | ; Kill variables. *271
|
|
ACT | ; Prompt for order action.
|
|
CK | ; Check if drugs are still valid.
|
|
D | ; Discontinue order.
|
|
O(DFN,ON,STAT,STOP) | ; On/Off Call
|
|
E | ; Entry for Pharmacy edit
|
|
R | ; Renew order.
|
|
H(DFN,ON,STAT,STOP) | ||
S | ; View order.
|
|
EXPIR | ; Update status of expired orders.
|
|
UPSTAT | ; Update orders status.
|
|
ENIN | ; Entry for inpatient order entry/profile options.
|
|
ENARI(DFN,ON,PSGUOW,PSIVAL) | ; Auto-reinstate IV orders if movement is deleted.
|
|
ENINP(DFN,ON) | ; Entry from Inpatient Profile.
|
|
ENLBL(PSGTOL,PSGUOW,PSGP,PSGTOO,DA,RES) | ;
|
|
IVDUPADD(PSGP,ORDERNUM) | ;
|
|
VA200(X) | ;Return the IEN for the user.
; X = User name |
Name | Field # of Occurrence |
---|---|
NOW^%DTC | O+1, H+1, ENLBL+5, IVDUPADD+8 |
^DIC | VA200+2 |
^DIE | UPSTAT+1, ENARI+18 |
^DIK | ENARI+26 |
ENL^PSGVDS | ENLBL+5 |
CKO^PSIVCHK | O+4, H+5 |
EXPIR^PSIVOE | EXPIR+2 |
HOLD^PSIVOE | H+5 |
$$IVDUPADD^PSIVOPT | ENARI+11 |
ENLBL^PSIVOPT | H+5, ENARI+27 |
E^PSIVOPT1 | E+1 |
D^PSIVOPT2 | D+1 |
R^PSIVOPT2 | R+3 |
LOG^PSIVORAL | O+4, H+5, ENARI+20 |
SHOW1^PSIVORC | ENIN+1 |
VF^PSIVORC2 | ACT+4, ACT+6 |
NATURE^PSIVOREN | H+3 |
ORPARM^PSIVOREN | ENARI+22 |
GT531^PSIVORFA | ACT+4, ACT+6 |
GT55^PSIVORFB | ENIN+2 |
EN^PSIVORV2 | S+1, ENIN+2 |
ENNH^PSIVORV2 | ENINP+1 |
WP^PSJAC | ENLBL+2 |
EN1^PSJHL2 | ENARI+23 |
EN^PSJLIFN | ACT+7, ACT+9 |
EN^PSJLIORD | ACT+3 |
$$LOCK^PSJOEA | ACT+5 |
CHK^PSJOEA1 | ACT+8 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | ENLBL+2 |
^PS( | CK+2 |
^PS(53.1 - [#53.1] | ACT+2, ACT+4, ACT+5, ACT+6, ACT+7 |
^PS(53.3 - [#53.3] | ENARI+20 |
^PS(53.41 - [#53.41] | ENARI+26 |
^PS(55 - [#55] | PSIVOPT+10, UNLOCK+3, ACT+2, ENIN+3, ENARI+4, ENARI+5, ENARI+6, ENARI+8, ENARI+13!, ENARI+15 , ENARI+17, ENARI+22, ENLBL+4, ENLBL+5*, IVDUPADD+5, IVDUPADD+7, IVDUPADD+11, IVDUPADD+14, IVDUPADD+16, IVDUPADD+18 , IVDUPADD+20 |
^PSDRUG - [#50] | CK+2 |
^TMP("PSJNOTUNDC" | ENARI+11* |
^TMP("PSJUNDC" | ENARI+19* |
Name | Field # of Occurrence |
---|---|
^("I" | CK+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | K+1!, O+1, H+1, ENLBL+5, IVDUPADD+9 |
CHKIT | ENARI+17~* |
DA | K+1!, UPSTAT+1~*, ENARI+12~, ENARI+16*, ENARI+26!*, ENARI+27!, ENLBL~, ENLBL+4, ENLBL+5 |
DA(1 | UPSTAT+1*, ENARI+16*, ENARI+26* |
DA(2 | ENARI+26* |
DA(3 | ENARI+26* |
DA(4 | ENARI+26* |
>> DATELOOP | IVDUPADD+9*, IVDUPADD+11*, IVDUPADD+14 |
DFN | PSIVOPT+10, UNLOCK+3, ACT+2, ACT+3, ACT+4, ACT+5, ACT+6, O~, H~, H+5 , S+1, UPSTAT+1, ENIN+1~*, ENIN+2*, ENIN+3, ENARI~, ENARI+13, ENARI+15, ENARI+16, ENARI+17 , ENARI+19, ENARI+22, ENARI+23, ENARI+26, ENARI+27, ENINP~, ENINP+1, ENLBL+5 |
DIC | VA200+2~* |
DIC(0 | VA200+2* |
DIE | K+1!, UPSTAT+1~*, ENARI+12~, ENARI+16* |
DIK | K+1!, ENARI+12~, ENARI+26!* |
DLAYGO | K+1! |
DNE | K+1! |
>> DONE | PSIVOPT+15*, ACT+4*, ACT+10* |
DR | K+1!, UPSTAT+1~*, ENARI+12~, ENARI+15*, ENARI+17* |
DRG | K+1!, CK+2* |
DRG( | CK+1, CK+2 |
DRGI | K+1!, CK+1*, CK+2 |
DRGT | K+1!, CK+1*, CK+2 |
DT | CK+2 |
>> DUPFOUND | IVDUPADD+3*, IVDUPADD+5, IVDUPADD+11, IVDUPADD+14, IVDUPADD+18, IVDUPADD+23*, IVDUPADD+24 |
>> DUPLOOP | IVDUPADD+2*, IVDUPADD+5*, IVDUPADD+7 |
DUZ | H+5 |
ENTBY | ENARI+8~, ENARI+9* |
ERR | K+1!, CK+2* |
>> EXISTADD | IVDUPADD+17*, IVDUPADD+18*, IVDUPADD+20 |
>> EXISTORD | IVDUPADD+12*, IVDUPADD+14*, IVDUPADD+16, IVDUPADD+18, IVDUPADD+20 |
>> FIL | CK+1*, CK+2 |
HELP | K+1! |
IOF | S+1 |
J | K+1! |
>> MATCHADD | IVDUPADD+20*, IVDUPADD+22 |
OD | K+1! |
ON | PSIVOPT+10, UNLOCK+3, ACT+1*, ACT+2, ACT+3, ACT+4, ACT+5~*, ACT+6, ACT+7, ACT+9 , O~, H~, ENIN+1~*, ENIN+2*, ENARI~, ENARI+8, ENARI+13, ENARI+15, ENARI+16, ENARI+17 , ENARI+19, ENARI+20, ENARI+22, ENARI+26, ENARI+27, ENINP~, ENINP+1 |
ON55 | PSIVOPT+10, UNLOCK+3, ACT+1, H+5, S+1, UPSTAT+1, ENIN+2*, ENARI+20*, ENARI+23, ENINP+1~ |
>> OR55 | ENARI+2 |
ORDERNUM | IVDUPADD~, IVDUPADD+5, IVDUPADD+7 |
P | K+1!, ENIN+1~, ENLBL+3~ |
P("NAT" | H+3 |
P("PON" | ENIN+1*, ENIN+2* |
P(12 | ENARI+22* |
P(17 | O+3*, H+4*, EXPIR+1*, UPSTAT+1, ENARI+20* |
P(3 | ENARI+22* |
P16 | K+1! |
>> PSGALO | ENARI+11, ENARI+25 |
>> PSGDT | ENLBL+5* |
PSGFDX | ACT+1~ |
>> PSGORD | ENARI+2 |
>> PSGORNUM | ENARI+2*, ENARI+3, ENARI+4, ENARI+5, ENARI+6, ENARI+11 |
PSGP | ENIN+1, ENIN+2, ENARI+4, ENARI+5, ENARI+6, ENARI+8, ENARI+11, ENARI+26, ENLBL~, ENLBL+2 , ENLBL+4, IVDUPADD~, IVDUPADD+5, IVDUPADD+7, IVDUPADD+11, IVDUPADD+14, IVDUPADD+16, IVDUPADD+18, IVDUPADD+20 |
PSGSDX | ACT+1~ |
PSGTOL | ENARI+24*, ENARI+27, ENLBL~ |
PSGTOO | ENLBL~ |
PSGUOW | ENARI~, ENARI+26, ENARI+27, ENLBL~ |
PSIVAC | PSIVOPT+13*, PSIVOPT+14, ENIN+1~*, ENINP+1~* |
PSIVACT | UPSTAT+1~*, ENARI+15* |
PSIVAL | K+1!, ENARI~, ENARI+20* |
PSIVALCK | ENARI+12~, ENARI+20* |
PSIVALT | O+3*, H+4*, ENARI+12~, ENARI+20* |
PSIVC | K+1! |
PSIVLOCK | PSIVOPT+8~*, PSIVOPT+10*, PSIVOPT+11 |
PSIVLOG | K+1! |
PSIVNOL | K+1! |
PSIVOK | K+1! |
PSIVOPT | K+1!, ENARI+12~, ENARI+20* |
PSIVREA | K+1!, O+3*, H+4*, H+5, EXPIR+1*, UPSTAT+1, ENARI+12~, ENARI+20* |
PSJACNWP | ENLBL+2~ |
PSJACPF | ENLBL+2~* |
PSJCLAPP | K+1! |
PSJCOM | ACT+2*, ACT+4, ACT+5, ACT+8, ACT+9, IVDUPADD+1~, IVDUPADD+5*, IVDUPADD+16 |
PSJEDFLG | ACT+11! |
PSJEDIT1 | E+1~ |
PSJIVBD | ACT+1! |
>> PSJIVORF | ENARI+22 |
PSJO | ACT+5~* |
PSJOCFG | R+1~, R+2*, R+4! |
PSJORD | ACT+1*, ACT+5~*, ACT+8~*, ENIN+1, ENIN+2, ENIN+3, ENARI+2 |
>> PSJPRF | ENIN+2 |
>> PSJSENTO( | ENARI+4*, ENARI+5*, ENARI+6*, ENARI+9* |
>> PSJSYSL | ENLBL+2 |
>> PSJSYSW0 | ENARI+25, ENLBL+2, ENLBL+4 |
>> PSJUNDC | ENARI+20, ENARI+24, ENARI+25 |
PSJX | ENARI+8~*, ENARI+9 |
RES | ENLBL~, ENLBL+5 |
SCRNPRO | K+1! |
STAT | O~, O+1, O+2, O+3*, O+4, H~, H+1, H+2, H+4*, H+5 , EXPIR+1, EXPIR+2* |
STOP | O~, O+1, H~, H+1 |
>> TARGET | IVDUPADD+7*, IVDUPADD+22 |
TEX | PSIVOPT+14*, K+1!, O+3, H+4 |
U | ACT+4, ACT+6, ACT+7, CK+2, ENARI+4, ENARI+5, ENARI+6, ENARI+9, ENARI+15, ENARI+17 , ENARI+20, ENARI+22, ENARI+25, ENLBL+4, ENLBL+5, VA200+4 |
>> UWLFLAG | PSIVOPT+14 |
X | CK+2*, ENARI+12~, ENARI+13*, ENLBL+3~, ENLBL+4*, ENLBL+5, VA200~ |
XED | PSIVOPT+14*, K+1! |
Y | ACT+5, ENARI+12~, ENARI+22*, ENLBL+3~, ENLBL+4*, ENLBL+5*, VA200+2~, VA200+3, VA200+4 |
ZZND | K+1! |