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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BADEMRG1

Package: Electronic Dental Record

Routine: BADEMRG1


Information

BADEMRG1 ;IHS/MSC/MGH/PLS - Dentrix HL7 interface ;28-Jun-2010 16:59;MGH

Source Information

Source file <BADEMRG1.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Health Level Seven 2 ($$ADDSEG,$$NEWMSG,SET)^HLOAPI  $$SENDONE^HLOAPI1  
Kernel 2 $$HLNAME^XLFNAME  SETUP^XQALERT  
Electronic Dental Record 1 (EVN,NOTIF,PID)^BADEHL1  
Toolkit 1 ($$GET,EN)^XPAR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Electronic Dental Record 1 BADEMRG  

Entry Points

Name Comments DBIA/ICR reference
AACK ; EP - Application ACK callback - called when AA, AE or AR is received.
MRG(FROM) ;EP
ERR ;
SET(ARY,V,F,C,S,R) ;EP
NEWMSG(FROM,TO,EVNTTYPE) ;EP
MSA ;EP
NOTIF(TO,FROM,MSG) ;EP
CACK ; EP - Commit ACK callback - called when CA, CE or CR is received.

External References

Name Field # of Occurrence
EVN^BADEHL1 NEWMSG+16
NOTIF^BADEHL1 NEWMSG+7, NEWMSG+33, MRG+9
PID^BADEHL1 NEWMSG+17
$$ADDSEG^HLOAPI MRG+8, MSA+7, MSA+13
$$NEWMSG^HLOAPI NEWMSG+7
SET^HLOAPI SET+1
$$SENDONE^HLOAPI1 NEWMSG+33
$$HLNAME^XLFNAME MRG+5
$$GET^XPAR NOTIF+14
EN^XPAR NOTIF+17
SETUP^XQALERT AACK+10, CACK+9, NOTIF+12

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] NOTIF+3, NOTIF+4, MRG+4
^HLB - [#778] AACK+3, AACK+4, CACK+2, CACK+3

Label References

Name Line Occurrences
MRG NEWMSG+18
SET MRG+2, MRG+3, MRG+7, MSA+2, MSA+3, MSA+4, MSA+5, MSA+6, MSA+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AACK AACK+1~, AACK+4*, AACK+5, AACK+8
APPARMS NEWMSG+1~, NEWMSG+33
APPARMS("ACCE PT ACK RESPONSE" , NEWMSG+24*, PT ACK TYPE" , NEWMSG+22*
APPARMS("APP ACK RESPONSE" , NEWMSG+23*, ACK TYPE" , NEWMSG+25*
APPARMS("QUEUE" NEWMSG+26*
APPARMS("SEND ING APPLICATION" , NEWMSG+21*
ARY NEWMSG+1~, MRG+2, MRG+3, MRG+7, MRG+8, MSA+2, MSA+3, MSA+4, MSA+5, MSA+6
, MSA+7, MSA+12, MSA+13, SET~, SET+1
C SET~, SET+1
CACK CACK+1~, CACK+3*, CACK+4, CACK+7
DATA AACK+1~
>> DFN NEWMSG+7, NEWMSG+33, MRG+9
ERR NEWMSG+1~, NEWMSG+7, NEWMSG+17, NEWMSG+18, NEWMSG+19, NEWMSG+33, MRG+8, MRG+9
EVNTTYPE NEWMSG~, NEWMSG+5, NEWMSG+16
F SET~, SET+1
FLD NEWMSG+2~, MRG+5*, MRG+6
FNAME NOTIF+1~, NOTIF+4*, NOTIF+6*, NOTIF+10
FROM NEWMSG~, NEWMSG+18, NOTIF~, NOTIF+4, NOTIF+16, MRG~, MRG+3, MRG+4
HL1 NEWMSG+2~
HL1("ECH" NEWMSG+10*
HL1("FS" NEWMSG+11*
HL1("Q" NEWMSG+12*
HL1("VER" NEWMSG+13*
HLECH NEWMSG+1~, NEWMSG+9*, NEWMSG+10, MRG+6
HLFS NEWMSG+1~, NEWMSG+8*, NEWMSG+11
HLMSGIEN NEWMSG+1~, AACK+2, AACK+3, AACK+4, CACK+2, CACK+3
HLPM NEWMSG+1~, NEWMSG+7
HLPM("ENCODIN G CHARACTERS" , NEWMSG+9
HLPM("EVENT" NEWMSG+5*
HLPM("FIELD S EPARATOR" , NEWMSG+8
HLPM("MESSAGE TYPE" , NEWMSG+4*
HLPM("VERSION" NEWMSG+6*, NEWMSG+13
HLQ NEWMSG+1~
HLST NEWMSG+1~, NEWMSG+7, NEWMSG+33, MRG+8, MSA+7, MSA+13
HRCN NEWMSG+2~
LN NEWMSG+2~, NEWMSG+3*
LP NEWMSG+2~, MRG+6*, MRG+7
MRG MRG+1~
MSA MSA+1~, MSA+7*
MSG NOTIF~, NOTIF+8, NOTIF+16
MSGID AACK+1~, AACK+3*, AACK+6, AACK+7, CACK+1~, CACK+2*, CACK+5, CACK+6
MSH MSA+11~, MSA+13*
NAME MRG+1~, MRG+4*, MRG+5
PNAM NOTIF+1~, NOTIF+3*, NOTIF+5*, NOTIF+7, NOTIF+10
PVDIEN NOTIF+1~
R SET~, SET+1
RET NOTIF+1~
S SET~, SET+1
SAVE NOTIF+1~, NOTIF+16*, NOTIF+17
TO NEWMSG~, NEWMSG+17, NOTIF~, NOTIF+3, NOTIF+9, NOTIF+16
U AACK+3, AACK+5, AACK+8, CACK+2, CACK+4, CACK+7, NOTIF+3, NOTIF+4, MRG+4
V SET~, SET+1
VAL MRG+1~, MRG+6*, MRG+7
WHO NEWMSG+1~, NEWMSG+33
WHO("FACILITY LINK NAME" , NEWMSG+31*
WHO("RECEIVIN G APPLICATION" , NEWMSG+30*
WHO("STATION NUMBER" , NEWMSG+32*
X NEWMSG+2~, NOTIF+1~, NOTIF+14*, NOTIF+15*, NOTIF+17, MRG+8*
XQA AACK+1~, CACK+1~, NOTIF+2~
XQA("G.RPMS D ENTAL" , AACK+9*, CACK+8*, NOTIF+11*
XQADATA NOTIF+2~
XQAID AACK+1~, AACK+7*, CACK+1~, CACK+6*, NOTIF+2~, NOTIF+9*
XQAMSG AACK+1~, AACK+6*, CACK+1~, CACK+5*, NOTIF+2~, NOTIF+7*, NOTIF+8*
XQDATA AACK+1~, AACK+8*, CACK+1~, CACK+7*, NOTIF+10*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All