Add StateDPS field to the DB

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Add StateDPS field to the DB

Post by wjstarck » Wed Aug 27, 2008 6:59 am

A StateDPS field needs to be added to the DB, with a corresponding form field added to provider setup, so that we can add this data to our Rx using sheets. I don't know if the Rx sheet will automatically add this to the list of items under Edit Sheet Def > (Add new) Output Text > Field Name once it is added to the db, but if not it needs to be added to that list as well.

Currently we are adding the DPS number with a static text field which shows on noncontrolled Rx as well, but I don't know how picky Texas will be about that.

BTW, good job on sheets!

Thanks
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Add StateDPS field to the DB

Post by jordansparks » Thu Aug 28, 2008 6:01 am

Is the DEA field long enough to simply hold both numbers?
Jordan Sparks, DMD
http://www.opendental.com

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Add StateDPS field to the DB

Post by wjstarck » Thu Aug 28, 2008 6:17 am

No, but that's a good workaround.

Our DPS numbers are 7 characters, and the field currently holds 5 more than the DEA number. I'm thinking 20 characters total should do it

DEA = 9 + 1 for a / + 2 for spaces and then 7 for the DPS number.

Then in sheets we could do something like

DEA #/ DPS #: BS1234567 / H012345
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

Post Reply