$$REC(IBSTR,IBTYP,IBDISP) |
This function is needed to get the receivable for an
authorization number or RX number or an ECME number.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
IBSTR |
Input |
This variable is either the RX number or FI
authorization number or the ECME number.
|
$$REC |
Output |
The function value will return either IFN in the
ACCOUNTS RECEIVABLE (#430) OR -1 if no corresponding bill is found.
|
IBTYP |
Output |
Output variable to be passed by reference. This
variable will determine how the passed in number in IBSTR was identified by
the system. A value of 1 indicates a TRICARE Auth#, 2 indicates an ECME
number, 3 indicates an Rx number, while 0 indicates unknown.
|
IBDISP |
Output |
Output variable to be passed by reference. This
variable will contain the external display version of the passed in number
IBSTR. For example to contain the leading zeros on an ECME#. If the passed
in value in variable IBSTR was 54321 to perform a claim look-up by the ECME#,
then output variable IBDISP will either be 0054321 or 000000054321 depending
on if the ECME# is 7 digits or 12 digits in length.
|
|
$$AUD(INPUT) |
This call is needed to determine if a particular
receivable needs to be audited or not.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
INPUT |
Input |
This variable is the IFN from the ACCOUNTS RECEIVABLE
file (#430).
|
$$AUD |
Output |
This variable will return either a 1 for needs to be
audited or a 0 if the receivable does not need to be audited.
|
|
$$TYP(INPUT) |
This call will return the type of charge that is
being billed.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
INPUT |
Input |
This variable is the IFN from the Accounts Receivable
(#430).
|
$$TYP |
Output |
This variable will be either one of the following:
I - Inpatient bill O - Outpatient bill PH- Pharmacy bill PR- Prosthetics bill
-1 if no bill type can be determined
|
|