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

Package: Emergency Room

Routine: AMERBSD


Information

AMERBSD ;GDIT/HS/BEE - AMER - BSD Appointment Scheduling/Clinic and HL set ; 07 Oct 2013 11:33 AM

Source Information

Source file <AMERBSD.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA Fileman 4 FILE^DICN  (,FILE,UPDATE)^DIE  $$IENS^DILF  $$GET1^DIQ  
IHS Changes To Scheduling 1 $$SCIEN^BSDU2  
Kernel 1 $$NOW^XLFDT  
Scheduling 1 ($$HANDLE,AFTER,BEFORE,EVT,MAKE)^SDAMEVT  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Emergency Room 3 AMER2A  AMEREDTA  AMERPCC  
IHS Emergency Dept Dashboard 2 BEDDADM  BEDDUTID  

Entry Points

Name Comments DBIA/ICR reference
MAKE(BSDR,VIEN) ;Existing Visit changing ER Hospital Location - Make a new appointment
UPDT2(BSDR,VIEN,SKP21) ;Update file 2 appointment entry to point to existing matching appointment
ERAPT(VIEN,HLOC) ;EP - Handle ER (AMER/BEDD) Hospital Location Change
CHECKIN(BSDR) ;Add checkin info to appt
CKHLOC(VIEN,ECLIN) ;Handle possible hospital location changes
GCLIN(ECLIN) ;Return the clinic code and hospital location for the ER OPTION CIEN

External References

Name Field # of Occurrence
$$SCIEN^BSDU2 ERAPT+43, MAKE+55, CHECKIN+25, CHECKIN+40
FILE^DICN MAKE+40, MAKE+49
^DIE CHECKIN+37
FILE^DIE CKHLOC+39
UPDATE^DIE UPDT2+26, MAKE+32
$$IENS^DILF UPDT2+23, GCLIN+11
$$GET1^DIQ CKHLOC+25, CKHLOC+29, ERAPT+22, ERAPT+26, ERAPT+30, ERAPT+39, UPDT2+11, UPDT2+14, GCLIN+12, GCLIN+17
, GCLIN+25
$$HANDLE^SDAMEVT CHECKIN+30, CHECKIN+41
AFTER^SDAMEVT CHECKIN+42
BEFORE^SDAMEVT CHECKIN+31
EVT^SDAMEVT CHECKIN+47
MAKE^SDAMEVT MAKE+56
$$NOW^XLFDT MAKE+30, MAKE+47, CHECKIN+36

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"SITE PARAMETERS have not been set up in the ERS PARAMETER option"
  • Line Location: GCLIN+21
Function Call: WRITE
  • Prompt: !,"No entry for EMERGENCY MEDICINE could be located"
  • Line Location: GCLIN+22
Routine Call
  • DIE
  • Line Location:
    • UPDT2+26
    • MAKE+32
Routine Call
  • DIE
  • Line Location:
    • CHECKIN+37
