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 |  Used in HL7 Interface |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: GMRCIMSG

Package: Consult Request Tracking

Routine: GMRCIMSG


Information

GMRCIMSG ;SLC/JFR - IFC MESSAGE HANDLING ROUTINE; 09/26/02 00:23

Source Information

Source file <GMRCIMSG.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Consult Request Tracking 8 DECODE^GMRCHL7E  (COMP,FWD,RESUB,SF)^GMRCIAC1  (MGMSG,TST)^GMRCIAC2  (DIS,NW,OTHER)^GMRCIACT  SNDALRT^GMRCIERR  TRIGR^GMRCIEVT  RESP^GMRCIUTL  EN^GMRCRFC0  
Kernel 3 ($$FMTE,$$HL7TFM)^XLFDT  $$IEN^XUAF4  $$KSP^XUPARAM  
Health Level Seven 1 GENACK^HLMA1  
Imaging 1 ORRIN^MAGDTR01  
Prosthetics 1 EN^RMPRFC3  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 UPDATE^DIE  

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

Package Total Caller Graph
Consult Request Tracking 3 GMRC IFC ORM EVENT  GMRC IFC SUBSC  GMRCISEG  

Entry Points

Name Comments DBIA/ICR reference
IN ;process incoming message and save segments to ^TMP(
EX ; clean up
; EHRM Prosthetics
EHRMCHK(ORCSEG,OBRSEG) ; Check for EHRM
ORRIN ;process IFC responses
VALMSG(GMRCORC,GMRCCRNR) ;check to make sure placer and filler # match current entr
; Input:
; GMRCORC = ORC segment from incoming HL7 msg
SETTCH() ;Set up TCH array with decoding characters
SETTCH2()

External References

Name Field # of Occurrence
UPDATE^DIE ORRIN+12, ORRIN+20, ORRIN+36
DECODE^GMRCHL7E IN+15, IN+23
COMP^GMRCIAC1 IN+48
FWD^GMRCIAC1 IN+42
RESUB^GMRCIAC1 IN+40
SF^GMRCIAC1 IN+47
MGMSG^GMRCIAC2 IN+33
TST^GMRCIAC2 IN+37
DIS^GMRCIACT IN+45
NW^GMRCIACT IN+38
OTHER^GMRCIACT IN+49
SNDALRT^GMRCIERR ORRIN+40, ORRIN+41
TRIGR^GMRCIEVT ORRIN+27
RESP^GMRCIUTL VALMSG+24
EN^GMRCRFC0 EX+6, EX+7
GENACK^HLMA1 VALMSG+25
ORRIN^MAGDTR01 ORRIN+43, ORRIN+44
EN^RMPRFC3 EX+10, EX+11
$$FMTE^XLFDT IN+8
$$HL7TFM^XLFDT IN+8
$$GET^XPAR ORRIN+39
$$IEN^XUAF4 EHRMCHK+9, EHRMCHK+11, ORRIN+7, VALMSG+7, VALMSG+9
$$KSP^XUPARAM EHRMCHK+9, EHRMCHK+11, VALMSG+10, VALMSG+11

Used in HL7 Interface

HL7 Protocol Name Call Tags
GMRC IFC ORM EVENT ORRIN
GMRC IFC SUBSC IN

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(123 - [#123] VALMSG+15, VALMSG+16, VALMSG+17, VALMSG+19, VALMSG+20, VALMSG+21
^GMR(123.6 - [#123.6] ORRIN+17, ORRIN+21, ORRIN+22, ORRIN+23, ORRIN+25, ORRIN+26, ORRIN+32
^TMP("GMRCIF" IN+1!, IN+16*, IN+18*, IN+24*, IN+28*, IN+31, IN+35, IN+36, IN+37, IN+38
IN+39, IN+40, IN+41, IN+42, IN+43, IN+44, IN+45, IN+46, IN+47, IN+48
IN+49, EX+3, EX+4!, ORRIN+1!, ORRIN+4*, ORRIN+5, ORRIN+7, ORRIN+8, ORRIN+10, ORRIN+14
ORRIN+16, ORRIN+29, ORRIN+31, ORRIN+33, ORRIN+42!

Label References

Name Line Occurrences
$$EHRMCHK EX+3
$$VALMSG IN+31
EX IN+32, IN+33, IN+35, IN+36, IN+39, IN+41, IN+43, IN+50
SETTCH IN+13, IN+21

Naked Globals

Name Field # of Occurrence
^("ORC" ORRIN+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
FDA ORRIN+6~, ORRIN+15~, ORRIN+30~
FDA(1 ORRIN+11*, ORRIN+18*, ORRIN+19*, ORRIN+34*, ORRIN+35*
GMRCACT ORRIN+15~, ORRIN+22*, ORRIN+23*, ORRIN+24, ORRIN+25, ORRIN+27
GMRCCRNR IN+2~, IN+4*, IN+6*, IN+31, IN+32, IN+33, IN+40, IN+42, IN+45, IN+47
IN+48, IN+49, VALMSG~
GMRCDA ORRIN+6~, ORRIN+8*, ORRIN+11, ORRIN+15~, ORRIN+21*, ORRIN+23, ORRIN+25, ORRIN+27
GMRCE ORRIN+30~, ORRIN+33*, ORRIN+34, ORRIN+35, ORRIN+37, ORRIN+38
GMRCEHRM EX+2~, EX+3*, EX+6
GMRCERR ORRIN+30~
GMRCFDA VALMSG+5~, VALMSG+8*, VALMSG+16, VALMSG+19, VALMSG+20, VALMSG+21
GMRCFNUM ORRIN+6~, ORRIN+10*, ORRIN+11
GMRCFSIT VALMSG+5~, VALMSG+9*, VALMSG+11, VALMSG+17
GMRCI IN+3~, SETTCH+1~, SETTCH+2*, SETTCH2+1~, SETTCH2+2*
GMRCIER IN+2~
GMRCLOG ORRIN+15~, ORRIN+25*, ORRIN+26
GMRCMSGD IN+2~, IN+8*, IN+9
GMRCMSGI IN+2~, IN+4*, IN+9*, IN+33, IN+40, IN+42, IN+45, IN+47, IN+48, IN+49
GMRCOBR4 EHRMCHK+1~, EHRMCHK+4*, EHRMCHK+9, EHRMCHK+11
GMRCOK VALMSG+5~, VALMSG+12*, VALMSG+13*, VALMSG+15*, VALMSG+16*, VALMSG+17*, VALMSG+19*, VALMSG+20*, VALMSG+21*, VALMSG+22
, VALMSG+26
GMRCORC EHRMCHK+1~, VALMSG~, VALMSG+4, VALMSG+6, VALMSG+7, VALMSG+8, VALMSG+9
GMRCORC2 EHRMCHK+1~, EHRMCHK+2*, EHRMCHK+9, EHRMCHK+11
GMRCORC3 EHRMCHK+1~, EHRMCHK+3*, EHRMCHK+11
GMRCORC5 EHRMCHK+1~
GMRCPDA VALMSG+5~, VALMSG+6*, VALMSG+15, VALMSG+16, VALMSG+17, VALMSG+20
GMRCPSIT VALMSG+5~, VALMSG+7*, VALMSG+10, VALMSG+21
GMRCROL VALMSG+5~, VALMSG+10*, VALMSG+11*, VALMSG+13*, VALMSG+14, VALMSG+18
GMRCROUT ORRIN+6~, ORRIN+7*
GMRCRSLT VALMSG+23~, VALMSG+25
GMRCSTAT EHRMCHK+1~, EHRMCHK+5*, EHRMCHK+6*, EHRMCHK+7, EHRMCHK+9, EHRMCHK+11
GMRCVALM IN+2~, IN+31*, IN+32, IN+33
>> HL("EID" VALMSG+25
>> HL("EIDS" VALMSG+25
>> HL("MID" VALMSG+24
>> HLMTIENS VALMSG+25
>> HLNEXT IN+5, EX+7, ORRIN+3
HLNODE IN+2~, IN+6, IN+7, IN+8, IN+9, IN+10, IN+12, IN+14, IN+16, IN+18
IN+19, IN+22, IN+24, IN+27, IN+28, ORRIN+2~, ORRIN+4
>> HLQUIT IN+5, EX+7, ORRIN+3
I IN+2~, IN+5*, ORRIN+2~, ORRIN+3*
MSGID ORRIN+15~, ORRIN+16*, ORRIN+17, ORRIN+30~, ORRIN+31*, ORRIN+32
MSGLOG ORRIN+15~, ORRIN+17*, ORRIN+18, ORRIN+19, ORRIN+21, ORRIN+22, ORRIN+30~, ORRIN+32*, ORRIN+34, ORRIN+35
ORRIN+40, ORRIN+41
OBRSEG EHRMCHK~, EHRMCHK+4
ORCSEG EHRMCHK~, EHRMCHK+2, EHRMCHK+3, EHRMCHK+5, EHRMCHK+6
SEG IN+2~, ORRIN+2~
TCH IN+3~, IN+15, IN+23
TCH( SETTCH+2*, SETTCH2+2*
TEXTIN IN+3~, IN+14*, IN+15, IN+22*, IN+23
TEXTOUT IN+3~, IN+14*, IN+15, IN+16, IN+22*, IN+23, IN+24
TEXTRM IN+3~, IN+14*, IN+15, IN+16, IN+22*, IN+23
U IN+46, ORRIN+7, ORRIN+21, ORRIN+22, ORRIN+26, VALMSG+7, VALMSG+9, VALMSG+16, VALMSG+17, VALMSG+20
, VALMSG+21

Marked Items

Name Field # of Occurrence
$T(EN^GMRCRFC0 EX+6
$T(EN^RMPRFC3 EX+10
$T(ORRIN^MAGDTR01 ORRIN+43
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in HL7 Interface |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All