PSIVEDRG ;BIR/MLM - ENTER/EDIT DRUGS FOR IV ORDER ;16 Mar 99 / 2:14 PM
Source file <PSIVEDRG.m>
Package | Total | Call Graph |
---|---|---|
Inpatient Medications | 8 | (ENDDC,IVSOL)^PSGSICHK ENSTOP^PSIVCAL ORFLDS^PSIVEDT1 ENHLP^PSIVORC1 ^PSIVQUI ($$ENU,$$IVDRGSC)^PSIVUTL (DINIV,NFIV)^PSJDIN HOLDHDR^PSJOE |
VA FileMan | 5 | ^DIC YN^DICN FIELD^DID $$GET1^DIQ ^DIR |
List Manager | 1 | ($$UPPER,FULL)^VALM1 |
Outpatient Pharmacy | 1 | EN^PSOORDRG |
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 |
---|---|---|
DRG | ; Edit Additive/Solution data
|
|
DRG1 | ;
|
|
DRG1A | ||
SETDRG | ; Put Drug data into DRG(x).
|
|
DRG2 | ;
|
|
DRG3 | ;
|
|
AMT | ;
|
|
1 | ; Strength/Volume
|
|
2 | ;
|
|
DRG4 | ;
|
|
CHKSCMNT | ;
|
|
SEECMENT() | ;
|
|
GTSCRN(PSIVX) | ;Set DIC("S") if MD OE or matching drug has already been selected.
|
|
IT | ; Input Transform for Strength/Volume.
|
|
ORDERCHK(DFN,ON,X) | ; Do order check
|
|
SAVEDRG(NEW,OLD) | ||
CHK | ; Check if drug is already part of order
|
|
ASKCHK | ; Do you want a drug that was previously selected.
|
|
DEL | ;
|
|
GTADSOL | ;Prompt for an ad/sol if there were multiple ad/sol matched to an OI
|
Name | Field # of Occurrence |
---|---|
^DIC | DRG1A+8, DRG2+1 |
YN^DICN | ASKCHK+1, DEL+1 |
FIELD^DID | 1+2 |
$$GET1^DIQ | DRG1A+7 |
^DIR | 2+1, GTADSOL+13 |
ENDDC^PSGSICHK | ORDERCHK+9 |
IVSOL^PSGSICHK | ORDERCHK+14 |
ENSTOP^PSIVCAL | ORDERCHK+16 |
ORFLDS^PSIVEDT1 | DRG1A+2 |
ENHLP^PSIVORC1 | IT+2 |
^PSIVQUI | DRG2+10, GTADSOL+28 |
$$ENU^PSIVUTL | DRG3+3, IT+3 |
$$IVDRGSC^PSIVUTL | GTSCRN+3 |
DINIV^PSJDIN | DRG2+8, DRG3+1, GTADSOL+27 |
NFIV^PSJDIN | DRG2+3, GTADSOL+23 |
HOLDHDR^PSJOE | GTSCRN+1 |
EN^PSOORDRG | ORDERCHK+11 |
$$UPPER^VALM1 | CHK+2, CHK+3, CHK+4 |
FULL^VALM1 | DRG1+3 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
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 |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PS(52.6 - [#52.6] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS( | DRG3+3, ORDERCHK+8, CHK+3, CHK+4, GTADSOL+17 |
^PS(52.6 - [#52.6] | DRG2+10, GTADSOL+21 |
^TMP("PSODAOC" | DRG1A+1! |
Name | Line Occurrences |
---|---|
$$SEECMENT | CHKSCMNT+1 |
1 | 1+1 |
2 | 1+1 |
AMT | 1+2 |
ASKCHK | CHK+2, CHK+3 |
CHK | DRG1A+3 |
CHKSCMNT | DRG1+6, DRG1A |
DEL | DRG1A+1 |
DRG1 | DRG1A, DRG1A+1, DRG1A+2, DRG1A+3, DRG1A+8 |
DRG1A | DRG1A+1, DRG1A+3 |
DRG2 | DRG1A+3 |
DRG3 | DRG1A, GTADSOL+31 |
DRG4 | AMT+1 |
GTADSOL | DRG1+5 |
GTSCRN | DRG1A+8, DRG2+1 |
IT | 1+2 |
ORDERCHK | DRG2+7, GTADSOL+26, GTADSOL+29 |
SAVEDRG | ORDERCHK+6, ORDERCHK+15 |
SETDRG | DRG+2, DRG1A+1, DRG3+2, ASKCHK+2, GTADSOL+20 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | DRG1A+1, DRG1A+3*, ASKCHK+1*, ASKCHK+2, DEL+1* |
DA | GTSCRN+3! |
DDONE | CHK+1~, CHK+3, ASKCHK+2* |
DFN | DRG2+7, ORDERCHK~, ORDERCHK+8, ORDERCHK+9, ORDERCHK+11, ORDERCHK+13*, GTADSOL+26, GTADSOL+29 |
DIC | DRG1A+8!, DRG2+1!, GTSCRN+3!* |
DIC("S" | GTSCRN+3*, GTSCRN+4* |
DIC(0 | DRG1A+8*, DRG2+1* |
DIR | 2+1!, GTADSOL+2~ |
DIR("?" | GTADSOL+4* |
DIR("A" | GTADSOL+6*, GTADSOL+7*, GTADSOL+9*, GTADSOL+11*, GTADSOL+12* |
DIR("B" | 2+1* |
DIR(0 | 2+1*, GTADSOL+3* |
>> DONE | DRG1+6*, DRG2+7*, GTADSOL+26*, GTADSOL+29* |
>> DRG | ORDERCHK+4, ORDERCHK+6, ORDERCHK+15 |
>> DRG( | DRG+2, DRG1A+1!*, DRG1A+3, DRG1A+4, DRG1A+5, DRG1A+6, DRG1A+7, SETDRG+1*, DRG2+9*, DRG4+1* , CHK+1, CHK+2, CHK+3, CHK+4, ASKCHK+1, GTADSOL+18*, GTADSOL+19*, GTADSOL+24, GTADSOL+29 |
>> DRG("AD" | SEECMENT+4, SEECMENT+5 |
>> DRG(1 | SETDRG+2, DRG3+1, DRG3+3, IT+3 |
>> DRG(2 | DRG+2*, DRG1+6, DRG1A, DRG1A+1, SETDRG+2*, DRG3+1, DRG4+2* |
>> DRG(3 | 1+1, 1+2* |
>> DRG(4 | 2+1* |
>> DRGI | DRG+2*, DRG1A+1*, SETDRG+1, DRG2+9*, DRG4+1, ASKCHK+2*, GTADSOL+20* |
DRGOC | DRG+1~ |
DRGOC( | ORDERCHK+4* |
>> DRGT | DRG+2, DRG1+5, DRG1A, DRG1A+1, DRG1A+3, DRG1A+4, DRG1A+5, DRG1A+6, DRG1A+7, SETDRG+1 , DRG2+3, DRG2+5, DRG2+8, DRG2+9, DRG2+10, DRG3+3, AMT+1, 1+1, 1+2, 2+1 , DRG4+1, GTSCRN+4, IT+2, IT+3, CHK+1, CHK+2, CHK+3, CHK+4, ASKCHK+1, GTADSOL+21 , GTADSOL+24, GTADSOL+29 |
>> DRGTMP | DRG2+5*, DRG2+8, DRG2+9, DRG2+10, ORDERCHK+7, ORDERCHK+8, GTADSOL+24*, GTADSOL+27, GTADSOL+29* |
>> DRGTN | DRG1+4, DRG1A, DRG1A+4, DRG1A+8 |
DTIME | DRG1+6, DRG1A, 1+1 |
>> DTOUT | 2+1 |
DUOUT | DRG1+2!, 2+1 |
>> F1 | IT+2* |
>> F2 | IT+2* |
FIL | DRG3+1, DRG3+3, GTSCRN+3, ORDERCHK+8, ORDERCHK+9, ORDERCHK+10, CHK+3, CHK+4, GTADSOL+31~* |
I | CHK+1~, ASKCHK+1* |
INTERVEN | ORDERCHK+12~* |
J | CHK+1~, CHK+3*, CHK+4 |
ND | GTADSOL+2~, GTADSOL+17*, GTADSOL+19 |
NEW | SAVEDRG~, SAVEDRG+1!, SAVEDRG+2* |
NEW( | SAVEDRG+3*, SAVEDRG+5*, SAVEDRG+6* |
OLD | SAVEDRG~, SAVEDRG+2 |
OLD( | SAVEDRG+3, SAVEDRG+5, SAVEDRG+6 |
ON | DRG2+6, ORDERCHK~, ORDERCHK+4, GTADSOL+25 |
ON55 | DRG2+6~*, DRG2+7, GTADSOL+25~*, GTADSOL+26, GTADSOL+29 |
>> P("DTYP" | 2+1 |
>> P("OT" | DRG1A+2, GTSCRN+4 |
>> P(23 | AMT+1, 2+1 |
>> P(4 | DRG1A, DRG1A+3, AMT+1, 2+1 |
PSGDRG | ORDERCHK+5~, ORDERCHK+8*, ORDERCHK+9, ORDERCHK+11 |
PSGDRGN | ORDERCHK+5~, ORDERCHK+7* |
PSGORQF | DRG+1!, DRG1+1, DRG2+7, DRG2+10, GTADSOL+21, GTADSOL+26, GTADSOL+29 |
PSGP | ORDERCHK+5~, ORDERCHK+8*, ORDERCHK+13 |
>> PSIVAC | DRG1A+2, DRG2+10, GTSCRN+4 |
PSIVDRG0 | SEECMENT+2~, SEECMENT+5*, SEECMENT+6 |
PSIVDRGI | SEECMENT+2~, SEECMENT+4*, SEECMENT+5 |
PSIVFLG | SEECMENT+2~, SEECMENT+3*, SEECMENT+4, SEECMENT+6*, SEECMENT+7 |
PSIVNEW | DRG2+5*, ORDERCHK+5~, ORDERCHK+7* |
PSIVOI | DRG1+5, GTADSOL+4, GTADSOL+7, GTADSOL+9, GTADSOL+11, GTADSOL+16, GTADSOL+17, GTADSOL+18, GTADSOL+19, GTADSOL+30 , GTADSOL+32! |
PSIVOI("DILIST" | DRG1+5, GTADSOL+3, GTADSOL+5, GTADSOL+6, GTADSOL+7, GTADSOL+8, GTADSOL+9, GTADSOL+11, GTADSOL+12, GTADSOL+15 , GTADSOL+21, GTADSOL+22, GTADSOL+29 |
PSIVOIND | GTADSOL+15~*, GTADSOL+16, GTADSOL+17, GTADSOL+19 |
PSIVOLD | DRG+2!*, DRG2+9!, AMT+1, ASKCHK+2* |
>> PSIVSTR | DRG2+10, GTADSOL+21 |
PSIVX | DRG2+1~*, DRG2+10, GTSCRN~, GTSCRN+1, GTSCRN+2, GTADSOL+22* |
PSJDD | ORDERCHK+5~, ORDERCHK+8* |
PSJEX | 1+2! |
PSJEX("XECUTA | BLE HELP" , 1+2 |
PSJIREQ | ORDERCHK+12~* |
>> PSJIVIEN | DRG2+2*, DRG2+3, GTADSOL+22*, GTADSOL+23 |
PSJNF | DRG2+3~, GTADSOL+23~ |
PSJNF("NF" | DRG2+4, GTADSOL+23 |
PSJPDRG | ORDERCHK+13! |
PSJRXREQ | ORDERCHK+12~* |
TDRG | CHK+1~*, CHK+2, CHK+3, CHK+4, ASKCHK+1, ASKCHK+2 |
TDRGP | CHK+1~, CHK+3*, CHK+4 |
TMPDRG | ORDERCHK+5~, ORDERCHK+6, ORDERCHK+15 |
U | DRG1+6, DRG1A+6, SETDRG+1, DRG2+5, DRG2+7, DRG3+3, DRG4+1, SEECMENT+6, GTSCRN+4, ORDERCHK+7 , ORDERCHK+8, CHK+2, CHK+3, CHK+4, ASKCHK+1, GTADSOL+6, GTADSOL+7, GTADSOL+8, GTADSOL+9, GTADSOL+11 , GTADSOL+16, GTADSOL+19, GTADSOL+21, GTADSOL+22, GTADSOL+26, GTADSOL+29 |
X | DRG1+2, DRG1+6*, DRG1A*, DRG1A+1, DRG1A+2, DRG1A+3, DRG1A+8, SETDRG+1*, SETDRG+2*, DRG2+1 , DRG2+7*, DRG3+3*, 1+1*, 1+2, 2+1, DRG4+1*, GTSCRN+2*, IT+1*, IT+2, IT+3!* , IT+4!*, IT+5, ORDERCHK~, ORDERCHK+4, ORDERCHK+5~, ORDERCHK+12*, SAVEDRG+3*, SAVEDRG+6*, CHK+2, CHK+3 , CHK+4, ASKCHK+2*, ASKCHK+3, DEL+1*, GTADSOL+2~, GTADSOL+5*, GTADSOL+6, GTADSOL+7, GTADSOL+8, GTADSOL+9 , GTADSOL+11, GTADSOL+22*, GTADSOL+26*, GTADSOL+29* |
X(1 | GTSCRN+4* |
XX | ORDERCHK+5~, SAVEDRG+4*, SAVEDRG+5, SAVEDRG+6 |
Y | DRG1A*, DRG1A+3, DRG1A+5*, DRG1A+6, DRG1A+7, DRG2+1, DRG2+2, DRG2+5, 2+1, ORDERCHK+5~ , ORDERCHK+12*, GTADSOL+2~, GTADSOL+14, GTADSOL+15, GTADSOL+21, GTADSOL+22*, GTADSOL+29 |
Y(0 | DRG2+5 |