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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ORWDPS1

Package: Order Entry Results Reporting

Routine: ORWDPS1


Information

ORWDPS1 ; SLC/KCM/JLI - Pharmacy Calls for Windows Dialog; 03/10/2008

Source Information

Source file <ORWDPS1.m>

Call Graph

Call Graph Total: 14

Package Total Call Graph
Pharmacy Data Management 7 (SCHED,ZERO)^PSS51P1  EN^PSSDIN  START^PSSJORDF  DOSE^PSSOPKI1  DOSE^PSSORUTL  ($$IVDEA,EN1,IVDEA)^PSSUTIL1  ($$OIDEA,OIDEA)^PSSUTLA1  
Order Entry Results Reporting 2 ($$DEFDLG,$$NMSP,GETDLG,GETORDER)^ORCD  $$WARDIEN^ORWDPS32  
Inpatient Medications 1 ENRFA^PSJORUTL  
Kernel 1 $$DEA^XUSER  
Outpatient Pharmacy 1 DSUP^PSOSIGDS  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Order Entry Results Reporting 5 ORALWORD  ORCACT01  ORCMEDT8  ORCSAVE  ORWORR  

Entry Points

Name Comments DBIA/ICR reference
FAILDEA(FAIL,OI,ORNP,PSTYPE)
LOCPICK(Y,LOC) ; return default Location level routing
HASROUTE(Y,QOID) ;Check if QO has a ROUTE defined
DISPMSG()
DEFSPLY(DFN)
SCHALL(LST,DFN,LOCIEN)
QOCHECK(ORY,DIEN) ;
CHK94(VAL)
XPICK
PRIOR ; from DLGSLCT, get list of allowed priorities
QOMEDALT(ORY,ODIEN) ;
DEFPICK(LOC)
PKI(ORY,OI,PSTYPE,ORVP,PKIACTIV) ; return DEA Schedule for drug
HASOIPI(Y,QOID) ; Check if QO put orderable item's PI into Sig
DOWSCH(LST,DFN,LOCIEN)
DOSEALT(LST,DDRUG,CUROI,PSTYPE) ; return a list of formulary alternatives for dose
FDEA1(FAIL,OI,OITYPE,ORNP) ; only be called for an outpaitent and IV dialog
ODSLCT(LST,PSTYPE,DFN,LOC) ; return default lists for dialog
; PSTYPE: pharmacy type (U=unit dose, F=IV fluids, O=outpatient)
FORMALT(ORLST,ORIEN,PSTYPE) ; return a list of formulary alternatives
DFLTSPLY(VAL,UPD,SCH,PAT,DRG)

External References

Name Field # of Occurrence
$$GET1^DIQ QOMEDALT+3
$$DEFDLG^ORCD QOCHECK+7
$$NMSP^ORCD QOCHECK+2
GETDLG^ORCD QOCHECK+8
GETORDER^ORCD QOCHECK+8
$$WARDIEN^ORWDPS32 DOWSCH+2, SCHALL+2
ENRFA^PSJORUTL DOSEALT+2
DSUP^PSOSIGDS DEFSPLY+3, DFLTSPLY+8
SCHED^PSS51P1 DOWSCH+3, SCHALL+3
ZERO^PSS51P1 DOWSCH+9
EN^PSSDIN PKI+9
START^PSSJORDF PKI+6
DOSE^PSSOPKI1 PKI+7, PKI+8
DOSE^PSSORUTL PKI+7
$$IVDEA^PSSUTIL1 FDEA1+8
EN1^PSSUTIL1 FORMALT+3
IVDEA^PSSUTIL1 FDEA1+7
$$OIDEA^PSSUTLA1 FAILDEA+6
OIDEA^PSSUTLA1 FAILDEA+5
$$GET^XPAR DEFPICK+8, DISPMSG+1, LOCPICK+2
$$DEA^XUSER FAILDEA+7

Used in RPC

