Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSOORED1

Package: Outpatient Pharmacy

Routine: PSOORED1


Information

PSOORED1 ;ISC-BHAM/SAB - edit orders from backdoor ;5/10/07 8:25am

Source Information

Source file <PSOORED1.m>

Call Graph

Call Graph

Call Graph Total: 23

Package Total Call Graph
Outpatient Pharmacy 17 REVERSE^PSOBPSU1  REF^PSOCAN2  RMP^PSOCAN3  SINS^PSODIR  EN^PSOFSIG  SIG^PSOHELP  EXP^PSOHELP1  ($$INSCHK,DELINS)^PSOHELP3  
EN^PSOHLSN1  DEL^PSONEW  CHECK^PSONRXN  DRG^PSOORDRG  DOLST1^PSOORED3  DOSE1^PSOORED5  EN^PSOORNE1  CAN^PSOTPCAN  
$$MAXNUMRF^PSOUTIL  
VA FileMan 5 NOW^%DTC  ^DIE  ^DIK  ^DIR  EN^DIWE  
List Manager 1 PAUSE^VALM1  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Outpatient Pharmacy 2 PSOORCPY  PSOOREDT  

Entry Points

Name Comments DBIA/ICR reference
EN(PSORENW) ;
TRY
INS
INS1
INSX
INSQ
INIT ;setup psorenw array
QTY
RFN
RF ;# of refills
; Retrieving the Maximum Number of Refills allowed
UPMI ;add dosing data for pre-poe rxs

External References

Name Field # of Occurrence
NOW^%DTC TRY+19
^DIE EN+13, TRY+9
^DIK TRY+15, TRY+24
^DIR INS1+4, UPMI+2
EN^DIWE INS+8
REVERSE^PSOBPSU1 TRY+2
REF^PSOCAN2 TRY+14
RMP^PSOCAN3 TRY+3
SINS^PSODIR INSX+3
EN^PSOFSIG INS1+5, INS1+6, INS1+12, INSX+4
SIG^PSOHELP INS1+10
EXP^PSOHELP1 TRY+23
$$INSCHK^PSOHELP3 INSX+6
DELINS^PSOHELP3 INS1+7
EN^PSOHLSN1 TRY+5
DEL^PSONEW EN+5, EN+8
CHECK^PSONRXN EN+7
DRG^PSOORDRG RFN+10
DOLST1^PSOORED3 RFN+29
DOSE1^PSOORED5 UPMI+4
EN^PSOORNE1 EN+9
CAN^PSOTPCAN TRY+2
$$MAXNUMRF^PSOUTIL RF+2
PAUSE^VALM1 EN+4, EN+5, EN+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: " ("_$E(INS1,2,9999999)_")"
  • Line Location: INS1+11
Function Call: WRITE
  • Prompt: !!
  • Line Location: UPMI+1
Routine Call
  • DIE
  • Line Location:
    • EN+13
    • TRY+9
