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 |  Local Variables |  All
Print Page as PDF
Routine: APSPFNC6

Package: IHS Changes To Pharmacy

Routine: APSPFNC6


Information

APSPFNC6 ;IHS/MSC/PLS - Prescription Creation Support ;28-Mar-2016 11:53;DU

Source Information

Source file <APSPFNC6.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
IHS Changes To Pharmacy 2 EN^APSPELRX  (ERXOI,ERXUSER)^APSPFNC2  
Order Entry Results Reporting 1 $$VALUE^ORCSAVE2  
Registration 1 $$SITE^VASITE  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
IHS Electronic Health Record 3 BEHORXF1  BEHORXF4  BEHORXFN  
Outpatient Pharmacy 3 PSODRG  PSODRGN  PSOORNW1  
IHS Changes To Pharmacy 2 APSPESG2  APSPFNC2  

Entry Points

Name Comments DBIA/ICR reference
CKRXACT(RX,REASON,TYPE) ;EP-
ERXUSER(USR) ; EP
ERXOI(OIIEN,SCH,TPL) ; EP
ERXONLY(DRUG) ;EP- Patch 1021
DIV(INS)
RESEND(DATA,ORD,RXNUM) ;EP -
GETLONG(RET,ORDER) ;EP-
LASTACT(RX,REASON) ;EP-
GETLNGDG(DRUG) ;EP-
DIVSCN(ENT) ;
GPKUP(DATA,USR,OI,ORDER) ; EP -
LOC(ORIEN) ;
OKTOUSE(OI,RSCH) ;function call
CHKERX(ORDER) ;Find out if ORDER was an eRX one

External References

Name Field # of Occurrence
EN^APSPELRX RESEND+5
ERXOI^APSPFNC2 ERXOI+3
ERXUSER^APSPFNC2 ERXUSER+2
$$GET1^DIQ CHKERX+5, GETLNGDG+1
$$VALUE^ORCSAVE2 RESEND+2, GETLONG+3
$$SITE^VASITE LOC+12
$$GET^XPAR GPKUP+5, GPKUP+6, GPKUP+7, GPKUP+8, LOC+3

Used in RPC

