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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ABMDEMRG

Package: Third Party Billing

Routine: ABMDEMRG


Information

ABMDEMRG ; IHS/ASDST/DMJ - MERGE CLAIMS ;

Source Information

Source file <ABMDEMRG.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
VA Fileman 5 ^DIC  FILE^DICN  ^DIE  (IX1,IXALL)^DIK  ^DIR  
Third Party Billing 4 EXT^ABMDE  ENT3^ABMDECAN  $$NXNM^ABMDUTL  $$FINDOPEN^ABMUCUTL  

Entry Points

Name Comments DBIA/ICR reference
START ;START HERE
DEL ;delete the claims merged from
MULT ;merge multiples into array by subfile to be stored on "master" claim when all are merged
PRIO ;re-shuffle priority fields for new claim
CLM ;go to claim editor

External References

Name Field # of Occurrence
EXT^ABMDE CLM+6
ENT3^ABMDECAN DEL+20
$$NXNM^ABMDUTL START+48
$$FINDOPEN^ABMUCUTL START+7
^DIC START+16
FILE^DICN START+49
^DIE START+105, START+111, START+156, PRIO+33, PRIO+43, PRIO+53, PRIO+63, PRIO+73, PRIO+83, PRIO+93
, PRIO+100, PRIO+110, PRIO+120
IX1^DIK PRIO+23
IXALL^DIK PRIO+19
^DIR START+4, START+10, START+41, CLM+4, DEL+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"PATIENT: ",$P($G(^DPT(ABM("PDFN"),0)),U)
  • Line Location: START+31
Function Call: WRITE
  • Prompt: !?3,"CLAIM #s: "
  • Line Location: START+32
Function Call: WRITE
  • Prompt: !,+$G(ABM("TOT"))," claims selected."
  • Line Location: START+37
Function Call: WRITE
  • Prompt: !,"Claim not created.",!
  • Line Location: START+50
Function Call: WRITE
  • Prompt: !,"Claim # ",ABMP("CDFN")," created.",!
  • Line Location: START+52
Function Call: WRITE
  • Prompt: !,"Merging selected claims to claim ",ABMP("CDFN")
  • Line Location: START+53
Function Call: WRITE
  • Prompt: !!,"Cross referencing new claim # ",ABMP("CDFN"),!
  • Line Location: PRIO+20
Function Call: WRITE
  • Prompt: !
  • Line Location: DEL+22
Routine Call
  • DIE
  • Line Location:
    • START+105
    • START+111
    • START+156
    • PRIO+33
    • PRIO+43
    • PRIO+53
    • PRIO+63
    • PRIO+73
    • PRIO+83
    • PRIO+93
    • PRIO+100
    • PRIO+110
    • PRIO+120
Routine Call
  • DIC
  • Line Location:
    • START+16
