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

Package: IHS Electronic Health Record

Routine: BEHORXF2


Information

BEHORXF2 ;MSC/IND/PLS - XML Support for Pharmacy Rx Gen service ;14-Nov-2013 15:46;DU

Source Information

Source file <BEHORXF2.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
IHS Electronic Health Record 3 $$TAG^BEHORXF1  ($$BMI,$$GETALG,$$HT,$$WEIGHT)^BEHORXF2  $$VMSR^BEHOVM  
IHS Changes To Pharmacy 2 $$RXNORDRG^APSPFNC1  ($$DEAVAUS,$$FMTSSN)^APSPFUNC  
Adverse Reaction Tracking 1 EN1^GMRADPT  
GUI Objects 1 $$FMTDATE^BGOUTL  
IHS Patient 1 $$HRN^AUPNPAT3  
IHS VA Utilities 1 ENP^XBDIQ1  
Kernel 1 $$FMTE^XLFDT  
Pharmacy Data Management 1 EN^PSSDIN  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
IHS Electronic Health Record 3 BEHORXF1  BEHORXF2  BEHORXRT  

Entry Points

Name Comments DBIA/ICR reference
BMI(DFN) ; Get latest BMI
DATA(DFN) ;
PROV(PRVIEN,ORD) ;
END
PRVINFO(USR,FLD,FLG) ;EP-
APPEND(X,Y,LEN) ; Append ", "_X to Y, unless Y would excede LEN
DRUGTXT(DATA,DRG) ;EP-
WEIGHT(DFN) ;Get latest weight
BLDPT(DFN,RX) ;
RXNORM(POF) ;
GETALG(DFN) ;EP Get allergy data
ADD(VAL) ;EP-
QRYGMR ;Get data from GMR file
BLDPTADD(DFN) ;
HT(DFN) ;Get latest height
QRYMSR ; Get data from V file

External References

Name Field # of Occurrence
$$RXNORDRG^APSPFNC1 RXNORM+5
$$DEAVAUS^APSPFUNC PROV+2
$$FMTSSN^APSPFUNC BLDPT+9
$$HRN^AUPNPAT3 BLDPT+3, BLDPT+4
$$TAG^BEHORXF1 BLDPT+3, BLDPT+4, BLDPT+5, BLDPT+6, BLDPT+7, BLDPT+9, BLDPTADD+1, BLDPTADD+2, BLDPTADD+3, BLDPTADD+4
, BLDPTADD+5, BLDPTADD+6, PROV+2, PROV+4, PROV+5, PROV+8, PROV+9, PROV+10, PROV+11, DATA+1
, DATA+2, DATA+3, DATA+4
$$BMI^BEHORXF2 DATA+4
$$GETALG^BEHORXF2 DATA+1
$$HT^BEHORXF2 DATA+3
$$WEIGHT^BEHORXF2 DATA+2
$$VMSR^BEHOVM WEIGHT+3, HT+3, BMI+3
$$FMTDATE^BGOUTL BMI+14, QRYMSR+15, QRYGMR+15
$$GET1^DIQ RXNORM+3, BLDPT+3, BLDPT+5, BLDPT+6, BLDPT+7, BLDPT+8, BLDPTADD+1, BLDPTADD+2, BLDPTADD+3, BLDPTADD+4
, BLDPTADD+5, BLDPTADD+6, PROV+11, PRVINFO+2
EN1^GMRADPT GETALG+3
EN^PSSDIN DRUGTXT+2
ENP^XBDIQ1 QRYMSR+9, QRYGMR+9
$$FMTE^XLFDT BLDPT+5

Used in RPC