RPC Name Call Tags
APSPFNC6 GPKUP GPKUP
APSPFNC6 RESEND RESEND

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] RESEND+3, LOC+2
^ORD(101.43 - [#101.43] OKTOUSE+4
^PS(59 - [#59] DIV
^PSDRUG - [#50] OKTOUSE+7, OKTOUSE+9, ERXONLY+2
^PSDRUG("ASP" OKTOUSE+6
^PSRX - [#52] RESEND+4, CKRXACT+6, CKRXACT+7, CKRXACT+9, LASTACT+6, LASTACT+7, LASTACT+10
^PSRX("APL" CHKERX+3
^SC - [#44] LOC+8

Label References

Name Line Occurrences
$$CHKERX GPKUP+4
$$DIV LOC+10, LOC+11, LOC+12, DIVSCN+1
$$ERXOI GPKUP+21, GPKUP+32, OKTOUSE+3
$$ERXONLY OKTOUSE+10
$$ERXUSER GPKUP+13, GPKUP+24
$$GETLNGDG GETLONG+5
$$OKTOUSE GPKUP+12, GPKUP+23

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AUTOOR GPKUP+1~, GPKUP+2*, GPKUP+4*, GPKUP+14, GPKUP+18, GPKUP+20, GPKUP+21
AUTORX GPKUP+1~, GPKUP+7*, GPKUP+9, GPKUP+11, GPKUP+22
C GPKUP+1~, GPKUP+5*
CRX GPKUP+1~, GPKUP+6*, GPKUP+21, GPKUP+32
DATA GPKUP~, GPKUP+33*, RESEND~, RESEND+6*
DRUG ERXONLY~, ERXONLY+2, GETLONG+1~, GETLONG+3*, GETLONG+4, GETLONG+5, GETLNGDG~, GETLNGDG+1
DUZ(2 LOC+3, LOC+11
ENT DIVSCN~, DIVSCN+1, DIVSCN+2, DIVSCN+3
FLG LASTACT+1~, LASTACT+2*, LASTACT+6, LASTACT+9*
IEN OKTOUSE+1~, OKTOUSE+6*, OKTOUSE+7, OKTOUSE+9, OKTOUSE+10
INS DIV~
LP CKRXACT+1~, CKRXACT+2*, CKRXACT+6*, CKRXACT+7, CKRXACT+9, LASTACT+1~, LASTACT+3*, LASTACT+6*, LASTACT+7, LASTACT+10
NODE OKTOUSE+1~, OKTOUSE+7*, OKTOUSE+8
OI GPKUP~, GPKUP+12, GPKUP+21, GPKUP+23, GPKUP+32, OKTOUSE~, OKTOUSE+3, OKTOUSE+4
OIIEN ERXOI~, ERXOI+3
OKERX GPKUP+1~, GPKUP+12*, GPKUP+14, GPKUP+17, GPKUP+20, GPKUP+21, GPKUP+23*, GPKUP+25, GPKUP+28, GPKUP+29
, GPKUP+31, GPKUP+32
ORD RESEND~, RESEND+2, RESEND+3
ORDER GPKUP~, GPKUP+2*, GPKUP+4, CHKERX~, CHKERX+2*, CHKERX+3, GETLONG~, GETLONG+3
ORIEN LOC~, LOC+2
PHARM RESEND+1~, RESEND+2*, RESEND+5
POI OKTOUSE+1~, OKTOUSE+4*, OKTOUSE+5, OKTOUSE+6
PR CKRXACT+1~, CKRXACT+7*, CKRXACT+8, LASTACT+1~, LASTACT+7*, LASTACT+8
PSOINS LOC+1~, LOC+8*, LOC+9, LOC+10
PSOLOC LOC+1~, LOC+2*, LOC+3, LOC+6, LOC+7*, LOC+8
PSOSITE LOC+1~, LOC+3*, LOC+4, LOC+5*, LOC+10*, LOC+11*, LOC+12*, LOC+13
PT CKRXACT+1~, CKRXACT+9*, CKRXACT+10, CKRXACT+11, LASTACT+1~
REASON CKRXACT~, CKRXACT+4, CKRXACT+8, LASTACT~, LASTACT+5, LASTACT+8
RES CKRXACT+1~, CKRXACT+2*, CKRXACT+3, CKRXACT+4, CKRXACT+6, CKRXACT+11*, CKRXACT+12, OKTOUSE+1~, OKTOUSE+2*, OKTOUSE+5
, OKTOUSE+6, OKTOUSE+9*, OKTOUSE+10*, OKTOUSE+11, LASTACT+1~, LASTACT+2*, LASTACT+4, LASTACT+5, LASTACT+10*, LASTACT+11
RET GPKUP+1~, GPKUP+10*, GPKUP+14*, GPKUP+18*, GPKUP+20*, GPKUP+21*, GPKUP+25*, GPKUP+29*, GPKUP+31*, GPKUP+32*
, GPKUP+33, ERXUSER+1~, ERXUSER+2, ERXUSER+3, ERXOI+1~, ERXOI+3, ERXOI+4, GETLONG~, GETLONG+2*, GETLONG+5*
RSCH GPKUP+1~, GPKUP+8*, GPKUP+12, GPKUP+21, GPKUP+23, GPKUP+32, OKTOUSE~, OKTOUSE+3
RX RESEND+1~, RESEND+3*, RESEND+4, RESEND+5, CKRXACT~, CKRXACT+3, CKRXACT+6, CKRXACT+7, CKRXACT+9, CHKERX+1~
, CHKERX+3*, CHKERX+4, CHKERX+5, LASTACT~, LASTACT+4, LASTACT+6, LASTACT+7, LASTACT+10
RXNUM RESEND~, RESEND+4
SCH ERXOI~, ERXOI+3
STOP OKTOUSE+1~
TPL ERXOI~, ERXOI+2*, ERXOI+4
TYPE CKRXACT~, CKRXACT+5*, CKRXACT+11
U RESEND+4, CKRXACT+7, CKRXACT+9, OKTOUSE+4, OKTOUSE+9, ERXONLY+2, LOC+2, LOC+3, LOC+8, LASTACT+7
, LASTACT+10
USR GPKUP~, GPKUP+13, GPKUP+24, ERXUSER~, ERXUSER+2
VAL ERXONLY+1~, ERXONLY+2*, ERXONLY+3
VALUE CHKERX+1~, CHKERX+2*, CHKERX+4, CHKERX+5*, CHKERX+6
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 |  Local Variables |  All