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 |  All
Print Page as PDF
Routine: APSPFNC1

Package: IHS Changes To Pharmacy

Routine: APSPFNC1


Information

APSPFNC1 ;IHS/CIA/DKM/PLS - Supporting calls for EHR and Pharmacy;12-Mar-2014 16:06;DU

Source Information

Source file <APSPFNC1.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
IHS Changes To Pharmacy 4 $$NDC^APSPES4  $$GETSEG^APSPESG  $$GHLDAT^APSPESG1  $$SQUERY^APSPRCUI  
VA Fileman 2 UPDATE^DIE  $$GET1^DIQ  
IHS Standard Terminology 1 $$DI2RX^BSTSAPI  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  
Order Entry Results Reporting 1 $$VALUE^ORCSAVE2  
Outpatient Pharmacy 1 OCL^PSOORRL  
Pharmacy Data Management 1 $$NDCFMT^PSSNDCUT  

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
IHS Changes To Pharmacy 2 APSPES1  APSPES4  
Order Entry Results Reporting 2 ORQ21  ORWDXR  
Outpatient Pharmacy 2 PSON52  PSORN52A  
IHS Electronic Health Record 1 BEHORXF2  

Entry Points

Name Comments DBIA/ICR reference
UDINST(Y,INDEX) ;
SETCMF(DATA,DFN,RXS,CMF) ;EP
SETMULT(Y,INDEX,SUB) ;
OPINST(Y,INDEX) ;
NXT()
GETPSIFN(ORIFN) ;
LOCAL(DRG) ;Use drug NDC code
ACTLOG(DATA,RX) ;EP
NAT(DRG) ;Use national NDC code
HLDRSN(ORIFN) ;
SSDNTP(REFREQ) ;EP-
RXNORDRG(DRUG) ;EP -
RXNORM(NDC,FLG) ;EP-
ADDERR(TXT) ;
SSDSIG(REFREQ) ;EP-
GETCMF1(ORIFN) ;
GETRXS(DATA,DFN,DAYS) ;
GETNDC(DRUG,PICKUP) ;EP -
SETCMF1(ORIFN) ;
IVINST(Y,INDEX) ;
ADDFDA(FN,IENS,FLD) ;

External References

Name Field # of Occurrence
$$NDC^APSPES4 LOCAL+4, NAT+3
$$GETSEG^APSPESG SSDSIG+8, SSDNTP+8
$$GHLDAT^APSPESG1 SSDSIG+6, SSDNTP+6
$$SQUERY^APSPRCUI RXNORDRG+4
$$DI2RX^BSTSAPI RXNORM+6
UPDATE^DIE SETCMF+5
$$GET1^DIQ HLDRSN+7, HLDRSN+8, GETCMF1+3, LOCAL+2, NAT+4
$$VALUE^ORCSAVE2 GETCMF1+4
OCL^PSOORRL GETRXS+4
$$NDCFMT^PSSNDCUT LOCAL+2, LOCAL+4, NAT+3, NAT+4
$$FMADD^XLFDT GETRXS+4
$$FMTE^XLFDT GETRXS+22

Used in RPC

