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: PSOORFI3

Package: Outpatient Pharmacy

Routine: PSOORFI3


Information

PSOORFI3 ;BIR/RTR-finish CPRS orders by Clinic ;29-May-2012 14:58;PLS

Source Information

Source file <PSOORFI3.m>

Call Graph

Call Graph Total: 14

Package Total Call Graph
Outpatient Pharmacy 6 $$CHK^PSODPT  LAN^PSOORED5  POST^PSOORFI1  (INSTNM,PROFILE)^PSOORFI2  (EX,KLL,KLLP,LBL,LK,LK1,ORD,QU,SDFN,SQR,ULP)^PSOORFIN  OERR^PSORX1  
VA Fileman 3 NOW^%DTC  ^DIC  ^DIR  
IHS Changes To Pharmacy 1 SETPTCX^APSPFUNC  
Kernel 1 $$DT^XLFDT  
Order Entry Results Reporting 1 UNLK1^ORX2  
Pharmacy Data Management 1 (PSOL,PSOUL)^PSSLOCK  
Registration 1 $$SITE^VASITE  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Outpatient Pharmacy 2 PSOORFI4  PSOORFIN  

Entry Points

Name Comments DBIA/ICR reference
SORT
DO
DOSE3
SQR ;
UL1 ;Unlock single order
DOSE ;pending orders
START
EOP
EXIT
DOSE1
DOSE2 ;displays pending order after edits
L1 ;Lock single order
CLIN
FMD
DU
CHECK ; check Institution
SQN ;

External References

Name Field # of Occurrence
NOW^%DTC START+19
SETPTCX^APSPFUNC START+14
^DIC CLIN, SORT
^DIR PSOORFI3+10, SORT+7, EOP, L1+2
UNLK1^ORX2 UL1+3
$$CHK^PSODPT START+9
LAN^PSOORED5 FMD+5
POST^PSOORFI1 START+16
INSTNM^PSOORFI2 CLIN+1
PROFILE^PSOORFI2 START+15
EX^PSOORFIN EXIT
KLL^PSOORFIN START+15
KLLP^PSOORFIN START+15
LBL^PSOORFIN START+7, START+21
LK^PSOORFIN START+8
LK1^PSOORFIN START+20
ORD^PSOORFIN START+20
QU^PSOORFIN START+15
SDFN^PSOORFIN START+16
SQR^PSOORFIN SQR+1
ULP^PSOORFIN START+9, START+15, START+16, START+20
OERR^PSORX1 START+15
PSOL^PSSLOCK L1+2
PSOUL^PSSLOCK UL1+5
$$SITE^VASITE CHECK+7
$$DT^XLFDT CHECK+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PSOORFI3+10
Function Call: WRITE
  • Prompt: !
  • Line Location: PSOORFI3+10
Function Call: WRITE
  • Prompt: !
  • Line Location: CLIN+0
Function Call: WRITE
  • Prompt: !!,"You are signed in under the "_$G(PSODINST)_" CPRS Ordering",!,"Institution, which does not match the Institution for this Clinic!",!
  • Line Location: CLIN+1
Function Call: WRITE
  • Prompt: !
  • Line Location: SORT+0
Function Call: WRITE
  • Prompt: !!,"There are no Clinics associated with this Sort Group!",!
  • Line Location: SORT+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SORT+5
Function Call: WRITE
  • Prompt: !,"Orders for these Clinics in the Sort Group will not be displayed for Finishing",!,"because the CPRS Ordering Institution does not match the Institution that is",!,"associated with the Clinic:",!
  • Line Location: SORT+5
Function Call: WRITE
  • Prompt: !,$P($G(^SC(PSCLP,0)),"^")
  • Line Location: SORT+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SORT+7
Function Call: WRITE
  • Prompt: !!,"There are no Clinics that have a matching Institution!",!
  • Line Location: SORT+9
Function Call: WRITE
  • Prompt: !
  • Line Location: EOP+0
Routine Call
  • DIC
  • Line Location:
    • CLIN
    • SORT
Routine Call
  • DIR
  • Line Location:
    • PSOORFI3+10
    • SORT+7
    • EOP
    • L1+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] Classic Fileman Calls