Routine Call
  • DIR
  • Line Location:
    • INS1+4
    • UPMI+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(52.4 - [#52.4] Classic Fileman Calls
^PS(52.5 - [#52.5] Classic Fileman Calls
^PS(59 - [#59] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DILOCKTM" EN+11
^PS(50.7 - [#50.7] INS1+2
^PS(52.4 - [#52.4] TRY+24
^PS(52.5 - [#52.5] TRY+11, TRY+12, TRY+13, TRY+14
^PS(53 - [#53] RFN+8
^PS(55 - [#55] INS1+5, INSX, INSX+4, RFN+7
^PS(59 - [#59] EN+11, EN+13
^PSRX - [#52] TRY*, TRY+1*, TRY+6, TRY+7, TRY+8, TRY+9, TRY+10*, TRY+14, TRY+16, TRY+17
, TRY+18, TRY+19*, TRY+20*, TRY+21*, TRY+22*, INS+1, INS+2, INS+3, INS+4, INS+5
, INS+6, INS+7, INS+10, INS1+1, INSX+2, INIT+1, INIT+4, INIT+7, RFN+27, RFN+28
^PSRX("AH" TRY+9!
^PSRX("B" EN+14
^SC - [#44] RFN+6
^TMP($J INS!, INS+6*, INS+7*, INS+8!, INS+9, RFN+23, RFN+25, RFN+26!
^VA(200 - [#200] INIT+11, INIT+12, RFN+20

Label References

Name Line Occurrences
@( EN+3
INIT EN+2
INS1 INS+2, INS+4, INS1+10, INSX+7
INSQ INS1+5, INS1+6, INS1+13, INSX, INSX+4
INSX INS+5
QTY INIT+24
RF RFN+11
UPMI INS+1

Naked Globals

Name Field # of Occurrence
^("PS" INIT+12
^("SIG" INIT+4
^("STA" TRY+8, INIT+1
^("TN" INIT+1
^(2 INIT+1
^(3 INIT+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % TRY+19
>> ACNT TRY+17*, TRY+19, TRY+20, TRY+21, TRY+22
>> ACOM TRY+6*, TRY+9*, TRY+13*, TRY+19
>> CLOZPAT INIT+25, RFN, RF+2
COMM TRY+5*!
>> COPY EN+16, INIT+14, RFN+21
D INS+10*, INIT+7*, INIT+8!
>> DA EN+10*, TRY*, TRY+1, TRY+2, TRY+5, TRY+7, TRY+8, TRY+9, TRY+10, TRY+11*
, TRY+12, TRY+13, TRY+14*, TRY+15*, TRY+16*, TRY+17, TRY+18, TRY+19, TRY+20, TRY+21
, TRY+22, TRY+24*
DD INS+3!*, INS+4!, RFN+24!
DIC INS!, INS+8*, INS1!, INSQ!
DIE EN+10*, EN+13!, TRY+9*
DIK TRY+15*!, TRY+24*!
DIR INS!, INS1!, INSX+1!, INSQ!, UPMI+1!, UPMI+2!
DIR("?" INS1+4*
DIR("A" UPMI+1*
DIR("B" INS1+3*, UPMI+1*
DIR(0 INS1+4*, UPMI+1*
DIRUT INS!, INS1!, INSQ!, UPMI+1!, UPMI+2!
>> DR EN+12*, TRY+9*
>> DREN RFN+10*
DT TRY+1, RFN+1, RFN+4
DTOUT INS!, INS1!, INS1+5, INSQ!, UPMI+1!
DUOT UPMI+2!
DUOUT INS!, INS1!, INS1+5, INSQ!, UPMI+1!, UPMI+2!
DUZ TRY+19, RFN+19, RFN+20
>> DWLW INS+8*
DWPK INS+8*, INSQ!
EDTHLD UPMI+3*, UPMI+4!
GG INS+3!
>> I INS+3*, INS+6*, INIT+7*, RFN+22*, RFN+25*
>> INS1 INS1+8*, INS1+9*, INS1+11, INS1+12
INSDEL INS!, INS+9*
LST EN+1~
>> OLENT RFN+29
ORD EN+1~
ORN EN+1~
PHARM TRY+5*!
POERR RFN+10*!
PSCDA TRY+24*!
>> PSDAYS RFN+9*, RF+2
>> PSOAC EN+1*
PSODELINS INS1+7*, INS1+8, INS1+9, INS1+13, INSQ!
>> PSODFN TRY+16*, INS1+5, INSX, INSX+4
>> PSODRUG("IEN" INIT+23, RFN+10, RF+2
>> PSODRUG("OI" INS1+2
>> PSOEDIT INIT+14
>> PSOID RFN+1*
>> PSOINSCH INSX+6*, INSX+7
>> PSOMRFLG TRY+20, TRY+21, TRY+22
>> PSOMTFLG INIT+17, RFN+4, RFN+14
>> PSONEW INS1+6
>> PSONEW("DFLG" EN+6, EN+8, UPMI+1!, UPMI+4
>> PSONEW("OLD L AST RX#" , EN+10
>> PSONEW("QFLG" EN+4!, EN+6, EN+8
>> PSONEW("RX #" , EN+4, EN+5, EN+6, EN+14
>> PSONOOR TRY+5
PSOOEINS INS1+1*, INS1+5, INS1+6, INS1+8, INSX+4, INSQ!
>> PSOOIFLG TRY+20, TRY+21, TRY+22
PSOOSINS INS1+1*, INS1+5, INS1+6, INSX+4, INSQ!
>> PSOPAR EN+3, EN+4, EN+6, EN+9
PSORENW EN~, EN+8!, EN+9, RFN+29
PSORENW("# OF REFILLS" , RFN*, RFN+11, RFN+14*, RF+2*
PSORENW("CLER K CODE" , RFN+19*
PSORENW("CLINIC" INIT+13*, RFN+6
PSORENW("COPIES" RFN+18*
PSORENW("COSI GNING PROVIDER" , INIT+12*
PSORENW("COSIGNER" INIT+19*, INIT+20!
PSORENW("DAYS SUPPLY" , INIT+24, INIT+25*, RFN+9
PSORENW("DOSE" RFN+22
PSORENW("DRUG IEN" , INIT+23*
PSORENW("ENT" RFN+21*, RFN+22!*, RFN+29*
PSORENW("FILL DATE" , RFN+1*, RFN+4*
PSORENW("INS" RFN+27*
PSORENW("IRXN" TRY+6, INIT+1, INIT+4, INIT+7, INIT+9, RFN+27, RFN+28
PSORENW("ISSU E DATE" , RFN+1*
PSORENW("MAIL/WINDOW" RFN+16*, RFN+17
PSORENW("OIRXN" TRY, INIT+9*
PSORENW("ORX #" , INIT+22*
PSORENW("PATI ENT STATUS" , RFN+7*, RFN+8, RF+2
PSORENW("PROV IDER NAME" , INIT+11*
PSORENW("PROVIDER" INIT+10*, INIT+11, INIT+12
PSORENW("PSODFN" INIT+21*, RFN+7
PSORENW("PTST NODE" , RFN+8*, RFN+9
PSORENW("QTY" QTY*
PSORENW("REMARKS" INIT+14*, INIT+17*
PSORENW("RX # " , EN+6*, EN+7
PSORENW("RX0" INIT+1*, INIT+10, INIT+13, INIT+14, INIT+17, INIT+21, INIT+22, INIT+25, QTY, RFN
, RFN+7, RFN+9, RFN+16, RFN+18
PSORENW("RX2" INIT+1*
PSORENW("RX3" INIT+1*, INIT+19, RFN+4
PSORENW("SIG" INIT+2*, INIT+4*, RFN+25*
PSORENW("SINS" RFN+28*
PSORENW("STA" INIT+1*
PSORENW("TN" INIT+1*
>> PSORX("CLERK CODE" , RFN+20*
>> PSORX("CLINIC" RFN+6*
>> PSORX("DFLG" EN+1*
>> PSORX("EDIT" UPMI+3!, UPMI+4*
>> PSORX("FN" EN+1!, EN+9
>> PSORX("MAIL/WINDOW" RFN+17*
>> PSORX("PROVID ER NAME" , INIT+11*
>> PSORX("QFLG" EN+1*
>> PSORX("SIG" INIT+2
>> PSORXED INS1+5, INS1+12, INSX+3, INSX+4, INSX+6, UPMI+4*
>> PSORXED("DFLG" INS1+6, INSX+4
>> PSORXED("DOSE" INS+1
>> PSORXED("FLD" INS+2*, INS+4*, INS1+2*, INS1+3, INS1+5!, INS1+9*, INS1+12*, INSX+4!, INSX+5*
>> PSORXED("INS" INS1+5*, INS1+6*, INS1+8*, INS1+9!, INS1+12*, INSX+4*
>> PSORXED("IRXN" INS+1, INS+2, INS+3, INS+4, INS+5, INS+6, INS+7, INS+10, INS1+1, INSX+2
>> PSORXED("SIG" INS+10*, INS1+5*, INS1+6*!, INS1+9!, INS1+12*, RFN+24!
>> PSORXED("SINS" INS1+5*, INS1+6*, INS1+9!, INSX+2*, INSX+4*, INSX+5
>> PSOSIGFL INIT+2, RFN+29
>> PSOSITE EN+10, EN+11, EN+13
PSOX EN+7*, EN+10*, EN+12, EN+13, EN+15!
PSOX1 INIT+8!
PSOY EN+10*, EN+11, EN+12, EN+13, EN+15!
QUIT INS!, INS+1, UPMI+2*, UPMI+4*
>> REA TRY+23*
>> RF TRY+18*
>> RFCNT TRY+18*, TRY+19
>> RXDA TRY+11*, TRY+14, TRY+16
>> RXREF TRY+16*
>> SIG( INIT+7*
>> SIG(0 INIT+6
>> SIGOK INIT+2*, INIT+6*
STAT TRY+5*!
>> SUB TRY+17*
SUSD TRY+12*, TRY+16!
SUSDA TRY+11*, TRY+14, TRY+15, TRY+16!
UPMI INS!, INS+2!, INS+4!, INS1+2!, UPMI+3*
VALMBCK EN+1!, EN+4*, EN+5*, EN+8*, EN+9*
VALMSG EN+4!, EN+5!
X EN+13!, INS!, INS+8, INS1!, INS1+7, INS1+8*, INS1+10, INSQ!
Y EN+13!, INS!, INS1!, INSQ!, RFN+1*, UPMI+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All