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

Package: IHS GPRA Information System

Routine: BGP2GUA


Information

BGP2GUA ; IHS/CMI/LAB - BGP Gui Utilities 10/29/2004 3:28:39 PM 19 Sep 2005 5:28 PM 27 Apr 2010 10:28 PM ;

Source Information

Source file <BGP2GUA.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
VA Fileman 3 ^%DT  ^DIK  $$GET1^DIQ  
IHS Changes To ADT 1 $$STATUS^BDGSPT2  
IHS GPRA Information System 1 $$CHKDST^BGP2UTL2  
IHS Patient 1 ($$AGE,$$HRN)^AUPNPAT  
Kernel 1 $$FMTE^XLFDT  
Registration 1 (NOTICE,OWNREC,SENS)^DGSEC4  
Uncategorized 1 DEBUG^%Serenji  

Entry Points

Name Comments DBIA/ICR reference
PATSSN(PAT) ;-- look up by ssn
PATDOB(BGPPATE,PAT) ;-- lookup by DOB
BEGIN(PT) ;-- get begin point
PATCHT(BGPPIEN,PAT) ;-- lookup by chart
LOGPAT(RETVAL,BGPSTR) ;-- log sensitive patient information
VC(RETVAL,BGPSTR) ;-- get version number to see if client matches
COMCHK(BGPRET,BGPSTR) ;EP
GETPAT(BGPRET,BGPSTR) ;-- return patient in ADO table
CLNDEMO(STI) ;-- cmi/maw 6/11/2010 8.0 p1 clean up demo template first
SELSP(RETVAL) ;-- return all sites in the site file for selection
DEMO(RETVAL,BGPSTR) ;-- cmi/maw 8.0 p2 get demo patients based on Search Template passed in
DGSEC(RESULT,DFN,DUZ,DGMSG) ;EP -- mock the dgsec call but dont log, couldnt find a way to call PTSEC^DGSEC4 without logging
PATADO(PIEN) ;-- ado return
DEMOCHK(RETVAL) ;-- check to see if the demo template exists
DEBUG(RETVAL,BGPSTR) ;run the debugger
DEMOS(RETVAL,BGPSTR) ;-- cmi/maw 6/11/2010 8.0 p1 save demo template
PATNAM(BGPPATE,PAT,NPAT) ;lookup by name

External References

Name Field # of Occurrence
^%DT GETPAT+19
DEBUG^%Serenji DEBUG+1
$$AGE^AUPNPAT PATADO+12
$$HRN^AUPNPAT PATADO+8, DEMO+16
$$STATUS^BDGSPT2 DGSEC+2
$$CHKDST^BGP2UTL2 DEMOCHK+6
NOTICE^DGSEC4 LOGPAT+11, LOGPAT+13
OWNREC^DGSEC4 DGSEC+6
SENS^DGSEC4 DGSEC+10
^DIK CLNDEMO+6
$$GET1^DIQ PATADO+11, LOGPAT+12
$$FMTE^XLFDT PATADO+6, DEMO+14

Used in RPC

