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

Package: Outpatient Pharmacy

Routine: PSOORNEW


Information

PSOORNEW ;BIR/SAB-display orders from oerr ;04-Jun-2013 12:54;DU

Source Information

Source file <PSOORNEW.m>

Call Graph

Call Graph Total: 27

Package Total Call Graph
Outpatient Pharmacy 20 EN^PSODIAG  POST^PSODRG  ^PSOLMPO1  EN^PSON52  EOJ^PSONEW  (DCORD,DISPLAY,EXPR,STOP)^PSONEW2  ^PSONEWF  DIN^PSONFI  
CHECK^PSONRXN  DRG^PSOORDRG  DOSE^PSOORED4  (INST,OBX)^PSOORFI1  ELIG^PSOORFI2  (DOSE2,INST,ORCHK,PQTY,PROVCOM,REF)^PSOORFI4  LMDISP^PSOORFI5  RXNCHK^PSOORNE1  
2^PSOORNW1  (1,10,11,12,13,14,3,4,5,7,8,9,INS)^PSOORNW2  NPSOSD^PSOUTIL  CLEAN^PSOVER1  
IHS Changes To Pharmacy 2 IHSFLDS^APSPDIR  EN^APSPPCC1  
VA Fileman 2 $$EXTERNAL^DILFD  ^DIR  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  
Order Entry Results Reporting 1 EN1^ORCFLAG  
Registration 1 FULL^VALM1  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Outpatient Pharmacy 5 PSOBKDED  PSOLMUTL  PSOORFI1  PSOORNE6  PSOORNW2  

Entry Points

Name Comments DBIA/ICR reference
ACP ;
DRGMSG ;
REF
PT
1
0 ; EP - IHS/CIA/PLS - 01/26/04 - Prompt IHS Fields
3
2
5
4
7
6
9
8
ORCHK
11
10
13
12
15
14
OI
EDTSEL
DSPL
ABORT
KV
EDT ;D KV S DIR("A",1)="* Indicates which fields will create an new Order",DIR("A")="Select Field to Edit by number",DIR(0)="LO^1:15" D ^DIR Q:$D(DTOUT)!($D(DUOUT))

External References

Name Field # of Occurrence
IHSFLDS^APSPDIR 0+1
EN^APSPPCC1 ACP+30
$$EXTERNAL^DILFD PT+40, PT+42, PT+43, PT+44, PT+45
^DIR EDT+1, ACP+7, ACP+21, ACP+23, ACP+27, ABORT
EN1^ORCFLAG ACP+1
EN^PSODIAG 2+1
POST^PSODRG ACP+16
^PSOLMPO1 PT+51
EN^PSON52 ACP+29
EOJ^PSONEW ACP+33
DCORD^PSONEW2 ACP+29, ACP+31
DISPLAY^PSONEW2 ACP+20
EXPR^PSONEW2 ACP+19
STOP^PSONEW2 ACP+20
^PSONEWF ACP+20
DIN^PSONFI OI+5
CHECK^PSONRXN ACP+17
DRG^PSOORDRG OI+2
DOSE^PSOORED4 3
INST^PSOORFI1 PT+2, PT+3
OBX^PSOORFI1 OI+5
ELIG^PSOORFI2 PT+14
DOSE2^PSOORFI4 PT
INST^PSOORFI4 PT+1
ORCHK^PSOORFI4 ORCHK
PQTY^PSOORFI4 PT+22
PROVCOM^PSOORFI4 ORCHK
REF^PSOORFI4 REF
LMDISP^PSOORFI5 OI+5
RXNCHK^PSOORNE1 ACP+18
2^PSOORNW1 2+1
1^PSOORNW2 1
10^PSOORNW2 11
11^PSOORNW2 12
12^PSOORNW2 13
13^PSOORNW2 14
14^PSOORNW2 15
3^PSOORNW2 5
4^PSOORNW2 6
5^PSOORNW2 7
7^PSOORNW2 8
8^PSOORNW2 9
9^PSOORNW2 10
INS^PSOORNW2 4
NPSOSD^PSOUTIL ACP+32
CLEAN^PSOVER1 ACP+15, ABORT
FULL^VALM1 EDTSEL+3, ACP+2, ACP+32
$$FMADD^XLFDT ACP+19
$$FMTE^XLFDT PT+41

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"No action taken!",!
  • Line Location: ACP+21
Routine Call
  • DIR
  • Line Location:
    • EDT+1
    • ACP+7
    • ACP+21
    • ACP+23
    • ACP+27
    • ABORT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" PT+8, PT+11, PT+12, PT+13, PT+50
