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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: DVBACERT

Package: Automated Medical Information Exchange

Routine: DVBACERT


Information

DVBACERT ;ALB/GTS-557/THM - 21 DAY CERT CHECKER ;1/23/91 11:17 AM

Source Information

Source file <DVBACERT.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Automated Medical Information Exchange 2 (KILL,LOS)^DVBAUTIL  NOPARM^DVBAUTL2  
Kernel 2 (,HOME)^%ZIS  (,KILL)^%ZTLOAD  
VA FileMan 2 ^%DT  ^DIE  
Registration 1 INP^VADPT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Automated Medical Information Exchange 2 DVBA GENERATE 21-DAY CERTIF  DVBA RE-GENERATE 21-DAY CERTIF  

Entry Points

Name Comments DBIA/ICR reference
CHK
LOOK1
CHK1
LOOK
DATA
KILL
CREATE ;CERTIFICATE CREATE

External References

Name Field # of Occurrence
^%DT DVBACERT+5
^%ZIS DVBACERT+7
HOME^%ZIS DVBACERT+4
^%ZTLOAD DVBACERT+9
KILL^%ZTLOAD KILL
^DIE CHK+5, CREATE+13, CREATE+14, CREATE+15, CREATE+17, CREATE+21
KILL^DVBAUTIL DATA+1, KILL+1
LOS^DVBAUTIL CHK+4, CHK+5, CHK1+1
NOPARM^DVBAUTL2 DATA+1
INP^VADPT CREATE+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!?(IOM-$L(HD)\2),HD,!!,"This program should be run only if the Task Manager fails.",!!!
  • Line Location: DVBACERT+6
Function Call: WRITE
  • Prompt: !!!,"There were no 21 day certificates to print today.",!!
  • Line Location: DATA+6
Function Call: WRITE
  • Prompt: !!!,"There were "_CNT_" certificates processed on "_FDT(0),!!
  • Line Location: DATA+7
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: (IOST?1"C-".E)!($D(DVBAON2))
  • Line Location: CREATE+2
Function Call: WRITE
  • Prompt: !!,"Patient record missing for DFN "_DFN,!!
  • Line Location: CREATE+2
Function Call: WRITE
  • Prompt: !,FDT(0),?32,"REPORT OF CONTACT",!,?31,"21-DAY CERTIFICATE",?(80-11),"PAGE: 1",!,?(80-$L(HD1)\2),HD1,!!!!!!!,"Patient name: ",?16,PNAM,!,?9,"SSN: ",?16,SSN,?33,"Claim #: ",?43,CNUM,!!,?9,"Ward: ",?16,WARD,?25," Bed: ",BED,!!!
  • Line Location: CREATE+7
Function Call: WRITE
  • Prompt: " The patient above has been hospitalized for 21 consecutive days ",!,"from "
  • Line Location: CREATE+8
Function Call: WRITE
  • Prompt: Y," to "
  • Line Location: CREATE+8
Function Call: WRITE
  • Prompt: Y," to "
  • Line Location: CREATE+8
Function Call: WRITE
  • Prompt: "Physician signature: "
  • Line Location: CREATE+9
Function Call: WRITE
  • Prompt: "_"
  • Line Location: CREATE+9
Function Call: WRITE
  • Prompt: !!!," Approved by: "
  • Line Location: CREATE+10
Function Call: WRITE
  • Prompt: "_"
  • Line Location: CREATE+10
Function Call: WRITE
  • Prompt: !!?5,"ROC 119",!
  • Line Location: CREATE+11
Routine Call
  • DIE
  • Line Location:
    • CHK+5
    • CREATE+13
    • CREATE+14
    • CREATE+15
    • CREATE+17
    • CREATE+21
Routine Call
  • %ZIS
  • Line Location:
    • DVBACERT+7
