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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BDGEAN2

Package: IHS Changes To ADT

Routine: BDGEAN2


Information

BDGEAN2 ; IHS/ANMC/LJF - INPTS W/OUT EXTERNAL ACCT # ;

Source Information

Source file <BDGEAN2.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 3 ^%ZISC  $$REPEAT^XLFSTR  DISP^XQORM1  
Registration 3 EN^VALM  TERM^VALM0  CLEAR^VALM1  
IHS Changes To ADT 2 ($$BROWSE,$$CONF,$$NUMDATE,$$READ,INIT,PRTKL,ZIS)^BDGF  $$HRCN^BDGF2  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- main entry point for BDG IPL W/OUT ACCT NO
HELP ; -- help code
PAD(D,L) ;EP -- SUBRTN to pad length of data
; -- D=data L=length
SP(N) ; -- SUBRTN to pad N number of spaces
EXPND ; -- expand code
HDG ; heading when printing to paper
INIT ; -- init variables and list array
; uses same tmp global as BDGEAN so same edit protocol works
EXIT ; -- exit code
SET(DATA,CNT,IEN,NUM) ; put display line into array
PRINT ;
HDR ; -- header code

External References

Name Field # of Occurrence
^%ZISC PRINT+6
$$BROWSE^BDGF BDGEAN2+6
$$CONF^BDGF HDG+2
$$NUMDATE^BDGF INIT+16
$$READ^BDGF BDGEAN2+4, BDGEAN2+5
INIT^BDGF PRINT+2
PRTKL^BDGF PRINT+6
ZIS^BDGF BDGEAN2+7
$$HRCN^BDGF2 INIT+15
$$GET1^DIQ INIT+10, INIT+11, INIT+13, INIT+14, INIT+16
EN^VALM EN+4
TERM^VALM0 EN+3
CLEAR^VALM1 EN+3, EN+5
$$REPEAT^XLFSTR HDG+4, HDG+6, PAD+2
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !,^TMP("BDGEAN",$J,BDGX,0)
  • Line Location: PRINT+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDG+1
Function Call: WRITE
  • Prompt: !,BDGTIME,?16,$$CONF^BDGF,?76,BDGUSR
  • Line Location: HDG+2
Function Call: WRITE
  • Prompt: !,BDGDATE,?25,"Admissions witout Account Numbers",?71,"Page: ",BDGPG
  • Line Location: HDG+3
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",80)
  • Line Location: HDG+4
Function Call: WRITE
  • Prompt: !?5,"Patient Name",?32,"Chart #",?41,"Admission Date"
  • Line Location: HDG+5
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("=",80)
  • Line Location: HDG+6
Routine Call
  • VALM
  • Line Location:
    • EN+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^DGPM - [#405] GET1^DIQ
^AUPNVSIT - [#9000010] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BDGPM("ATT1" INIT+8
^DGPM("ATT1" INIT+7
^TMP("BDGEAN" INIT+4!, INIT+21, SET+2*, SET+3*, PRINT+3, PRINT+5

Label References

Name Line Occurrences
$$PAD INIT+15, INIT+16, INIT+17, SP+1
EN BDGEAN2+6
EXIT PRINT+6
HDG PRINT+2, PRINT+4
INIT EN+1
PRINT EN+1
SET INIT+18, INIT+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BDGBD BDGEAN2+3~, BDGEAN2+4*, BDGEAN2+5, INIT+6
>> BDGDATE HDG+3
BDGDT INIT+2~, INIT+6*, INIT+7*, INIT+8
BDGED BDGEAN2+3~, BDGEAN2+5*, INIT+6
BDGEND INIT+2~, INIT+6*, INIT+7
BDGN INIT+2~, INIT+8*, INIT+10, INIT+13, INIT+16, INIT+18
BDGPG PRINT+1~, HDG+1*, HDG+3
>> BDGTIME HDG+2
>> BDGUSR HDG+2
>> BDGX PRINT+3*, PRINT+5
CNT SET~, SET+3
COUNT INIT+2~, INIT+3*, INIT+14, INIT+18, INIT+19*
D PAD~, PAD+2
DATA SET~, SET+2
DFN INIT+2~, INIT+13*, INIT+14, INIT+15
DT BDGEAN2+5
DUZ(2 INIT+15
IEN SET~, SET+3
IO PRINT+2
IOF HDG+1
IOSL PRINT+4
IOST EN+1
L PAD~, PAD+2
LINE INIT+2~, INIT+14*, INIT+15*, INIT+16*, INIT+17*, INIT+18
N SP~, SP+1
NUM SET~, SET+1*, SET+2, SET+3
VALMCNT EN+2~, INIT+3*, INIT+18, INIT+21
VST INIT+2~, INIT+10*, INIT+11, INIT+17
X BDGEAN2+3~, BDGEAN2+6*, BDGEAN2+7, HELP+1*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All