ProcFee source/update

This forum is for programmers who have questions about the source code.
Post Reply
fdscadmin
Posts: 59
Joined: Thu Aug 09, 2007 2:33 pm

ProcFee source/update

Post by fdscadmin » Thu Jul 09, 2009 1:33 am

I was doing some looking through the code and I was wondering if I could make a change regarding the calculation of the ProcFee? Currently it appears to get the fee from the priinsplan, patient, then provider. I would like to add a check for the type of code (IsMedical) and return the fee from the "Medical" priinsplan if applicable. It looks like I would only have to edit the ContrTreat.cs OnUpdate_Click() and add a new function in Fees.cs called something like "GetPriMedIns". Does anyone have any thoughts on this???

BTW: Reading through the forum it looks like external commits are disabled. What is the process now for adding a patch?

thanks,
david

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

Re: ProcFee source/update

Post by jordansparks » Thu Jul 09, 2009 4:41 am

The developers page explains this.
http://www.open-dent.com/manual/developers.html
Hopefully your change can be very small and can be submitted in the form of a patch text file. Tortoise can generate a very nice patch text file.
Jordan Sparks, DMD
http://www.opendental.com

fdscadmin
Posts: 59
Joined: Thu Aug 09, 2007 2:33 pm

Re: ProcFee source/update

Post by fdscadmin » Thu Jul 09, 2009 5:27 am

No problem...looks like tortoise creates a nice patch. However before I submit it I would like to test it. I just updated my source directory from head and I can't compile without a raft of errors. Are there major changes in the works?

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

Re: ProcFee source/update

Post by jordansparks » Thu Jul 09, 2009 5:54 am

What are the errors? It should works just fine.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply