Hi Team,
Please provide me some guidance on how to fetch the balance amount from the treatment plan module of Open Dental software.
Fetching the balance amount from the treatment plan
-
- Posts: 122
- Joined: Wed Mar 15, 2023 8:43 am
Re: Fetching the balance amount from the treatment plan
Good morning beacondental,
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.beacondental wrote: ↑Thu Oct 03, 2024 10:26 pmPlease provide me some guidance on how to fetch the balance amount from the treatment plan module of Open Dental software.
justine wrote: ↑Sat Aug 24, 2024 1:51 pmgraham_mueller wrote: ↑Sat Aug 24, 2024 10:11 amOk, 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.