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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: MAGDHOW2

Package: Imaging

Routine: MAGDHOW2


Information

MAGDHOW2 ;WOIFO/PMK/DAC - Capture Consult/GMRC data ;14 Jun 2018 10:13 AM

Source Information

Source file <MAGDHOW2.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Imaging 8 $$MAKE^MAG7UM  (PID,PV1)^MAGDHLS  PIDPV1^MAGDHOW2  ORC^MAGDHOW3  OBR^MAGDHOW4  (OBX,ZDS)^MAGDHOW5  ERROR^MAGDHOWA  OUTPUT^MAGDHOWP  
Health Level Seven 3 ($$MOVESEG,$$NEWMSG)^HLOAPI  $$SENDSUB^HLOAPI1  BUILDHDR^HLOPBLD1  
Kernel 1 ($$DT,$$NOW)^XLFDT  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
Imaging 5 MAGDHOW1  MAGDHOW2  MAGDHOWA  MAGT7MA  MAGT7S  

Entry Points

Name Comments DBIA/ICR reference
MESSAGE(SERVICE) ; invoked from ^MAGDHOW1
INIT(MSGTYPE,EVENT) ; start building a new HL7 message
PIDPV1(HLMSTATE,DFN) ; build the PID and PV1 segments
; Also invoked by ^MAGT7S to build these segments for Anatomic Pathology - P183 PMK 3/7/17
OUTPUT ; output the messages to ^MAGDHL7

External References