RPC Name Call Tags
APSPFNC GETRXS GETRXS
APSPFNC SETCMF SETCMF

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)
^DIC(9.4 - [#9.4] GETPSIFN+3
^OR(100 - [#100] HLDRSN+2, HLDRSN+3, HLDRSN+4, GETPSIFN+2, SETCMF1+2, SETCMF1+7, SETCMF1+12
^ORD(101.41 - [#101.41] SETCMF1+14, SETCMF1+15
^PSRX - [#52] GETRXS+21, ACTLOG+3, ACTLOG+4, ACTLOG+5
^TMP("PS" GETRXS+2!, GETRXS+6, GETRXS+8, GETRXS+11, GETRXS+12, GETRXS+32!, UDINST+2, OPINST+2, IVINST+12, SETMULT+3
, SETMULT+4

Label References

Name Line Occurrences
$$GETCMF1 GETRXS+18
$$GETPSIFN HLDRSN+5, GETCMF1+2, SETCMF1+4
$$HLDRSN GETRXS+27
$$LOCAL GETNDC+3
$$NAT GETNDC+3
$$NXT GETRXS+28, GETRXS+30, GETRXS+31
ADDERR SETCMF+8, SETCMF1+3, SETCMF1+5, SETCMF1+23
ADDFDA SETCMF1+6, SETCMF1+9, SETCMF1+22
IVINST GETRXS+24
OPINST GETRXS+17
SETCMF1 SETCMF+4
SETMULT GETRXS+15, GETRXS+25, UDINST+6, UDINST+8, OPINST+6, OPINST+8, OPINST+9, OPINST+10, IVINST+3, IVINST+5
, IVINST+8
UDINST GETRXS+14

Naked Globals

Name Field # of Occurrence
^("P" GETRXS+8
^(2 GETRXS+21
^(4 GETPSIFN+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A0 ACTLOG+1~, ACTLOG+4*, ACTLOG+5*, ACTLOG+7
AIEN ACTLOG+1~, ACTLOG+3*, ACTLOG+4, ACTLOG+5, ACTLOG+7
CMF GETRXS+7~, GETRXS+8*, GETRXS+18*, GETRXS+28, SETCMF~, ADDFDA+1
CMI SETCMF1+11~, SETCMF1+14*, SETCMF1+15, SETCMF1+19
CMN SETCMF1+11~, SETCMF1+15*, SETCMF1+16, SETCMF1+18
CNT ACTLOG+1~, ACTLOG+2*, ACTLOG+6*, ACTLOG+7
COMMENTS GETRXS+7~, GETRXS+8*, GETRXS+15, GETRXS+25
COMMENTS( GETRXS+31
COMMENTS(1 GETRXS+26*
DAT GETRXS+1~
DATA GETRXS~, GETRXS+28, GETRXS+30, GETRXS+31, SETCMF~, ACTLOG~
DATA( ACTLOG+7*
DATA("" ADDERR+1
DATA(1 ADDERR+1*
DAYS GETRXS~, GETRXS+3*, GETRXS+4
DEL SSDSIG+1~, SSDSIG+5*, SSDSIG+8, SSDNTP+1~, SSDNTP+5*, SSDNTP+8
DFN GETRXS~, GETRXS+4, SETCMF~, SETCMF1+2
DLG SETCMF1+11~, SETCMF1+12*, SETCMF1+13, SETCMF1+14*, SETCMF1+15
DRG LOCAL~, LOCAL+2, LOCAL+4, NAT~, NAT+3, NAT+4
DRUG RXNORDRG~, RXNORDRG+4, GETNDC~, GETNDC+3
DT GETRXS+4
ERR SETCMF+1~
ERR("DIERR" SETCMF+6, SETCMF+7, SETCMF+8
FDA SETCMF+1~, SETCMF+5
FDA( SETCMF1+18*, SETCMF1+19*, SETCMF1+20*, SETCMF1+21*, ADDFDA+1*
FDX SETCMF+1~
FDX( SETCMF+7, ADDFDA+1*
FIELDS GETRXS+7~, GETRXS+8*, GETRXS+10, GETRXS+18, GETRXS+19, GETRXS+22*, GETRXS+27, GETRXS+28, IVINST+6
FLD ADDFDA~, ADDFDA+1
FLG RXNORM~, RXNORM+2*, RXNORM+8
FN ADDFDA~, ADDFDA+1
>> HLDATA SSDSIG+8, SSDNTP+8
HLECH SSDSIG+1~, SSDSIG+2*, SSDSIG+4, SSDNTP+1~, SSDNTP+2*, SSDNTP+4
HLECH( SSDSIG+4*, SSDNTP+4*
HLECH(1 SSDSIG+8, SSDNTP+8
>> HLMSG SSDSIG+6*, SSDSIG+7, SSDNTP+6*, SSDNTP+7
I UDINST+1~, UDINST+9*, OPINST+1~, OPINST+12*, IVINST+1~, IVINST+10*, SETMULT+1~, SETMULT+2*, SETMULT+3*, SETMULT+4
, SSDSIG+1~, SSDSIG+3*, SSDSIG+4, SSDNTP+1~, SSDNTP+3*, SSDNTP+4
IENS SETCMF1+11~, SETCMF1+17*, SETCMF1+18, SETCMF1+19, SETCMF1+20, SETCMF1+21, SETCMF1+22, ADDFDA~, ADDFDA+1
ILST GETRXS+1~, GETRXS+5*, NXT*, NXT+1
IN RXNORM+1~, RXNORM+5*, RXNORM+6
INDEX UDINST~, UDINST+2, UDINST+6, UDINST+8, OPINST~, OPINST+2, OPINST+6, OPINST+8, OPINST+9, OPINST+10
, IVINST~, IVINST+3, IVINST+5, IVINST+8, IVINST+12, SETMULT~, SETMULT+3, SETMULT+4
INSTRUCT GETRXS+7~, GETRXS+8*, GETRXS+14, GETRXS+17, GETRXS+24
INSTRUCT( GETRXS+30
ITMP GETRXS+1~, GETRXS+5*, GETRXS+6*, GETRXS+8, GETRXS+11, GETRXS+12, GETRXS+14, GETRXS+15, GETRXS+17, GETRXS+24
, GETRXS+25
J GETRXS+7~, GETRXS+19*, GETRXS+20, GETRXS+21*, GETRXS+22, GETRXS+29*, GETRXS+30*, GETRXS+31*
LP SETCMF+1~, SETCMF+3*, SETCMF+4*, SETCMF+6*, SETCMF+7, SETCMF+8
NDC RXNORM~, RXNORM+3*, RXNORM+4, RXNORM+5, GETNDC+1~, GETNDC+3*, GETNDC+4, LOCAL+1~, LOCAL+2*, LOCAL+4*
, LOCAL+5, NAT+1~, NAT+3*, NAT+4*, NAT+5
NDF NAT+1~
OK SETCMF1+1~, SETCMF1+7*, SETCMF1+8, SETCMF1+9, SETCMF1+17*, SETCMF1+23
ORIFN HLDRSN~, HLDRSN+2, HLDRSN+3, HLDRSN+4, HLDRSN+5, GETCMF1~, GETCMF1+2, GETCMF1+4, GETPSIFN~, GETPSIFN+2
, SETCMF+1~, SETCMF+7*, SETCMF1~, SETCMF1+2, SETCMF1+4, SETCMF1+7, SETCMF1+9, SETCMF1+12, SETCMF1+17, ADDFDA+1
, ADDERR+1
PICKUP GETNDC~, GETNDC+2, GETNDC+3
PKG GETPSIFN+1~, GETPSIFN+2*, GETPSIFN+3
PLC SETCMF+1~, SETCMF+3*, SETCMF1+17*
PMT SETCMF1+11~
PRV GETRXS+7~, GETRXS+8*, GETRXS+28
PSIFN HLDRSN+1~, HLDRSN+5*, HLDRSN+6, HLDRSN+7, HLDRSN+8, GETCMF1+1~, GETCMF1+2*, GETCMF1+3, GETPSIFN+1~, GETPSIFN+2*
, GETPSIFN+3, SETCMF1+1~, SETCMF1+4*, SETCMF1+5, SETCMF1+6
REFREQ SSDSIG~, SSDSIG+6, SSDNTP~, SSDNTP+6
RSN GETRXS+7~, GETRXS+8*, GETRXS+22*, GETRXS+27*, GETRXS+28, HLDRSN+1~, HLDRSN+4*, HLDRSN+9*, HLDRSN+10
RX ACTLOG~, ACTLOG+3, ACTLOG+4, ACTLOG+5
RXN GETRXS+7~, GETRXS+8*, GETRXS+21*, GETRXS+28
RXNORM RXNORM+1~, RXNORM+2*, RXNORM+7*, RXNORM+8*, RXNORM+9, RXNORDRG+1~, RXNORDRG+2*, RXNORDRG+4*, RXNORDRG+5
RXS SETCMF~, SETCMF+2
RXS( SETCMF+2*, SETCMF+4
SOLN1 IVINST+1~, IVINST+4*, IVINST+6, IVINST+7*, IVINST+9
SUB SETMULT~, SETMULT+3, SETMULT+4
TXT ADDERR~, ADDERR+1
TYPE GETRXS+7~, GETRXS+10*, GETRXS+11*, GETRXS+12*, GETRXS+13, GETRXS+16, GETRXS+23, GETRXS+28
U GETRXS+8, GETRXS+10, GETRXS+18, GETRXS+19, GETRXS+21, GETRXS+22, GETRXS+27, GETRXS+28, GETPSIFN+2, SETCMF1+2
, SETCMF1+12, ADDERR+1, UDINST+3, UDINST+4, OPINST+3, OPINST+4, OPINST+5, IVINST+6, IVINST+10, IVINST+12
, ACTLOG+5, ACTLOG+7, RXNORM+7, RXNORM+8
X HLDRSN+1~, HLDRSN+2*, HLDRSN+3*, HLDRSN+4, HLDRSN+7*, HLDRSN+8*, HLDRSN+9, SETCMF+1~, SETCMF1+11~, UDINST+1~
, UDINST+2*, UDINST+3, UDINST+4*, UDINST+5, OPINST+1~, OPINST+2*, OPINST+3, OPINST+4, OPINST+5
Y UDINST~, UDINST+3*, UDINST+5*, UDINST+6*, UDINST+7*, UDINST+8, UDINST+9, OPINST~, OPINST+3*, OPINST+6
, OPINST+7, OPINST+8, OPINST+9, OPINST+10, OPINST+12, IVINST~, IVINST+2*, IVINST+3, IVINST+4, IVINST+5
, IVINST+7, IVINST+8, IVINST+10, IVINST+12, SETMULT~, SETMULT+4*
Y( UDINST+9*, OPINST+12*, IVINST+6*, IVINST+9*, IVINST+10*, IVINST+12*, SETMULT+4*
Y(1 UDINST+3*, OPINST+3*, OPINST+4*, OPINST+5*, IVINST+11*
Y(2 UDINST+5*, UDINST+7*, OPINST+11*
ZDATA RXNORM+1~, RXNORM+6*, RXNORM+7, RXNORM+8
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 |  All