Page 1 of 1
Get Currently Selected Patient
Posted: Thu Feb 22, 2018 12:22 pm
by ajhalls
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
Posted: Thu Feb 22, 2018 1:07 pm
by cmcgehee
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
Posted: Thu Feb 22, 2018 2:24 pm
by jsalmon
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).
Re: Get Currently Selected Patient
Posted: Fri Feb 23, 2018 2:43 pm
by ajhalls
Thanks guys, I will work on that.