International Tooth Numbering & Procedure Surface toggle

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
V Suite
Posts: 136
Joined: Sun Aug 19, 2007 6:56 pm

International Tooth Numbering & Procedure Surface toggle

Post by V Suite » Tue Aug 12, 2008 10:31 pm

It appears that Procedure surface toggle treats the tooth number as a universal number even if international tooth numbering is selected. This may result in even more tricky problems with Palmer notation.
eg. [International numbers selected]. From Chart, click tooth FDI #11 (#8, UR1) and choose Composite. The Procedure info window comes up.
1. Click in sequence M, O/I, D, and it works as expected, selecting MID. Unselect all surfaces
2. Change the tooth number to #12. This should be FDI #12 (#7, UR2). Click M, O/I, D. This selects MOD. The tooth is wrongly interpreted as FDI #24 (#12, UL4). Unselect all surfaces.
3. Change the tooth number to 8. This is an invalid international number, so the field correctly turns yellow. Click M, O/I, D. This selects MID, since the tooth is interpreted as FDI #11 (#8, UR1).

Solution?
I'm looking at OpenDental.FormProcEdit,

Code: Select all

		private void textSurfaces_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
			if(Tooth.IsValidEntry(textTooth.Text)){
				textSurfaces.Text=Tooth.SurfTidy(textSurfaces.Text,Tooth.FromInternat(textTooth.Text),false);
			}
			else{
				textSurfaces.Text=Tooth.SurfTidy(textSurfaces.Text,"",false);
			}
Should that be ToInternat(textTooth.Text) ? (2 places to fix)

Or is it in here? ToothGraphic.IsAnterior(ProcCur.ToothNum)? (2 places to fix)

Code: Select all

			if(butBF.BackColor==Color.White) {
				if(ToothGraphic.IsAnterior(textTooth.Text)) {
					textSurfaces.AppendText("F");
				}
				else {
					textSurfaces.AppendText("B");
				}

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

Re: International Tooth Numbering & Procedure Surface toggle

Post by jordansparks » Wed Aug 13, 2008 6:53 am

The bug has been posted. Thank you. I can't tell right now what the problem is. Just a matter of slogging through it with testing.
Jordan Sparks, DMD
http://www.opendental.com

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

Re: International Tooth Numbering & Procedure Surface toggle

Post by jordansparks » Sat Aug 16, 2008 8:32 am

Fixed.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply