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  | All
Print Page as PDF
Routine: IBCNEDE2

Package: Integrated Billing

Routine: IBCNEDE2


Information

IBCNEDE2 ;DAOU/DAC - eIV PRE REG EXTRACT (APPTS) ;23-SEP-2015

Source Information

Source file <IBCNEDE2.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Integrated Billing 8 PT^IBCNEBF  $$SIDCHK^IBCNEDE5  UPDDTS^IBCNEDE6  ($$PYRACTV,$$SETTINGS,$$SETTQ)^IBCNEDE7  $$INSERROR^IBCNEUT3  $$EXCLUDE^IBCNEUT4  ($$ADDTQ,$$BFEXIST,$$MGRP,MSG,TQUPDSV)^IBCNEUT5  ALL^IBCNS1  
Kernel 3 $$S^%ZTLOAD  ($$FMADD,$$FMDIFF,$$FMTE)^XLFDT  $$LJ^XLFSTR  
VA FileMan 2 $$FIND1^DIC  $$GET1^DIQ  
Registration 1 INP^VADPT  
Scheduling 1 $$SDAPI^SDAMA301  

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
Integrated Billing 3 IBCNEDE  IBCNEDE4  IBCNEHL1  

Entry Points

Name Comments DBIA/ICR reference
EN ; Loop through designated cross-references for updates
; Pre reg extract (Appointment extract)
; IB*2.0*593 - Added EXCLTOC,EXCLTOP now initialized at top. Removed YY.
; IB*2.0*549 - Added YY,ZZ, Re-Arranged in alphabetical order
ENQ
GETELST(FILE) ; Returns a '^' delimited list of Type of Plans or Type of
; coverages to be excluded with leading and trailing '^'s
; IB*2.0*549 Added method
; IB*2.0*593 Added NO-FAULT INSURANCE. Refactored.
; Input: FILE - 355.1 - Return a list of Type of Plans to be excluded
; 355.2 - Return a list of Type of Coverages to be excluded
; Returns: '^' delimited list of Type of Plans or Type of Coverages
; to be excluded
CLINICEX ; Clinic exclusion
ELG ; Eligibility exclusion
INP ; Inpatient status
SET(SID,INR,PATID) ; Set data in TQ
ERRMSG ; Send a message indicating an extract error has occurred
OKFRESH(INREC,FRESHDAY,MFRESHDAY,MFLG) ; Identify those policies to exclude when
; verified within the "freshness days" for Medicare and non-Medicare policies.
; INPUT:
; INREC - IEN to current Insurance Plan
; FRESHDAY - Freshness Days Span
; MFRESHDAY - Medicare Freshness Days Span
; MFLG - Used to determine if the insurance plan is a Medicare Plan - 1=MEDICARE, 0=non-MEDICARE
; OUTPUT:
; OK = 0 - Exclude Policy
; = 1 - Include Policy
EXPIRED(EXPDT) ; check if insurance policy has already expired
; EXPDT - expiration date (2.312/3)
; returns 1 if expiration date is in the past, 0 otherwise

External References

Name Field # of Occurrence
$$S^%ZTLOAD EN+60
$$FIND1^DIC SET+15
$$GET1^DIQ EN+17, EN+84, EN+108, OKFRESH+13, OKFRESH+16, OKFRESH+18
PT^IBCNEBF EN+131, EN+136, EN+153
$$SIDCHK^IBCNEDE5 EN+151
UPDDTS^IBCNEDE6 EN+140
$$PYRACTV^IBCNEDE7 EN+129
$$SETTINGS^IBCNEDE7 EN+10
$$SETTQ^IBCNEDE7 SET+17
$$INSERROR^IBCNEUT3 EN+122
$$EXCLUDE^IBCNEUT4 EN+115
$$ADDTQ^IBCNEUT5 EN+147
$$BFEXIST^IBCNEUT5 EN+131, EN+136, EN+153
$$MGRP^IBCNEUT5 ERRMSG+4
MSG^IBCNEUT5 ERRMSG+22
TQUPDSV^IBCNEUT5 EN+143
ALL^IBCNS1 EN+72
$$SDAPI^SDAMA301 EN+38
INP^VADPT INP+1
$$FMADD^XLFDT EN+19, EN+97, OKFRESH+20, OKFRESH+21
$$FMDIFF^XLFDT EXPIRED+5
$$FMTE^XLFDT ERRMSG+7
$$LJ^XLFSTR ERRMSG+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IBE(350.9 - [#350.9] GET1^DIQ
^IBE(355.12 - [#355.12] FIND1^DIC
^IBA(355.3 - [#355.3] GET1^DIQ
^DIC(36 - [#36] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(43 - [#43] CLINICEX+2, ELG+2
^DIC(36 - [#36] EN+80
^DPT - [#2] EN+64, EN+65
^IBE( GETELST+24
^IBE(350.9 - [#350.9] EN+16
^SC - [#44] EN+27
^TMP("IBCNEDE2" EN+23!, EN+31*, ENQ!
^TMP($J EN+23!, EN+43, EN+46, EN+52, EN+62, ENQ!, ERRMSG+15

Label References

Name Line Occurrences
$$EXPIRED EN+117
$$GETELST EN+21, EN+22
$$OKFRESH EN+96
CLINICEX EN+29
ELG EN+69
ENQ EN+38
ERRMSG EN+38
SET EN+157, EN+160

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTINS EN+4~, EN+71!
ACTINS( EN+77, EN+79, EN+104, EN+117, EN+120, OKFRESH+11, OKFRESH+12, OKFRESH+15
ACTINS(0 EN+74
APTDT EN+4~, EN+48*, EN+52*, EN+55, EN+62
CLNC EN+4~, EN+25*, EN+27*, EN+31, EN+41*, EN+43*, EN+46, EN+52, EN+62, CLINICEX+2
CNT EN+4~, EN+18*, EN+27, EN+43, EN+46, EN+52, EN+77, EN+154*, SET+18*
DATA1 EN+4~, SET+8*, SET+9*, SET+17
DATA2 EN+4~, SET+13*, SET+17
DATA5 SET+6~, SET+15*, SET+17
DFN EN+4~, EN+46*, EN+52, EN+62, EN+64, EN+65, EN+72, EN+131, EN+136, EN+143
EN+147, EN+151, EN+153, SET+8
DISYS EN+4~
DT EN+19, EN+35, EN+48, ERRMSG+7, EXPIRED+4, EXPIRED+5
ELG EN+4~, EN+63*, EN+64*, ELG+1, ELG+2
ENDDT EN+4~, EN+19*, EN+35, EN+52
EXCLIST GETELST+21~, GETELST+22*, GETELST+26*, GETELST+27
EXCLTOC EN+4~, EN+21*, EN+87
EXCLTOP EN+4~, EN+22*, EN+111
EXPDT EXPIRED~, EXPIRED+4, EXPIRED+5
FILE GETELST~, GETELST+24
FOUND1 EN+4~
FOUND2 EN+4~
FRESHDAY EN+4~, EN+16*, EN+96, EN+97, EN+147, OKFRESH~, OKFRESH+20
FRESHDT EN+5~, EN+97*, EN+140, EN+151, SET+8
GIEN EN+5~, EN+104*, EN+108, OKFRESH+10~, OKFRESH+15*, OKFRESH+16
IBCNETOT EN+5~, EN+20*, EN+58*, EN+60
IBDDI EN+5~
IBINDT EN+5~
IBINS EN+5~
IBM ERRMSG+1~, ERRMSG+15*, ERRMSG+16*, ERRMSG+17*, ERRMSG+18*, ERRMSG+19*, ERRMSG+20*
IBOUTP EN+5~
IBSDA EN+5~, EN+38
IBSDA("FLDS" EN+34*
IBSDA(1 EN+35*
IBSDA(2 EN+36*
IBSDA(3 EN+37*
IBSDATA EN+5~, EN+62*, EN+63
IBX ERRMSG+1~, ERRMSG+15*
IEN GETELST+24~*, GETELST+25, GETELST+26
IIEN OKFRESH+10~, OKFRESH+12*, OKFRESH+13, OKFRESH+18
INR SET~, SET+13
INREC EN+5~, EN+76*, EN+77*, EN+79, EN+96, EN+104, EN+117, EN+120, EN+131, EN+136
EN+153, OKFRESH~, OKFRESH+11, OKFRESH+12, OKFRESH+15
INS EN+5~
INSIEN EN+5~, EN+79*, EN+80, EN+84, EN+122
INSNAME EN+5~, EN+80*, EN+100, EN+115, EN+131, EN+136, EN+153, EN+157, EN+161
MAXCNT EN+6~, EN+13*, EN+14*, EN+27, EN+43, EN+46, EN+52, EN+77, EN+154
MCAREFLG EN+6~, EN+49*, EN+100, EN+157*, EN+161*
MFLG EN+78~, EN+96, EN+97, EN+147, OKFRESH~, OKFRESH+11*, OKFRESH+13*, OKFRESH+14, OKFRESH+16*, OKFRESH+18*
, OKFRESH+20, OKFRESH+21
MFRESHDAY EN+6~, EN+17*, EN+96, EN+97, EN+147, OKFRESH~, OKFRESH+21
MGRP ERRMSG+1~, ERRMSG+4*, ERRMSG+22
MSG ERRMSG+1~
MSG( ERRMSG+15*, ERRMSG+16*, ERRMSG+17*, ERRMSG+18*, ERRMSG+19*, ERRMSG+20*
MSG(1 ERRMSG+7*
MSG(2 ERRMSG+8*
MSG(3 ERRMSG+9*
MSG(4 ERRMSG+10*
MSG(5 ERRMSG+11*
MSG(6 ERRMSG+12*
MSG(7 ERRMSG+13*
MSG(8 ERRMSG+14*
NUM EN+6~, EN+38*
OK EN+6~, EN+29, EN+69, CLINICEX+1*, CLINICEX+2*, ELG+1*, ELG+2*, ELG+3*, INP+2*, INP+4*
, OKFRESH+10~, OKFRESH+11*, OKFRESH+20*, OKFRESH+21*, OKFRESH+22
PATID EN+6~, EN+120*, EN+157, EN+160, SET~, SET+9
PAYER EN+6~
PAYERID EN+6~, EN+125*
PAYERSTR EN+6~, EN+122*, EN+124, EN+125, EN+126
PIEN EN+6~, EN+126*, EN+129, EN+140, EN+143, EN+147, EN+151, SET+8
QURYFLAG EN+8~, EN+149*, SET+13
SETSTR EN+7~, EN+10*, EN+11, EN+12, EN+13, EN+15
SID EN+7~, EN+156*, EN+157*, SET~, SET+8
SIDACT EN+7~, EN+152*, EN+153, EN+159
SIDARRAY EN+7~, EN+150!, EN+151
SIDARRAY( EN+157
SIDCNT EN+7~, EN+152*, EN+154
SIDDATA EN+7~, EN+151*, EN+152
SLCCRIT1 EN+7~, EN+12*, EN+19
SRVICEDT EN+7~, EN+55*, EN+97, EN+140, EN+143, EN+147, SET+13, OKFRESH+20, OKFRESH+21
SUPPBUFF EN+7~, EN+15*, EN+131, EN+136, EN+153
SYMBOL EN+7~, EN+124*, EN+130*, EN+131, EN+135, EN+136
TODAYSDT EN+8~
TQIEN EN+8~, SET+17*, SET+18
TYPE GETELST+21~, GETELST+23*, GETELST+24
U EN+12, EN+13, EN+15, EN+16, EN+63, EN+64, EN+65, EN+79, EN+80, EN+104
EN+117, EN+120, EN+125, EN+126, EN+152, SET+8, SET+9, SET+13, OKFRESH+11, OKFRESH+12
, OKFRESH+15
VAIN EN+8~, INP+2!, INP+3!
VAIN(1 INP+2
VDATE EN+8~, OKFRESH+10~, OKFRESH+11*, OKFRESH+20, OKFRESH+21
X1 EXPIRED+3~, EXPIRED+4*, EXPIRED+5
X2 EXPIRED+3~, EXPIRED+4*, EXPIRED+5
XMSUB ERRMSG+1~, ERRMSG+6*, ERRMSG+22
YY EN+8~
>> ZTQUEUED EN+60
>> ZTSTOP EN+27, EN+43, EN+46, EN+52, EN+60*
ZZ EN+8~, EN+84*, EN+87, EN+108*, EN+111
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  | All