Bug

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
User avatar
drtech
Posts: 1647
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Bug

Post by drtech » Tue Sep 24, 2013 12:24 pm

At first I thought I found a bug in the sheets, but now I think it may be the family module.

I am using the patient.saluation field on a sheet and instead of getting the preferred name as expected, it put in the preferred contact time "Anytime." So, I ended up with "Dear Anytime." :p Rather funny.

After investigating, I found that in the family module, it showed the "Preferred contact time" as "Anytime," but when I opened up the edit window, that same value is listed under "Salutation." OD v13.2.11
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

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

Re: Bug

Post by jsalmon » Tue Sep 24, 2013 3:43 pm

drtech wrote:I am using the patient.saluation field on a sheet and instead of getting the preferred name as expected, it put in the preferred contact time "Anytime." So, I ended up with "Dear Anytime." :p Rather funny.
patient.salutation on my patient letter works just fine and the correct method "pat.GetSalutation()" is being called. You can see it in SheetFiller.cs around like 1137.

Code: Select all

case "patient.salutation":
  field.FieldValue="Dear "+pat.GetSalutation()+":";
  break;
drtech wrote:After investigating, I found that in the family module, it showed the "Preferred contact time" as "Anytime,"...
I'm not familiar with "Preferred contact time", is that a custom patient field that you added?
drtech wrote:...but when I opened up the edit window, that same value is listed under "Salutation." OD v13.2.11
When you say opened up the edit window, I'm assuming you're referring to the patient edit window. Is that assumption correct?
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

User avatar
drtech
Posts: 1647
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: Bug

Post by drtech » Tue Sep 24, 2013 7:11 pm

I don't remember adding that, but It could be. Let me check my custom fields.

Yes, I mean the patient edit window when double clicking the grid in the family file.
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
drtech
Posts: 1647
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: Bug

Post by drtech » Tue Sep 24, 2013 7:55 pm

Took some work, but I figured it out. Somehow the Salutation field was changed to Preferred Contact Time in the Custom Field Definitions. It took me a while because it didn't show in the "Patient Field Defs," where I would have expected it. So bottom line is that there is not a bug, however if someone changes a field, it is hard to see that it is not default and a possible issue...(Should there be a * Indicator if it is not default?)
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

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

Re: Bug

Post by jsalmon » Wed Sep 25, 2013 7:17 am

I guess someone could add that as a feature request if they so desired. I've never heard anybody having that issue before but that doesn't mean they simply just don't call in to complain about it. Also, foreign users use the custom override to translate those types of items so that would have to be taken care of if it were implemented as well.
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

Post Reply