RPC Name Call Tags
BGPG 12 CHK COMM TAX NTL COMCHK
BGPG 12 SELECT SITE PARAM SELSP
BGPG 12 GET DEMO PATIENTS DEMO
BGPG 12 SAVE DEMO TEMPLATE DEMOS
BGPG 12 GET DEMO TEMPLATE DEMOCHK

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DG(43 - [#43] GET1^DIQ
^AUPNPAT - [#9000001] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" GETPAT+1, COMCHK+1, LOGPAT+1
^ATXAX - [#9002226] COMCHK+12, COMCHK+14, COMCHK+15
^AUPNPAT - [#9000001] PATADO+10
^AUPNPAT("D" PATCHT+3, PATCHT+4, PATCHT+5
^AUTTCOM("B" COMCHK+17
^BGPSITE("B" SELSP+7
^BGPTMP($J GETPAT+4!, GETPAT+8*, GETPAT+23*, PATADO+14*, SELSP+4!, SELSP+5*, SELSP+11*, SELSP+12*, DEMO+7!, DEMO+8*
, DEMO+18*, DEMO+19*, DEMOS+8*, DEMOS+18*, DEMOS+29*, VC+3!, VC+9*, VC+13*, VC+14*, VC+19*
, VC+20*, VC+22*, VC+23*, DEMOCHK+4!, COMCHK+5!, COMCHK+7*, COMCHK+17*, COMCHK+18*, LOGPAT+4!
^DGSL(38.1 - [#38.1] LOGPAT+13
^DIBT( DEMO+10, DEMOS+17*, CLNDEMO+4
^DIBT("B" DEMOS+7
^DIC(4 - [#4] SELSP+9
^DIC(9.4 - [#9.4] VC+11, VC+15, VC+16, VC+17
^DPT - [#2] PATADO+5, PATADO+6, PATADO+7, PATADO+9, DEMO+13, DEMO+14, DEMO+15, DEMO+17
^DPT("ADOB" PATDOB+3, PATDOB+4
^DPT("B" PATNAM+7, PATNAM+8, PATNAM+9, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+8
^DPT("SSN" PATSSN+1

Label References

Name Line Occurrences
$$BEGIN PATNAM+5
$$PATCHT GETPAT+17
$$PATDOB GETPAT+20
$$PATSSN GETPAT+15
CLNDEMO DEMOS+11
DGSEC LOGPAT+8
PATADO GETPAT+22
PATNAM GETPAT+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BGPAGE PATADO+12*, PATADO+14
BGPC COMCHK+10!
BGPCNT GETPAT+24!, PATCHT+1~, PATCHT+2*, PATCHT+3, PATCHT+8*, PATCHT+9, PATCHT+10, PATDOB+1~, PATDOB+2*, PATDOB+3
, PATDOB+5, PATDOB+6*, PATDOB+7, PATDOB+8, PATNAM+1*, PATNAM+7, PATNAM+10*, PATNAM+11, PATNAM+12, PATNAM+13
>> BGPCNTR PATADO+1*, PATADO+3*
BGPCT GETPAT+24!, PATADO+8*, PATADO+14, DEMO+11~, DEMO+16*, DEMO+18
BGPDA GETPAT+24!, PATCHT+3*, PATCHT+4, PATCHT+5, PATADO+2*, PATADO+4, SELSP+6~, SELSP+7*, SELSP+9, DEMO+9~
, DEMO+10*, DEMO+13, DEMO+14, DEMO+15, DEMO+16, DEMO+17, DEMO+18, CLNDEMO+1~, CLNDEMO+4*, CLNDEMO+5
BGPDB GETPAT+24!, PATADO+6*, PATADO+14, DEMO+11~, DEMO+14*, DEMO+18
BGPDGDA LOGPAT+2~
BGPDGMSG LOGPAT+2~
>> BGPDOB PATDOB+3*, PATDOB+4
>> BGPELG PATADO+11*, PATADO+14
BGPERR GETPAT+2~, GETPAT+7*, GETPAT+23, DEMOS+1~
BGPERRR LOGPAT+2~
BGPFDA DEMOS+1~
BGPFLAG LOGPAT+2~, LOGPAT+9*, LOGPAT+10*, LOGPAT+11
>> BGPHD PATADO+14
BGPI GETPAT+2~, GETPAT+6*, GETPAT+8, GETPAT+23, PATADO+13*, PATADO+14, SELSP+1~, SELSP+2*, SELSP+5, SELSP+10*
, SELSP+11, SELSP+12, DEMO+1~, DEMO+3*, DEMO+8, DEMO+12*, DEMO+18, DEMO+19, DEMOS+1~, DEMOS+3*
, DEMOS+8, DEMOS+18, DEMOS+29, VC+4~, VC+5*, VC+9, VC+10*, VC+13, VC+14, VC+19
, VC+20, VC+22, VC+23, DEMOCHK+1~, DEMOCHK+2*, DEMOCHK+5, DEMOCHK+8*, DEMOCHK+10, DEMOCHK+12*, DEMOCHK+13
, DEMOCHK+14, COMCHK+2~, COMCHK+4*, COMCHK+7, COMCHK+8*, COMCHK+16*, COMCHK+17, COMCHK+18, LOGPAT+2~, LOGPAT+6*
, LOGPAT+14, LOGPAT+15*, LOGPAT+16, LOGPAT+17
BGPIEN GETPAT+24!, PATCHT+4*, PATCHT+5, PATDOB+4*, PATDOB+7, PATNAM+8*, PATNAM+9, PATNAM+12
BGPIENS DEMOS+1~
BGPLEN PATNAM+2~, PATNAM+3*, PATNAM+7
>> BGPMCNT PATCHT+2*
BGPMSG DEMOCHK+1~, DEMOCHK+6*, DEMOCHK+7, DEMOCHK+11*, DEMOCHK+13
>> BGPMT GETPAT+10*, GETPAT+12*, GETPAT+13*, PATCHT+3, PATDOB+3, PATNAM+7
>> BGPNAM PATNAM+4*, PATNAM+5*, PATNAM+6*, PATNAM+7*, PATNAM+8, PATNAM+9
BGPNM GETPAT+24!, PATADO+5*, PATADO+14, DEMO+11~, DEMO+13*, DEMO+18
>> BGPNPAT GETPAT+11*, GETPAT+21
BGPOPT COMCHK+2~
BGPPAT GETPAT+9*, GETPAT+14, GETPAT+15, GETPAT+16, GETPAT+17, GETPAT+18, GETPAT+19*, GETPAT+20, GETPAT+21, GETPAT+24!
, DEMOS+15~, DEMOS+16*, DEMOS+17, LOGPAT+2~, LOGPAT+7*, LOGPAT+8, LOGPAT+11, LOGPAT+13
BGPPATE GETPAT+24!, PATCHT+2*, PATDOB~, PATDOB+2*, PATDOB+6*, PATDOB+8*, PATDOB+9, PATNAM~, PATNAM+1*, PATNAM+13*
, PATNAM+14
BGPPATE( PATDOB+5*, PATDOB+7*, PATNAM+11*, PATNAM+12*
BGPPATS GETPAT+22, GETPAT+25!, DEMOS+1~, DEMOS+6*, DEMOS+13, DEMOS+14, DEMOS+16
BGPPCNT BEGIN+1~, BEGIN+2*
BGPPDA BEGIN+1~, BEGIN+3*, BEGIN+4, BEGIN+5*, BEGIN+6*, BEGIN+7, BEGIN+8
>> BGPPI PATADO+4*, PATADO+5, PATADO+6, PATADO+7, PATADO+8, PATADO+9, PATADO+10, PATADO+11, PATADO+12, PATADO+14
BGPPIEN GETPAT+15*, GETPAT+17*, GETPAT+20*, GETPAT+21, GETPAT+22, GETPAT+24!, PATSSN+1*, PATSSN+2, PATSSN+3, PATCHT~
, PATCHT+5*, PATCHT+6, PATCHT+10, PATCHT+11, BEGIN+1~
BGPPIEN( PATCHT+9*, PATCHT+10*
BGPPIEN(1 PATSSN+2*
BGPPKG VC+4~, VC+11*, VC+12, VC+15, VC+16, VC+17
BGPPTCH VC+4~, VC+17*, VC+18
BGPPTCHI VC+4~
BGPRET GETPAT~, GETPAT+5*, COMCHK~, COMCHK+6*
BGPSE SELSP+8~, SELSP+9*, SELSP+11
BGPSSN GETPAT+24!, PATADO+9*, PATADO+14, DEMO+11~, DEMO+17*, DEMO+18
BGPST DEMO+1~, DEMOS+1~, DEMOS+5*, DEMOS+7
BGPSTI DEMO+1~, DEMO+4*, DEMO+10, DEMOS+1~, DEMOS+7*, DEMOS+10, DEMOS+11, DEMOS+17
BGPSTR DEBUG~, GETPAT~, GETPAT+9, GETPAT+10, GETPAT+11, DEMO~, DEMO+4, DEMOS~, DEMOS+5, DEMOS+6
, VC~, VC+6, COMCHK~, COMCHK+9, LOGPAT~, LOGPAT+7
BGPSX GETPAT+24!, PATADO+7*, PATADO+14, DEMO+11~, DEMO+15*, DEMO+18
BGPUIEN GETPAT+2~
>> BGPUPD PATADO+10*, PATADO+14
BGPVER VC+4~, VC+15*, VC+16, VC+18
BGPVERI VC+4~, VC+16*, VC+17
BGPVERIN VC+4~, VC+6*, VC+18
>> C COMCHK+15*, COMCHK+17
>> DA CLNDEMO+5*
>> DA(1 CLNDEMO+2*, CLNDEMO+3
DFN DGSEC~, DGSEC+2, DGSEC+6, DGSEC+10
DGMSG DGSEC~, DGSEC+1*, DGSEC+3, DGSEC+6
DIK CLNDEMO+3*, CLNDEMO+7!
DT PATADO+12
DUZ LOGPAT+8, DGSEC~, DGSEC+2, DGSEC+6, DGSEC+10
DUZ(2 PATCHT+5, PATADO+8, DEMO+16
>> G COMCHK+13*
I DEMOS+12~, DEMOS+13*, DEMOS+14, DEMOS+16
NPAT PATNAM~, PATNAM+6
P GETPAT+2~, GETPAT+3*, GETPAT+9, GETPAT+10, GETPAT+11, DEMO+1~, DEMO+2*, DEMO+4, DEMOS+1~, DEMOS+2*
, DEMOS+5, DEMOS+6, DEMOS+9*, VC+1~, VC+2*, VC+6, COMCHK+2~, COMCHK+3*, COMCHK+9, LOGPAT+2~
, LOGPAT+3*, LOGPAT+7
PAT PATSSN~, PATSSN+1, PATCHT~, PATCHT+3, PATDOB~, PATDOB+3, PATNAM~, PATNAM+3, PATNAM+4, PATNAM+5
, PATNAM+7
PIEN PATADO~
PIEN( PATADO+2, PATADO+4
PT BEGIN~, BEGIN+3
R DEMOS+1~, DEMOS+2*, DEMOS+13, DEMOS+14, DEMOS+16
RESULT LOGPAT+2~, LOGPAT+8, LOGPAT+11, LOGPAT+13, LOGPAT+16, DGSEC~, DGSEC+6, DGSEC+9!, DGSEC+10
RESULT(1 LOGPAT+9, LOGPAT+10, LOGPAT+11, LOGPAT+12, DGSEC+3*, DGSEC+7*, DGSEC+8*
RESULT(2 DGSEC+4*
RESULT(3 DGSEC+5*
RETVAL DEBUG~, SELSP~, SELSP+3*, DEMO~, DEMO+6*, DEMOS~, DEMOS+4*, VC~, VC+8*, DEMOCHK~
, DEMOCHK+3*, DEMOCHK+5, DEMOCHK+10, DEMOCHK+13, DEMOCHK+14, LOGPAT~, LOGPAT+5*, LOGPAT+14, LOGPAT+16, LOGPAT+17
STI CLNDEMO~, CLNDEMO+2, CLNDEMO+4
T COMCHK+2~, COMCHK+9*, COMCHK+11, COMCHK+12, COMCHK+14, COMCHK+15
U PATADO+5, PATADO+6, PATADO+7, PATADO+9, PATADO+10, PATADO+14, SELSP+9, DEMO+13, DEMO+14, DEMO+15
, DEMO+17, DEMO+18, DEMOCHK+11, COMCHK+15, LOGPAT+13
>> X GETPAT+1*, GETPAT+19*, COMCHK+1*, COMCHK+13*, COMCHK+14*, COMCHK+15, LOGPAT+1*
>> Y GETPAT+19
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All