AS2805_B Helper Method
AS2805_BClaimRequest(input)
Along the methods that are described in the 'AS2805 Message Holder base' section as a subclass of AS2805MessageHolder, the following properties and methods are provided on an instance of this class.
Name | Type | Description |
---|---|---|
origin |
String |
read-only property that identifies the origin of the request. (holds the value of: ohi.as2805_b.claim.origin) |
claimLineRecords |
{ ClaimLineRecord } |
read-only property that returns a collection of ClaimLineRecord(s) contained by the request. |
ClaimLineRecord
The structure of a ClaimLineRecord consists of the following read-only properties.
Name | Type | Description |
---|---|---|
sequence |
int |
read-only property returning the sequence of the line in the collection (starts at 1). |
patientID |
String |
read-only property returning the patient ID specified on the line. |
procedureCode |
String |
read-only property returning the procedure that is specified on the line. |
bodyPart |
String |
read-only property returning the body part that is specified on the line. |
serviceDate |
String |
read-only property returning the service date of the line. |
amountCharged |
String |
read-only property returning the amount charged specified on the line. (1) |
(1) Note that the amount value is returned stripped from any leading zeros.
AS2805_BClaimResponse
An instance of this class is obtained through a factory method on AS2805_BClaimRequest called createResponse(). A call results in:
A reference of the original AS2805_BClaimRequest is stored in the AS2805_BClaimResponse.
Subsequently, the contents of the response is constructed with
-
message indicator set to 0210
-
processing code copied from the input message
-
transmission date time set to the current date and time
-
system audit trace number copied from the input message
-
time local transaction copied from the input message
-
date local transaction copied from the input message
-
date settlement copied from the input message
-
acquiring institution ID code copied from the input message
-
retrieval reference number copied from the input message
-
card acceptor terminal ID copied from the input message
-
card acceptor ID code copied from the input message
Along the methods that are described in the 'AS2805 Message Holder base' section as a subclass of AS2805MessageHolder, the following additional properties and methods are provided on an instance of this class. The AS2805_BClaimResponse message will have the below fields initialized as null (not set).
Name | Type | Description |
---|---|---|
responseCode |
String |
property to get and set the response code for the response. |
totalAmountCovered |
String |
property to get and set the total amount covered for the response. |
additionalText |
String |
property to get and set additional text for the response. |
memberNumber |
String |
property to get and set the member number on the response. |
addLine |
String |
a method that adds a line to the payload used for Field 61 (Reserved Private). This method automatically adds a carriage return ('0D'). |
withAuthorizationRecord(int sequence) |
AS2805_BAuthorizationRecord |
constructs and stores a new instance of AS2805_BAuthorizationRecord in the response. The AS2805_BAuthorizationRecord instance that is returned, has a number of the fields from the input (line) copied. |
as2805RawValue |
String |
a method that constructs the AS2805 representation. |
AS2805_BAuthorizationRecord
The structure of an A2805_BAuthorizationRecord consists of the following properties.
Name | Type | Description |
---|---|---|
sequence |
int |
property that refers to a specific input line from the request. |
patientID |
String |
property for getting and setting the patient ID on the response record. Initially copied from the input line. |
procedureCode |
String |
property for getting and setting the procedure on the response record. Initially copied from the input line. |
bodyPart |
String |
property for getting and setting the body part on the response record. Initially copied from the input line. |
serviceDate |
String |
property for getting and setting the service date on the response record. Initially copied from the input line. |
amountCovered |
String |
property for getting and setting the amount covered on the response record. |
itemResponseCode |
String |
property for getting and setting the item response code on the response record. |