Page 1 of 1

Referral requests

Posted: Fri Jun 23, 2017 11:45 am
by tim
Hi,

I have a several hook requests and schema changes regarding referrals that I hope can make it into 17.2 beta:
  • 1. Add HookAddCode FormReferralsPatient.Load_end()
    2. Add HookMethod FormReferralEdit.Load_start(RefCur, IsNew)
    3. Add HookMethod FormRefAttachEdit.Load_start(RefAttachCur, IsNew)
    4. Add DateTStamp column to referral table
    5. Add DateTStamp column to refattach table
    6. Add static List<long> GetChangedSinceReferralNums(DateTime changedSince) to OpenDentBusiness.Referrals
    7. Add static List<long> GetChangedSinceRefAttachNums(DateTime changedSince) to OpenDentBusiness.RefAttaches
Thank you.

Re: Referral requests

Posted: Sat Jun 24, 2017 2:14 pm
by cmcgehee
I will work on adding these and post back once I do.

Re: Referral requests

Posted: Thu Jun 29, 2017 5:54 am
by tim
Whoops, seems I missed one of the methods we also need:
  • 8. Add static RefAttach GetOne(long refAttachNum) to OpenDentBusiness.RefAttaches
Thanks.

Re: Referral requests

Posted: Thu Jun 29, 2017 12:30 pm
by cmcgehee
I have added the hooks and columns to 17.2.2. However, we have decided that we will not add new Data Interface methods for two reasons:
1) Open Dental would incur future maintenance costs on these methods.
2) You would be better off in the long run implementing these methods yourself. If we were to change the methods by deleting one or adding a parameter then your plugin would break.

Re: Referral requests

Posted: Fri Jun 30, 2017 3:57 am
by tim
cmcgehee wrote:I have added the hooks and columns to 17.2.2. However, we have decided that we will not add new Data Interface methods for two reasons:
1) Open Dental would incur future maintenance costs on these methods.
2) You would be better off in the long run implementing these methods yourself. If we were to change the methods by deleting one or adding a parameter then your plugin would break.
Thanks, Chris. I'll give those changes a try and will let you know if I run into any issues.

Re: Referral requests

Posted: Mon Jul 03, 2017 8:00 am
by cmcgehee
Good luck with it. Just out of curiosity, what company are you with and what kind of product are you building?