I just upgraded to version 6.8.50.0. Noticed that when we enter the adjustment to insurance benefit (both Ins used and Ded used), only the deductible part is showing correctly in the Treatment plan screen. The remaining benefits does not account for the adjustment. Looking at the code in InsPlans.cs, the function GetInsUsedDisplay is supposed to calculate that for general category, but it skipped the general because the line
if(!CovSpans.IsCodeInSpans(histList.StrProcCode,covSpanArray)) {//for example, ortho
continue;
}
returned false. The StrProcCode associated with the insurance adjustment is NULL, hence it does not find it in the span from D0000 to D9999. That is the reason it skips that. The comments mention that the code is written this way to skip ortho benefit, but somehow it skips the general too. Has anybode else noticed this bug??
Thank you,
Keyush
Insurance adjustment
Re: Insurance adjustment
Forgot to mention that I upgraded from 5.5.18.0 - big jump, so not sure if other versions before 6.8 such as 6.6 or 6.7 may have this bug too..
Keyush
Keyush
- jordansparks
- Site Admin
- Posts: 5744
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Insurance adjustment
That looks like bug #1045, which was fixed for 6.9 and 7.0 almost two months ago. The fix seem to have not been backported to 6.8. I'll put it on the bug list for 6.8.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com