^PS(59.8 - [#59.8] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] CHECK+5
^DPT - [#2] START+9, START+10
^PS(50.607 - [#50.607] DOSE+4, DOSE2+3
^PS(51.2 - [#51.2] DOSE+6, DOSE2+3
^PS(52.41 - [#52.41] START+2, START+3, START+4, START+5, START+6, START+18, UL1+2, DOSE+2
^PS(55 - [#55] DU, DOSE2+6, DO, FMD+5
^PS(59.8 - [#59.8] SORT+2
^SC - [#44] SORT+2, SORT+6, CHECK+2, CHECK+3, CHECK+4
^TMP("PSOPO" DOSE+9*, DOSE+10*, DOSE1*, DOSE1+1*, DU*, DU+2*, DU+3*, DU+4*, DU+5*, DU+6*
, DU+9*, DU+10*, DOSE2+6*, DOSE2+7*, DOSE2+8*, DOSE3*, DOSE3+1*, DO*, DO+1*, DO+2*
, DO+3*, DO+4*, DO+5*, DO+6*, DO+7*, FMD+2*, FMD+3*
^TMP($J PSOORFI3+6!, CLIN+2*, SORT+2!*, SORT+3!, SORT+4*!, SORT+5, SORT+6, SORT+8, SORT+9!, START+1
, START+2, EXIT!

Label References

Name Line Occurrences
CHECK CLIN+1, SORT+4
CLIN CLIN+1
DO DOSE3
DOSE1 DOSE+2
DOSE3 DOSE2+2
DU DOSE1
EOP SORT+8, SORT+9
EXIT PSOORFI3+10, CLIN, SORT, START+1
FMD DOSE1, DOSE1+1, DOSE3, DOSE3+1
SORT PSOORFI3+11, SORT+3, SORT+9
START CLIN+2

Naked Globals

Name Field # of Occurrence
^(0 START+4, CHECK+2
^(2 DOSE+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % START+19
COJ DOSE2+2!, DOSE2+4*, DOSE2+9!, DO+7
DIC CLIN!*, SORT!*
DIC("A" CLIN*, SORT*
DIC(0 CLIN*, SORT*
DIR PSOORFI3+8!, PSOORFI3+10!, SORT+7!, START!, EOP!, L1+2!
DIR("?" PSOORFI3+8*, PSOORFI3+9*
DIR("A" PSOORFI3+8*, SORT+7*, EOP*, L1+2*
DIR("B" PSOORFI3+8*
DIR(0 PSOORFI3+8*, SORT+7*, EOP*, L1+2*
DOENT DOSE+1!, DOSE+8*, DOSE+11!
DOSE DOSE+2*, DOSE+3, DOSE+4, DOSE+5, DOSE+6, DOSE+7, DOSE+8, DOSE+11!, DU+7, DU+8
, DU+9, DU+10
DOSE1 DOSE+2*, DOSE+3, DOSE+11!
DS DOSE+1*, DOSE+10, DOSE1, DOSE2+1*, DOSE2+8, DOSE3, FMD+4!
DT CHECK+6*, CHECK+7
>> DTOUT PSOORFI3+10, CLIN, SORT
>> DUOUT PSOORFI3+10, CLIN, SORT
DUR DU+8*, DU+9, DOSE2+4*, DOSE2+9!, DO+6
I DOSE+2*, DOSE+3, DOSE+5, DOSE+7, DOSE+8, DOSE+9, DOSE+11!, DU, DU+1, DU+2
, DU+3, DU+4, DU+6, DOSE2+2*, DOSE2+3, DOSE2+4, DOSE2+5, DOSE2+6, DOSE2+7, DOSE2+9!
, DO, DO+1, DO+2, DO+3, DO+5
>> IEN DOSE+9*, DOSE+10*, DOSE1, DOSE1+1*, DU*, DU+2*, DU+3*, DU+4*, DU+5*, DU+6*
, DU+9*, DU+10*, DOSE2+6*, DOSE2+7*, DOSE2+8*, DOSE3, DOSE3+1*, DO*, DO+1*, DO+2*
, DO+3*, DO+4*, DO+5*, DO+6*, DO+7*, FMD+2*, FMD+3*
>> II FMD, FMD+1, FMD+5
IOF SORT+5, SORT+7
IOSL SORT+6
MAXRF SQN+1!
MEDA START!, START+15
MEDP START!, START+15
MIG FMD*, FMD+1*, FMD+2, FMD+4!
MPSDY SQN+1!
NOUN DOSE2+5*, DOSE2+9!
>> OR0 UL1+3
ORCHK SQN+1!
>> ORD START+18*, L1+1, L1+2, UL1+1, UL1+2, UL1+5, DOSE+2
ORDRG SQN+1!
>> PAT START+6*, START+7, START+8, START+9, START+10, START+15, START+16, START+17, START+18, START+19
, START+20
>> PAT( START+6, START+8*, START+9*, START+16*, START+17*
>> PATA START+2*, START+7, START+10*
>> POERR("DFLG" START!
>> POERR("QFLG" START!, START+2, START+3, START+8!, START+15*, START+16*, START+18
PSCLP PSOORFI3+7~, SORT+2*, SORT+4*, SORT+6*
PSOCFLAG PSOORFI3+7~, CLIN+1, SORT+4, CHECK+1!, CHECK+2*, CHECK+7*
PSOCLIN PSOORFI3+6!, CLIN+1*, CLIN+2!, SORT+4*, START+2*, START+3, EXIT!, CHECK+2, CHECK+3, CHECK+4
PSOCLINF PSOORFI3+6!, CLIN+1*, SORT+11*, EXIT!
PSOCLINS PSOORFI3+7~, SORT+1*, SORT+2
PSOCTMP PSOORFI3+7~
>> PSODFN START+10*, START+14, START+15, START+19*, DU, DOSE2+6, DO, FMD+5
PSODIEN PSOORFI3+7~, START+3*, START+4, START+5, START+6
PSODINST CLIN+1!
PSOFIN START+15!*
PSOINPTR PSOORFI3+7~, CHECK+7*
PSOLGD PSOORFI3+7~, START+2*, START+3
>> PSOLK START+8*, START+9*
PSOMAX SQN+1!
PSOMSG L1+2!
>> PSONEW("CONJUNCTION" DOSE+8*, DOSE2+4
>> PSONEW("DOSE ORDERED" , DOSE+3*, DOSE+9, DU, DU+1, DU+3, DOSE2+6, DOSE2+7, DO, DO+1
, DO+2, DO+3, FMD+1, FMD+5
>> PSONEW("DOSE" DOSE+3*, FMD
>> PSONEW("DURATION" DOSE+7*, DOSE2+4
>> PSONEW("ENT" DOSE+11*, DOSE2+2
>> PSONEW("NOUN" DOSE+3*, DU+4, DOSE2+5, DO+3
>> PSONEW("ODOSE" DU, DOSE2+6, DO
>> PSONEW("ROUTE" DOSE+5*, DOSE2+3
>> PSONEW("SCHEDULE" DOSE+7*, DU+6, DO+5
>> PSONEW("UNITS" DOSE+3*, DOSE2+3
>> PSONEW("VERB" DOSE+5*, DOSE+9, DU+1, DU+2, DOSE2+5, DOSE2+7, DO+1
>> PSONOLCK START+15*
PSONPTRX PSOORFI3+7~, CHECK+4*, CHECK+5*, CHECK+7
>> PSOPINST START+5, START+18, CHECK+2, CHECK+7
>> PSOPTLOK START+15*
PSOQFLG START+16!
>> PSOQQ SQN+2*
PSOQUIT START!, START+16, SQN+2!
>> PSORX("PSOL" START+7, START+21
PSORX0 SQN+1!
PSOSIG SQN+1!
PSOSTC PSOORFI3+7~, SORT+2*
PSOXINST PSOORFI3+6!, EXIT!, CHECK+1!
ROUTE DOSE+6*, DOSE+11!, DU+5, DOSE2+3*, DOSE2+9!, DO+4
>> RXRS START+7, START+21
SG FMD+2*, FMD+4!
STA SQN+1!
>> TM START+19*
>> TM1 START+19*
UNITS DOSE+4*, DOSE+11!, DOSE2+3*, DOSE2+9!, FMD+3
VERB DOSE2+5*, DOSE2+9!
>> X START+9*, START+15*, START+16*, START+20*
>> Y PSOORFI3+10, PSOORFI3+11, CLIN, CLIN+1, SORT, SORT+1, START+10*, START+15*
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