Print Page as PDF
DBIA125-A ICR (125)

DBIA125-A    ICR (125)

Name Value
NUMBER 125
IA # 125
DATE CREATED 1991/11/06
CUSTODIAL PACKAGE INTEGRATED BILLING
CUSTODIAL ISC Albany
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE IBARX
NAME DBIA125-A
ORIGINAL NUMBER 125
GENERAL DESCRIPTION
This private agreement between PSO and IB will allow
for PSO to notify IB when an Outpatient Medication Co-payment bill needs to be
created, updated, or cancelled.  It will also allow PSO to cancel or update a
potential charge. There are also entry points for PSO to verify that a patient
is subject to Pharmacy Co-payment and allow PSO to check the status of a
Co-payment charge.
STATUS Active
DURATION Till Otherwise Agreed
ID IBARX
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
XTYPE
Supported for Outpatient Pharmacy for determining
eligibility for Co-payment and correct IB ACTION TYPE.
VARIABLES TYPE VARIABLES DESCRIPTION
X Input

$P1: Service.  Pointer to Service/Section file (49) for Pharmacy service

$P2: Patient.  Pointer to Patient file (2)  (DFN)
Y Output

$P1: Success.  Returns 1 if successful or -1 if unsuccessful determination

$P2: If unsuccessful error code
Y(action type,n) Output

sub: First subscript.  New Action Types for Service, pointer to IB ACTION
TYPE file (350.1).
sub: Second subscript.  Value n (n = 0, 1, or 2) where 0 indicates this
action type not billable, 1 indicates it is billable, 2 indicates that
additional information is needed

$P1: Action Type.  Pointer to the IB ACTION TYPE file (350.1)

$P2: Unit Cost.  The dollar charge for one unit

$P3: Service.  Pointer to Service/Section file (49) for service that can use
this action type
NEW
Supported for Outpatient Pharmacy to process charges
for new, renew, or refilled prescriptions
VARIABLES TYPE VARIABLES DESCRIPTION
X Input

$P1: Service.  Pointer to Service Section file (49)

$P2: Patient.  Pointer to the Patient File (2)  (DFN)

$P3: Action Type.  Pointer to the IB Action Type file (350.1)

$P4: User.  Pointer to New Person file (200)  (DUZ)
X(n) Input

sub: First subscript.  Any value, same value is returned in Y(n)

$P1: Softlink.  Link to prescription file for entry causing charges in the
format of: file number:entry pointer;[node:sub-entry;node:sub-entry...]

$P2: Units.  The number of units to be charged
Y Output

$P1: Success flag.  Returns 1 if successful, -1 if unsuccessful

$P2: Grand Total.  Sum of total charges if successful, error code if
unsuccessful
Y(n) Output

sub: First subscript.  Any value, same value as passed in X(n)

$P1: IB Action Entry.  Pointer to Integrated Billing file 350

$P2: Total Charges.  Charges for this entry

$P3: AR Charge ID.  Accounts receivable Charge ID (Bill Number), name field
from Accounts Receivable file (430)

$P4: Cap met flag (1=yes,0=no)

$P5: Full or Partial bill ("F", "P" or "")

$P6: Exempt (1=exempt,0=non-exempt,-1=copay off)

$P7: IEN from file 354.71
CANCEL
Supported for Outpatient Pharmacy to remove charges
for one new, renewed, or refilled prescription.
VARIABLES TYPE VARIABLES DESCRIPTION
X Input

$P1: Service.  Pointer to the Service/Section file for Pharmacy service

$P2: Patient.  Pointer to the Patient File (2)  (DFN)

$P3: Null

$P4: User.  Pointer to the New Person file (200) (DUZ)
X(n) Input

sub: First subscript.  Any value, same value as returned in Y(n)

$P1: Integrated Billing Action.  Action to be canceled, pointer to the
Integrated Billing Action file (350)

$P2: Charge Removal Reason.  Reason for the cancellation pointer to the IB
Charge Removal Reasons file (350.3)
Y Output