RPC Name Call Tags
ORWDPS1 ODSLCT ODSLCT
ORWDPS1 SCHALL SCHALL
ORWDPS1 CHK94 CHK94
ORWDPS1 DFLTSPLY DFLTSPLY
ORWDPS1 FORMALT FORMALT
ORWDPS1 DOSEALT DOSEALT
ORWDPS1 FAILDEA FAILDEA
ORWDPS1 LOCPICK LOCPICK
ORWDPS1 HASOIPI HASOIPI
ORWDPS1 HASROUTE HASROUTE
ORWDPS1 IVDEA FDEA1
ORWDPS1 DOWSCH DOWSCH
ORWDPS1 QOMEDALT QOMEDALT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(9.4 - [#9.4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ORD(100.98 - [#100.98] QOCHECK+4
^ORD(101.41 - [#101.41] DEFPICK+2, DEFPICK+3, QOMEDALT+2, QOMEDALT+4, QOMEDALT+5, QOMEDALT+6, CHK94+2, HASOIPI+3, HASOIPI+4, HASOIPI+7
, HASOIPI+8, HASROUTE+3, HASROUTE+5, HASROUTE+6, QOCHECK+2, QOCHECK+3
^ORD(101.42 - [#101.42] PRIOR+3, PRIOR+5, PRIOR+6
^ORD(101.43 - [#101.43] PKI+5, FORMALT+2, FORMALT+6, FORMALT+7, DOSEALT+4, DOSEALT+5, QOMEDALT+7, FAILDEA+2, FDEA1+4
^PSX(550 - [#550] DEFPICK+13
^TMP("ORECALL" DEFPICK+4
^TMP("PSJINS" PKI+2!, PKI+15!
^TMP("PSJMR" PKI+2!, PKI+15!
^TMP("PSJNOUN" PKI+2!, PKI+15!
^TMP("PSJSCH" PKI+2!, PKI+15!
^TMP("PSSDIN" PKI+2!, PKI+15!
^TMP($J DOWSCH+8!, DOWSCH+10, DOWSCH+11!
^VA(200 - [#200] FDEA1+9

Label References

Name Line Occurrences
$$DEFPICK ODSLCT+14
$$DISPMSG ODSLCT+5
FORMALT QOCHECK+12
PRIOR ODSLCT+3
XPICK DEFPICK+9, DEFPICK+10, DEFPICK+11, DEFPICK+12

Naked Globals

Name Field # of Occurrence
^("PS" FDEA1+9
^(1 DEFPICK+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRAY QOMEDALT+1~
ARY QOCHECK+1~, QOCHECK+12
CNT DOWSCH+1~, DOWSCH+5*, DOWSCH+6, DOWSCH+14, SCHALL+1~, SCHALL+5*, SCHALL+6
CUROI DOSEALT~, DOSEALT+5
DDRUG DOSEALT~, DOSEALT+2
DEAFLG FAILDEA+1~, FAILDEA+6*, FDEA1+3~, FDEA1+8*
DFN ODSLCT~, DEFSPLY~, DEFSPLY+2, DOWSCH~, SCHALL~
DG QOCHECK+1~, QOCHECK+3*
DIEN QOCHECK~, QOCHECK+2, QOCHECK+3, QOCHECK+4, QOCHECK+7, QOCHECK+8
DLG DEFPICK+1~, DEFPICK+2*, DEFPICK+4
DRG DFLTSPLY~, DFLTSPLY+4
>> EDITONLY DEFPICK+5*
FAIL FAILDEA~, FAILDEA+2*, FAILDEA+7*, FDEA1~, FDEA1+4*, FDEA1+9*
FORMIEN QOCHECK+1~
FREQ DOWSCH+1~, DOWSCH+10*, DOWSCH+12, DOWSCH+13
I DFLTSPLY+2~, DFLTSPLY+5*, DFLTSPLY+6, DFLTSPLY+7, FORMALT+1~, FORMALT+4*, FORMALT+7*, DOSEALT+1~, DOSEALT+3*, DOSEALT+4
IDIEN QOMEDALT+1~, QOMEDALT+5*, QOMEDALT+6
ILST ODSLCT+2~*, ODSLCT+3*, ODSLCT+4*, ODSLCT+5*, ODSLCT+11*, ODSLCT+12*, ODSLCT+13*, ODSLCT+14*, PKI+1~, PKI+3*
, PRIOR+5*, PRIOR+6*, DOWSCH+1~, DOWSCH+4*, DOWSCH+14*, SCHALL+1~, SCHALL+4*, SCHALL+6*, DOSEALT+1~*, DOSEALT+5*
LOC ODSLCT~, ODSLCT+14, DEFPICK~, DEFPICK+8, LOCPICK~, LOCPICK+2
LOCIEN DOWSCH~, DOWSCH+2, SCHALL~, SCHALL+2
LST ODSLCT~, DOWSCH~, SCHALL~, DOSEALT~
LST( ODSLCT+3*, ODSLCT+4*, ODSLCT+5*, ODSLCT+11*, ODSLCT+12*, ODSLCT+13*, ODSLCT+14*, PRIOR+5*, PRIOR+6*, DOWSCH+14*
, SCHALL+6*, DOSEALT+5*
NAME QOCHECK+1~, QOCHECK+4*, QOCHECK+5
>> NODE DOWSCH+6*, DOWSCH+7, DOWSCH+9, DOWSCH+10
ODIEN QOMEDALT~, QOMEDALT+2, QOMEDALT+5, QOMEDALT+6
OI PKI~, PKI+5, FORMALT+6*, FORMALT+7, DOSEALT+1~, DOSEALT+4*, DOSEALT+5, FAILDEA~, FAILDEA+2, FDEA1~
, FDEA1+4, QOCHECK+1~, QOCHECK+10*, QOCHECK+11
OIIEN QOCHECK+1~, QOCHECK+11*, QOCHECK+12, QOCHECK+13
OITYPE FDEA1~, FDEA1+8
OIX HASOIPI+1~, HASOIPI+6*, HASOIPI+8*, HASOIPI+9
ORARRAY DOWSCH+1~, DOWSCH+3, SCHALL+1~, SCHALL+3
ORARRAY( DOWSCH+5, DOWSCH+6, DOWSCH+14, SCHALL+5, SCHALL+6
ORDERID QOMEDALT+1~, QOMEDALT+4*, QOMEDALT+5
ORDIALOG QOCHECK+1~, QOCHECK+7*, QOCHECK+8, QOCHECK+9
ORDIALOG( QOCHECK+11
ORDIALOG("B" QOCHECK+10
ORDOSE PKI+1~, PKI+7, PKI+8
ORDOSE("DEA" PKI+11
ORIEN FORMALT~, FORMALT+2*, FORMALT+3
ORIEN( FORMALT+5
ORLST FORMALT~
ORLST( FORMALT+7*
ORNP FAILDEA~, FAILDEA+7, FDEA1~, FDEA1+9
ORPKG QOCHECK+1~, QOCHECK+2*
ORVP PKI~, PKI+7, PKI+8
ORWDOSES PKI+1~
ORWLST DOSEALT+1~, DOSEALT+2
ORWLST( DOSEALT+3, DOSEALT+4
ORWPSOI PKI+1~, PKI+4*, PKI+5*, PKI+6, PKI+7, PKI+8, PKI+9
ORWX DEFSPLY+1~, DEFSPLY+3, DFLTSPLY+2~, DFLTSPLY+8
ORWX("DAYS SU PPLY" , DEFSPLY+4, DFLTSPLY+9
ORWX("DOSE OR DERED" , DFLTSPLY+6*
ORWX("DRUG" DFLTSPLY+4*
ORWX("PATIENT" DEFSPLY+2*, DFLTSPLY+3*
ORWX("SCHEDULE" DFLTSPLY+7*
ORY PKI~, PKI+10*, PKI+14*, QOMEDALT~, QOMEDALT+2*, QOMEDALT+7*, QOCHECK~, QOCHECK+13*
PAT DFLTSPLY~, DFLTSPLY+3
PIIEN HASOIPI+1~, HASOIPI+4*, HASOIPI+5, HASOIPI+9
PKG QOMEDALT+1~, QOMEDALT+2*, QOMEDALT+3
PKIACTIV PKI~, PKI+13
PRMT DEFPICK+1~, DEFPICK+3*, DEFPICK+4
PSID FORMALT+1~, FORMALT+4*, FORMALT+5*, FORMALT+6
PSOI FAILDEA+1~, FAILDEA+4*, FAILDEA+6, FDEA1+3~, FDEA1+6*, FDEA1+8
PSTYPE ODSLCT~, ODSLCT+10, PKI~, PKI+6, PKI+7, PKI+8, PRIOR+2, FORMALT~, FORMALT+3, DOSEALT~
, DOSEALT+2, QOMEDALT+1~, QOMEDALT+3*, FAILDEA~, FAILDEA+6
QOID HASOIPI~, HASOIPI+3, HASOIPI+7, HASOIPI+8, HASROUTE~, HASROUTE+5, HASROUTE+6
ROUTID HASROUTE+1~, HASROUTE+2*, HASROUTE+3*, HASROUTE+4, HASROUTE+6
SCH DFLTSPLY~, DFLTSPLY+7
TKPG FDEA1+3~
TPKG FAILDEA+1~, FAILDEA+2*, FAILDEA+3, FAILDEA+4, FDEA1+4*, FDEA1+5, FDEA1+6
TYPE QOCHECK+1~, QOCHECK+5*, QOCHECK+6, QOCHECK+12
U PKI+5, PRIOR+5, PRIOR+6, DFLTSPLY+5, DFLTSPLY+6, DFLTSPLY+7, DOWSCH+7, DOWSCH+9, DOWSCH+10, DOWSCH+14
, SCHALL+6, FORMALT+2, FORMALT+7, DOSEALT+4, DOSEALT+5, QOMEDALT+2, QOMEDALT+7, FAILDEA+2, FDEA1+4, FDEA1+9
, QOCHECK+2, QOCHECK+3, QOCHECK+4, QOCHECK+10
UPD DFLTSPLY~, DFLTSPLY+5, DFLTSPLY+6
VAL DFLTSPLY~, DFLTSPLY+9*, CHK94~, CHK94+1*, CHK94+2*
VALUE QOMEDALT+1~, QOMEDALT+6*, QOMEDALT+7
WIEN DOWSCH+1~, DOWSCH+2*, DOWSCH+3, SCHALL+1~, SCHALL+2*, SCHALL+3
X PKI+1~, PKI+11*, PKI+13*, PKI+14, PRIOR+1~, PRIOR+3*, PRIOR+4, PRIOR+5, DEFPICK+1~, DEFPICK+2*
, DEFPICK+4*, DEFPICK+5, DEFPICK+8*, DEFPICK+9*, DEFPICK+10*, DEFPICK+11*, DEFPICK+12*, DEFPICK+13*, XPICK
X1 PKI+1~, PKI+11*
X2 PKI+1~, PKI+11*, PKI+12, PKI+13
XREF PRIOR+1~, PRIOR+2*, PRIOR+3, PRIOR+4, PRIOR+5
Y LOCPICK~, LOCPICK+1*, LOCPICK+2*, LOCPICK+3*, LOCPICK+4*, LOCPICK+5*, LOCPICK+6*, HASOIPI~, HASOIPI+2*, HASOIPI+9*
, HASROUTE~, HASROUTE+2*, HASROUTE+6*

Marked Items

Name Field # of Occurrence
$T(DOSE^PSSOPKI1 PKI+7, PKI+8
$T(IVDEA^PSSUTIL1 FDEA1+7
$T(OIDEA^PSSUTLA1 FAILDEA+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All