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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: FBPAY3

Package: Fee Basis

Routine: FBPAY3


Information

FBPAY3 ;AISC/GRR,TET-PHARMACY PAYMENT HISTORY, SORT/PRINT ;21/NOV/2006

Source Information

Source file <FBPAY3.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Fee Basis 10 FBCKP^FBAACCB1  (PMNT,PMTCLN)^FBAACCB2  ($$DATX,$$SSN,$$SSNL4)^FBAAUTL  $$EXTRL^FBMRASVR  KILL^FBPAY2  EFBCK^FBPAY21  (AN,ANC,OTH)^FBPAY67  PANC^FBPAY671  
$$ADJLRA^FBRXFA  $$RRL^FBRXFR  
Kernel 1 $$FMTE^XLFDT  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
Fee Basis 1 FBPAY  

Entry Points

Name Comments DBIA/ICR reference
EN ;entry point
FBAAC ;check if anything in an xref, fbaac global (file 162)
KILL ;kill variables set in sort
SORT ;
SET ;
VET ;set variables for veteran - 'FBSORT
VEN ;set variables for vendor - FBSORT
PRINT ;write output
EXIT ;kill and quit
HDR ;main header
SH ;subheader - vendor if fbsort; patient if 'fbsort, prints when name changes
CR ;read for display
PAGE ;new page

External References

Name Field # of Occurrence
^DIR CR+1
FBCKP^FBAACCB1 SET+24
PMNT^FBAACCB2 PRINT+17
PMTCLN^FBAACCB2 SET+27
$$DATX^FBAAUTL SET+21
$$SSN^FBAAUTL VET+1, SH+3
$$SSNL4^FBAAUTL SH+3
$$EXTRL^FBMRASVR PRINT+17
KILL^FBPAY2 KILL+4
EFBCK^FBPAY21 PRINT+6
AN^FBPAY67 FBAAC+1
ANC^FBPAY67 SET+29
OTH^FBPAY67 SET+30
PANC^FBPAY671 PRINT+18
$$ADJLRA^FBRXFA SET+9
$$RRL^FBRXFR SET+13
$$FMTE^XLFDT EN+1, VET+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?$P(FBLOC,U,I),$P(FBDATA,U,I)
  • Line Location: PRINT+11
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $P(FBLOC,U,I)=63
  • Line Location: PRINT+11
Function Call: WRITE
  • Prompt: $P(FBADJ,U,1),?30,$J($P(FBADJ,U,2),14)
  • Line Location: PRINT+13
Function Call: WRITE
  • Prompt: $P(FBDATA,U,8),?30,$J($P(FBDATA,U,14),14)
  • Line Location: PRINT+14
Function Call: WRITE
  • Prompt: !?5,"FPPS Claim ID: ",$P(FBADJ,U,4)," FPPS Line Item: ",$P(FBADJ,U,5)
  • Line Location: PRINT+16
Function Call: WRITE
  • Prompt: !,FBDASH1
  • Line Location: PRINT+18
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !?25,$S($G(FBSORT):"VETERAN",1:"VENDOR")," PAYMENT HISTORY"
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: " ",$S(FB1725R="M":"for 38 U.S.C. 1725 Claims",1:"excluding 38 U.S.C. 1725 Claims")
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !?24,$E(FBDASH,1,24),?71,"Page: ",FBPG,!
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !?(IOM-(13+$L(FBPROG(+FBPI)))/2),"FEE PROGRAM: ",FBPROG(+FBPI)
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !?3,"('*' Reimb. to Patient '+' Cancel. Activity '#' Voided Payment)"
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: !?4,"Fill Date",?64,"Date Certified"
  • Line Location: HDR+10
Function Call: WRITE
  • Prompt: !,?15,"Drug Name",?44,"Strength",?60,"Quantity"
  • Line Location: HDR+11