$P1: Success flag.  Returns 1 if successful, -1 if unsuccessful

$P2: Error Code.  Error code from IB Error file (350.8) if unsuccessful,
Null if successful
Y(n) Output

$P1: Integrated Billing Action.  IB Action that is the result of the
cancellation, pointer to Integrated Billing Action file (350) if successful or
-1^error code if unsuccessful

$P2: Error Code.  Error code from IB Error file (350.8) if unsuccessful,
Null if successful
UPDATE
To update charges when the days supply has been
edited to change the number of units to be charged.  (Note: for audit purposes
this call actually cancels the most recent charges and processes new charges
for the current amount)
VARIABLES TYPE VARIABLES DESCRIPTION
X Input

$P1: Service.  Pointer to the Service/Section file for Pharmacy service

$P2: Patient.  Pointer to the Patient File (2)  (DFN)

$P3: Action Type.  Pointer to the IB Action Type file (350.1)

$P4: User.  Pointer to the New Person file (200) (DUZ)
X(n) Input

sub: First subscript.  Any value, same value is returned in Y(n)

$P1: Softlink.  Link to prescription file for entry causing charges in the
format of: file number:entry pointer;[node:sub-entry;node:sub-entry...]

$P2: Units.  The number of units to be charged

$P3: Integrated Billing Action.  Action to be canceled, pointer to the
Integrated Billing Action file (350)

$P4: Charge Removal Reason.  Reason for the cancellation pointer to file
350.3
Y Output

$P1: Success flag. Returns 1 if successful, -1 if unsuccessful

$P2: Error Code.  Error code from IB Error file (350.8) if unsuccessful,
Null if successful
Y(n) Output

$P1: Integrated Billing Action.  IB Action that is the result of the
cancellation, pointer to Integrated Billing Action file (350) if successful or
returns -1 if unsuccessful

$P2: Total charge this entry

$P3: AR bill number

$P4: Cap met flag (1=yes,0=no)

$P5: Full or Partial bill ("F", "P" or "")

$P6: Exempt (1=exempt,0=non-exempt,-1=copay off)

$P7: IEN from file 354.71
STATUS
This entry point will return the status of an entry
in file 350.  Call with $$STATUS^IBARX(ien from 350).

Output will be:
0 = not a valid 350 ien
1 = Billed
2 = Cancelled
3 = Updated
CANIBAM
This entry point will allow to cancel a potential
charge that has not been charged.
VARIABLES TYPE VARIABLES DESCRIPTION
X(n) Input

sub: First subscript.  Any value, same value as returned in Y(n)

$P1: IEN from file 354.71

$P2: Charge Removal Reason.  Reason for the cancellation pointer to the IB
Charge Removal Reasons file (350.3)
Y(n) Output

$P1: 0 or any positive number for OK or -1 for not accepted

$P2: If not accepted, error message
UPIBAM
This entry point will cancel current potential charge
and create updated potential charge entry.
VARIABLES TYPE VARIABLES DESCRIPTION
X Input

$P1: Service.  Pointer to Service Section file (49)

$P2: Patient.  Pointer to the Patient File (2)  (DFN)

$P3: Action Type.  Pointer to the IB Action Type file (350.1)

$P4: User.  Pointer to New Person file (200)  (DUZ)
X(n) Input

sub: First subscript.  Any value, same value is returned in Y(n)

$P1: Softlink.  Link to prescription file for entry causing charges in the
format of: file number:entry pointer;[node:sub-entry;node:sub-entry...]

$P2: Units.  The number of units to be charged

$P3: IEN from file 354.71 to be updated

$P4: Charge Removal Reason.  Reason for the cancellation pointer to the IB
Charge Removal Reasons file (350.3)
Y Input

$P1: 1 if success, -1 if error

$P2: If error, error message
Y(n) Output

$P1: New IEN from file 354.71 if success, -1 if error

$P2: If error, error message
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
OUTPATIENT PHARMACY Birmingham