Print Page as PDF
API FOR RX BILLING INFO ICR (4729)

API FOR RX BILLING INFO    ICR (4729)

Name Value
NUMBER 4729
IA # 4729
DATE CREATED 2005/07/11
CUSTODIAL PACKAGE INTEGRATED BILLING
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE IBNCPDPI
NAME API FOR RX BILLING INFO
GENERAL DESCRIPTION
The API returns billing information for specified
prescription/refill.
STATUS Active
KEYWORDS
  • ECME
  • BPS
DURATION Till Otherwise Agreed
ID IBNCPDPI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$BILLINFO(IBRX,IBREF,IBPSEQ)
Return Bill# and Account Receivable information about
the bill. If IBPSEQ=1, then return the bill# from the Claims Tracking file. If
IBPSEQ=2, then return the active bill, if there is no active bill then return
the latest bill with any status. If IBPSEQ is passed in as null, then 1 is
assumed.
VARIABLES TYPE VARIABLES DESCRIPTION
IBRX Input
Prescription's IEN in file #52
IBREF Input
Re-fill number.
$$BILLINFO Output
Returns a string of information about the bill
requested:
piece #1:  Bill number
piece #2:  Original Amount of bill
piece #3:  Current Status
piece #4:  Current Balance
piece #5:  Total Collected
piece #6:  % Collected Returns null if no data or bill found.
piece #7:  PFSS switch status: 0-OFF, 1-ON

The PFSS sites do not provide this information and thus the API will return
"^^^^^^1".
IBPSEQ Input
Payer sequence (optional parameter).  1-primary,
2-secondary. If null then 1 (primary) is assumed.
$$RNB(IBRX,IBFL)
Returns the Claims Tracking Reason Not Billable
information for a given prescription and fill. If the Claims Tracking entry is
billable or if the Claims Tracking entry doesn't exist for the
prescription/fill, then this function returns 0.
VARIABLES TYPE VARIABLES DESCRIPTION
IBRX Input
Prescription ien (file# 52)
IBFL Input
Prescription fill/refill number. 0 for original fill.

$$RNB Output
The function value is 0 if no Claims Tracking entry
is found or if the CT entry is billable. If the CT entry is non-billable, then
the following pieced string will be returned about the Reason Not Billable
(RNB). [1]- RNB ien (pointer to file# 356.8). [2]-RNB description [3]-RNB ECME
flag [4]-RNB ECME paper flag [5]-RNB code [6]-RNB active/inactive flag. These
pieces are taken from the data fields in file# 356.8.
SUBSCRIBING PACKAGE
DATE ACTIVATED 2010/08/25