Referral requests

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
tim
Posts: 24
Joined: Wed Mar 08, 2017 5:11 am

Referral requests

Post by tim » Fri Jun 23, 2017 11:45 am

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.

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Referral requests

Post by cmcgehee » Sat Jun 24, 2017 2:14 pm

I will work on adding these and post back once I do.
Chris McGehee
Open Dental Software
http://www.opendental.com

User avatar
tim
Posts: 24
Joined: Wed Mar 08, 2017 5:11 am

Re: Referral requests

Post by tim » Thu Jun 29, 2017 5:54 am

Whoops, seems I missed one of the methods we also need:
  • 8. Add static RefAttach GetOne(long refAttachNum) to OpenDentBusiness.RefAttaches
Thanks.

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Referral requests

Post by cmcgehee » Thu Jun 29, 2017 12:30 pm

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.
Chris McGehee
Open Dental Software
http://www.opendental.com

User avatar
tim
Posts: 24
Joined: Wed Mar 08, 2017 5:11 am

Re: Referral requests

Post by tim » Fri Jun 30, 2017 3:57 am

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.

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Referral requests

Post by cmcgehee » Mon Jul 03, 2017 8:00 am

Good luck with it. Just out of curiosity, what company are you with and what kind of product are you building?
Chris McGehee
Open Dental Software
http://www.opendental.com

Post Reply