Page 1 of 1

Insurance adjustment

Posted: Mon Apr 26, 2010 11:41 am
by keyush
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

Re: Insurance adjustment

Posted: Mon Apr 26, 2010 11:48 am
by keyush
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

Re: Insurance adjustment

Posted: Mon Apr 26, 2010 4:13 pm
by jordansparks
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.