Name Field # of Occurrence
$$GET1^DIQ MESSAGE+22
$$MOVESEG^HLOAPI PIDPV1+16, PIDPV1+28
$$NEWMSG^HLOAPI INIT+11
$$SENDSUB^HLOAPI1 MESSAGE+23
BUILDHDR^HLOPBLD1 OUTPUT+5
$$MAKE^MAG7UM PIDPV1+13
PID^MAGDHLS PIDPV1+10
PV1^MAGDHLS PIDPV1+11
PIDPV1^MAGDHOW2 MESSAGE+12
ORC^MAGDHOW3 MESSAGE+13
OBR^MAGDHOW4 MESSAGE+14
OBX^MAGDHOW5 MESSAGE+16
ZDS^MAGDHOW5 MESSAGE+15
ERROR^MAGDHOWA MESSAGE+33, INIT+21, PIDPV1+26, PIDPV1+38
OUTPUT^MAGDHOWP OUTPUT+67
$$DT^XLFDT OUTPUT+39
$$NOW^XLFDT OUTPUT+39

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^HLD(779.4 - [#779.4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HLA - [#777] OUTPUT+19, OUTPUT+20
^MAGDHL7(2006.5 - [#2006.5] OUTPUT+40, OUTPUT+41, OUTPUT+42*, OUTPUT+43*, OUTPUT+44, OUTPUT+45*, OUTPUT+46, OUTPUT+49*, OUTPUT+56*, OUTPUT+60*
, OUTPUT+62*, OUTPUT+65*

Label References

Name Line Occurrences
INIT MESSAGE+6, MESSAGE+9
OUTPUT MESSAGE+35

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CONSULT MESSAGE+1~
>> CPINVOCATION OUTPUT+67
D0 OUTPUT+1~, OUTPUT+41*, OUTPUT+42, OUTPUT+43, OUTPUT+45, OUTPUT+49, OUTPUT+56, OUTPUT+60, OUTPUT+62, OUTPUT+65
DEL OUTPUT+1~, OUTPUT+9*, OUTPUT+10, OUTPUT+11, OUTPUT+35*, OUTPUT+36, OUTPUT+51, OUTPUT+52, OUTPUT+53, OUTPUT+58
DFN MESSAGE+12, PIDPV1~, PIDPV1+10, PIDPV1+11
DT PIDPV1+11
ERROR MESSAGE+1~, INIT+1~, INIT+11, PIDPV1+16, PIDPV1+28
EVENT INIT~, INIT+4, INIT+7
FMDATE OUTPUT+1~, OUTPUT+39*, OUTPUT+42, OUTPUT+43, OUTPUT+49
FMDATETIME OUTPUT+1~, OUTPUT+39*, OUTPUT+49, OUTPUT+62, OUTPUT+65
>> GMRCIEN MESSAGE+13, MESSAGE+14, MESSAGE+15, MESSAGE+16
HDR OUTPUT+1~, OUTPUT+44*, OUTPUT+45
HL PIDPV1+2~
HL7 OUTPUT+1~
HL7( OUTPUT+12*, OUTPUT+21*, OUTPUT+30*, OUTPUT+50
HL7(1 OUTPUT+35, OUTPUT+36*
HL7ARRAY PIDPV1+2~
HL7ARRAY(1 PIDPV1+6*, PIDPV1+7*, PIDPV1+8*, PIDPV1+9*
HL7IEN MESSAGE+1~
HL7MSH OUTPUT+1~, OUTPUT+5, OUTPUT+8*, OUTPUT+10*, OUTPUT+11*, OUTPUT+12
HL7MSH(1 OUTPUT+8
HL7MSH(2 OUTPUT+8
HL7SEG PIDPV1+2~
HL7SEG(2 PIDPV1+14
HL7SEG(3 PIDPV1+15
>> HL7SUBLIST MESSAGE+20, MESSAGE+22
HLAIEN OUTPUT+1~, OUTPUT+2*, OUTPUT+17, OUTPUT+19, OUTPUT+20
HLECH PIDPV1+2~, PIDPV1+3*, PIDPV1+9
HLFS PIDPV1+2~, PIDPV1+4*, PIDPV1+8
HLMSTATE MESSAGE+1~, MESSAGE+12, MESSAGE+13, MESSAGE+14, MESSAGE+15, MESSAGE+16, MESSAGE+23, INIT+11, PIDPV1~, PIDPV1+16
, PIDPV1+28, OUTPUT+5
HLMSTATE("BODY" OUTPUT+2
HLMSTATE("HDR" PIDPV1+3, PIDPV1+4, OUTPUT+9
HLMSTATE("UNS TORED LINES" , OUTPUT+27, OUTPUT+28, OUTPUT+29
HLQ PIDPV1+2~, PIDPV1+5*
I MESSAGE+1~, OUTPUT+1~, OUTPUT+19*, OUTPUT+20, OUTPUT+50*
I1 OUTPUT+1~, OUTPUT+27*, OUTPUT+28, OUTPUT+29
I2 OUTPUT+1~, OUTPUT+28*, OUTPUT+29
J OUTPUT+1~, OUTPUT+12*, OUTPUT+21*, OUTPUT+30*, OUTPUT+34, OUTPUT+50*, OUTPUT+56*, OUTPUT+60*, OUTPUT+65
K OUTPUT+1~, OUTPUT+52*, OUTPUT+53, OUTPUT+58
MESSAGES MESSAGE+1~, MESSAGE+23
MSG MESSAGE+1~, MESSAGE+25~, MESSAGE+33, INIT+13~, INIT+21, PIDPV1+18~, PIDPV1+26, PIDPV1+30~, PIDPV1+38, OUTPUT+1~
MSG(1 MESSAGE+27*, INIT+15*, PIDPV1+20*, PIDPV1+32*
MSG(2 MESSAGE+28*, INIT+16*, PIDPV1+21*, PIDPV1+33*
MSG(3 MESSAGE+29*, INIT+17*, PIDPV1+22*, PIDPV1+34*
MSGTYPE MESSAGE+5, MESSAGE+6, MESSAGE+9, INIT~, INIT+7, INIT+8, OUTPUT+49
N OUTPUT+1~, OUTPUT+34*, OUTPUT+50, OUTPUT+67
NEXT MESSAGE+1~
NUL PIDPV1+2~, PIDPV1+13*
OBXSEGNO MESSAGE+1~
PARMS MESSAGE+23, INIT+1~, INIT+11
PARMS("CONTIN UATION POINTER" , INIT+3*
PARMS("COUNTRY" INIT+2*
PARMS("ENCODI NG CHARACTERS" , INIT+6*
PARMS("EVENT" INIT+4*
PARMS("FIELD SEPARATOR" , INIT+5*
PARMS("MESSAG E STRUCTURE" , INIT+7*, E TYPE" , INIT+8*
PARMS("PROCES SING MODE" , INIT+9*
PARMS("QUEUE" MESSAGE+22*
PARMS("SENDIN G APPLICATION" , MESSAGE+19*
PARMS("SUBSCR IPTION IEN" , MESSAGE+20*
PARMS("VERSION" INIT+10*
PID PIDPV1+2~, PIDPV1+14*, PIDPV1+16
PRIORITY MESSAGE+2~
PV1 PIDPV1+2~, PIDPV1+15*, PIDPV1+28
SAVEORCSEG MESSAGE+2~, MESSAGE+13, MESSAGE+14
SERVICE MESSAGE~, MESSAGE+14
SUBJECT MESSAGE+25~, MESSAGE+26*, MESSAGE+33, INIT+13~, INIT+14*, INIT+21, PIDPV1+18~, PIDPV1+19*, PIDPV1+26, PIDPV1+30~
, PIDPV1+31*, PIDPV1+38
SUCCESS MESSAGE+2~, MESSAGE+23*, MESSAGE+24, MESSAGE+29, INIT+1~, INIT+11*, INIT+12, INIT+17, PIDPV1+2~, PIDPV1+16*
, PIDPV1+17, PIDPV1+22, PIDPV1+28*, PIDPV1+29, PIDPV1+34
TIUDOC MESSAGE+2~
VARIABLES MESSAGE+25~, MESSAGE+33, INIT+13~, INIT+21, PIDPV1+18~, PIDPV1+26, PIDPV1+30~, PIDPV1+38
VARIABLES("ERROR" INIT+20*, PIDPV1+25*, PIDPV1+37*
VARIABLES("HLMSTATE" MESSAGE+30*, INIT+19*, PIDPV1+23*, PIDPV1+35*
VARIABLES("MESSAGES" MESSAGE+32*
VARIABLES("PARMS" MESSAGE+31*, INIT+18*
VARIABLES("PID" PIDPV1+24*, PIDPV1+36*
X MESSAGE+2~, OUTPUT+1~, OUTPUT+20*, OUTPUT+21, OUTPUT+29*, OUTPUT+30, OUTPUT+50*, OUTPUT+51, OUTPUT+52, OUTPUT+53
, OUTPUT+58
Y MESSAGE+2~, OUTPUT+1~, OUTPUT+51*, OUTPUT+54, OUTPUT+56*, OUTPUT+58*, OUTPUT+60
Z OUTPUT+1~, OUTPUT+53*, OUTPUT+54

Marked Items

Name Field # of Occurrence
$T( MESSAGE+27, INIT+15, PIDPV1+20, PIDPV1+32
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All