Routine Call
  • DIE
  • Line Location:
    • CKHLOC+39

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCE - [#409.68] GET1^DIQ
^SC - [#44] GET1^DIQ
^AUPNVSIT - [#9000010] GET1^DIQ
9009082.58 GET1^DIQ
^AMER(3 - [#9009083] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TEST" CKHLOC+46
^AMER(2.5 - [#9009082.5] GCLIN+9, GCLIN+16
^AMER(3 - [#9009083] CKHLOC+21
^AUPNVSIT - [#9000010] CKHLOC+19, ERAPT+16
^DIC(40.7 - [#40.7] GCLIN+18
^DPT - [#2] CKHLOC+26, ERAPT+23, UPDT2+5, MAKE+22
^SC - [#44] ERAPT+18, MAKE+35*, MAKE+36
^SCE("AVSIT" UPDT2+8
^VA(200 - [#200] CKHLOC+22, ERAPT+19

Label References

Name Line Occurrences
$$CHECKIN ERAPT+58
$$ERAPT CKHLOC+47
$$GCLIN CKHLOC+32
$$MAKE ERAPT+49
$$UPDT2 ERAPT+46, MAKE+22

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% CKHLOC+15~, ERAPT+12~
AIEN ERAPT+12~, ERAPT+43*, ERAPT+46
BSDATA CKHLOC+15~, ERAPT+12~, ERAPT+46, ERAPT+49, ERAPT+58
BSDATA("ADT" ERAPT+26*, ERAPT+29, ERAPT+43, ERAPT+52
BSDATA("APPT DATE" , ERAPT+29*
BSDATA("CC" ERAPT+53*
BSDATA("CDT" ERAPT+52*
BSDATA("CLINI C CODE" , ERAPT+30*, ERAPT+53
BSDATA("CLN" ERAPT+31*, ERAPT+43
BSDATA("HOS L OC" , ERAPT+32*
BSDATA("LEN" ERAPT+33*
BSDATA("PAT" CKHLOC+25*, CKHLOC+26, ERAPT+22*, ERAPT+23, ERAPT+43
BSDATA("PRV" ERAPT+54*
BSDATA("SITE" ERAPT+34*
BSDATA("SRV C AT" , ERAPT+35*
BSDATA("TIME RANGE" , ERAPT+36*
BSDATA("TYP" ERAPT+37*
BSDATA("USR" ERAPT+38*
BSDATA("VIEN" ERAPT+55*
BSDATA("VISIT DATE" , ERAPT+39*,  TYPE" , ERAPT+40*
BSDR UPDT2~, MAKE~, MAKE+22, CHECKIN~
BSDR("ADT" UPDT2+5, UPDT2+11, UPDT2+23, MAKE+22, MAKE+23, MAKE+26, MAKE+31, MAKE+36, MAKE+38, MAKE+45
, MAKE+46, MAKE+54, MAKE+55, CHECKIN+25, CHECKIN+26, CHECKIN+29, CHECKIN+34, CHECKIN+35, CHECKIN+40
BSDR("CDT" CHECKIN+36
BSDR("CLN" UPDT2+24, MAKE+27, MAKE+35, MAKE+36, MAKE+38, MAKE+45, MAKE+46, MAKE+54, MAKE+55, CHECKIN+25
, CHECKIN+26, CHECKIN+29, CHECKIN+34, CHECKIN+35, CHECKIN+40
BSDR("HOS LOC " , UPDT2+14
BSDR("LEN" MAKE+47
BSDR("PAT" UPDT2+5, UPDT2+23, MAKE+22, MAKE+23, MAKE+25, MAKE+46, MAKE+54, MAKE+55, CHECKIN+25, CHECKIN+26
, CHECKIN+29, CHECKIN+40
BSDR("TYP" MAKE+28
BSDR("USR" MAKE+47, CHECKIN+36
BSDR("VIEN" CHECKIN+44
BSDVSTN ERAPT+12~, CHECKIN+44*
BSDXERR MAKE+18~
BSDXERR(1 MAKE+23
BSDXFDA MAKE+24~
BSDXFDA( MAKE+27*, MAKE+28*, MAKE+29*, MAKE+30*
BSDXFDA(9000010 MAKE+31*
BSDXIENS MAKE+24~, MAKE+25*, MAKE+27, MAKE+28, MAKE+29, MAKE+30
BSDXIENS(2 MAKE+26*
BSDXMSG MAKE+24~
CLHL CKHLOC+15~, CKHLOC+32*, CKHLOC+33, CKHLOC+34
CLIN GCLIN+4~, GCLIN+6*, GCLIN+17*, GCLIN+18*, GCLIN+25*, GCLIN+27
DA UPDT2+2~, UPDT2+23*, MAKE+37~, MAKE+44~, CHECKIN+22~, CHECKIN+35*, GCLIN+10~, GCLIN+11*
DA(1 UPDT2+23*, MAKE+38*, MAKE+46*, CHECKIN+35*, GCLIN+11*
DA(2 MAKE+46*, CHECKIN+35*
DD MAKE+40!, MAKE+49!
DFN MAKE+53~, MAKE+54*, MAKE+56, CHECKIN+22~, CHECKIN+29*, CHECKIN+30, CHECKIN+31, CHECKIN+41, CHECKIN+42
DIC MAKE+37~, MAKE+38*, MAKE+40, MAKE+44~, MAKE+45*
DIC("DR" MAKE+47*
DIC("P" MAKE+39*, MAKE+48*
DIC(0 MAKE+39*, MAKE+48*
DIE CHECKIN+22~, CHECKIN+34*
DINUM MAKE+37~, MAKE+38*, MAKE+44~
DLAYGO MAKE+37~, MAKE+39*, MAKE+44~, MAKE+48*
DO MAKE+40!, MAKE+49!
DPTUPD UPDT2+2~
DPTUPD( UPDT2+24*, UPDT2+25*
DR CHECKIN+22~, CHECKIN+36*
DUZ CKHLOC+22, ERAPT+19, ERAPT+38
DUZ(2 ERAPT+34, GCLIN+9, GCLIN+11, GCLIN+16
ECLIN CKHLOC~, CKHLOC+20, CKHLOC+21, CKHLOC+32, GCLIN~, GCLIN+2, GCLIN+9, GCLIN+17
ERR CKHLOC+15~, CKHLOC+46, CKHLOC+47*, CKHLOC+49, ERAPT+12~, ERAPT+46*, ERAPT+49*, ERAPT+58*, UPDT2+2~, UPDT2+26*
, UPDT2+27*, UPDT2+29, MAKE+18~, MAKE+22*
ERR(1 UPDT2+27
EXEC CKHLOC+15~, CKHLOC+46*
HLOC ERAPT~, ERAPT+17, ERAPT+18, ERAPT+30, ERAPT+31, ERAPT+32, GCLIN+4~, GCLIN+6*, GCLIN+12*, GCLIN+15
, GCLIN+16*, GCLIN+20, GCLIN+25, GCLIN+27
HLUPD CKHLOC+15~
HLUPD(9000010 CKHLOC+37*, CKHLOC+38*
ICPREF GCLIN+4~, GCLIN+9*, GCLIN+11
IEN CHECKIN+22~, CHECKIN+25*, CHECKIN+26, CHECKIN+29, CHECKIN+35
IENS UPDT2+2~, UPDT2+23*, UPDT2+24, UPDT2+25, GCLIN+10~, GCLIN+11*, GCLIN+12
NAPT CKHLOC+15~, ERAPT+12~
NCLN CKHLOC+15~, CKHLOC+33*, CKHLOC+37
NHLOC CKHLOC+15~, CKHLOC+34*, CKHLOC+38, CKHLOC+42, CKHLOC+47
OE UPDT2+2~, UPDT2+8*, UPDT2+11, UPDT2+14, UPDT2+17
OEIEN UPDT2+2~, UPDT2+8*, UPDT2+17*, UPDT2+20, UPDT2+25
OHLOC CKHLOC+15~, CKHLOC+29*, CKHLOC+42
SDATA CHECKIN+22~, CHECKIN+30*, CHECKIN+31, CHECKIN+41*, CHECKIN+42, CHECKIN+47
SDCIHDL CHECKIN+22~, CHECKIN+30*, CHECKIN+31, CHECKIN+41*, CHECKIN+42, CHECKIN+47
SDCL MAKE+53~, MAKE+54*, MAKE+56, CHECKIN+22~, CHECKIN+29*, CHECKIN+30, CHECKIN+31, CHECKIN+41, CHECKIN+42
SDDA MAKE+53~, MAKE+55*, MAKE+56, CHECKIN+22~, CHECKIN+29*, CHECKIN+30, CHECKIN+31, CHECKIN+40*, CHECKIN+41, CHECKIN+42
SDMODE MAKE+53~, MAKE+54*, MAKE+56, CHECKIN+29*, CHECKIN+47
SDT MAKE+53~, MAKE+54*, MAKE+56, CHECKIN+22~, CHECKIN+29*, CHECKIN+30, CHECKIN+31, CHECKIN+41, CHECKIN+42
SKP21 UPDT2~, UPDT2+20
U CKHLOC+18, CKHLOC+19, CKHLOC+20, CKHLOC+21, CKHLOC+22, CKHLOC+26, CKHLOC+33, CKHLOC+34, ERAPT+15, ERAPT+16
, ERAPT+17, ERAPT+18, ERAPT+19, ERAPT+23, MAKE+23, MAKE+36, CHECKIN+26, CHECKIN+30, CHECKIN+41, GCLIN+27
VIEN CKHLOC~, CKHLOC+18, CKHLOC+19, CKHLOC+25, CKHLOC+29, CKHLOC+37, CKHLOC+38, CKHLOC+47, ERAPT~, ERAPT+15
, ERAPT+16, ERAPT+22, ERAPT+26, ERAPT+39, ERAPT+46, ERAPT+49, ERAPT+55, UPDT2~, UPDT2+8, MAKE~
, MAKE+22, MAKE+31
X CKHLOC+15~, CKHLOC+46*, MAKE+37~, MAKE+38*, MAKE+40, MAKE+44~, MAKE+46*
Y CKHLOC+15~, MAKE+18~, MAKE+36, MAKE+40*, MAKE+44~, CHECKIN+22~
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