Function Call: WRITE
  • Prompt: !?2,"Claimed",?12,"Paid",?20,"Adj Code",?33,"Adj Amounts",?47,"Invoice #",?58,"Batch #",?66,"Remit Remarks",!,FBDASH
  • Line Location: HDR+12
Function Call: WRITE
  • Prompt: !!,"Vendor:",$P(FBVI,";"),?41,"Vendor ID: ",$P(FBVI,";",2),?65,"Chain #: ",$P($G(^TMP($J,"FB",FBPI,FBVI)),U)
  • Line Location: SH+2
Function Call: WRITE
  • Prompt: !!,"Patient: ",$P(FBPT,";"),?41,"Pat. ID: ",$$SSNL4^FBAAUTL($$SSN^FBAAUTL($P(FBPT,";",2))),?62,"DOB: ",$P($G(^TMP($J,"FB",FBPI,FBVI,FBPT)),U)
  • Line Location: SH+3
Function Call: WRITE
  • Prompt: !
  • Line Location: CR+1
Routine Call
  • DIR
  • Line Location:
    • CR+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] EN+1, VET+1
^FB583 - [#162.7] SET+16
^FBAA(161.27 - [#161.27] SET+19
^FBAA(161.7 - [#161.7] SET+18
^FBAA(162.1 - [#162.1] EN+3, SORT+1, SET+2, SET+3, SET+4, SET+5, SET+6, SET+7, SET+8
^FBAAC("AN" FBAAC+1
^FBAAV - [#161.2] EN+2, VEN+1
^TMP($J FBAAC+1, SET+25*, SET+26*, SET+27*, SET+28*, SET+29, PRINT+3, PRINT+4, PRINT+6, PRINT+7
PRINT+18, SH+2, SH+3

Label References

Name Line Occurrences
CR PRINT+1, SH+1, PAGE+1
HDR PRINT+2, SH+1, PAGE+2
PAGE PRINT+5
SET SORT+1
SH PRINT+3, PRINT+4, PAGE+2
SORT EN+1, EN+3
VEN SET+17
VET EN+3, SET+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A1 KILL+1!, SET+20*, SET+25
A2 KILL+1!, SET+20*, SET+25, PRINT+17*!
>> DFN EN+1*, EN+3*, SET+23, VET+1
DIR CR+1!
DIR(0 CR+1*
>> DTOUT CR+1
>> DUOUT CR+1
>> FB1725 SET+16*
>> FB1725R SET+16, HDR+4
FBAC KILL+1!, SET+18*, SET+20
>> FBADJ PRINT+7*, PRINT+13, PRINT+14, PRINT+15, PRINT+16
FBADJLA KILL+2!, SET+11*, SET+26
FBADJLR KILL+2!, SET+10*, SET+26
FBAP KILL+1!, SET+18*, SET+20
FBBATCH KILL+1!, SET+18*, SET+25
>> FBBEG SORT+1
>> FBCAN SET+27
>> FBCANDT SET+27
>> FBCANR SET+27
>> FBCK SET+27
>> FBCKDT SET+27
>> FBCKIN PRINT+6*
>> FBCKINT SET+27
>> FBCRT PRINT+1, HDR+1, SH+1, PAGE+1
FBDA1 EN+2*, EN+3*, KILL+1!
>> FBDASH HDR+5, HDR+12
>> FBDASH1 PRINT+18
>> FBDATA PRINT+6*, PRINT+9, PRINT+10, PRINT+12, PRINT+14, PRINT+15, PRINT+17
>> FBDIS SET+27
FBDOB EN+1*, KILL+3!, SET+25, SET+28, VET+1*, HDR+6
FBDRUG KILL+1!, SET+18*, SET+25
>> FBDT PRINT+4*, PRINT+6, PRINT+7, PRINT+18
>> FBEND SORT+1
FBFD KILL+1!, SET+18*, SET+21*, SET+22
FBFD1 KILL+1!, SET+22*, SET+25
FBFPPSC KILL+2!, SET+7*, SET+26
FBFPPSL KILL+2!, SET+8*, SET+26
>> FBID EN+1, EN+2
>> FBIEN EN+1, EN+2
>> FBIN(5 SET+29*
FBINVN KILL+1!, SET+17*, SET+25
FBLOC KILL+1!
>> FBNAME EN+1, EN+2
>> FBOUT PRINT+1*, PRINT+3, PRINT+4, PRINT+5, PRINT+18, SH+1, CR+1*, PAGE+1
FBPAT KILL+1!, SET+23*, SET+25, SET+26, SET+27, SET+28, SET+29
FBPD KILL+1!, SET+18*, SET+21*, SET+25
>> FBPG PRINT+1, HDR+1, HDR+2*, HDR+5
>> FBPI FBAAC+1, SET+25, SET+26, SET+27, SET+28, SET+29, PRINT+3, PRINT+4, PRINT+6, PRINT+7
PRINT+18, HDR+7, SH+2, SH+3
FBPID EN+1*, KILL+3!, VET+1*, HDR+6
FBPNAME EN+1*, KILL+3!, SET+23, VET+1*, HDR+6
>> FBPROG( HDR+7
>> FBPT PRINT+3*, PRINT+4*, PRINT+6, PRINT+7, PRINT+18, SH+3
FBPV KILL+1!, SET+20*, SET+22*
FBQTY KILL+1!, SET+20*, SET+25
FBREIM KILL+1!, SET+20*, SET+22
FBRRMKL KILL+2!, SET+13*, SET+26
FBRX KILL+1!, SET+18*, SET+22*, SET+25
>> FBSORT EN+1, EN+2, FBAAC+1, KILL+3, SET+4, SET+17, SET+29, SET+30, PRINT+3, PRINT+4
HDR+3, HDR+6, SH+2, SH+3
FBSTR KILL+1!, SET+20*, SET+25
FBSUSP KILL+1!, SET+18*, SET+19*, SET+25
FBVCHAIN EN+2*, KILL+3!, SET+25, SET+28, VEN+1*, HDR+6
FBVEN KILL+1!, SET+23*, SET+25, SET+26, SET+27, SET+28, SET+29
FBVI EN+2*, EN+3, KILL+1!, SET+4, PRINT+3*, PRINT+4, PRINT+6, PRINT+7, PRINT+18, SH+2
SH+3
FBVID EN+2*, KILL+3!, SET+23, VEN+1*, HDR+6
FBVNAME EN+2*, KILL+3!, SET+23, VEN+1*, HDR+6
FBX SET+1~, SET+9*, SET+10, SET+11
I KILL+1!, SORT+1*, SET+25, SET+26, SET+27, SET+29
IOF HDR+1
IOM HDR+7
IOSL PRINT+5, SH+1
J EN+1*, EN+3*, KILL+1!, SORT+1
K KILL+1!, SORT+1*, SET+2, SET+3, SET+4, SET+5, SET+6, SET+7, SET+8, SET+9
SET+13, SET+24
L KILL+1!, SORT+1*, SET+2, SET+3, SET+6, SET+8, SET+9, SET+13, SET+24, SET+25
SET+26, SET+27, SET+29, PRINT+4*, PRINT+6, PRINT+7, PRINT+18
N KILL+1!, VET+1*
TAMT KILL+2!, SET+12*, SET+25
U EN+1, EN+2, SET+2, SET+7, SET+8, SET+10, SET+11, SET+16, SET+17, SET+18
SET+19, SET+20, SET+22, SET+25, SET+26, SET+29, VET+1, VEN+1, PRINT+9, PRINT+10
PRINT+12, PRINT+13, PRINT+14, PRINT+15, PRINT+16, SH+2, SH+3
V KILL+1!, VEN+1*
Y KILL+1!
Y(0 SET+2*, SET+12, SET+18, SET+20
Y(1 SET+6*, SET+16, SET+22, SET+29
Y(2 SET+5*, SET+17, VEN+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All