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 |  All
Print Page as PDF
Routine: BDGLOC

Package: IHS Changes To ADT

Routine: BDGLOC


Information

BDGLOC ; IHS/ANMC/LJF - LOCATOR CARD ; [ 08/20/2004 11:46 AM ]

Source Information

Source file <BDGLOC.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
IHS Changes To ADT 1 ($$READ,ZIS)^BDGF  
Kernel 1 ^%ZTLOAD  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS Changes To ADT 1 BDGCRB  

Entry Points

Name Comments DBIA/ICR reference
ADMIT(DFN) ; ask user to select an admission for patient
NOPAT(BDGPRT) ;EP; entry point from menu
PAT(DFN,BDGN,BDGPRT,BDGDEV) ;EP; entry point when patient is known
; can also be used as silent API
; DFN=patient ien, required
; BDGN = ien in file 405, movement entry, required
; BDGPRT = 1 for print, 0 for not print, "A" for ask, required
; BDGDEV = print device, required if silent call
; if sent, automatic queuing to that device

External References

Name Field # of Occurrence
^%ZTLOAD PAT+22
$$READ^BDGF NOPAT+2, PAT+14, ADMIT+12
ZIS^BDGF PAT+27
$$GET1^DIQ PAT+27, ADMIT+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?5,"No admissions on file."
  • Line Location: ADMIT+1
Function Call: WRITE
  • Prompt: !!,"Admission(s)"
  • Line Location: ADMIT+5
Function Call: WRITE
  • Prompt: !?5,COUNT,". ",$$GET1^DIQ(405,IEN,.01)
  • Line Location: ADMIT+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DGPM - [#405] GET1^DIQ
^BDGPAR - [#9009020.1] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGPM("APCA" ADMIT+1
^DGPM("ATID1" ADMIT+6, ADMIT+7

Label References

Name Line Occurrences
$$ADMIT NOPAT+3
PAT NOPAT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADM ADMIT+4~
ADM( ADMIT+8*, ADMIT+15
ADM(1 ADMIT+11
BDGDEV PAT~, PAT+19, PAT+20
BDGN PAT~, PAT+8
BDGPRT NOPAT~, NOPAT+4, PAT~, PAT+9*, PAT+14*, PAT+16
COUNT ADMIT+4~, ADMIT+5*, ADMIT+8*, ADMIT+9, ADMIT+11, ADMIT+12
DFN NOPAT+1~, NOPAT+2*, NOPAT+3, NOPAT+4, PAT~, PAT+8, ADMIT~, ADMIT+1, ADMIT+6, ADMIT+7
>> DGPMA PAT+10
>> DGPMT PAT+10
>> I PAT+21*
IEN NOPAT+1~, NOPAT+3*, NOPAT+4, ADMIT+4~, ADMIT+7*, ADMIT+8, ADMIT+9
IVDT ADMIT+4~, ADMIT+6*, ADMIT+7
Y ADMIT+4~, ADMIT+12*, ADMIT+15
>> ZTDESC PAT+20*
>> ZTDTH PAT+20*
>> ZTIO PAT+20*
>> ZTRTN PAT+20*
>> ZTSAVE( PAT+21*
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 |  All