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 |  Marked Items |  All
Print Page as PDF
Routine: VIABRPC4

Package: VistA Integration Adapter

Routine: VIABRPC4


Information

VIABRPC4 ;AAC/JMC - VIA RPCs ;10/11/2016

Source Information

Source file <VIABRPC4.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Kernel 3 ($$DT,$$FMTE)^XLFDT  $$PATCH^XPDUTL  ($$DEA,$$DETOX)^XUSER  
Registration 3 WIN^DGPMDDCF  (DEM,KVA)^VADPT  $$SITE^VASITE  
Pharmacy Data Management 2 (SCHED,ZERO)^PSS51P1  EN^PSSGSGUI  
VA FileMan 2 NOW^%DTC  ($$GET1,GETS,Y)^DIQ  
CPT HCPCS Codes 1 $$CPT^ICPTCOD  
Health Summary 1 STATUS^GMTSROB  
Inpatient Medications 1 ALL^PSJ53P46  
Scheduling 1 $$SDIMO^SDAMA203  
Surgery 1 LIST^SROESTV  
Toolkit 1 $$GET^XPAR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 9

Package Total Caller Graph
VistA Integration Adapter 9 VIAB ALLSAMP  VIAB DEA SIGINFO  VIAB IMOLOC  VIAB INPLOC  VIAB MAXDAYS  VIAB SCHALL  VIAB SRGY RPTLIST  VIAB VALSCH  
VIABDXC ON  

Entry Points

Name Comments DBIA/ICR reference
ACTLOC(LOC) ; Function: returns TRUE if active hospital location-ICR-#10040,1246
; IA# 10040.
SCHALL(RESULT,LOCIEN)
NXT() ; increments ILST
MAXDAYS(RESULT,LOC,SCHED) ; Return max number of days for a continuing order;ICR -#4546,2263
REGDTM4(X) ;Receives X in internal date.time, and returns X in MM/DD/YYYY TT:TT
; DBIA 10103 call $$FMTE^XLFDT
ON(RESULT) ; returns E if order checking enabled, otherwise D;ICR-#2263
RPTLIST(RESULT,VIADFN) ;Return list of surgery reports for reports tab; ICR-10141,#10112,#6730,#3533,#3969,#1995,#4872
IMOLOC(RESULT,VIALOC,VIADFN) ;RESULT>=0: VIALOC is an IMO authorized location; ICR-#4133,10040,6347,4422
WARDIEN(LOCIEN) ;
ALLSAMP(RESULT) ; procedure;ICR-2389,10055
VALSCH(RESULT,X,PSTYPE)
INPLOC(RESULT,FROM,DIR) ;Return a set of wards from HOSPITAL LOCATION
DATE(X) ;convert fm date to readable format with 4 digits in year.
SIGINFO(RESULT,VIADFN,VIAPROV) ;returns the provider/patient info that must be displayed when signing controlled substance orders

External References

Name Field # of Occurrence
NOW^%DTC ALLSAMP+10
WIN^DGPMDDCF ACTLOC+3
$$GET1^DIQ RPTLIST+20, RPTLIST+22, SIGINFO+12, IMOLOC+9, ALLSAMP+9, ALLSAMP+11, ALLSAMP+14
GETS^DIQ RPTLIST+17, SIGINFO+15
Y^DIQ RPTLIST+20
STATUS^GMTSROB RPTLIST+18
$$CPT^ICPTCOD RPTLIST+22
ALL^PSJ53P46 IMOLOC+13
SCHED^PSS51P1 SCHALL+5
ZERO^PSS51P1 MAXDAYS+7
EN^PSSGSGUI VALSCH+3, VALSCH+4, VALSCH+5, VALSCH+8
$$SDIMO^SDAMA203 IMOLOC+6
LIST^SROESTV RPTLIST+9
DEM^VADPT SIGINFO+7
KVA^VADPT SIGINFO+30
$$SITE^VASITE RPTLIST+8
$$DT^XLFDT SIGINFO+10
$$FMTE^XLFDT REGDTM4+2, SIGINFO+10
$$GET^XPAR ON+3, MAXDAYS+5
$$PATCH^XPDUTL RPTLIST+3
$$DEA^XUSER SIGINFO+26
$$DETOX^XUSER SIGINFO+28

Used in RPC

