New Hook Request

This forum is for programmers who have questions about the source code.
Post Reply
san.mmxi
Posts: 8
Joined: Tue Sep 30, 2014 9:57 am

New Hook Request

Post by san.mmxi » Fri Jul 22, 2016 12:52 pm

Request: Add hook as follows:
Plugins.HookAddCode(this, "ContrAppt.RefreshModuleDataPatient_end");

Purpose: We check insurance coverage for our patients in the morning of the DOS. We then save ins eligibility under "Insurance" category with name "Active" in Images module and add pop-up message for ineligible insurance patients. We would like to be warned by software/plugin if we missed to check eligibility for the patient at start of the day.

Usage Goal: To warn OD user if a patient for today has not had is insurance eligibility verified as of today. I understand that following check does not provide 100% coverage if patient is changed by means other than selecting their appointment. We can think about extending coverage by requesting more hooks later. Please suggest if you have better ideas or have existing hooks which can give more coverage for our scenario.

Tech Goal: To show warning/MessageBox when following condition is met on patient change after an appointment has been selected.

Condition: Any today's appointment is selected with a patient missing file named "Active" with today's date under "Insurance" category in Images module.

Thanks

san.mmxi
Posts: 8
Joined: Tue Sep 30, 2014 9:57 am

Re: New Hook Request

Post by san.mmxi » Tue Aug 16, 2016 10:48 am

Can someone add this hook or let me know if additional information is needed please:

Plugins.HookAddCode(this, "ContrAppt.RefreshModuleDataPatient_end");

Thanks

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: New Hook Request

Post by jsalmon » Tue Aug 16, 2016 11:53 am

Yes, we can add that hook for you. We'll post back here once it has been committed.
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

allends
Posts: 235
Joined: Fri Aug 23, 2013 11:29 am

Re: New Hook Request

Post by allends » Tue Aug 16, 2016 12:57 pm

This hook has been added to 16.2.43 and will be available with the next release.
Allen
Open Dental Software
http://www.opendental.com

Post Reply