Routine Call
  • %ZIS
  • Line Location:
    • DVBACERT+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DVB(396 - [#396] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" DATACREATE+8
^DGPM - [#405] CHK+2, CHK1CHK1+1
^DGPM("APTT1" CHK+2
^DPT - [#2] CREATE+2, CREATE+3, CREATE+4
^DVB(396 - [#396] CHKDATA+3, CREATE+1, CREATE+12, CREATE+14, CREATE+15, CREATE+17
^DVB(396.1 - [#396.1] DATA+2
^TMP($J DVBACERT+3!, CHK+4*, LOOK1CHK1+1*, LOOKDATA+6, KILL+1!, CREATE+3

Label References

Name Line Occurrences
CHK DATA+3
CHK1 CHK+3
CREATE LOOK1
DATA DVBACERT+10
KILL DVBACERT+7, DVBACERT+9, DATA+6
LOOK DATA+4
LOOK1 LOOK

Naked Globals

Name Field # of Occurrence
^( LOOK1CREATE+3, CREATE+4
^(0 CHKCHK+2, CHK1+1, DATA+3, CREATE+3
^(1 CHK
^(2 CREATE+1, CREATE+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS DVBACERT+7*!
>> ADMDT CHK*, CHK+3, CHK+4, LOOK1CHK1CHK1+1, LOOK*, CREATE+3, CREATE+8
>> BED CREATE+4*, CREATE+7, CREATE+21
>> CNT DATA*, DATA+7, CREATE+21*
>> CNUM CREATE+3*, CREATE+7
DA CHK+5*!, CREATE+13*, CREATE+14*, CREATE+15*, CREATE+17*, CREATE+21*
>> DCHGDT CHK+3*, CHK+4, CHK+5, LOOK1*, CHK1+1*, CREATE+8, CREATE+21
>> DCHPTR CHK1*, CHK1+1
>> DFN CHK*, CHK+2, CHK+3, CHK+4, LOOK1CHK1CHK1+1, LOOK*, CREATE+2, CREATE+3
CREATE+4
>> DIE CHK+5*, CREATE+13*, CREATE+14*, CREATE+15*, CREATE+17*, CREATE+21*
>> DR CHK+5*, CREATE+13*, CREATE+14*, CREATE+15*, CREATE+17*, CREATE+21*
DT DVBACERT+5*, CHK+5, CHK1+1, DATACREATE+13, CREATE+14, CREATE+15, CREATE+17, CREATE+21
>> DTAR DATA+2*
DVBAMAN DVBACERT+3*, KILLKILL+1!
DVBAON2 DATA+5, KILL+1!, CREATE+2, CREATE+6, CREATE+22*
>> DVBAQUIT DATA+1
>> FDT(0 DATA*, DATA+6, DATA+7, CREATE+7
>> HD DVBACERT+4*, DVBACERT+6
>> HD1 DATA+2*, CREATE+7
>> I DVBACERT+8*, CHK+2*
IO DATA+3, CREATE+5
IO("Q" DVBACERT+8, DVBACERT+9
IOF DVBACERT+6, DATA+5, CREATE+2, CREATE+6
IOM DVBACERT+6
ION DVBACERT+8
IOST DATA+5, CREATE+2, CREATE+6
>> J CHK+2*, DATA+3*
>> LADM LOOK1, LOOK*, CREATE+3
>> LINE CREATE+9*, CREATE+10*
>> LOS CHK+4, CHK+5, CHK1+1
>> MB CHK+4, CHK1*, CHK1+1
>> NAME DATA+3*
>> NEWREQ CREATE+13*, CREATE+14*, CREATE+15*, CREATE+17
>> PNAM CREATE+3*, CREATE+7
>> POP DVBACERT+7
REQDIV CREATE+12*, CREATE+14, CREATE+15, CREATE+16!
>> SSN CREATE+3*, CREATE+7
>> STAT CHK*
TEMP CHK+2!
TEMP( CHK+2*, CHK+3, CHK+4, CHK1CHK1+1
U CHKCHK+2, CHK+4, LOOK1CHK1CHK1+1, DATA+2, DATA+3, CREATE+1, CREATE+3
CREATE+4, CREATE+14, CREATE+15, CREATE+17
VA200 CREATE+3*!
>> VAIN(4 CREATE+3
>> VAINDT CREATE+3*
>> WARD CREATE+3*, CREATE+7, CREATE+21
>> WWHO CREATE+17*
>> X DVBACERT+5*
>> XDA CHKCHK+4, CHK+5, LOOK1*, CHK1+1, DATA+3*, CREATE+1, CREATE+12, CREATE+13, CREATE+14
CREATE+15, CREATE+17, CREATE+21
>> Y DVBACERT+5, DATA*, CREATE+8*
>> ZJ CHK+2*
>> ZTDESC DVBACERT+8*
>> ZTIO DVBACERT+8*
>> ZTQUEUED KILL
>> ZTRTN DVBACERT+8*
>> ZTSAVE( DVBACERT+8*
>> ZTSK DVBACERT+9
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 |  Naked Globals |  Local Variables  | All