Comcare attributes and sample transaction
Creating a transaction
Use function:
To process a Comcare insurance claim, the following fields apply. Any required field not passed to the SDK will be prompted at the TyroHealth submission page.
Field | Type | Required | Description | Example |
---|---|---|---|---|
funder |
String | Yes | Set to comcare for comcare claims | comcare |
providerNumber |
String | Yes | Medicare provider number for individual providers Or Tyro Health generated provider number for location level claiming |
General Practice: 2429591L Pharmacy:T243536Y |
invoiceReference |
string | Yes | Provider nominated unique transaction reference number, such as an invoice number from the practice management or accounting system. | |
Patient | Object | |||
patient.firstName |
String | Yes | Patient/employee's first name | Emily |
patient.lastName |
String | Yes | Patient/employee's last name as registered with comcare. | Harris |
patient.dob |
String | Yes | Patient/employee's Date of Birth in 'YYYY-MM-DD' format. | 1988-03-29 |
patient.accountNumber |
String | Yes | Patient claim number /case number.The claim number is presented first followed by a forward slash and case number. If the case number is not known, use /01. | 987654/01 |
OR | ||||
patient.refId |
String | An optional but recommended patient unique reference as set by you, such as a UUID. This value is used to uniquely identify a patient in Tyro Health Online . Omitting refId will cause duplicate patient records to be created and could make patient searches more difficult for providers who also use the Tyro Health Online portal to check on status of a claim and remittance.If supplied and valid, this value will pre-populate patient details from the patient record in the business as set in any prior claim. Any patient details sent for an existing patient record will update those values. | 5AD5E2AF-69D2-43D3-9321-428495205E5E | |
claimableItems | Array{Object} | Array of fund claimable items. | ||
claimableItems[].itemCode |
String | Yes | Comcare supported pay code which includes MBS/PBS/Comcare/Private derived item codes.Item code must be valid for Comcare, the provider registered profession and service date.Up to 8 characters | 10102Q |
claimableItems[].serviceDate |
String | Yes | Date of the service in 'YYYY-MM-DD' format. | 2022-01-12 |
claimableItems[].item.price |
String | Yes | Item per unit pricing. This value will be deemed tax-inclusive if the isTaxable field is set to 'true'. If isExtendedPrice is set to 'true' this will be the aggregate amount for all quantity set. For example if the price without tax for an item per unit is $9.00, this field would have $9.00 and isTaxable = false if tax is not to be charged. If tax is to be charged, this field would show $9.90 and isTaxable = true.price each unit in $XX.XX format. | $15.95 |
claimableItems[].isTaxable |
Boolean | Default is false. When true, GST of 10% will be applied to the gross item amount. | True | |
claimableItems[].quantity |
Number | Quantity of the item or service relevant to the item's unit of Measure:Item based (consultations etc, quantity value must be 1 )Hours (Time based services)Kilometres (Travel per KMs)Quantity Dispensed(Medications)Can include up to 2 decimal places eg 1.75 (used of medications)) | 1 1.5302 2.5packets |
|
claimableItems[].customDescription |
String | If the item code being used has the ability to accept a custom description, you can enter it here. This is typically used on generic item codes that need further elaboratioUp to 128 characters. | ||
funderData | Object | |||
funderData.comcare | Object | |||
funderData.comcare.serviceNote |
string | Invoice level notes for the transaction. Usually used to explain why, for example, two consults were done on the same day. Think of this as a note you would add to an invoice to help get the invoice paid.Up to 512 characters. | Current medications:Hydrochlorothiazide |
Sample transaction
medipassTransactionSDK.renderCreateTransaction({
funder: string,
providerNumber: string,
invoiceReference: string,
patient: {
firstName: string,
lastName: string,
dob: string,
claimNumber: string,
},
funderData: {
comcare: {
serviceNotes: string
},
},
claimableItems: [
{
itemCode: string,
serviceDate: string,
price:string,
description: string
}
],
webhooks: [
{
url: string,
event: 'healthInvoiceCancelled' | 'healthFundApprovedInvoice' | 'healthFundRejectedInvoice',
method: 'POST',
headers: { [key: string] : 'your string' }
}],
}, {
onSuccess: function (transaction) { /* ... */ },
onError: function (error) { /* ... */ },
onCancel: function () { /* ... */ }
})