Get Currently Selected Patient
Get Currently Selected Patient
I have an app that is monitoring the mysql database, is there anything in the DB that changes when a patient is "Selected" or do I have to build a plugin?
Re: Get Currently Selected Patient
There is not anything that changes in the database when a patient is selected. We could put a plugin hook into FormOpenDental.Contr_PatientSelected that you could utilize to monitor the patients being selected.
Re: Get Currently Selected Patient
Chris is correct in that you would need a plug-in.
When I wrote one of my plug-ins I just registered for the PatientChangedEvent which gets fired every time FormOpenDental.CurPatNum changes (which is the only time a patient change event really matters).
When I wrote one of my plug-ins I just registered for the PatientChangedEvent which gets fired every time FormOpenDental.CurPatNum changes (which is the only time a patient change event really matters).
The best thing about a boolean is even if you are wrong, you are only off by a bit.
Jason Salmon
Open Dental Software
http://www.opendental.com
Jason Salmon
Open Dental Software
http://www.opendental.com
Re: Get Currently Selected Patient
Thanks guys, I will work on that.