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

Package: IHS GPRA Information System

Routine: BGPGP


Information

BGPGP ; IHS/CMI/MAW - BGPG Patient Lookup 4/28/2009 12:43:21 PM ;

Source Information

Source file <BGPGP.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 2 ^%DT  $$GET1^DIQ  
IHS Changes To ADT 1 $$STATUS^BDGSPT2  
IHS Patient 1 ($$AGE,$$HRN)^AUPNPAT  
Registration 1 (NOTICE,OWNREC,SENS)^DGSEC4  

Entry Points

Name Comments DBIA/ICR reference
PATSSN(PAT) ;EP -- look up by ssn
PATDOB(BGPPATE,PAT) ;EP -- lookup by DOB
GETPAT(RETVAL,BGPSTR) ;EP -- return patient in ADO table
PATCHT(BGPPIEN,PAT) ;EP -- lookup by chart
LOGPAT(RETVAL,BGPSTR) ;-- log sensitive patient information
PATSTR(RETVAL,BGPSTR) ;EP -- return the patient demographic information
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) ;EP -- ado return
BEGIN(PT) ;EP -- get begin point
LVDT(PDT) ;EP - return date for list view format
PATNAM(BGPPATE,PAT,NPAT) ;lookup by name

External References

Name Field # of Occurrence
^%DT GETPAT+23
$$AGE^AUPNPAT PATADO+33
$$HRN^AUPNPAT PATADO+23
$$STATUS^BDGSPT2 DGSEC+2
NOTICE^DGSEC4 LOGPAT+11, LOGPAT+13
OWNREC^DGSEC4 DGSEC+6
SENS^DGSEC4 DGSEC+10
$$GET1^DIQ PATADO+35, LOGPAT+12

Used in RPC

