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

Package: Fee Basis

Routine: FBNHEP2


Information

FBNHEP2 ;AISC/GRR - ENTER NURSING HOME PAYMENT ;7/1/2009

Source Information

Source file <FBNHEP2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Fee Basis 3 GETAUTHK^FBAAUTL1  $$NAME^FBCHREQ2  (CKFRDT,GETRAT)^FBNHRAT  
VA FileMan 1 ^DIC  

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

Package Total Caller Graph
Fee Basis 2 FBNHEP  FBNHPC1  

Entry Points

Name Comments DBIA/ICR reference
NOBAT
GETBAT ;
Q
CKRAT ;check rates and fill gaps if needed
GETRAT
CALC ;get dollar amount to pay when no movements in month.
RATE
ERR
CALC1
DEFP
DAYS
CHECK
B9INVC(FBBAT) ; B9 Batch Invoice Count
; Input
; FBBAT = IEN of B9 type batch in file 161.7
; Returns count of invoices in batch

External References

Name Field # of Occurrence
^DIC GETBAT+3
GETAUTHK^FBAAUTL1 Q+2
$$NAME^FBCHREQ2 ERR
CKFRDT^FBNHRAT CKRAT+5
GETRAT^FBNHRAT CKRAT+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,*7,"You do not have an open CNH Batch. You must have an open",!,"CNH type Batch before you can enter a payment!",!
  • Line Location: NOBAT+0
Function Call: WRITE
  • Prompt: !
  • Line Location: GETBAT+3
Function Call: WRITE
  • Prompt: !!,"This Batch already has the maximum number of Payments!"
  • Line Location: GETBAT+7
Function Call: WRITE
  • Prompt: !,"Insufficient Authorization Rate data on file for patient: ",$$NAME^FBCHREQ2(DFN)
  • Line Location: ERR+0
Function Call: WRITE
  • Prompt: !,"Take the appropriate action prior to entering a payment:"
  • Line Location: ERR+1
Function Call: WRITE
  • Prompt: !?3,"Use the Edit Authorization option to modify the authorization period or",!?3,"assure a contract with valid rates exists for the payment period before",!?8,"continuing with this payment entry.",!!
  • Line Location: ERR+2
