API AccountModules
Version Added: 22.3.6
Gets the Aging information for a patient and their family, similarly to how it shows in the Account Module Aging grid.
PatNum: Required in the URL.
Returned fields are detailed below:
Bal_0_30: Aged balance from 0 to 30 days old for the entire family.Example Request:
GET /accountmodules/1337/Aging
Example Response:
{
"Bal_0_30": 276.28,
"Bal_31_60": 49.0,
"Bal_61_90": 64.0,
"BalOver90": 278.03,
"Total": 667.31,
"InsEst": 100.0,
"EstBal": 567.31,
"PatEstBal": 24.0,
"Unearned": 2.46
}
200 OK
400 BadRequest (Patient is deleted, etc)
404 NotFound (Patient not found)
Version Added: 22.1
Gets the patient portion for a patient's family, similarly to how it shows in the Account Module's Select Patient grid.
PatNum: Required in the URL.
Returned fields are detailed below:
PatNum: The patient's PatNum / family guarantor's PatNum.Example Request:
GET /accountmodules/16/PatientBalances
Example Response:
[
{
"PatNum": 15,
"Name": "Smith, John",
"Balance": 140.2
},
{
"PatNum": 16,
"Name": "Smith, Jane",
"Balance": 180.55
},
{
"PatNum": 17,
"Name": "Smith, Junior",
"Balance": 68
},
{
"PatNum": 18,
"Name": "Smith, Sis",
"Balance": 0
},
{
"PatNum": 15,
"Name": "Entire Family",
"Balance": 388.75
}
]
Version Added: 22.3.32
Gets a list of all charges and credits to the account for a patient and their family, similarly to how it shows in the Service Date View.
PatNum: Required in the URL.
isFamily: Optional. Either "true" or "false". Return data for the entire patient's family. Default "false".
Returned fields are detailed below:
ObjectType: The type of object being returned. Either ProcedureLog, Adjustment, PaySplit, ClaimProc, PayPlanCharge, or PayPlan. Otherwise blank.Example Request:
GET /accountmodules/65/ServiceDateView?isFamily=true
Example Response:
[
{
"ObjectType": "Procedure",
"PrimaryKey": "43",
"Type": "Proc",
"ServiceDate": "2021-07-13",
"TransDate": "",
"Patient": "Jaime",
"PatNum": "65",
"Reference": "D2393:#14-MOD-C3(P)",
"Charge": "235.00",
"Credit": "0.00",
"Provider": "DOC2",
"InsBal": "0.00",
"AcctBal": "216.20"
},
{
"ObjectType": "Adjustment",
"PrimaryKey": "10",
"Type": "Adj-Att.",
"ServiceDate": "",
"TransDate": "2021-07-13",
"Patient": "Jaime",
"PatNum": "65",
"Reference": "Adj- Discount",
"Charge": "0.00",
"Credit": "18.80",
"Provider": "DOC2",
"InsBal": "",
"AcctBal": ""
},
{
"ObjectType": "",
"PrimaryKey": "",
"Type": "Day Total",
"ServiceDate": "2021-07-13",
"TransDate": "",
"Patient": "",
"PatNum": "",
"Reference": "Total for Date",
"Charge": "235.00",
"Credit": "18.80",
"Provider": "",
"InsBal": "0.00",
"AcctBal": "216.20"
},
etc...
]
200 OK
400 BadRequest (Patient is deleted, etc)
404 NotFound (Patient not found)