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

Package: IHS Changes To ADT

Routine: BDGILD1


Information

BDGILD1 ; IHS/ANMC/LJF - ADMISSIONS BY DATE ;

Source Information

Source file <BDGILD1.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Kernel 4 ^%ZISC  $$FMTE^XLFDT  $$REPEAT^XLFSTR  DISP^XQORM1  
IHS Changes To ADT 3 ($$CONF,$$NUMDATE,INIT,MSG,PRTKL)^BDGF  ($$ADMPRV,$$ADMPRVS,$$ADMSRV,$$ADMSRVC,$$ADMSRVN,$$WRDABRV2)^BDGF1  ($$HRCN,$$NEWINS)^BDGF2  
Registration 3 EN^VALM  TERM^VALM0  CLEAR^VALM1  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
IHS Changes To ADT 2 BDGILD2  BDGILD3  

Entry Points

Name Comments DBIA/ICR reference
SET(DATA,NUM) ; puts display line into array
EN ;EP; -- main entry point for BDG ILD ADMISSIONS
; Assumes BDGTYP,BDGBD,BDGED,BDGTYP are set
HDR ; -- header code
SORT(TYPE,N) ; returns external format of sort for this report & admission
PAD(D,L) ;EP -- SUBRTN to pad length of data
; -- D=data L=length
SP(N) ; -- SUBRTN to pad N number of spaces
OKAY(TYPE,SORT,IEN,DFN) ; does admission fall within parameters
HDG ; heading when printing to paper
INIT ; -- init variables and list array
EXIT ; -- exit code
PRINT ; print to paper
TYPE ;;
EXPND ; -- expand code
HELP ; -- help code

External References

Name Field # of Occurrence
^%ZISC PRINT+7
$$CONF^BDGF HDR+2, HDG+2
$$NUMDATE^BDGF INIT+34, INIT+36
INIT^BDGF PRINT+2
MSG^BDGF INIT+3
PRTKL^BDGF PRINT+7
$$ADMPRV^BDGF1 INIT+43, OKAY+14, SORT+5
$$ADMPRVS^BDGF1 OKAY+15, SORT+6
$$ADMSRV^BDGF1 OKAY+6, SORT+4
$$ADMSRVC^BDGF1 INIT+38
$$ADMSRVN^BDGF1 OKAY+13
$$WRDABRV2^BDGF1 INIT+39
$$HRCN^BDGF2 INIT+33
$$NEWINS^BDGF2 INIT+52, INIT+53, INIT+54, INIT+55
$$GET1^DIQ INIT+32, INIT+35, INIT+37, INIT+44, OKAY+12, OKAY+16, OKAY+17, SORT+3, SORT+7, SORT+9
, SORT+10
EN^VALM EN+5
TERM^VALM0 EN+4
CLEAR^VALM1 EN+4, EN+6
$$FMTE^XLFDT HDR+5, HDG+6
$$REPEAT^XLFSTR HDG+8, HDG+11, PAD+2
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !,^TMP("BDGILD1",$J,BDGLN,0)
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDG+1
Function Call: WRITE
  • Prompt: !,BDGUSR,?13,"***",$$CONF^BDGF,"***"
  • Line Location: HDG+2
Function Call: WRITE
  • Prompt: !,BDGDATE,?25,"Admissions by Date",?71,"Page: ",BDGPG
  • Line Location: HDG+3
Function Call: WRITE
  • Prompt: !,BDGTIME,?(80-$L(X)\2),X
  • Line Location: HDG+5
Function Call: WRITE
  • Prompt: !?(80-$L(X)\2),X
  • Line Location: HDG+7
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",80)
  • Line Location: HDG+8
Function Call: WRITE
  • Prompt: !,"Patient Name",?23,"Chart #",?31,"Admission Dates",?55,"LOS"
  • Line Location: HDG+9
Function Call: WRITE
  • Prompt: ?65,"Serv",?72,"Ward"
  • Line Location: HDG+10
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("=",80)
  • Line Location: HDG+11