Routine Call
  • DIC
  • Line Location:
    • GETBAT+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^FBAA(161.7 - [#161.7] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^FBAA(161.23 - [#161.23] CKRAT+2, GETRAT+1
^FBAA(161.4 - [#161.4] GETBAT+1
^FBAAI - [#162.5] B9INVC+8
^FBAAI("AC" B9INVC+8

Label References

Name Line Occurrences
$$B9INVC GETBAT+6
DEFP CALC1+4, CALC1+5
ERR CKRAT+6, GETRAT+3, CHECK+1
GETBAT GETBAT+5, GETBAT+6
GETRAT CKRAT+7
Q NOBAT+1
RATE RATE+2

Naked Globals

Name Field # of Occurrence
^(0 CKRAT+2, GETRAT+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT Q!
CNT Q!
DA Q!
DAT Q+1!
>> DFN CKRAT+4, ERR
DIC GETBAT+3*!, Q!
DIC("S" GETBAT+3*
DIC(0 GETBAT+3*
DIE Q!
DR Q!
F Q+1!
FB CKRAT+1!, CKRAT+6!
FB( GETRAT+2*, GETRAT+3, CALC+8, RATE, RATE+1, CALC1+3, DEFP, CHECK+1
FB7078 Q+1!, CKRAT+2, GETRAT+1
FBAABDT Q!, CKRAT+4, CALC+7, DEFP, DAYS+4
FBAAEDT Q!, DEFP, DAYS+4
FBAAID Q!
FBAAIN Q!
>> FBAAMPI GETBAT+1*, GETBAT+2*, GETBAT+6
FBAAOUT Q+1!
FBAAPTC Q!
>> FBABD CHECK+1
FBASSOC Q+1!
FBAUT Q+1!
FBBAT GETBAT+8*, Q!, B9INVC~, B9INVC+6, B9INVC+8
>> FBBEG DAYS+1*, DAYS+3*, DAYS+4, DAYS+5*, DAYS+7, DAYS+8
FBCHFDT CKRAT+1~, CKRAT+4*
FBCHTDT CKRAT+1~, CKRAT+4*
FBCIEN CKRAT+1~
FBCK GETRAT~, CHECK~, CHECK+1*
FBCK1 CHECK~, CHECK+1*
FBCNH GETBAT+8*, Q+1!
FBCNT B9INVC+4~, B9INVC+5*, B9INVC+8*, B9INVC+9
FBCNUM CKRAT+1~
FBCT CALC+5~*, RATE*, RATE+1
FBDA B9INVC+4~, B9INVC+7*, B9INVC+8*
FBDAYS Q!, CALC+6
FBDDT CKRAT+1~, CKRAT+4*
FBDEFP Q!, CALC+5*, CALC+8*, RATE+1*, CALC1*, DEFP*
FBDX Q+1!
FBEDT Q+1!
>> FBEND DAYS+4*
FBENDDT Q!, CKRAT+4, CALC+8, RATE+1, RATE+2, DAYS+7, DAYS+8
>> FBENDFLG RATE+1
FBER Q!
FBERR Q!, CKRAT+1*, CKRAT+6*, GETRAT+3*, RATE*, CHECK+1*
FBEXDT CKRAT+1~
FBEXNDT CKRAT+1~
FBFND CKRAT+1~
FBHI DAYS!, DAYS+4, DAYS+5, DAYS+6*, DAYS+7, DAYS+8
FBHZ Q!
FBI Q+1!
FBI7078 Q!
FBINA Q!
FBIRAT Q!
FBLOC Q+1!
FBMM Q!
FBMULT Q+1!
FBNL Q!
FBOUT GETBAT+3*, GETBAT+4*, Q!
FBPAYDT Q!, CKRAT+4, GETRAT+3, CALC+7, DAYS+1, DAYS+3, CHECK+1
FBPIFN Q!
FBPOV Q+1!
FBPREV Q!, DAYS!, DAYS+3*
FBPROG Q!
FBPRTR Q!
FBPSA Q+1!
FBPT Q+1!
FBRFDT CKRAT+1~, CKRAT+4*
FBRIFN Q!
FBRR Q+1!
FBRT CKRAT+1~
FBRT( CKRAT+3*
FBRTDT CKRAT+1~
FBSRAT Q!
FBTDT Q+1!
FBTRDYS Q!, CALC+6*, CALC+8, DAYS*, DAYS+4*, DAYS+7*, DAYS+8*
FBTT Q+1!
FBTYPE Q!
FBUNR CKRAT+1~, CKRAT+6
FBVCAR Q!
FBVEN Q+1!
FBVIEN CKRAT+1~, CKRAT+4*
>> FBX1 RATE+1*
FBXX Q+1!
FBYY Q!
>> FBZ( DAYS+2, DAYS+3, DAYS+4, DAYS+5, DAYS+7, DAYS+8
>> FBZZ( CALC1+1, CALC1+3, CALC1+4*, CALC1+5!, DEFP, DAYS+4*, DAYS+7*, DAYS+8*
>> FBZZ(0 CALC1+2
FTP Q+1!
I Q!, CKRAT+1~*, CKRAT+2*, CKRAT+4*, GETRAT~*, GETRAT+1*, CALC1*, CALC1+2*, CALC1+3, CALC1+4
, CALC1+5, CALC1+6!, DEFP, DAYS*, DAYS+2*, DAYS+3, DAYS+4, DAYS+5, DAYS+6
IFN Q!, CKRAT+4
J CKRAT+1~, CKRAT+2*, CKRAT+3, GETRAT~, GETRAT+1*, GETRAT+2, CALC1*, CALC1+1*, CALC1+6!
PI Q+1!
PTYPE Q+1!
T Q+1!
TA Q+1!
U CKRAT+3, GETRAT+2, RATE+1, DAYS+3, DAYS+4, DAYS+5, DAYS+7, DAYS+8
VAL Q!
X GETBAT+4, Q!, CALC+7*, CALC+8, RATE, RATE+1*, RATE+2, CALC1+3*, CALC1+6!, DEFP
X1 RATE*, RATE+1, CALC1+3*, CALC1+6!, DEFP
Y GETBAT+5, GETBAT+6, GETBAT+8, Q!, CALC+8*, CALC1+3*, CALC1+4, CALC1+5*, CALC1+6!, DEFP
Z Q!, CALC1*, CALC1+4*, DEFP
ZZ Q+1!
Info |  Source |  Call Graph |  Caller 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