IBRFIHL2 ;TDM/DAL - HL7 Process Incoming EHC_E12 Msgs (cont.) ;02-SEP-2015 ; 2/22/16 4:41pm
Source file <IBRFIHL2.m>
Package | Total | Call Graph |
---|---|---|
Integrated Billing | 2 | ($$INSPRF,$$NOPUNCT)^IBCEF $$MCRWNR^IBEFUNC |
VA FileMan | 2 | $$FIND1^DIC $$GET1^DIQ |
Health Level Seven | 1 | ($$FMDATE,$$FMNAME)^HLFNC |
Registration | 1 | DEM^VADPT |
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 |
---|---|---|
Integrated Billing | 1 | IBRFIHL1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
MSH(IBSEG) | ; Process the MSH seg
|
|
RFI(IBSEG) | ; Process the RFI seg
|
|
CTD(IBSEG) | ; Process the CTD seg
|
|
IVC(IBSEG,DFN,DFNSSN) | ; Process the IVC seg
; ; also try to get the patient file pointer from the claim and the patient SSN from that patient ; will use those to compare against PID to verify that this is the correct patient |
|
PID(IBSEG,DFNPTR,DFNSSN) | ; Process the PID seg
|
|
PSL(IBSEG) | ; Process the PSL seg
|
|
PYE(IBSEG) | ; Process the PYE seg
|
|
OBX(IBSEG) | ; Process the OBX seg
|
Name | Field # of Occurrence |
---|---|
$$FIND1^DIC | CTD+21, CTD+22, CTD+23, CTD+45, CTD+46, CTD+47, CTD+48, CTD+49, CTD+50, IVC+42 , PSL+34, PSL+43, PSL+46, PSL+47, PSL+48, PSL+49, PSL+50, PSL+58, PSL+59, PSL+60 , OBX+37 |
$$GET1^DIQ | IVC+46, IVC+60 |
$$FMDATE^HLFNC | MSH+7, RFI+7, RFI+8, IVC+20, IVC+22, PSL+53, PSL+57, OBX+34 |
$$FMNAME^HLFNC | IVC+29, PID+12, PYE+8 |
$$INSPRF^IBCEF | IVC+54 |
$$NOPUNCT^IBCEF | IVC+50 |
$$MCRWNR^IBEFUNC | IVC+64 |
DEM^VADPT | IVC+49, PID+25 |
FileNo | Call Tags |
---|---|
^DIC(36 - [#36] | GET1^DIQ |
^IBE(365.021 - [#365.021] | FIND1^DIC |
^IBE(368.001 - [#368.001] | FIND1^DIC |
^IBE(368.002 - [#368.002] | FIND1^DIC |
^DGCR(399 - [#399] | FIND1^DIC, GET1^DIQ |
^DGCR(399.2 - [#399.2] | FIND1^DIC |
^DIC(5 - [#5] | FIND1^DIC |
^VIC(5.11 - [#5.11] | FIND1^DIC |
^HL(779.004 - [#779.004] | FIND1^DIC |
^DIC(81.3 - [#81.3] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGCR(399 - [#399] | IVC+58, IVC+59 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CODETYPE | PSL+36~, PSL+37*, PSL+38 |
CQUAL | CTD+1~, CTD+5*, CTD+6, OBX+1~, OBX+4*, OBX+19 |
CQUAL( | CTD+6* |
CQUAL(1 | CTD+11, CTD+21, CTD+35, CTD+45 |
CQUAL(2 | CTD+13, CTD+22, CTD+37, CTD+46 |
CQUAL(3 | CTD+15, CTD+23, CTD+39, CTD+47 |
CTD | CTD+1~ |
CTD( | CTD+2* |
CTD(1 | CTD+8, CTD+9, CTD+25, CTD+26 |
CTD(2 | CTD+10, CTD+27 |
CTD(3 | CTD+28, CTD+29, CTD+30, CTD+31, CTD+32, CTD+33, CTD+34, CTD+48, CTD+49, CTD+50 |
CTD(5 | CTD+5, CTD+12, CTD+14, CTD+16, CTD+17, CTD+18, CTD+19, CTD+36, CTD+38, CTD+40 , CTD+41, CTD+42, CTD+43 |
>> DATA(368 | MSH+4*, MSH+5*, MSH+7*, RFI+4*, RFI+5*, RFI+7*, RFI+8*, CTD+9*, CTD+10*, CTD+11* , CTD+12*, CTD+13*, CTD+14*, CTD+15*, CTD+16*, CTD+17*, CTD+18*, CTD+19*, CTD+21*, CTD+22* , CTD+23*, CTD+26*, CTD+27*, CTD+28*, CTD+29*, CTD+30*, CTD+31*, CTD+32*, CTD+33*, CTD+34* , CTD+35*, CTD+36*, CTD+37*, CTD+38*, CTD+39*, CTD+40*, CTD+41*, CTD+42*, CTD+43*, CTD+45* , CTD+46*, CTD+47*, CTD+48*, CTD+49*, CTD+50*, IVC+11*, IVC+12*, IVC+13*, IVC+14*, IVC+15* , IVC+16*, IVC+17*, IVC+18*, IVC+19*, IVC+20*, IVC+21*, IVC+22*, IVC+25*, IVC+26*, IVC+28* , IVC+29*, IVC+30*, IVC+31*, IVC+32*, IVC+33*, IVC+34*, IVC+35*, IVC+36*, IVC+37*, IVC+38* , IVC+42*, IVC+65*, PID+7*, PID+8*, PID+10*, PID+11*, PID+12*, PID+13*, PID+14*, PID+20* , PID+26*, PSL+25*, PYE+4*, PYE+5*, PYE+6*, PYE+7*, PYE+8*, OBX+22* |
DFN | IVC~, IVC+46*, IVC+47, PID+2*, PID+24~, PID+25* |
DFNPTR | PID~, PID+20, PID+25, PID+26 |
DFNSSN | IVC~, IVC+50*, PID~, PID+20 |
FILE | PSL+36~, PSL+38*, PSL+39, PSL+41, PSL+43 |
FILELOC | PSL+40~, PSL+41*, PSL+42, PSL+44 |
FLD1 | OBX+1~, OBX+5*, OBX+9*, OBX+14*, OBX+15*, OBX+17, OBX+37 |
FLD2 | OBX+1~, OBX+5*, OBX+9*, OBX+14*, OBX+15*, OBX+18, OBX+21 |
FLD3 | OBX+1~, OBX+5*, OBX+9*, OBX+14*, OBX+15*, OBX+19 |
FN | PSL+1~, OBX+1~ |
>> HL("ECH" | IVC+29, PID+12, PYE+8 |
>> HLCMP | CTD+5, CTD+9, CTD+10, CTD+12, CTD+14, CTD+16, CTD+17, CTD+18, CTD+19, CTD+26 , CTD+27, CTD+28, CTD+29, CTD+30, CTD+31, CTD+32, CTD+33, CTD+34, CTD+36, CTD+38 , CTD+40, CTD+41, CTD+42, CTD+43, CTD+48, CTD+49, CTD+50, IVC+8, IVC+9, IVC+11 , IVC+13, IVC+14, IVC+15, IVC+17, IVC+18, IVC+19, IVC+21, IVC+23, IVC+25, IVC+26 , IVC+27, IVC+28, IVC+29, IVC+30, IVC+31, IVC+32, IVC+33, IVC+34, IVC+35, IVC+36 , IVC+37, IVC+38, IVC+42, IVC+51, IVC+64, IVC+65, PID+5, PID+6, PID+12, PID+13 , PID+14, PSL+6, PSL+7, PSL+8, PSL+9, PSL+10, PSL+11, PSL+12, PSL+13, PSL+14 , PSL+15, PSL+16, PSL+20, PSL+21, PSL+22, PSL+23, PSL+24, PSL+25, PSL+26, PSL+27 , PSL+28, PSL+29, PSL+30, PSL+34, PSL+37, PSL+43, PSL+46, PSL+47, PSL+48, PSL+49 , PSL+50, PSL+51, PSL+53, PSL+57, PSL+58, PSL+59, PSL+60, PYE+4, PYE+5, PYE+6 , PYE+7, PYE+8, OBX+3, OBX+4, OBX+11, OBX+17, OBX+18, OBX+22, OBX+34, OBX+37 |
>> HLREP | CTD+5, CTD+12, CTD+14, CTD+16, CTD+17, CTD+18, CTD+19, CTD+36, CTD+38, CTD+40 , CTD+41, CTD+42, CTD+43, PID+3, PID+4, PSL+10, PSL+11, PSL+12, PSL+13, PSL+21 , PSL+22, PSL+23, PSL+24, PSL+25, PSL+26, PSL+27, PSL+28, PSL+29, PSL+30, PSL+46 , PSL+47, PSL+48, PSL+49, PSL+58, PSL+59, PSL+60, OBX+3, OBX+4, OBX+17, OBX+18 , OBX+22, OBX+37 |
>> HLSCMP | CTD+28, IVC+42, PSL+14, PSL+51 |
IBSEG | MSH~, RFI~, CTD~, IVC~, PID~, PSL~, PYE~, OBX~ |
IBSEG( | MSH+2, RFI+2, CTD+2, IVC+6, PSL+2, PYE+2, OBX+2 |
IBSEG(4 | PID+2 |
IBSEG(6 | PID+12, PID+13, PID+14 |
IDFIELD | IVC+52~, IVC+56*, IVC+60 |
IDLIST | PID+1~, PID+2*, PID+3, PID+4 |
IEN | CTD+1~, CTD+21*, CTD+22*, CTD+23*, CTD+45*, CTD+46*, CTD+47*, CTD+48*, CTD+49*, CTD+50* , IVC+5~, IVC+42*, IVC+45, IVC+46, IVC+54, IVC+58, IVC+59, PSL+1~, PSL+34*, PSL+43* , PSL+44, PSL+46*, PSL+47*, PSL+48*, PSL+49*, PSL+50*, PSL+58*, PSL+59*, PSL+60*, OBX+37* |
INSCLAIM | IVC+52~, IVC+54*, IVC+56 |
INSIEN | IVC+52~, IVC+59*, IVC+60, IVC+62, IVC+64 |
INSURERS | IVC+52~ |
INSURERS( | IVC+62*, IVC+64*, IVC+65 |
IVC | IVC+5~ |
IVC( | IVC+6* |
IVC(1 | IVC+8, IVC+11, IVC+42 |
IVC(10 | IVC+23, IVC+25, IVC+26, IVC+27 |
IVC(11 | IVC+30, IVC+31, IVC+32, IVC+33, IVC+34, IVC+51, IVC+64, IVC+65 |
IVC(12 | IVC+28, IVC+29 |
IVC(2 | IVC+13, IVC+14 |
IVC(20 | IVC+35, IVC+36 |
IVC(26 | IVC+37 |
IVC(28 | IVC+38 |
IVC(3 | IVC+9, IVC+15 |
IVC(5 | IVC+17 |
IVC(7 | IVC+18, IVC+19, IVC+21 |
LOOP | IVC+52~, IVC+58*, IVC+59 |
MATCH | PID+1~, PID+19*, PID+20*, PID+23 |
MRN | PID+1~, PID+2*, PID+7*, PID+11, PID+20 |
MSH | MSH+1~ |
MSH( | MSH+2* |
MSH(10 | MSH+4 |
MSH(7 | MSH+5, MSH+7 |
OBX | OBX+1~ |
OBX( | OBX+2* |
OBX(14 | OBX+11, OBX+34 |
OBX(3 | OBX+3, OBX+4, OBX+17, OBX+18, OBX+22, OBX+37 |
>> OBX0113( | OBX+33*, OBX+34*, OBX+37* |
>> OBX0113("" | OBX+32, OBX+35 |
>> OBX013( | OBX+10*, OBX+11*, OBX+17*, OBX+18*, OBX+19* |
>> OBX013("" | OBX+8, OBX+12 |
OBXTYP | OBX+1~, OBX+3*, OBX+7, OBX+12, OBX+14, OBX+15, OBX+31, OBX+35 |
PAYERID | IVC+52~, IVC+60*, IVC+61, IVC+62 |
PID | PID+1~, PID+2*, PID+8*, PID+10 |
PSL | PSL+1~ |
PSL( | PSL+2* |
PSL(1 | PSL+6, PSL+7 |
PSL(10 | PSL+20, PSL+57 |
PSL(16 | PSL+14, PSL+51 |
PSL(17 | PSL+21, PSL+22, PSL+23 |
PSL(18 | PSL+24, PSL+25, PSL+26, PSL+27 |
PSL(20 | PSL+28, PSL+29, PSL+30, PSL+58, PSL+59, PSL+60 |
PSL(22 | PSL+15, PSL+50 |
PSL(26 | PSL+16, PSL+53 |
PSL(6 | PSL+8, PSL+34, PSL+37 |
PSL(7 | PSL+9, PSL+43 |
PSL(8 | PSL+10, PSL+11, PSL+12, PSL+13, PSL+46, PSL+47, PSL+48, PSL+49 |
>> PSL0121( | PSL+33*, PSL+34*, PSL+44*, PSL+46*, PSL+47*, PSL+48*, PSL+49*, PSL+50*, PSL+52*, PSL+53* |
>> PSL0121("" | PSL+32 |
>> PSL021( | PSL+5*, PSL+6*, PSL+7*, PSL+8*, PSL+9*, PSL+10*, PSL+11*, PSL+12*, PSL+13*, PSL+14* , PSL+15*, PSL+16* |
>> PSL021("" | PSL+4 |
>> PSL12199( | PSL+55, PSL+56*, PSL+57*, PSL+58*, PSL+59*, PSL+60* |
>> PSL2199( | PSL+18, PSL+19*, PSL+20*, PSL+21*, PSL+22*, PSL+23*, PSL+24*, PSL+26*, PSL+27*, PSL+28* , PSL+29*, PSL+30* |
PYE | PYE+1~ |
PYE( | PYE+2* |
PYE(2 | PYE+4 |
PYE(4 | PYE+5, PYE+6, PYE+7 |
PYE(5 | PYE+8 |
RDTTM | PSL+1~ |
REP | CTD+1~, CTD+4*, CTD+5, CTD+6 |
RFI | RFI+1~ |
RFI( | RFI+2* |
RFI(1 | RFI+4, RFI+7 |
RFI(2 | RFI+5, RFI+8 |
RQUAL | IVC+5~ |
RQUAL( | IVC+8*, IVC+9*, IVC+12, IVC+16 |
SID | PSL+1~, PSL+4*, PSL+5, PSL+6, PSL+7, PSL+8, PSL+9, PSL+10, PSL+11, PSL+12 , PSL+13, PSL+14, PSL+15, PSL+16, PSL+18, PSL+19, PSL+20, PSL+21, PSL+22, PSL+23 , PSL+24, PSL+25, PSL+26, PSL+27, PSL+28, PSL+29, PSL+30, PSL+32*, PSL+33, PSL+34 , PSL+44, PSL+46, PSL+47, PSL+48, PSL+49, PSL+50, PSL+52, PSL+53, PSL+55, PSL+56 , PSL+57, PSL+58, PSL+59, PSL+60, OBX+1~, OBX+8*, OBX+10, OBX+11, OBX+12*, OBX+17 , OBX+18, OBX+19, OBX+21, OBX+32*, OBX+33, OBX+34, OBX+35*, OBX+37 |
SID1 | PSL+1~, PSL+18*, PSL+19, PSL+20, PSL+21, PSL+22, PSL+23, PSL+24, PSL+25, PSL+26 , PSL+27, PSL+28, PSL+29, PSL+30, PSL+55*, PSL+56, PSL+57, PSL+58, PSL+59, PSL+60 |
SQ | MSH+1~, MSH+2*, RFI+1~, RFI+2*, CTD+1~, CTD+2*, IVC+5~, IVC+6*, PSL+1~, PSL+2* , PYE+1~, PYE+2*, OBX+1~, OBX+2* |
SUBC | PID+1~, PID+4*, PID+5, PID+6 |
SUBCDATA | PID+1~, PID+6*, PID+7, PID+8 |
SUBCID | PID+1~, PID+5*, PID+7, PID+8 |
SUBCNT | PID+1~, PID+3*, PID+4 |
U | IVC+50 |
VADM | IVC+48~, PID+24~ |
VADM(1 | PID+26 |
VADM(2 | IVC+50 |
VAL | PSL+51*, PSL+52, OBX+1~ |