Edit Claim Form (Secondary claim)

This forum is for programmers who have questions about the source code.
Post Reply
jhkings
Posts: 4
Joined: Mon Nov 24, 2008 6:06 pm

Edit Claim Form (Secondary claim)

Post by jhkings » Mon Sep 06, 2010 1:10 pm

I have a situation where the secondary claim form is showing the dropped insurance plan. This patient use to have Delta Dental of California. He switched to Blue Cross Dental as his primary. He's using his wife as a secondary, which is Delta Dental of California.
When the form is displayed for the secondary claim, the Insurance Plan is listed as Delta Dental of California (patient name). It should be Delta Dental of California (spouse's name). It seems his old insurance is used as the secondary. As I mentioned before, it was dropped and shouldn't be used.

Looking at the code, the query used is this
(SELECT *
from insplan
WHERE Subscriber=286 OR Subscriber=173)
UNION
(SELECT insplan.*
FROM insplan,patplan
WHERE insplan.PlanNum=patplan.PlanNum
AND ( patplan.PatNum=286 OR patplan.PatNum=173))
ORDER BY 3

this query will return all the insurance plan for this patient, including the dropped one.

Any idea how to fix this?

Thank you so much!

User avatar
jordansparks
Site Admin
Posts: 5770
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Edit Claim Form (Secondary claim)

Post by jordansparks » Tue Sep 07, 2010 6:10 pm

They can just manually pick the plan they want from that list. They do have to concentrate a little bit in that window.
Jordan Sparks, DMD
http://www.opendental.com

jhkings
Posts: 4
Joined: Mon Nov 24, 2008 6:06 pm

Re: Edit Claim Form (Secondary claim)

Post by jhkings » Tue Sep 07, 2010 10:15 pm

They cannot pick the plan as the field is read only.

User avatar
jordansparks
Site Admin
Posts: 5770
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Edit Claim Form (Secondary claim)

Post by jordansparks » Thu Sep 09, 2010 7:01 pm

No, when first creating the claim. If the current claim is wrong, delete it and create another. Pick from the list when creating.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply