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);
}
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");
}