GMRCIMSG ;SLC/JFR - IFC MESSAGE HANDLING ROUTINE; 09/26/02 00:23 ; Oct 23, 2023@07:47:54
Source file <GMRCIMSG.m>
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,$$STA)^XUAF4 $$KSP^XUPARAM |
VA FileMan | 2 | UPDATE^DIE $$GET1^DIQ |
Health Level Seven | 1 | GENACK^HLMA1 |
Imaging | 1 | ORRIN^MAGDTR01 |
Prosthetics | 1 | EN^RMPRFC3 |
Toolkit | 1 | $$GET^XPAR |
Uncategorized | 1 | SAVEHL7^EHMHL7 |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Consult Request Tracking | 4 | GMRC IFC ORM EVENT GMRC IFC SUBSC GMRCIEV1 GMRCISEG |
Kernel | 1 | ^ORD(101 |
Name | Comments | DBIA/ICR reference |
---|---|---|
IN | ;process incoming message and save segments to ^TMP(
|
|
EX | ; clean up
|
|
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() |
Name | Field # of Occurrence |
---|---|
UPDATE^DIE | ORRIN+18, ORRIN+33, ORRIN+50 |
$$GET1^DIQ | ORRIN+29 |
SAVEHL7^EHMHL7 | EX+4, ORRIN+59 |
DECODE^GMRCHL7E | IN+17, IN+25 |
COMP^GMRCIAC1 | IN+50 |
FWD^GMRCIAC1 | IN+44 |
RESUB^GMRCIAC1 | IN+42 |
SF^GMRCIAC1 | IN+49 |
MGMSG^GMRCIAC2 | IN+35 |
TST^GMRCIAC2 | IN+39 |
DIS^GMRCIACT | IN+47 |
NW^GMRCIACT | IN+40 |
OTHER^GMRCIACT | IN+51 |
SNDALRT^GMRCIERR | ORRIN+54, ORRIN+55 |
TRIGR^GMRCIEVT | ORRIN+41 |
RESP^GMRCIUTL | VALMSG+24 |
EN^GMRCRFC0 | EX+11, EX+12 |
GENACK^HLMA1 | VALMSG+25 |
ORRIN^MAGDTR01 | ORRIN+62, ORRIN+63 |
EN^RMPRFC3 | EX+15, EX+16 |
$$FMTE^XLFDT | IN+8 |
$$HL7TFM^XLFDT | IN+8 |
$$GET^XPAR | ORRIN+53 |
$$IEN^XUAF4 | EHRMCHK+9, EHRMCHK+11, ORRIN+8, VALMSG+7, VALMSG+9 |
$$STA^XUAF4 | EX+4, ORRIN+59 |
$$KSP^XUPARAM | EX+4, EHRMCHK+9, EHRMCHK+11, ORRIN+59, VALMSG+10, VALMSG+11 |
HL7 Protocol Name | Call Tags |
---|---|
GMRC IFC ORM EVENT | ORRIN |
GMRC IFC SUBSC | IN |
FileNo | Call Tags |
---|---|
^GMR(123 - [#123] | GET1^DIQ |
^GMR(123.6 - [#123.6] | GET1^DIQ |
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+24, ORRIN+28, ORRIN+36, ORRIN+37, ORRIN+39, ORRIN+40, ORRIN+46 |
^TMP("GMRCIF" | IN+1!, IN+11*, IN+18*, IN+20*, IN+26*, IN+30*, IN+33, 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 , IN+50, IN+51, EX+4, EX+8, EX+9!, ORRIN+1!, ORRIN+4*, ORRIN+6, ORRIN+8, ORRIN+9 , ORRIN+11, ORRIN+16, ORRIN+21, ORRIN+23, ORRIN+43, ORRIN+45, ORRIN+47, ORRIN+59, ORRIN+61! |
Name | Field # of Occurrence |
---|---|
^("ORC" | ORRIN+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
FDA | ORRIN+7~, ORRIN+22~, ORRIN+44~ |
FDA(1 | ORRIN+12*, ORRIN+16*, ORRIN+31*, ORRIN+32*, ORRIN+48*, ORRIN+49* |
GMRCACT | ORRIN+22~, ORRIN+36*, ORRIN+37*, ORRIN+38, ORRIN+39, ORRIN+41 |
GMRCCRNR | IN+2~, IN+4*, IN+6*, IN+11, IN+33, IN+34, IN+35, IN+42, IN+44, IN+47 , IN+49, IN+50, IN+51, EX+4, VALMSG~ |
GMRCDA | ORRIN+7~, ORRIN+9*, ORRIN+12, ORRIN+16, ORRIN+22~, ORRIN+28*, ORRIN+29, ORRIN+35, ORRIN+37, ORRIN+39 , ORRIN+41 |
GMRCE | ORRIN+44~, ORRIN+47*, ORRIN+48, ORRIN+49, ORRIN+51, ORRIN+52 |
GMRCEHRM | EX+7~, EX+8*, EX+11 |
GMRCERR | ORRIN+44~ |
GMRCFDA | VALMSG+5~, VALMSG+8*, VALMSG+16, VALMSG+19, VALMSG+20, VALMSG+21 |
GMRCFNUM | ORRIN+7~, ORRIN+11*, ORRIN+12 |
GMRCFRM | IN+3~, IN+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+22~, ORRIN+39*, ORRIN+40 |
GMRCMSGD | IN+2~, IN+8*, IN+9 |
GMRCMSGI | IN+2~, IN+4*, IN+9*, IN+35, IN+42, IN+44, IN+47, IN+49, IN+50, IN+51 |
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+7~, ORRIN+8* |
GMRCRSLT | VALMSG+23~, VALMSG+25 |
GMRCSTAT | EHRMCHK+1~, EHRMCHK+5*, EHRMCHK+6*, EHRMCHK+7, EHRMCHK+9, EHRMCHK+11 |
GMRCVALM | IN+2~, IN+33*, IN+34, IN+35 |
>> HL("EID" | VALMSG+25 |
>> HL("EIDS" | VALMSG+25 |
>> HL("MID" | VALMSG+24 |
>> HLMTIENS | VALMSG+25 |
>> HLNEXT | IN+5, EX+12, ORRIN+3 |
HLNODE | IN+2~, IN+6, IN+7, IN+8, IN+9, IN+10, IN+11, IN+12, IN+14, IN+16 , IN+18, IN+20, IN+21, IN+24, IN+26, IN+29, IN+30, ORRIN+2~, ORRIN+4 |
>> HLQUIT | IN+5, EX+12, ORRIN+3 |
I | IN+2~, IN+5*, ORRIN+2~, ORRIN+3* |
MSGID | ORRIN+22~, ORRIN+23*, ORRIN+24, ORRIN+44~, ORRIN+45*, ORRIN+46 |
MSGLOG | ORRIN+22~, ORRIN+24*, ORRIN+28, ORRIN+29, ORRIN+31, ORRIN+32, ORRIN+36, ORRIN+44~, ORRIN+46*, ORRIN+48 , ORRIN+49, ORRIN+54, ORRIN+55 |
OBRSEG | EHRMCHK~, EHRMCHK+4 |
ORCSEG | EHRMCHK~, EHRMCHK+2, EHRMCHK+3, EHRMCHK+5, EHRMCHK+6 |
PTACCTNO | ORRIN+2~, ORRIN+16* |
SEG | IN+2~, ORRIN+2~ |
TCH | IN+3~, IN+17, IN+25 |
TCH( | SETTCH+2*, SETTCH2+2* |
TEXTIN | IN+3~, IN+16*, IN+17, IN+24*, IN+25 |
TEXTOUT | IN+3~, IN+16*, IN+17, IN+18, IN+24*, IN+25, IN+26 |
TEXTRM | IN+3~, IN+16*, IN+17, IN+18, IN+24*, IN+25 |
U | IN+11, IN+48, ORRIN+8, ORRIN+28, ORRIN+36, ORRIN+40, VALMSG+7, VALMSG+9, VALMSG+16, VALMSG+17 , VALMSG+20, VALMSG+21 |