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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BGP9DEMO

Package: IHS GPRA Information System

Routine: BGP9DEMO


Information

BGP9DEMO ; IHS/CMI/LAB - demo patient search template ;

Source Information

Source file <BGP9DEMO.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
IHS VA Utilities 3 $$VAL^XBDIQ1  ^XBFMK  EN^XBVK  
Registration 3 EN^VALM  TERM^VALM0  (CLEAR,FULL)^VALM1  
VA Fileman 3 ^DIC  ^DIE  ^DIR  
IHS Patient 1 $$HRN^AUPNPAT  
Kernel 1 DISP^XQORM1  

Entry Points

Name Comments DBIA/ICR reference
REMX ;
EN ;EP -- main entry point for
EXPND ; -- expand code
HDR ; -- header code
ADD1
EOJ ;EP
UPDATE ;create/update Demo Patient Search Template
BACK ;go back to listman
INIT ; -- init variables and list array
INTRO ;
XIT ;
REM ;EP - REMOVE PATIENT FROM SEARCH TEMPLATE
EXIT ; -- exit code
ADDX ;
ADD ;EP - add an item to the selected list - called from a protocol
EP ;EP - CALLED FROM OPTION
SELECT ;
HELP ; -- help code

External References

Name Field # of Occurrence
$$HRN^AUPNPAT INIT+4
^DIC SELECT+3, ADD1+1
^DIE SELECT+6
^DIR UPDATE+2, REM+3, REM+10
EN^VALM EN+1
TERM^VALM0 BACK+1
CLEAR^VALM1 EN+2
FULL^VALM1 EN+3, ADD+1, REM+6
$$VAL^XBDIQ1 SELECT+3
^XBFMK XIT+3
EN^XBVK XIT+1, EOJ+1
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: SELECT+1
Function Call: WRITE
  • Prompt: !!,"CREATE/UPDATE ""DEMO"" PATIENT SEARCH TEMPLATE"
  • Line Location: INTRO+2
Function Call: WRITE
  • Prompt: !!,"This option is used to create or update a patient search template that"
  • Line Location: INTRO+3
Function Call: WRITE
  • Prompt: !,"contains the names of all of the ""demo"" or ""test"" patients in your"
  • Line Location: INTRO+4
Function Call: WRITE
  • Prompt: !,"database. This template will be used to exclude these patients from"
  • Line Location: INTRO+5
Function Call: WRITE
  • Prompt: !,"all CRS reports. Once the template is created you must remember to "
  • Line Location: INTRO+6
Function Call: WRITE
  • Prompt: !,"enter the name of the template into your site's CRS Site Parameter file"
  • Line Location: INTRO+7
Function Call: WRITE
  • Prompt: !,"using the Update Site Parameters option."
  • Line Location: INTRO+8
Function Call: WRITE
  • Prompt: !!
  • Line Location: INTRO+9
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: ADD1+0
Function Call: WRITE
  • Prompt: !!,"That patient is already in the template."
  • Line Location: ADD1+3
Function Call: WRITE
  • Prompt: !
  • Line Location: REM+1
Function Call: WRITE
  • Prompt: !,"No patient selected."
  • Line Location: REM+4
Function Call: WRITE
  • Prompt: !,"No patient selected."
  • Line Location: REM+5
Function Call: WRITE
  • Prompt: !!,$P(^DPT(BGPPATI,0),U)," removed from template.",!!
  • Line Location: REM+8
Routine Call
  • VALM
  • Line Location:
    • EN+1
Routine Call
  • DIE
  • Line Location:
    • SELECT+6
Routine Call
  • DIC
  • Line Location:
    • SELECT+3
    • ADD1+1
Routine Call
  • DIR
  • Line Location:
    • UPDATE+2
    • REM+3
    • REM+10

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIBT( SELECT+6, HDR+2, INIT+2, ADD1+3, ADD1+4*, REM+9!
^DPT - [#2] INIT+4, REM+8

Label References

Name Line Occurrences
ADD1 ADD1+3, ADD1+5
ADDX ADD1+2
BACK ADDX+1, REMX+1
EN EP+1
EOJ EN+5
EP SELECT+9
HDR BACK+4
INIT BACK+3
INTRO UPDATE+1
REMX REM+4, REM+5
XIT UPDATE+3, UPDATE+4, SELECT+4, SELECT+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BGPDEMO INIT+1!
BGPDEMO( INIT+4*
BGPDEMO("IDX" INIT+5*, REM+7
>> BGPHIGH INIT+1*, INIT+7*, REM+2
>> BGPPATI REM+7*, REM+8, REM+9
>> BGPSTMP SELECT+5*, HDR+2, INIT+2, ADD1+3, ADD1+4, REM+9
>> C INIT+1*, INIT+3*, INIT+4, INIT+5, INIT+7
DA UPDATE+2!, SELECT+6*!
DIC SELECT+2!, SELECT+3*, ADD1+1!*
DIC("A" SELECT+3*
DIC("S" SELECT+3*
DIC(0 SELECT+3*, ADD1+1*
DIE SELECT+6*!
DIR UPDATE+2!, XIT+2!, BACK+5!, REM+3!, REM+10!
DIR("A" UPDATE+2*, REM+2*, REM+10*
DIR("B" UPDATE+2*, SELECT+3*
DIR(0 UPDATE+2*, REM+2*, REM+10*
>> DIRUT UPDATE+3, REM+3*, REM+5
DR SELECT+6*!
>> DUOUT REM+3
DUZ(2 SELECT+3, INIT+4
I BACK+6!
IOF INTRO+1, EN+4, REM+6
U SELECT+6, HDR+2, INIT+4, REM+8
>> VALMBCK BACK+2*
>> VALMCNT INIT+7*
>> VALMHDR(1 HDR+1*
>> VALMHDR(2 HDR+2*
>> VALMHDR(3 HDR+4*
X HDR+3*, HDR+4, INIT+2*, INIT+4, INIT+5, HELP+1*, BACK+6!
Y UPDATE+4, SELECT+4, SELECT+5, SELECT+6, BACK+6!, ADD1+2, ADD1+3, ADD1+4, REM+4, REM+7
Z BACK+6!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All