RPC Name Call Tags
BGPG GET PATIENT GETPAT
BGPG LOG SENSITIVE PATIENT LOGPAT

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" GETPAT+1, PATSTR+1, LOGPAT+1
^AUPNPAT - [#9000001] PATADO+30
^AUPNPAT("D" PATCHT+4, PATCHT+5, PATCHT+6
^BGPTMP($J GETPAT+4!, GETPAT+8*, GETPAT+27*, PATADO+37*, PATSTR+4!, PATSTR+8*, PATSTR+13*, LOGPAT+4!
^DGSL(38.1 - [#38.1] LOGPAT+13
^DPT - [#2] PATADO+18, PATADO+20, PATADO+22, PATADO+24, PATADO+32
^DPT("ADOB" PATDOB+3, PATDOB+4
^DPT("B" PATNAM+7, PATNAM+8, PATNAM+10, PATNAM+11, PATNAM+16, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+8
^DPT("SSN" PATSSN+1

Label References

Name Line Occurrences
$$BEGIN PATNAM+5
$$LVDT PATADO+20, PATADO+32
$$PATCHT GETPAT+21
$$PATDOB GETPAT+24
$$PATSSN GETPAT+19
DGSEC PATADO+6, LOGPAT+8
PATADO GETPAT+26, PATSTR+12
PATNAM GETPAT+25

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BGPAGE GETPAT+28!, PATADO+33*, PATADO+34*, PATADO+37
>> BGPAL PATADO+4*, PATADO+18
BGPCNT GETPAT+28!, PATCHT+2~, PATCHT+3*, PATCHT+4, PATCHT+10*, PATCHT+11, PATCHT+12, PATDOB+1~, PATDOB+2*, PATDOB+3
, PATDOB+5, PATDOB+6*, PATDOB+7, PATDOB+8, PATNAM+1*, PATNAM+13*, PATNAM+14, PATNAM+15, PATNAM+17*, PATNAM+18
, PATNAM+19, PATNAM+20
BGPCNTR GETPAT+28!, PATADO+1*, PATADO+16, PATADO+17*
BGPCT GETPAT+28!, PATADO+23*, PATADO+37
BGPDA GETPAT+28!, PATCHT+4*, PATCHT+5, PATCHT+6, PATADO+2*, PATADO+3, PATADO+4
BGPDB GETPAT+28!, PATADO+20*, PATADO+21*, PATADO+37
BGPDG GETPAT+28!, PATADO+6
BGPDG( PATADO+12, PATADO+13, PATADO+14
BGPDG(1 PATADO+8, PATADO+9
BGPDGDA PATADO+10~, PATADO+12*, PATADO+13, PATADO+14, LOGPAT+2~
BGPDGMSG PATADO+7~, PATADO+11*, PATADO+14*, PATADO+15*, PATADO+37, LOGPAT+2~
>> BGPDOB PATDOB+3*, PATDOB+4
BGPDOD GETPAT+28!, PATADO+32*, PATADO+37
BGPDUZ2 GETPAT+9*, GETPAT+14*, GETPAT+28!, PATCHT+8, PATADO+23, PATSTR+10*
BGPERRR GETPAT+2~, GETPAT+7*, PATSTR+2~, PATSTR+7*, LOGPAT+2~
BGPFLAG PATADO+7~, PATADO+9*, PATADO+21, PATADO+29, PATADO+34, PATADO+35*, PATADO+37, LOGPAT+2~, LOGPAT+9*, LOGPAT+10*
, LOGPAT+11
>> BGPHD PATADO+37
BGPI GETPAT+2~, GETPAT+6*, GETPAT+8, GETPAT+27, PATADO+36*, PATADO+37, PATSTR+2~, PATSTR+6*, PATSTR+8, PATSTR+13
, LOGPAT+2~, LOGPAT+6*, LOGPAT+14, LOGPAT+15*, LOGPAT+16, LOGPAT+17
BGPIEN GETPAT+28!, PATCHT+5*, PATCHT+6, PATCHT+8, PATDOB+4*, PATDOB+7, PATNAM+8*, PATNAM+10, PATNAM+11, PATNAM+15
, PATNAM+16, PATNAM+19
BGPLEN PATNAM+2~, PATNAM+3*, PATNAM+7
>> BGPMCNT PATCHT+3*
BGPMORE GETPAT+28!, PATADO+37
BGPMT GETPAT+11*, GETPAT+12*, GETPAT+16*, GETPAT+17*, GETPAT+28!, PATCHT+4, PATDOB+3, PATADO+16, PATSTR+11*
BGPNAM GETPAT+28!, PATNAM+4*, PATNAM+5*, PATNAM+6*, PATNAM+7*, PATNAM+8, PATNAM+10, PATNAM+11, PATNAM+15, PATNAM+16
BGPNM GETPAT+28!, PATADO+18*, PATADO+37
BGPNPAT GETPAT+13*, GETPAT+25, GETPAT+29!
BGPOEN PATCHT+2~, PATCHT+6*, PATCHT+8, PATNAM+9~, PATNAM+11*
BGPPAT GETPAT+10*, GETPAT+18, GETPAT+19, GETPAT+20, GETPAT+21, GETPAT+22, GETPAT+23*, GETPAT+24, GETPAT+25, GETPAT+28!
, PATSTR+12, LOGPAT+2~, LOGPAT+7*, LOGPAT+8, LOGPAT+11, LOGPAT+13
BGPPAT(1 PATSTR+9*
BGPPATE GETPAT+28!, PATCHT+3*, PATDOB~, PATDOB+2*, PATDOB+6*, PATDOB+8*, PATDOB+9, PATNAM~, PATNAM+1*, PATNAM+20*
, PATNAM+21
BGPPATE( PATDOB+5*, PATDOB+7*, PATNAM+14*, PATNAM+15*, PATNAM+18*, PATNAM+19*
BGPPATS GETPAT+26, GETPAT+29!
BGPPCNT BEGIN+1~, BEGIN+2*
BGPPDA BEGIN+1~, BEGIN+3*, BEGIN+4, BEGIN+5*, BEGIN+6*, BEGIN+7, BEGIN+8
BGPPI GETPAT+29!, PATADO+3*, PATADO+6, PATADO+18, PATADO+20, PATADO+22, PATADO+23, PATADO+24, PATADO+30, PATADO+32
, PATADO+33, PATADO+37
BGPPIEN GETPAT+19*, GETPAT+21*, GETPAT+24*, GETPAT+25, GETPAT+26, GETPAT+28!, PATSSN+1*, PATSSN+2, PATSSN+3, PATCHT~
, PATCHT+6, PATCHT+8*, PATCHT+9, PATCHT+12, PATCHT+13, BEGIN+1~
BGPPIEN( PATCHT+11*, PATCHT+12*
BGPPIEN(1 PATSSN+2*
BGPSSN GETPAT+28!, PATADO+24*, PATADO+25, PATADO+27, PATADO+28*, PATADO+29*, PATADO+37
BGPSTR GETPAT~, GETPAT+9, GETPAT+10, GETPAT+11, GETPAT+13, PATSTR~, PATSTR+9, PATSTR+10, LOGPAT~, LOGPAT+7
BGPSX GETPAT+28!, PATADO+22*, PATADO+37
BGPUIEN GETPAT+2~, PATSTR+2~
BGPUPD GETPAT+29!, PATADO+30*
DFN DGSEC~, DGSEC+2, DGSEC+6, DGSEC+10
DGMSG DGSEC~, DGSEC+1*, DGSEC+3, DGSEC+6
DT PATADO+33
DUZ PATADO+6, LOGPAT+8, DGSEC~, DGSEC+2, DGSEC+6, DGSEC+10
DUZ(2 GETPAT+14
LN PATADO+26~, PATADO+27*, PATADO+28
NPAT PATNAM~, PATNAM+6
P GETPAT+2~, GETPAT+3*, GETPAT+9, GETPAT+10, GETPAT+11, GETPAT+13, PATSTR+2~, PATSTR+3*, PATSTR+9, PATSTR+10
, LOGPAT+2~, LOGPAT+3*, LOGPAT+7
PAT PATSSN~, PATSSN+1, PATCHT~, PATCHT+4, PATDOB~, PATDOB+3, PATNAM~, PATNAM+3, PATNAM+4, PATNAM+5
, PATNAM+7
PDT LVDT~, LVDT+1, LVDT+2
PIEN PATADO~
PIEN( PATADO+2, PATADO+3, PATADO+4
PT BEGIN~, BEGIN+3
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 GETPAT~, GETPAT+5*, PATSTR~, PATSTR+5*, LOGPAT~, LOGPAT+5*, LOGPAT+14, LOGPAT+16, LOGPAT+17
U PATNAM+15, PATADO+3, PATADO+4, PATADO+18, PATADO+20, PATADO+22, PATADO+24, PATADO+30, PATADO+32, PATADO+37
, LOGPAT+13
>> X GETPAT+1*, GETPAT+23*, PATSTR+1*, LOGPAT+1*
>> Y GETPAT+23
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