DLL interaction with OpenDental to change patient selected

This forum is for programmers who have questions about the source code.
Post Reply
SriramChellappan
Posts: 17
Joined: Thu Mar 11, 2021 3:45 pm

DLL interaction with OpenDental to change patient selected

Post by SriramChellappan » Thu Jun 03, 2021 12:25 pm

Can I use DLL to change the currently selected patient?
Can I use DLL to take the user to another module? example to Account Module and scroll up or down to a specific claim?

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

Re: DLL interaction with OpenDental to change patient selected

Post by jordansparks » Fri Jun 04, 2021 12:06 pm

A long time ago, we got that feature working by using command line arguments. If there was already a copy of Open Dental running, then it would affect that copy instead of launching a new copy. I think the reason we turned that off was that people were more interested in using command line arguments to launch multiple copies, and nobody was asking for this. But the remnants are still there, and it looks like it wouldn't be too hard to turn it back on again. We would just add a new command line argument for "Reuse". It's kind of cool how it worked. The second instance sent a string over a TCP port (we randomly chose 2123) to a listener running on the copy of OD that was already up, and then it shut itself down.
Jordan Sparks, DMD
http://www.opendental.com

SriramChellappan
Posts: 17
Joined: Thu Mar 11, 2021 3:45 pm

Re: DLL interaction with OpenDental to change patient selected

Post by SriramChellappan » Sat Jun 05, 2021 11:12 am

"A long time ago, we got that feature working by using command line arguments." Not sure what does it mean by command line arguments?

The DLL I am thinking of like a bridge to another application. Currently looks like DLL can open third party application passing in the currently selected patient. Wondering if the DLL can also pass on the currently selected claim as well? Also can the DLL receive a request from third party application and navigate to account module and to a particular claim the third party application is requesting to be brought to focus in the OpenDental.

The DLL will act as a two way communication channel between OpenDental and the third party application the DLL belongs to.


SriramChellappan
Posts: 17
Joined: Thu Mar 11, 2021 3:45 pm

Re: DLL interaction with OpenDental to change patient selected

Post by SriramChellappan » Fri Jun 11, 2021 3:16 pm

I see we can pass the currently selected patient information to the third party software through bridge. Can we send information such as currently selected claim information?

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

Re: DLL interaction with OpenDental to change patient selected

Post by jordansparks » Fri Jun 11, 2021 8:07 pm

https://www.opendental.com/manual/progr ... tfile.html
As you can see, all of the outgoing fields have to do with the current patient. There is nothing for the currently selected claim.

But you could set up a Clearinghouse
https://www.opendental.com/manual/clearinghouses.html
which exports data to a specific folder. Then the user could "send an e-claim" using that clearinghouse and you would immediately have a text file full of information.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply