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

Package: IHS Electronic Health Record

Routine: BEHORXFN


Information

BEHORXFN ;MSC/IND/DKM/PLS - Supporting calls for EHR ;23-Jul-2015 21:20;PLS

Source Information

Source file <BEHORXFN.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
IHS Changes To Pharmacy 3 ($$LOC,CREATE,UPTLOG)^APSPFNC2  ($$CKRXACT,$$LASTACT)^APSPFNC6  ($$NDCVAL,$$VITALF)^APSPFUNC  
Kernel 2 ($$FMADD,$$FMTE)^XLFDT  $$PATCH^XPDUTL  
VA Fileman 2 UPDATE^DIE  $$GET1^DIQ  
IHS Electronic Health Record 1 UPTLOG^BEHORXF1  
Order Entry Results Reporting 1 $$VALUE^ORCSAVE2  
Outpatient Pharmacy 1 (OCL,OEL)^PSOORRL  
VueCentric Framework 1 $$TMPGBL^CIAVMRPC  

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
IHS Electronic Health Record 4 BEHORXCV  BEHORXF1  BEHORXF4  BEHORXRT  
IHS Mods To Text Integration Utilities 3 BTIUMED2  BTIUMED6  BTIUMED9  
Order Entry Results Reporting 1 ORQ21  

Entry Points

Name Comments DBIA/ICR reference
GETIND(ORIFN) ;EP
NVSTATE(Y,NVSDT) ;
EPHARM(PSIFN) ;EP-
PSTATE(PSIFN) ;EP-
SETCMF(DATA,DFN,RXS,CMF) ;EP
OCALL(DATA,DFN) ;EP
OPINST(Y) ;
GETNDC(ORIFN) ;EP
GETRXS(DATA,DFN,DAYS) ;
UDINST(Y) ;
SETCMF1(ORIFN) ;
NVOA() ;EP -
NVSTS(IFN,STS) ;EP -
FINISH(DATA,DFN,ORIFN) ;
GETDAW(ORIFN) ;EP
WPVAL(Y,ORN,ID) ;
PRINTLOG(DATA,ORIFN,PRINTER,ACTION,COM) ;
GETPSIFN(ORIFN) ;
NVINST(Y) ;
ORDFSIG(ORIFN) ;EP-
ADDERR(TXT) ;
VITALFMT(DATA,DFN,TYP) ;EP-
ADDOUT(X) ;
IVINST(Y) ;
SETMULT(Y,SUB) ;
GETRXNRM(ORIFN,PSIFN) ;EP
HLDRSN(ORIFN) ;
GETCMF1(ORIFN) ;EP
CLNNVA ;EP -
ADDFDA(FN,IENS,FLD) ;

External References

Name Field # of Occurrence
$$LOC^APSPFNC2 FINISH+12, GETRXS+58
CREATE^APSPFNC2 FINISH+2
UPTLOG^APSPFNC2 PRINTLOG+17
$$CKRXACT^APSPFNC6 PSTATE+7, PSTATE+11
$$LASTACT^APSPFNC6 PSTATE+13
$$NDCVAL^APSPFUNC FINISH+13, GETNDC+4
$$VITALF^APSPFUNC VITALFMT+4
UPTLOG^BEHORXF1 PRINTLOG+16
$$TMPGBL^CIAVMRPC FINISH+4, OCALL+2
UPDATE^DIE SETCMF+5, CLNNVA+6
$$GET1^DIQ GETRXS+24, GETRXS+55, NVSTS+2, NVSTS+3, HLDRSN+7, HLDRSN+8, GETCMF1+3, GETIND+4, GETIND+5, GETDAW+3
, GETRXNRM+6, PSTATE+3, PSTATE+4, EPHARM+1, OCALL+11
$$VALUE^ORCSAVE2 GETRXS+23, GETRXS+54, GETCMF1+4, GETIND+7, GETIND+8, GETDAW+4
OCL^PSOORRL GETRXS+5
OEL^PSOORRL FINISH+8
$$FMADD^XLFDT GETRXS+5
$$FMTE^XLFDT GETRXS+42
$$PATCH^XPDUTL CLNNVA+1

Used in RPC

RPC Name Call Tags
BEHORXFN GETRXS GETRXS
BEHORXFN SETCMF SETCMF
BEHORXFN FINISH FINISH
BEHORXFN PRINTLOG PRINTLOG
BEHORXFN OCALL OCALL
BEHORXFN VITALFMT VITALFMT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ
^ORD(100.01 - [#100.01] GET1^DIQ
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] GET1^DIQ
^DIC(9.4 - [#9.4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(9.4 - [#9.4] GETPSIFN+3
^OR(100 - [#100] GETRXS+11, GETRXS+12, NVSTATE+3, NVSTATE+4, NVOA+3, WPVAL+2, WPVAL+3, HLDRSN+2, HLDRSN+3, HLDRSN+4
, GETPSIFN+2, SETCMF1+3, SETCMF1+7, SETCMF1+12, OCALL+3, OCALL+5, OCALL+8, ORDFSIG+2, ORDFSIG+3
^ORD(101.41 - [#101.41] SETCMF1+14, SETCMF1+15
^PS(55 - [#55] CLNNVA+3, CLNNVA+4
^PSDRUG - [#50] GETRXS+13
^PSRX - [#52] GETRXS+37
^TMP("PS" FINISH+7!, FINISH+10, FINISH+11, FINISH+22, FINISH+23, FINISH+28!, GETRXS+3!, GETRXS+7, GETRXS+10, GETRXS+17
, GETRXS+18, GETRXS+19, GETRXS+63!, SETMULT+3, SETMULT+4

Label References

Name Line Occurrences
$$EPHARM FINISH+16, GETRXS+34
$$GETCMF1 GETRXS+27
$$GETDAW GETRXS+29
$$GETIND GETRXS+28
$$GETNDC GETRXS+30
$$GETPSIFN FINISH+3, PRINTLOG+14, GETRXS+33, GETRXS+34, HLDRSN+5, GETCMF1+2, GETIND+2, GETDAW+2, GETNDC+3, GETRXNRM+3
, SETCMF1+5
$$GETRXNRM FINISH+14, GETRXS+31
$$HLDRSN GETRXS+57
$$NVOA GETRXS+58
$$NVSTS GETRXS+52
$$ORDFSIG PRINTLOG+15
$$PSTATE FINISH+15, GETRXS+33
ADDERR SETCMF+8, SETCMF1+4, SETCMF1+23
ADDFDA SETCMF1+6, SETCMF1+9, SETCMF1+22
ADDOUT FINISH+17, FINISH+27, GETRXS+58, GETRXS+60, GETRXS+61, GETRXS+62
CLNNVA GETRXS+1
IVINST GETRXS+46
NVINST GETRXS+49
NVSTATE GETRXS+50
OPINST GETRXS+26
SETCMF1 SETCMF+4
SETMULT GETRXS+22, GETRXS+47, GETRXS+51, UDINST+6, UDINST+8, OPINST+6, OPINST+8, OPINST+9, OPINST+10, IVINST+3
, IVINST+5, IVINST+8, NVINST+3, NVINST+5, NVINST+6, NVINST+7
UDINST GETRXS+21
WPVAL NVSTATE+5

Naked Globals

Name Field # of Occurrence
^( GETRXS+19*, WPVAL+3
^("P" GETRXS+10
^("RXN" FINISH+10
^("STA" GETRXS+37
^(2 GETRXS+37
^(3 OCALL+8
^(4 GETPSIFN+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTION PRINTLOG~, PRINTLOG+4, PRINTLOG+8, PRINTLOG+16, PRINTLOG+17
ARY PRINTLOG+1~, PRINTLOG+16, PRINTLOG+17
ARY("COM" PRINTLOG+5*, PRINTLOG+8*, PRINTLOG+13*
ARY("DEV" PRINTLOG+12*
ARY("REASON" PRINTLOG+10*
ARY("RX REF" PRINTLOG+11*
ARY("TYPE" PRINTLOG+6*, PRINTLOG+9*
ATF GETRXS+8~, GETRXS+9*, GETRXS+33*, GETRXS+44, GETRXS+58, PSTATE+1~, PSTATE+3*, PSTATE+5
CMF GETRXS+8~, GETRXS+9*, GETRXS+27*, GETRXS+58, SETCMF~, ADDFDA+1
CMI SETCMF1+11~, SETCMF1+14*, SETCMF1+15, SETCMF1+19
CMN SETCMF1+11~, SETCMF1+15*, SETCMF1+16, SETCMF1+18
CNT OCALL+1~, OCALL+2*, OCALL+13*
COM PRINTLOG~, PRINTLOG+5, PRINTLOG+13
COMMENTS GETRXS+8~, GETRXS+9*, GETRXS+22, GETRXS+47, GETRXS+51
COMMENTS( GETRXS+61
COMMENTS(1 GETRXS+56*
DA WPVAL+1~, WPVAL+2*, WPVAL+3
DAT GETRXS+2~
DATA FINISH~, FINISH+4*, FINISH+5, PRINTLOG~, PRINTLOG+16, PRINTLOG+17, GETRXS~, ADDOUT+1, SETCMF~, OCALL~
, OCALL+2*, OCALL+6, OCALL+7, OCALL+13, OCALL+14, VITALFMT~, VITALFMT+1*, VITALFMT+4*, VITALFMT+5*
DATA( SETCMF1+2*, ADDERR+1*
DAW GETRXS+8~, GETRXS+9*, GETRXS+29*, GETRXS+58, GETDAW+1~, GETDAW+3*, GETDAW+4*, GETDAW+5
DAYS GETRXS~, GETRXS+4*, GETRXS+5
DEA GETRXS+8~, GETRXS+9*, GETRXS+13*, GETRXS+58
DFN FINISH~, FINISH+8, GETRXS~, GETRXS+5, SETCMF~, SETCMF1+3, OCALL~, OCALL+2, CLNNVA+2~, CLNNVA+3*
, CLNNVA+4, CLNNVA+5, VITALFMT~, VITALFMT+2, VITALFMT+4
DLG SETCMF1+11~, SETCMF1+12*, SETCMF1+13, SETCMF1+14*, SETCMF1+15
DRUG GETRXNRM+1~
DT GETRXS+5
EPHARM GETRXS+8~, GETRXS+9*, GETRXS+34*, GETRXS+58
ERR SETCMF+1~
ERR("DIERR" SETCMF+6, SETCMF+7, SETCMF+8
FDA SETCMF+1~, SETCMF+5, CLNNVA+2~, CLNNVA+6
FDA( SETCMF1+18*, SETCMF1+19*, SETCMF1+20*, SETCMF1+21*, ADDFDA+1*, CLNNVA+5*
FDX SETCMF+1~
FDX( SETCMF+7, ADDFDA+1*
FIELDS GETRXS+8~, GETRXS+10*, GETRXS+11, GETRXS+15, GETRXS+16, GETRXS+35, GETRXS+42*, GETRXS+43*, GETRXS+44*, GETRXS+52*
, GETRXS+53*, GETRXS+57, GETRXS+58, UDINST+2, OPINST+2, IVINST+6, IVINST+12, NVINST+2, NVSTATE+2, NVOA+2
FLD ADDFDA~, ADDFDA+1
FN ADDFDA~, ADDFDA+1
I FINISH+1~, FINISH+21*, FINISH+22*, FINISH+23, FINISH+25*, FINISH+26*, FINISH+27*, UDINST+1~, UDINST+9*, OPINST+1~
, OPINST+12*, IVINST+1~, IVINST+10*, NVINST+1~, NVINST+9*, WPVAL+1~, WPVAL+2*, WPVAL+3*, SETMULT+1~, SETMULT+2*
, SETMULT+3*, SETMULT+4
ICD GETIND+1~, GETIND+5*, GETIND+8*, GETIND+9
ID WPVAL~, WPVAL+2
IDS SETCMF+1~
IDS( SETCMF1+2*, ADDERR+1
IEN CLNNVA+2~, CLNNVA+4*, CLNNVA+5
IENS SETCMF1+11~, SETCMF1+17*, SETCMF1+18, SETCMF1+19, SETCMF1+20, SETCMF1+21, SETCMF1+22, ADDFDA~, ADDFDA+1
IFN GETRXS+8~, GETRXS+11*, GETRXS+12, GETRXS+19, GETRXS+23, GETRXS+27, GETRXS+28, GETRXS+29, GETRXS+30, GETRXS+31
, GETRXS+33, GETRXS+34, GETRXS+52, GETRXS+54, GETRXS+57, GETRXS+58, NVSTS~, NVSTS+2
ILST FINISH+1~, FINISH+9*, GETRXS+2~, GETRXS+6*, ADDOUT+1*
IND GETRXS+8~, GETRXS+9*, GETRXS+28*, GETRXS+58
INDEX GETRXS+2~, GETRXS+6*, GETRXS+7*, GETRXS+10, GETRXS+17, GETRXS+18, SETMULT+3, SETMULT+4
INST FINISH+1~
INST( FINISH+23*, FINISH+25*, FINISH+27
INST(1 FINISH+18*, FINISH+19*, FINISH+20*
INST(2 FINISH+24*
INSTRUCT GETRXS+8~, GETRXS+9*, GETRXS+21, GETRXS+26, GETRXS+46, GETRXS+49
INSTRUCT( GETRXS+60
J GETRXS+8~, GETRXS+35*, GETRXS+36, GETRXS+37*, GETRXS+41, GETRXS+42, GETRXS+59*, GETRXS+60*, GETRXS+61*, GETRXS+62*
, WPVAL+1~, WPVAL+2*, WPVAL+3*
K GETRXS+8~, GETRXS+37*, GETRXS+42
LACT PSTATE+1~, PSTATE+13*, PSTATE+14
LP SETCMF+1~, SETCMF+3*, SETCMF+4*, SETCMF+6*, SETCMF+7, SETCMF+8, SETCMF1+2
NDC GETRXS+8~, GETRXS+9*, GETRXS+24*, GETRXS+30*, GETRXS+55*, GETRXS+58, GETNDC+1~, GETNDC+2*, GETNDC+4*, GETNDC+5
, GETRXNRM+1~
NVAERR CLNNVA+2~
NVSDT GETRXS+8~, GETRXS+50, GETRXS+53, NVSTATE~, NVSTATE+4*
OA NVOA+1~, NVOA+3*, NVOA+4
OBJ OCALL+1~, OCALL+2*, OCALL+3, OCALL+5, OCALL+10
OK SETCMF1+1~, SETCMF1+7*, SETCMF1+8, SETCMF1+9, SETCMF1+17*, SETCMF1+23
ORD ORDFSIG+1~, ORDFSIG+2*, ORDFSIG+3
ORIEN OCALL+1~, OCALL+4*, OCALL+5*, OCALL+6, OCALL+7, OCALL+8, OCALL+13
ORIFN FINISH~, FINISH+2, FINISH+3, FINISH+12, FINISH+14, PRINTLOG~, PRINTLOG+14, PRINTLOG+15, PRINTLOG+16, HLDRSN~
, HLDRSN+2, HLDRSN+3, HLDRSN+4, HLDRSN+5, GETCMF1~, GETCMF1+2, GETCMF1+4, GETIND~, GETIND+2, GETIND+7
, GETIND+8, GETDAW~, GETDAW+2, GETDAW+4, GETNDC~, GETNDC+3, GETRXNRM~, GETRXNRM+3, GETPSIFN~, GETPSIFN+2
, SETCMF+1~, SETCMF+7*, SETCMF1~, SETCMF1+2, SETCMF1+3, SETCMF1+5, SETCMF1+7, SETCMF1+9, SETCMF1+12, SETCMF1+17
, ADDFDA+1, ADDERR+1, ORDFSIG~, ORDFSIG+2, ORDFSIG+3
ORLOG OCALL+1~, OCALL+2*, OCALL+3*, OCALL+5
ORN NVSTATE+1~, NVSTATE+2*, NVSTATE+3, NVSTATE+4, NVSTATE+5, NVOA+1~, NVOA+2*, NVOA+3, WPVAL~, WPVAL+2
, WPVAL+3
OSTS NVSTS+1~, NVSTS+2*, NVSTS+3
PKG GETPSIFN+1~, GETPSIFN+2*, GETPSIFN+3, OCALL+11*, OCALL+12
PLC SETCMF+1~, SETCMF+3*, SETCMF1+17*
PMT SETCMF1+11~
PMY PSTATE+1~, PSTATE+4*, PSTATE+8
PRINTER PRINTLOG~, PRINTLOG+2*, PRINTLOG+3*, PRINTLOG+8, PRINTLOG+12
PRT PSTATE+1~, PSTATE+7*, PSTATE+11, PSTATE+15, PSTATE+17
PRV GETRXS+8~, GETRXS+10*, GETRXS+58
PSIFN FINISH+1~, FINISH+3*, FINISH+6, FINISH+8, FINISH+12, FINISH+13, FINISH+14, FINISH+15, FINISH+16, PRINTLOG+1~
, PRINTLOG+14*, PRINTLOG+17, HLDRSN+1~, HLDRSN+5*, HLDRSN+6, HLDRSN+7, HLDRSN+8, GETCMF1+1~, GETCMF1+2*, GETCMF1+3
, GETIND+1~, GETIND+2*, GETIND+3, GETIND+4, GETIND+5, GETDAW+1~, GETDAW+2*, GETDAW+3, GETNDC+1~, GETNDC+3*
, GETNDC+4, GETRXNRM~, GETRXNRM+3*, GETRXNRM+4, GETRXNRM+6, PSTATE~, PSTATE+3, PSTATE+4, PSTATE+7, PSTATE+11
, PSTATE+13, EPHARM~, EPHARM+1, GETPSIFN+1~, GETPSIFN+2*, GETPSIFN+3, SETCMF1+1~, SETCMF1+5*, SETCMF1+6
REASON GETRXS+8~, GETRXS+9*, GETRXS+42*, GETRXS+50, GETRXS+57*, GETRXS+58
REASON( GETRXS+62
RES PSTATE+1~, PSTATE+2*, PSTATE+5*, PSTATE+14*, PSTATE+15*, PSTATE+17*, PSTATE+18
RSN HLDRSN+1~, HLDRSN+4*, HLDRSN+9*, HLDRSN+10
RXINFO FINISH+1~, FINISH+10*, FINISH+11*, FINISH+12*, FINISH+13*, FINISH+14*, FINISH+15*, FINISH+16*, FINISH+17, FINISH+18
, FINISH+19, FINISH+20
RXN GETRXS+8~, GETRXS+9*, GETRXS+37*, GETRXS+58
RXNORM GETRXS+8~, GETRXS+9*, GETRXS+31*, GETRXS+32*, GETRXS+58, GETRXNRM+1~, GETRXNRM+2*, GETRXNRM+6*, GETRXNRM+11
RXS SETCMF~, SETCMF+2
RXS( SETCMF+2*, SETCMF+4
SOLN1 IVINST+1~, IVINST+4*, IVINST+6, IVINST+7*, IVINST+9
ST OCALL+1~, OCALL+8*, OCALL+9
STS NVSTS~, NVSTS+3
SUB SETMULT~, SETMULT+3, SETMULT+4
TDRUG GETRXS+8~, GETRXS+23*, GETRXS+24, GETRXS+54*, GETRXS+55
TXT GETIND+1~, GETIND+4*, GETIND+7*, GETIND+9, ADDERR~, ADDERR+1
TYP VITALFMT~, VITALFMT+3, VITALFMT+4
TYPE GETRXS+8~, GETRXS+15*, GETRXS+16*, GETRXS+17*, GETRXS+18*, GETRXS+19, GETRXS+20, GETRXS+25, GETRXS+45, GETRXS+48
, GETRXS+58
U FINISH+10, FINISH+11, FINISH+12, FINISH+13, FINISH+14, FINISH+15, FINISH+16, FINISH+18, FINISH+19, FINISH+20
, PRINTLOG+3, GETRXS+10, GETRXS+11, GETRXS+13, GETRXS+15, GETRXS+32, GETRXS+35, GETRXS+37, GETRXS+41, GETRXS+42
, GETRXS+43, GETRXS+44, GETRXS+52, GETRXS+53, GETRXS+57, GETRXS+58, UDINST+3, UDINST+4, OPINST+3, OPINST+4
, OPINST+5, IVINST+6, IVINST+10, IVINST+12, NVINST+2, NVSTATE+2, NVSTATE+4, NVOA+2, NVOA+3, GETPSIFN+2
, SETCMF1+3, SETCMF1+12, ADDERR+1, OCALL+8, OCALL+10, OCALL+11, ORDFSIG+3, VITALFMT+5
X FINISH+1~, GETRXS+8~, GETRXS+11*, GETRXS+12*, GETRXS+13, ADDOUT~, ADDOUT+1, UDINST+1~, UDINST+2*, UDINST+3
, UDINST+4*, UDINST+5, OPINST+1~, OPINST+2*, OPINST+3, OPINST+4, OPINST+5, HLDRSN+1~, HLDRSN+2*, HLDRSN+3*
, HLDRSN+4, HLDRSN+7*, HLDRSN+8*, HLDRSN+9, SETCMF+1~, SETCMF1+11~, OCALL+1~, OCALL+8*, OCALL+10, OCALL+11
Y FINISH+18*, FINISH+23*, FINISH+25, 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, NVINST~, NVINST+2*, NVINST+3
, NVINST+4, NVINST+5, NVINST+6, NVINST+7, NVINST+9, NVSTATE~, NVSTATE+5, WPVAL~, SETMULT~, SETMULT+4*
Y( UDINST+9*, OPINST+12*, IVINST+6*, IVINST+9*, IVINST+10*, IVINST+12*, NVINST+9*, WPVAL+3*, SETMULT+4*
Y(1 UDINST+3*, OPINST+3*, OPINST+4*, OPINST+5*, IVINST+11*, NVINST+2*
Y(2 UDINST+5*, UDINST+7*, OPINST+11*, NVINST+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