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 |  Label References |  Local Variables |  All
Print Page as PDF
Routine: DGRUADT1

Package: Registration

Routine: DGRUADT1


Information

DGRUADT1 ;ALB/SCK - MAIN BUILDER FOR RAI/MDS ADT MESSAGING ; 7-8-1999

Source Information

Source file <DGRUADT1.m>

Call Graph

Call Graph Total: 14

Package Total Call Graph
Registration 9 EN^DGRUGA01  EN^DGRUGA02  EN^DGRUGA03  EN^DGRUGA08  EN^DGRUGA11  EN^DGRUGA12  EN^DGRUGA13  EN^DGRUGA21  
EN^DGRUGA22  
Health Level Seven 2 INIT^HLFNC2  GENERATE^HLMA  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
MailMan 1 ^XMB  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Registration 4 DGRUADT  DGRUADT0  DGRUADT2  DGRUGDS  

Entry Points

Name Comments DBIA/ICR reference
MSGBUL(DFN,DT,EVCODE,MSGID) ;
BLDMSG(DFN,EVCODE,DGIEN,VAFHDT,DGWARD,DGOLDT,DGDTYP) ;
; INPUT
; DFN - Ien in Patient File
; EVCODE - HL7 event code
; DGIEN - Ien of the Movement
; VAFHDT - Date of event
; DGWARD - Associated ward
; DGOLDT - Old date of ADT even for change to date [Optional]
; DGDTYP - Change Date type [Optional]
; A - Admission date
; T - Transfer Date
; D - Discharge Date
ERRBUL(DFN,DT,EVCODE,ERRMSG) ;

External References

Name Field # of Occurrence
EN^DGRUGA01 BLDMSG+22
EN^DGRUGA02 BLDMSG+23
EN^DGRUGA03 BLDMSG+24
EN^DGRUGA08 BLDMSG+31
EN^DGRUGA11 BLDMSG+26
EN^DGRUGA12 BLDMSG+27
EN^DGRUGA13 BLDMSG+28
EN^DGRUGA21 BLDMSG+29
EN^DGRUGA22 BLDMSG+30
$$GET1^DIQ MSGBUL+9, MSGBUL+12, ERRBUL+8, ERRBUL+11
INIT^HLFNC2 BLDMSG+17
GENERATE^HLMA BLDMSG+50
$$FMTE^XLFDT MSGBUL+11, ERRBUL+12
$$NOW^XLFDT MSGBUL+13, ERRBUL+12
^XMB MSGBUL+14, ERRBUL+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,HLA("HLS",X)
  • Line Location: BLDMSG+47
Function Call: WRITE
  • Prompt: !,"Message ID: ",+$G(HLRST)
  • Line Location: BLDMSG+53

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^VA(200 - [#200] GET1^DIQ

Label References

Name Line Occurrences
ERRBUL BLDMSG+19, BLDMSG+34, BLDMSG+39, BLDMSG+56
MSGBUL BLDMSG+51

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN BLDMSG~, BLDMSG+19, BLDMSG+22, BLDMSG+23, BLDMSG+24, BLDMSG+26, BLDMSG+27, BLDMSG+28, BLDMSG+29, BLDMSG+30
, BLDMSG+31, BLDMSG+34, BLDMSG+39, BLDMSG+51, BLDMSG+56, MSGBUL~, MSGBUL+9, MSGBUL+12, ERRBUL~, ERRBUL+8
DGDTYP BLDMSG~, BLDMSG+21*, BLDMSG+31
DGIEN BLDMSG~, BLDMSG+22, BLDMSG+23, BLDMSG+24, BLDMSG+26, BLDMSG+27, BLDMSG+28, BLDMSG+29, BLDMSG+30, BLDMSG+31
DGOLDT BLDMSG~, BLDMSG+21*, BLDMSG+31
>> DGTRACE BLDMSG+45, BLDMSG+52
DGWARD BLDMSG~, BLDMSG+26
DT BLDMSG+19, BLDMSG+34, BLDMSG+39, BLDMSG+51, BLDMSG+56, MSGBUL~, MSGBUL+11, ERRBUL~, ERRBUL+13
DUZ ERRBUL+11
ERRMSG ERRBUL~, ERRBUL+10
EVCODE BLDMSG~, BLDMSG+13, BLDMSG+17, BLDMSG+19, BLDMSG+22, BLDMSG+23, BLDMSG+24, BLDMSG+26, BLDMSG+27, BLDMSG+28
, BLDMSG+29, BLDMSG+30, BLDMSG+31, BLDMSG+34, BLDMSG+39, BLDMSG+50, BLDMSG+51, BLDMSG+56, MSGBUL~, MSGBUL+8
, ERRBUL~, ERRBUL+9
HL BLDMSG+15!, BLDMSG+17
HL("" BLDMSG+18
HLA BLDMSG+15!, BLDMSG+58!
HLA("HLS" BLDMSG+42*, BLDMSG+47, BLDMSG+49
HLERR BLDMSG+58!
HLRST BLDMSG+15!, BLDMSG+50, BLDMSG+51, BLDMSG+52, BLDMSG+53, BLDMSG+55, BLDMSG+56
MSGID MSGBUL~, MSGBUL+10
NDX BLDMSG+36~, BLDMSG+37*, BLDMSG+38*, BLDMSG+39
VAFHDT BLDMSG~, BLDMSG+26
X BLDMSG+46~*, BLDMSG+47*
XMB MSGBUL+1~, MSGBUL+7*, ERRBUL+1~, ERRBUL+7*
XMB(1 MSGBUL+8*, ERRBUL+8*
XMB(2 MSGBUL+9*, ERRBUL+9*
XMB(3 MSGBUL+10*, ERRBUL+10*
XMB(4 MSGBUL+11*, ERRBUL+11*
XMB(5 MSGBUL+12*, ERRBUL+12*
XMCHAN MSGBUL+1~, MSGBUL+3*, ERRBUL+1~, ERRBUL+3*
XMDT MSGBUL+1~, MSGBUL+13*, ERRBUL+1~, ERRBUL+13*
XMDUZ MSGBUL+1~, MSGBUL+5*, ERRBUL+1~, ERRBUL+5*
XMSUB MSGBUL+1~, MSGBUL+4*, ERRBUL+1~, ERRBUL+4*
XMTARRY BLDMSG+15!, BLDMSG+42
XMTARRY( BLDMSG+38, BLDMSG+39
XMTARRY(0 BLDMSG+33
XMY MSGBUL+1~, ERRBUL+1~
XMZ MSGBUL+1~, ERRBUL+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables |  All