Routine Call
  • VALM
  • Line Location:
    • EN+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^DGPM - [#405] GET1^DIQ
^AUPNPAT - [#9000001] GET1^DIQ
^AUTTCOM - [#9999999.05] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGPM - [#405] INIT+36, SORT+2
^DGPM("AMV1" INIT+8, INIT+9, INIT+10
^TMP("BDGILD1" INIT+2!, INIT+67, SET+2*, EXIT+1!, PRINT+4, PRINT+6
^TMP("BDGILD1A" INIT+2!, INIT+15*, INIT+20, INIT+27, INIT+28, INIT+31, INIT+69!

Label References

Name Line Occurrences
$$OKAY INIT+12
$$PAD INIT+33, INIT+34, INIT+37, INIT+38, INIT+39, INIT+44, SP+1
$$SORT INIT+14
$$SP HDR+2, HDR+4, HDR+6, INIT+25, INIT+42, INIT+56, INIT+57, INIT+61
EXIT PRINT+7
HDG PRINT+2, PRINT+5
INIT EN+3
PRINT EN+3
SET INIT+25, INIT+40, INIT+45, INIT+56, INIT+57, INIT+61, INIT+64, INIT+67

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BDGBD HDR+5, INIT+7, EXIT+1!, HDG+6
BDGCOV INIT+19~, INIT+48*, INIT+56
>> BDGDATE HDG+3
BDGED HDR+5, INIT+7, EXIT+1!, HDG+6
>> BDGINS INIT+47
BDGLN PRINT+1~, PRINT+4*, PRINT+6
BDGPG PRINT+1~, HDG+1*, HDG+3
BDGRR INIT+19~
BDGRR( INIT+60, INIT+61
BDGSRT INIT+12, EXIT+1!
>> BDGTIME HDG+5
BDGTYP INIT+12, INIT+14, INIT+23, EXIT+1!
>> BDGUSR HDG+2
BDGW INIT+51~, INIT+54*, INIT+57
BDGX INIT+51~, INIT+52*, INIT+57
BDGY INIT+51~, INIT+53*, INIT+57
BDGZ INIT+51~, INIT+55*
D PAD~, PAD+2
DATA SET~, SET+2
DATE INIT+6~, INIT+7*, INIT+8*, INIT+9, INIT+10, INIT+15, INIT+19~, INIT+27*, INIT+28, INIT+31
, INIT+34
DFN INIT+6~, INIT+9*, INIT+10, INIT+12, INIT+15, INIT+31*, INIT+32, INIT+33, INIT+38, INIT+43
, INIT+52, INIT+53, INIT+54, INIT+55, OKAY~, OKAY+6, OKAY+13, OKAY+14, OKAY+15, OKAY+16
, OKAY+17, SORT+4, SORT+5, SORT+6, SORT+7, SORT+9
DUZ(2 INIT+33
END INIT+6~, INIT+7*, INIT+8
I INIT+19~, INIT+60*, INIT+61
IEN INIT+6~, INIT+10*, INIT+12, INIT+14, INIT+15, INIT+19~, INIT+28*, INIT+31, INIT+35, INIT+37
, INIT+38, INIT+39, INIT+43, INIT+44, INIT+52, INIT+53, INIT+54, INIT+55, OKAY~, OKAY+6
, OKAY+12, OKAY+13, OKAY+14, OKAY+15
IO PRINT+2
IOF HDG+1
IOSL PRINT+5
IOST EN+3, INIT+3
L PAD~, PAD+2
LINE INIT+19~, INIT+32*, INIT+33*, INIT+34*, INIT+36*, INIT+37*, INIT+38*, INIT+39*, INIT+40, INIT+42*
, INIT+43*, INIT+44*, INIT+45
N SORT~, SORT+2, SORT+3, SORT+4, SORT+5, SORT+6, SORT+10, SP~, SP+1
NUM SET~, SET+1*, SET+2
SORT INIT+6~, INIT+14*, INIT+15, INIT+19~, INIT+20*, INIT+24, INIT+27, INIT+28, INIT+31, OKAY~
, OKAY+5, OKAY+7, OKAY+8, OKAY+11
SORT( OKAY+12, OKAY+13, OKAY+14, OKAY+15, OKAY+16, OKAY+17
TYPE OKAY~, OKAY+2, OKAY+5, OKAY+12, OKAY+13, OKAY+14, OKAY+15, OKAY+16, OKAY+17, SORT~
, SORT+2, SORT+3, SORT+4, SORT+5, SORT+6, SORT+7, SORT+9
U OKAY+5, OKAY+7, OKAY+8, OKAY+11
VALMCNT EN+4~, INIT+1*, INIT+25, INIT+40, INIT+45, INIT+56, INIT+57, INIT+61, INIT+64, INIT+67
>> VALMHDR(1 HDR+2*
>> VALMHDR(2 HDR+4*
>> VALMHDR(3 HDR+6*
X HDR+1~, HDR+3*, HDR+4, HDR+5*, HDR+6, INIT+19~, INIT+24*, INIT+25, INIT+35*, INIT+36
, OKAY+1~, OKAY+6*, OKAY+7, OKAY+8, SORT+1~, HELP+1*, HDG+4~*, HDG+5, HDG+6*, HDG+7
Y OKAY+1~, OKAY+5, OKAY+6*, OKAY+7*, OKAY+8*, OKAY+9*

Marked Items

Name Field # of Occurrence
$T(TYPE+BDGTYP HDR+3, HDG+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All