Routine Call
  • DIR
  • Line Location:
    • START+4
    • START+10
    • START+41
    • CLM+4
    • DEL+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ABMDCLM - [#9002274.3] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ABMDCLM - [#9002274.3] START+19, START+24, START+56, START+58*, START+59*, START+60*, START+61*, START+62*, START+63*, START+64*
, START+65*, START+66*, START+67*, START+69*, START+70*, START+71*, START+74, START+76, START+77*, START+78*
, START+79*, START+80*, START+81*, START+86, START+87, START+88, START+89, START+90, START+91, START+101
, START+107, START+131*, START+133*, START+141, PRIO+2, PRIO+4, PRIO+6, PRIO+10*, PRIO+11, PRIO+12
, PRIO+13*, PRIO+15!, PRIO+16!, MULT+3, MULT+4, MULT+5
^ABMDCODE - [#9002274.03] START+88
^ABMDPARM( START+2, START+6
^DPT - [#2] START+31

Label References

Name Line Occurrences
MULT START+83

Naked Globals

Name Field # of Occurrence
^(0 START+24

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ABM START+29!, START+38!, START+43!, START+50!, DEL+23!
ABM( MULT+1*, MULT+5, MULT+6*
ABM("CLM1" START+26, START+27*
ABM("F1" START+13, START+17*
ABM("OSDF" START+94*, START+97*, START+101, START+104
ABM("OSDT" START+95*, START+98*, START+107, START+110
ABM("PDFN" START+24*, START+31, START+47
ABM("PRIO" PRIO+7, PRIO+8*
ABM("SDF" START+90*, START+94, START+97
ABM("SDT" START+91*, START+95, START+98
ABM("TOT" START+33*, START+36*, START+37, START+38
ABM("VTYP" START+24*
>> ABMCLMI DEL+8*, DEL+9*, DEL+18
ABMDCLM PRIO+121!
ABMDCLM( START+129, START+131, START+132, START+133, MULT+3*, MULT+5*
ABMDCLM(14 START+115, START+117, START+118!, START+119
ABMDCLM(21 PRIO+24, PRIO+26, PRIO+27, PRIO+32
ABMDCLM(23 PRIO+34, PRIO+36, PRIO+37, PRIO+42
ABMDCLM(27 PRIO+44, PRIO+46, PRIO+47, PRIO+52
ABMDCLM(33 PRIO+54, PRIO+56, PRIO+57, PRIO+62
ABMDCLM(35 PRIO+64, PRIO+66, PRIO+67, PRIO+72
ABMDCLM(37 PRIO+74, PRIO+76, PRIO+77, PRIO+82
ABMDCLM(39 PRIO+84, PRIO+86, PRIO+87, PRIO+92, PRIO+94, PRIO+99
ABMDCLM(41 START+121, START+123, START+124*
ABMDCLM(43 PRIO+101, PRIO+103, PRIO+104, PRIO+109
ABMDCLM(47 PRIO+111, PRIO+113, PRIO+114, PRIO+119
ABMDCLM(55 START+86*, START+88*, START+89*
>> ABMDL("CLM" START+28*, START+29, START+34, START+35, START+55, START+56, START+58, START+59, START+60, START+61
, START+62, START+63, START+64, START+65, START+66, START+67, START+69, START+70, START+71, START+74
, START+76, START+77, START+78, START+79, START+80, START+81, START+86, START+87, START+88, START+89
, START+90, START+91, START+99, DEL+9, DEL+18, MULT+3, MULT+4, MULT+5
>> ABMDXFLG START+74, START+75*, START+76, START+136
ABMDXTST START+72, START+76*, PRIO+121!
ABMDXTST( START+75
ABMI START+13*, START+14, START+22*, START+24, START+25, START+28, START+30!, START+73*, START+74*, START+75
, START+85*, START+87*, START+88, START+89, START+139*, START+141, START+145, START+146, START+147, START+148
, START+149, START+150, START+151, START+152, START+153, START+154, START+155
>> ABMIEN START+116*, START+117*, START+118, START+119, START+122*, START+123*, START+124, START+125, START+130*, START+132*
, START+133, START+140*, START+141*, START+144, PRIO+25*, PRIO+26*, PRIO+27, PRIO+30, PRIO+32, PRIO+35*
, PRIO+36*, PRIO+37, PRIO+40, PRIO+42, PRIO+45*, PRIO+46*, PRIO+47, PRIO+50, PRIO+52, PRIO+55*
, PRIO+56*, PRIO+57, PRIO+60, PRIO+62, PRIO+65*, PRIO+66*, PRIO+67, PRIO+70, PRIO+72, PRIO+75*
, PRIO+76*, PRIO+77, PRIO+80, PRIO+82, PRIO+85*, PRIO+86*, PRIO+87, PRIO+90, PRIO+92, PRIO+94
, PRIO+97, PRIO+99, PRIO+102*, PRIO+103*, PRIO+104, PRIO+107, PRIO+109, PRIO+112*, PRIO+113*, PRIO+114
, PRIO+117, PRIO+119, MULT+2*, MULT+4*, MULT+5
ABMMED PRIO+121!
ABMMED( START+118, START+119*
>> ABMMULT START+83*, START+128*, START+129*, START+131, START+132, START+133, MULT+1, MULT+3, MULT+4, MULT+5
, MULT+6
>> ABMP("CDFN" START+51*, START+52, START+53, START+56, START+58, START+59, START+60, START+61, START+62, START+63
, START+64, START+65, START+66, START+67, START+69, START+70, START+71, START+77, START+78, START+79
, START+80, START+81, START+101, START+103, START+107, START+109, START+131, START+133, START+141, START+143
, PRIO+2, PRIO+4, PRIO+6, PRIO+10, PRIO+11, PRIO+12, PRIO+13, PRIO+15, PRIO+16, PRIO+17
, PRIO+20, PRIO+22, PRIO+29, PRIO+39, PRIO+49, PRIO+59, PRIO+69, PRIO+79, PRIO+89, PRIO+96
, PRIO+106, PRIO+116, DEL+18*
>> ABMPP("CLM" CLM+6*
ABMPRV PRIO+121!
ABMPRV("A" START+124, START+125*
>> ABMREAS DEL+19*
>> ABMUOPNS START+6, START+7*, START+8
DA START+103*, START+109*, START+142!, START+144*, PRIO+22*, PRIO+28!, PRIO+30*, PRIO+38!, PRIO+40*, PRIO+48!
, PRIO+50*, PRIO+58!, PRIO+60*, PRIO+68!, PRIO+70*, PRIO+78!, PRIO+80*, PRIO+88!, PRIO+90*, PRIO+95!
, PRIO+97*, PRIO+105!, PRIO+107*, PRIO+115!, PRIO+117*
DA(1 START+143*, START+145, PRIO+17*, PRIO+29*, PRIO+31, PRIO+39*, PRIO+41, PRIO+49*, PRIO+51, PRIO+59*
, PRIO+61, PRIO+69*, PRIO+71, PRIO+79*, PRIO+81, PRIO+89*, PRIO+91, PRIO+96*, PRIO+98, PRIO+106*
, PRIO+108, PRIO+116*, PRIO+118
DD START+44!
DIC START+11*, START+30!, START+45*, START+142!, PRIO+28!, PRIO+38!, PRIO+48!, PRIO+58!, PRIO+68!, PRIO+78!
, PRIO+88!, PRIO+95!, PRIO+105!, PRIO+115!
DIC("A" START+14*
DIC("S" START+25*
DIC(0 START+12*, START+46*
DIE START+102*, START+108*, START+142!, START+145*, PRIO+28!, PRIO+31*, PRIO+38!, PRIO+41*, PRIO+48!, PRIO+51*
, PRIO+58!, PRIO+61*, PRIO+68!, PRIO+71*, PRIO+78!, PRIO+81*, PRIO+88!, PRIO+91*, PRIO+95!, PRIO+98*
, PRIO+105!, PRIO+108*, PRIO+115!, PRIO+118*
>> DIK PRIO+18*, PRIO+21*
>> DINUM START+48*
DIR START+4!, START+10!, START+42!, PRIO+28!, PRIO+38!, PRIO+48!, PRIO+58!, PRIO+68!, PRIO+78!, PRIO+88!
, PRIO+95!, PRIO+105!, PRIO+115!, CLM+5!, DEL+5!
DIR("A" START+4*, START+10*, START+39*, CLM+1*, DEL+1*
DIR("B" CLM+3*, DEL+3*
DIR(0 START+4*, START+10*, START+40*, CLM+2*, DEL+2*
DO START+44!
DR START+104*, START+110*, START+142!, START+146*, START+147*, START+148*, START+149*, START+150*, START+151*, START+152*
, START+153*, START+154*, START+155*, PRIO+28!, PRIO+32*, PRIO+38!, PRIO+42*, PRIO+48!, PRIO+52*, PRIO+58!
, PRIO+62*, PRIO+68!, PRIO+72*, PRIO+78!, PRIO+82*, PRIO+88!, PRIO+92*, PRIO+95!, PRIO+99*, PRIO+105!
, PRIO+109*, PRIO+115!, PRIO+119*
DUZ START+7
DUZ(2 START+2, START+6, START+19, START+24, START+56, START+58, START+59, START+60, START+61, START+62
, START+63, START+64, START+65, START+66, START+67, START+69, START+70, START+71, START+74, START+76
, START+77, START+78, START+79, START+80, START+81, START+86, START+87, START+88, START+89, START+90
, START+91, START+101, START+107, START+131, START+133, START+141, PRIO+2, PRIO+4, PRIO+6, PRIO+10
, PRIO+11, PRIO+12, PRIO+13, PRIO+15, PRIO+16, MULT+3, MULT+4, MULT+5
>> I START+33*, START+34*, START+35, START+54*, START+55*, START+56, START+58, START+59, START+60, START+61
, START+62, START+63, START+64, START+65, START+66, START+67, START+69, START+70, START+71, START+74
, START+76, START+77, START+78, START+79, START+80, START+81, START+86, START+87, START+88, START+89
, START+90, START+91, START+93, START+99, PRIO+1*, PRIO+2, PRIO+4, PRIO+6, PRIO+10, PRIO+11
, PRIO+13, PRIO+15, PRIO+16, MULT+3, MULT+4, MULT+5
>> J PRIO+3*, PRIO+4*, PRIO+6
>> K PRIO+5*, PRIO+6*, PRIO+7, PRIO+8, PRIO+10, PRIO+11, PRIO+12, PRIO+13
>> L PRIO+3*, PRIO+9*, PRIO+10
U START+2, START+6, START+19, START+24, START+31, START+56, START+88, START+90, START+91, START+101
, START+124, PRIO+27, PRIO+32, PRIO+37, PRIO+42, PRIO+47, PRIO+52, PRIO+57, PRIO+62, PRIO+67
, PRIO+72, PRIO+77, PRIO+82, PRIO+87, PRIO+92, PRIO+94, PRIO+99, PRIO+104, PRIO+109, PRIO+114
, PRIO+119
X START+47*, START+142!, PRIO+28!, PRIO+38!, PRIO+48!, PRIO+58!, PRIO+68!, PRIO+78!, PRIO+88!, PRIO+95!
, PRIO+105!, PRIO+115!
Y START+17, START+19, START+24, START+26, START+27, START+28, START+43, START+50, START+51, START+142!
, PRIO+28!, PRIO+38!, PRIO+48!, PRIO+58!, PRIO+68!, PRIO+78!, PRIO+88!, PRIO+95!, PRIO+105!, PRIO+115!
, CLM+6, DEL+6
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All