Fetching the balance amount from the treatment plan

For requests or help with our API
Post Reply
beacondental
Posts: 122
Joined: Wed Mar 15, 2023 8:43 am

Fetching the balance amount from the treatment plan

Post by beacondental » Thu Oct 03, 2024 10:26 pm

Hi Team,

Please provide me some guidance on how to fetch the balance amount from the treatment plan module of Open Dental software.

DerekR
Posts: 103
Joined: Wed Aug 31, 2022 1:13 pm

Re: Fetching the balance amount from the treatment plan

Post by DerekR » Fri Oct 04, 2024 8:06 am

Good morning beacondental,
beacondental wrote:
Thu Oct 03, 2024 10:26 pm
Please provide me some guidance on how to fetch the balance amount from the treatment plan module of Open Dental software.
To obtain the data shown in the treatment plan module, I would recommend following the steps we have listed in this previous forum post: Billing Estimate Endpoints.
justine wrote:
Sat Aug 24, 2024 1:51 pm
graham_mueller wrote:
Sat Aug 24, 2024 10:11 am
Ok, spend a bit more time this morning. From the API docs, it appears ProcTP is only for *saved* / inactive plans, which is why I can't see them for the patient I'm looking at. Is there a way for *active* plans to see the cost information from my screenshot? I've not been able to find an endpoint that provides this data, or a table.

Good morning graham_muller,

The data you are looking for is derived from several tables and can vary depending on how an office has Open Dental configured.

For Active and Inactive Treatment Plans, you can do what Open Dental does to calculate the row(s) you need:

Code: Select all

 Procedure.ProcFee
 - Claimproc.InsEstTotalOverride or Claimproc.BaseEst for Primary Insurance
 - Claimproc.InsEstTotalOverride or Claimproc.BaseEst for Secondary Insurance
 - Claimproc.WriteOffEstOverride or Claimproc.WriteOffEst
 - Procedure.Discount 
 + Procedure.TaxAmt
=
Patient Portion

Like you mentioned, for Saved Treatment Plans, the grid rows are directly from the ProcTP table. You can use ProcTPs GET to obtain them and calculate the patient portion similar to above.

Post Reply