RPC Name Call Tags
BEHORXF2 DRUGTXT DRUGTXT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^DIC(49 - [#49] GET1^DIQ
^PSRX - [#52] GET1^DIQ
^PS(52.41 - [#52.41] GET1^DIQ
^PS(59 - [#59] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVMSR("AA" QRYMSR+6, QRYMSR+8
^AUTTMSR("B" QRYMSR+4
^GMR(120.5 - [#120.5] QRYGMR+6, QRYGMR+8
^GMRD(120.51 - [#120.51] QRYGMR+4
^TMP("PSSDIN" DRUGTXT+1

Label References

Name Line Occurrences
$$APPEND GETALG+11
$$PRVINFO PROV+4, PROV+5, PROV+7, PROV+9, PROV+10
ADD BLDPT+3, BLDPT+4, BLDPT+5, BLDPT+6, BLDPT+7, BLDPT+9, BLDPTADD+1, BLDPTADD+2, BLDPTADD+3, BLDPTADD+4
, BLDPTADD+5, BLDPTADD+6, PROV+2, PROV+4, PROV+5, PROV+8, PROV+9, PROV+10, PROV+11, DATA+1
, DATA+2, DATA+3, DATA+4
END BMI+7, BMI+11
QRYGMR WEIGHT+5, HT+5, BMI+5, BMI+9
QRYMSR WEIGHT+5, HT+5, BMI+5, BMI+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALG GETALG+1~, GETALG+2*, GETALG+5*, GETALG+6*, GETALG+13*, GETALG+14
BEH QRYMSR+9!, QRYGMR+9!
BEH( QRYMSR+13, QRYMSR+14, QRYMSR+15, QRYGMR+12, QRYGMR+13, QRYGMR+14, QRYGMR+15
BEH(1201 QRYMSR+12
BEH(2 QRYMSR+10, QRYGMR+10
BEHI GETALG+1~, GETALG+7*, GETALG+8*, GETALG+10
BEHX GETALG+9~, GETALG+10*, GETALG+11, GETALG+12
BEHY GETALG+1~, GETALG+7*, GETALG+11*, GETALG+12, GETALG+13
BMI BMI+1~, BMI+2*, BMI+12*, BMI+13*, BMI+14
>> CNT ADD+1*, ADD+2
DATA DRUGTXT~, DRUGTXT+1*, ADD+2
DATE QRYMSR+1~, QRYMSR+12*, QRYMSR+15, QRYGMR+1~, QRYGMR+12*, QRYGMR+15
DFN GETALG~, WEIGHT~, HT~, BMI~, QRYMSR+6, QRYMSR+8, QRYGMR+6, QRYGMR+8, BLDPT~, BLDPT+3
, BLDPT+4, BLDPT+5, BLDPT+6, BLDPT+7, BLDPT+8, BLDPTADD~, BLDPTADD+1, BLDPTADD+2, BLDPTADD+3, BLDPTADD+4
, BLDPTADD+5, BLDPTADD+6, DATA~, DATA+1, DATA+2, DATA+3, DATA+4
DIEN RXNORM+1~, RXNORM+3*, RXNORM+4, RXNORM+5
DRG DRUGTXT~, DRUGTXT+2
DUZ(2 BLDPT+4
FLD PRVINFO~, PRVINFO+2
FLG PRVINFO~, PRVINFO+1*, PRVINFO+2
FOUND QRYMSR+1~, QRYMSR+3*, QRYMSR+6, QRYMSR+8, QRYMSR+11*, QRYGMR+1~, QRYGMR+3*, QRYGMR+6, QRYGMR+8, QRYGMR+11*
GMRAL GETALG+1~, GETALG+4, GETALG+5
GMRAL( GETALG+8, GETALG+10
HT HT+2*, HT+6*, HT+7, BMI+1~, BMI+10*, BMI+11, BMI+13*
HTDT BMI+1~, BMI+10*
IEN QRYMSR+1~, QRYMSR+7*, QRYMSR+8*, QRYMSR+9, QRYGMR+1~, QRYGMR+6*, QRYGMR+7*, QRYGMR+8*, QRYGMR+9
LEN APPEND~, APPEND+1
MSR WEIGHT+1~, WEIGHT+4*, HT+1~, HT+4*, BMI+4*, BMI+8*, QRYMSR+4, QRYMSR+13, QRYMSR+14, QRYMSR+15
, QRYGMR+4, QRYGMR+13, QRYGMR+14, QRYGMR+15
MSR2 QRYMSR+1~, QRYMSR+3*, QRYMSR+4*, QRYMSR+5, QRYMSR+6, QRYMSR+8, QRYGMR+1~, QRYGMR+3*, QRYGMR+4*, QRYGMR+5
, QRYGMR+6, QRYGMR+8
NDC RXNORM+1~
ORD PROV~
OUT WEIGHT+1~, WEIGHT+2*, WEIGHT+6, HT+1~, HT+2*, HT+6, BMI+1~, BMI+2*, BMI+6, BMI+10
, BMI+14*, END, QRYMSR+2*, QRYMSR+15*, QRYGMR+2*, QRYGMR+15*
POF RXNORM~, RXNORM+3
PRVIEN PROV~, PROV+2, PROV+4, PROV+5, PROV+7, PROV+9, PROV+10, PROV+11
RX BLDPT~, BLDPT+2*, BLDPT+3, BLDPT+4
RXNORM RXNORM+1~, RXNORM+2*, RXNORM+5*, RXNORM+10
SSN BLDPT+1~, BLDPT+8*, BLDPT+9
U GETALG+10, WEIGHT+6, HT+6, BMI+6, BMI+10, QRYMSR+15, QRYGMR+15
USR PRVINFO~, PRVINFO+2
VAL ADD~, ADD+2
VALUE QRYMSR+1~, QRYMSR+13*, QRYMSR+14*, QRYMSR+15, QRYGMR+1~, QRYGMR+13*, QRYGMR+14*, QRYGMR+15
VDT QRYMSR+1~, QRYMSR+2*, QRYMSR+6*, QRYMSR+8, QRYMSR+12, QRYGMR+1~, QRYGMR+2*, QRYGMR+6, QRYGMR+8
VMSR WEIGHT+1~, WEIGHT+3*, WEIGHT+5, HT+1~, HT+3*, HT+5, BMI+3*, BMI+5, BMI+9
WT WEIGHT+2*, WEIGHT+6*, WEIGHT+7, BMI+1~, BMI+6*, BMI+7, BMI+13*
WTDT BMI+1~, BMI+6*, BMI+14
X GETALG+9~, APPEND~, APPEND+1, BMI+1~, PROV+1~, PROV+7*, PROV+8
Y GETALG+9~, APPEND~, APPEND+1, QRYMSR+13*, QRYMSR+14*, QRYGMR+13*, QRYGMR+14*
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