RPC Name Call Tags
VIAB SRGY RPTLIST RPTLIST
VIABDXC ON ON
VIAB DEA SIGINFO SIGINFO
VIAB SCHALL SCHALL
VIAB VALSCH VALSCH
VIAB IMOLOC IMOLOC
VIAB INPLOC INPLOC
VIAB ALLSAMP ALLSAMP
VIAB MAXDAYS MAXDAYS

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SRF - [#130] GET1^DIQ,  GETS^DIQ
^SRO(136 - [#136] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^DIC(4 - [#4] GETS^DIQ
^SC - [#44] GET1^DIQ
^LAB(61 - [#61] GET1^DIQ
^LAB(62 - [#62] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(130 RPTLIST+20
^LAB(62 - [#62] ALLSAMP+7, ALLSAMP+8
^SC - [#44] WARDIEN+4, WARDIEN+5, INPLOC+7, ACTLOC+2, ACTLOC+3, ACTLOC+4
^SC("AE" IMOLOC+10
^SC("B" INPLOC+5, INPLOC+6
^TMP("VIABLIST" RPTLIST+7
^TMP($J IMOLOC+5!, IMOLOC+12, IMOLOC+14, IMOLOC+15, MAXDAYS+4!, MAXDAYS+7!, MAXDAYS+12!

Label References

Name Line Occurrences
$$ACTLOC INPLOC+8
$$NXT ALLSAMP+6, ALLSAMP+16, ALLSAMP+17, ALLSAMP+18
$$REGDTM4 DATE+3
$$WARDIEN SCHALL+4

Naked Globals

Name Field # of Occurrence
^("OR MOB APP1" IMOLOC+12!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ALLSAMP+5~, ALLSAMP+10
A IMOLOC+3~, IMOLOC+14*, IMOLOC+15, ALLSAMP+5~, ALLSAMP+9*, ALLSAMP+10
C RPTLIST+5~, RPTLIST+20*
CNT SCHALL+3~, SCHALL+7*, SCHALL+8, INPLOC+4~*, INPLOC+5
D0 ACTLOC+2~, ACTLOC+3*
DCTDTM RPTLIST+5~, RPTLIST+25!
>> DFN SIGINFO+6*
DIR INPLOC~, INPLOC+5, INPLOC+6
DT ACTLOC+5
DUZ(2 SIGINFO+15, SIGINFO+17, SIGINFO+18, SIGINFO+19, SIGINFO+20, SIGINFO+21, SIGINFO+24
FROM INPLOC~, INPLOC+5*, INPLOC+6, INPLOC+9
GMN RPTLIST+5~, RPTLIST+15*, RPTLIST+17, RPTLIST+20, RPTLIST+22
I RPTLIST+5~, RPTLIST+10*, RPTLIST+11*, RPTLIST+12, RPTLIST+13, RPTLIST+14, RPTLIST+15, RPTLIST+17, RPTLIST+19, RPTLIST+21
, RPTLIST+23, RPTLIST+26, INPLOC+4~*, INPLOC+5, INPLOC+9*
IEN ALLSAMP+5~, ALLSAMP+8*, ALLSAMP+9, ALLSAMP+11, ALLSAMP+12, INPLOC+4~, INPLOC+6*, INPLOC+7, INPLOC+8, INPLOC+9
ILST SCHALL+3~, SCHALL+6*, SCHALL+8*, ALLSAMP+5~, ALLSAMP+6*, NXT+1*, NXT+2
INC ALLSAMP+5~, ALLSAMP+9*, ALLSAMP+10*
LOC MAXDAYS~, MAXDAYS+5, ACTLOC~, ACTLOC+2, ACTLOC+3, ACTLOC+4
LOCIEN SCHALL~, SCHALL+4, WARDIEN~, WARDIEN+3, WARDIEN+4, WARDIEN+5
ORARRAY SCHALL+3~, SCHALL+5
ORARRAY( SCHALL+7, SCHALL+8
ORX VALSCH+5~*, VALSCH+6
PSTYPE VALSCH~, VALSCH+5
PXDT RPTLIST+5~, RPTLIST+12*, RPTLIST+22
RESULT RPTLIST~, RPTLIST+7*, RPTLIST+9, RPTLIST+11, RPTLIST+12, RPTLIST+13*, RPTLIST+14*, RPTLIST+15, RPTLIST+17*, RPTLIST+19*
, RPTLIST+21*, RPTLIST+23*, RPTLIST+26, ON~, ON+3*, SIGINFO~, SCHALL~, WARDIEN+1~, WARDIEN+2*, WARDIEN+3
, WARDIEN+4, WARDIEN+5*, WARDIEN+6, VALSCH~, VALSCH+3*, VALSCH+9*, IMOLOC~, IMOLOC+4*, IMOLOC+6*, IMOLOC+8
, IMOLOC+10*, IMOLOC+15*, ALLSAMP~, MAXDAYS~, MAXDAYS+6*, MAXDAYS+9*, MAXDAYS+10*, MAXDAYS+11*, INPLOC~
RESULT( SIGINFO+8*, SIGINFO+10*, SIGINFO+12*, SIGINFO+17*, SIGINFO+18*, SIGINFO+19*, SIGINFO+20*, SIGINFO+21*, SIGINFO+23*, SIGINFO+24*
, SIGINFO+26*, SIGINFO+29*, SCHALL+8*, ALLSAMP+6*, ALLSAMP+16*, ALLSAMP+17*, ALLSAMP+18*, INPLOC+9*
SCHED MAXDAYS~, MAXDAYS+7
SDIMO IMOLOC+16!
SDIMO(1 IMOLOC+11!
SHOWDOCS RPTLIST+5~, RPTLIST+6*, RPTLIST+9
SITE RPTLIST+5~, RPTLIST+8*, RPTLIST+26
SMP ALLSAMP+5~, ALLSAMP+7*, ALLSAMP+8, ALLSAMP+12
SPC ALLSAMP+5~, ALLSAMP+18*
SPC( ALLSAMP+15*, ALLSAMP+18
SPEC RPTLIST+5~, RPTLIST+20*, RPTLIST+21, RPTLIST+25!
STATUS RPTLIST+5~, RPTLIST+18*, RPTLIST+19, RPTLIST+25!
TMP1 MAXDAYS+3~, MAXDAYS+5*, MAXDAYS+6, MAXDAYS+9, MAXDAYS+10, MAXDAYS+11
TMP2 MAXDAYS+3~, MAXDAYS+7*, MAXDAYS+8*, MAXDAYS+9, MAXDAYS+10, MAXDAYS+11
TRSDTM RPTLIST+5~, RPTLIST+25!
TYPE IMOLOC+3~, IMOLOC+9*
U RPTLIST+12, RPTLIST+13, RPTLIST+14, RPTLIST+15, RPTLIST+17, RPTLIST+19, RPTLIST+20, RPTLIST+21, RPTLIST+22, RPTLIST+23
, RPTLIST+26, SCHALL+8, WARDIEN+4, WARDIEN+5, ALLSAMP+12, ALLSAMP+14, ALLSAMP+15, ALLSAMP+18, INPLOC+7, ACTLOC+5
>> VADM(1 SIGINFO+8
VIABDT RPTLIST+5~, RPTLIST+6*, RPTLIST+9
VIADDNUM SIGINFO+16~*, SIGINFO+17*, SIGINFO+18*, SIGINFO+19*, SIGINFO+20*, SIGINFO+21*, SIGINFO+22
VIADETOX SIGINFO+28~*, SIGINFO+29
VIADFN RPTLIST~, RPTLIST+4, RPTLIST+9, SIGINFO~, SIGINFO+6, IMOLOC~, IMOLOC+6
VIAEDT RPTLIST+5~, RPTLIST+6*, RPTLIST+9
VIAI SIGINFO+4~*, SIGINFO+6*, SIGINFO+8, SIGINFO+10*, SIGINFO+12*, SIGINFO+17*, SIGINFO+18*, SIGINFO+19*, SIGINFO+20, SIGINFO+21
, SIGINFO+23*, SIGINFO+24*, SIGINFO+26*, SIGINFO+29*
VIAINST SIGINFO+14~
VIAINST(4 SIGINFO+17, SIGINFO+18, SIGINFO+19, SIGINFO+20, SIGINFO+21, SIGINFO+24
VIALOC IMOLOC~, IMOLOC+6, IMOLOC+9, IMOLOC+10, IMOLOC+13
VIALW RPTLIST+5~, RPTLIST+17!
VIAMAX RPTLIST+5~, RPTLIST+6*, RPTLIST+9
VIAPROV SIGINFO~, SIGINFO+12, SIGINFO+26, SIGINFO+28
VIAX DATE+1~, DATE+2*
WIEN SCHALL+3~, SCHALL+4*, SCHALL+5
X RPTLIST+5~, RPTLIST+13*, DATE~, DATE+2, DATE+3*, DATE+4, REGDTM4~, REGDTM4+2, VALSCH~, VALSCH+5
, VALSCH+6!*, VALSCH+9, ALLSAMP+5~, ALLSAMP+12*, ALLSAMP+14*, ALLSAMP+15, ALLSAMP+16, ACTLOC+2~, ACTLOC+3, ACTLOC+4*
, ACTLOC+5
X2 ALLSAMP+5~, ALLSAMP+11*, ALLSAMP+12, ALLSAMP+13, ALLSAMP+14
X3 ALLSAMP+5~, ALLSAMP+11*, ALLSAMP+12
X7 ALLSAMP+5~, ALLSAMP+11*, ALLSAMP+12
Y RPTLIST+5~, RPTLIST+20*!, RPTLIST+25!
YY DATE+1~
Z RPTLIST+5~, RPTLIST+17*, RPTLIST+20*, RPTLIST+22*, RPTLIST+23, RPTLIST+25!

Marked Items

Name Field # of Occurrence
$T(EN^PSSGSGUI VALSCH+3, VALSCH+4
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 |  Marked Items |  All