^PS(50.606 - [#50.606] OI+6
^PS(50.7 - [#50.7] OI+1, OI+6
^PS(52.41 - [#52.41] ACP+1, ACP+8
^PS(53 - [#53] DSPL+3, PT+7
^PS(55 - [#55] DSPL+3
^PSDRUG - [#50] OI+11, PT+16, PT+18, PT+20, DRGMSG+1, DRGMSG+2
^PSDRUG("AQ" OI+9
^TMP("PSOPO" DSPL+1!, OI+6*, OI+7, OI+9*, OI+10, OI+11*, OI+12*, PT+1*, PT+2*, PT+3*
, PT+4*, PT+6*, PT+7*, PT+8*, PT+9*, PT+11*, PT+12*, PT+13*, PT+15*, PT+16*
, PT+17*, PT+20*, PT+21*, PT+23*, PT+24*, PT+25*, PT+28*, PT+29*, PT+31*, PT+33*
, PT+34*, PT+36*, PT+37*, PT+38*, PT+39*, PT+40*, PT+41*, PT+42*, PT+43*, PT+44*
, PT+45*, PT+49*, PT+50*, DRGMSG+1*, DRGMSG+2*
^VA(200 - [#200] PT+26, PT+28, PT+48, PT+49

Label References

Name Line Occurrences
3 2+2
@( EDTSEL+4, ACP+17
ABORT ACP+29
DRGMSG OI+11
DSPL EDTSEL+3, ACP+10, ACP+12, ACP+14, ACP+15, ACP+19, ACP+24
KV EDT+1, EDTSEL, EDTSEL+4, ACP+2, ACP+21, ACP+23, ACP+24, ABORT
OI DSPL+2
ORCHK ACP+11
PT OI+8
REF EDTSEL+4

Naked Globals

Name Field # of Occurrence
^("PS" PT+26, PT+27
^(0 OI+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ACP ACP+11*
>> BINGCRT ACP+25*
>> BINGRTE ACP+25*
>> CLOZPAT DSPL+2, OI+3, OI+4, PT+14, PT+22, ACP+10
DIR ACP+21!, ACP+26!, ACP+27!, KV!
DIR("A" EDT+1*, ACP+3*, ACP+4*, ACP+5*, ACP+6*, ACP+21*, ACP+23*, ABORT*
DIR("B" ACP+6*, ACP+23*, ACP+27*
DIR(0 EDT+1*, ACP+6*, ACP+21*, ACP+23*, ACP+26*, ABORT*
DIRUT ACP+1, ACP+7, ACP+23, ACP+26!, ACP+27!, KV!
>> DREN OI+2*
DRET ACP+21!, ACP+23!
DT PT+11, ACP+19
DTOUT EDT+1, KV!
DUOUT EDT+1, KV!
DUZ PT+48
FLD EDTSEL~, EDTSEL+4*
>> I PT+5*
>> IEN OI+5*, OI+6*, OI+7, OI+9*, OI+10, OI+11*, OI+12*, PT+1*, PT+2*, PT+3*
, PT+4*, PT+6*, PT+7*, PT+8*, PT+9*, PT+11, PT+12, PT+13*, PT+15*, PT+16
, PT+17, PT+19*, PT+20, PT+21*, PT+23*, PT+24*, PT+25*, PT+27*, PT+28, PT+29*
, PT+31*, PT+33*, PT+34, PT+36*, PT+37*, PT+38*, PT+39*, PT+40*, PT+41*, PT+42*
, PT+43*, PT+44*, PT+45*, PT+49*, PT+50, DRGMSG+1*, DRGMSG+2
LST OI+8!, EDTSEL~, EDTSEL+3*, EDTSEL+4
>> NFID OI+9, OI+10*
>> NFIO OI+6, OI+7*
>> OI OI+1*
>> OID OI+1*
>> OR0 OI+1, OI+2, OI+4, PT+8, PT+11, PT+13, PT+17, PT+21, PT+23, PT+26
, PT+30, PT+48, PT+50, ACP+19
>> ORCHK ACP+15, ACP+16*
>> ORD OI+5, ACP+1, ACP+8
>> ORDRG ACP+15, ACP+16*
OUT EDTSEL~*, EDTSEL+4
POERR OI+2*!
PSOANSQ ACP+23!, ACP+24!
PSOANSQD DSPL!, ACP+21!, ACP+23!
PSOBDR 1~, 2~
PSOBDRG 1~*, 2~*
>> PSOCPZ("DFLG" ACP+21!, ACP+23!
PSOCSIG 2~, 2+2!
>> PSODFN DSPL+3, ACP+30
>> PSODIR("DFLG" ACP+11*, ACP+13
>> PSODIR("QFLD" ACP+11*
PSODOSE EDTSEL+3~*
>> PSODRUG("DEA" OI+3
>> PSODRUG("IEN" OI+5, OI+9, OI+11, PT+16, PT+18, PT+20, DRGMSG+1, DRGMSG+2
>> PSODRUG("NAME" OI+8, OI+9, ACP+14, ACP+15, ACP+16
>> PSODRUG("OI" OI, OI+1*, OI+5, OI+6, PT+48
>> PSODRUG("OIN" OI+1*
PSODSPL DSPL!
PSOELSE PT+4!, PT+8!*, PT+9, PT+10!*, PT+12
>> PSOFROM ACP+17*
>> PSOID PT+8*
>> PSOLMC DSPL+1*, PT+51*, PT+52
>> PSONEW EDTSEL+3, ACP+29, ACP+32, 0+1, 3
>> PSONEW("# OF REFILLS" , OI+3*, OI+4*, PT+23
>> PSONEW("AWP" PT+38
>> PSONEW("BST" PT+40
>> PSONEW("CASH DUE" , PT+45
>> PSONEW("CLERK CODE" , PT+48*, PT+49
>> PSONEW("CM" PT+42
>> PSONEW("COPIES" PT+29
>> PSONEW("COSIG NING PROVIDER" , PT+27*, PT+28
>> PSONEW("COST" PT+38
>> PSONEW("DAW" PT+43
>> PSONEW("DAYS SUPPLY" , DSPL+2*, DSPL+3*, PT+15
>> PSONEW("DFLG" ACP+18*, ACP+29
>> PSONEW("DSCMED" PT+44
>> PSONEW("EXPIR ATION DATE" , PT+41
>> PSONEW("FILL DATE" , PT+11*
>> PSONEW("FLD" ACP+14
>> PSONEW("IRXN" ACP+30
>> PSONEW("ISSUE DATE" , PT+8*, PT+9
>> PSONEW("LOT # " , PT+41
>> PSONEW("MAIL/WINDOW" PT+23, ACP+25
>> PSONEW("MANUFACTURER" PT+41
>> PSONEW("METHO D OF PICK-UP" , ACP+28*
>> PSONEW("NDC" PT+37
>> PSONEW("PATIE NT STATUS" , PT+7
>> PSONEW("POE" ACP+29*
>> PSONEW("PROVI DER NAME" , PT+25
>> PSONEW("PROVIDER" PT+26
>> PSONEW("QFLG" ACP+12, ACP+17, ACP+18
>> PSONEW("QTY" PT+14*, PT+17, ACP+10
>> PSONEW("REMARKS" PT+30*, PT+32, PT+33, PT+34
>> PSONEW("RX #" , ACP+17
>> PSONEW("SIG" PT+1
>> PSONEW("TRIP" PT+39
>> PSOPAR ACP+17, ACP+25
>> PSOQFLG 2+1
>> PSORX("CLERK CODE" , PT+48*
>> PSORX("CLINIC" PT+24
>> PSORX("DFLG" ACP+11*, ACP+13, ACP+15, ACP+16
>> PSORX("FILL D ATE" , PT+10, PT+11*, PT+12*
>> PSORX("MAIL/WINDOW" ACP+25*, ACP+32!
>> PSORX("METHOD OF PICK-UP" , ACP+27, ACP+28*
>> PSOSIGFL PT+48
>> PSOX ACP+17*
RN PT+19*, PT+20!, PT+49*, PT+50!
RTN ACP+17*, ACP+25!
SG PT+6*, PT+33*, PT+34, DRGMSG+1*, DRGMSG+2, DRGMSG+3!
>> SIG PT+5*, PT+6
>> SIG( PT+5
>> SIG(0 ACP+14
>> TY PT+2*, PT+3*
>> VALMBCK DSPL*, PT+51*, PT+52*, EDTSEL+5*, ACP+7*, ACP+21*, ACP+23*, ABORT*
>> VALMSG PT+48*, ACP+10*
X ACP+28!
Y PT+8*, PT+11*, PT+12*, PT+13*, PT+50*, EDTSEL+3, ACP+1, ACP+7, ACP+24, ACP+28!
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