Page 1 of 1

Default note still appending to completed notes (bug)

Posted: Tue Mar 15, 2011 6:25 am
by wjstarck
I still think there's a bug with the default note getting appended even if there are notes already saved for a procedure.

How to reproduce:

1)Enter a default note for a procedure code
2)Complete the procedure to show the default note
3)Edit the default note and click OK. Set the default note back to treatment planned (Staff often need to do this to have a procedure show on the treatment plan for financial discussion).
4)Set the procedure complete. The blank default note will be appended to the edited default note.

I find if I change line 3302 on FormProcEdit to:

Code: Select all

if (textNotes.Text == String.Empty) {
textNotes.Text += ProcCodeNotes.GetNote(provNum, ProcCur.CodeNum);
}
and line 1320 on Procedures to:

Code: Select all

if (ProcList[i].Note == String.Empty) {
The problem goes away completely.

Thanks.

Re: Default note still appending to completed notes (bug)

Posted: Tue Mar 15, 2011 4:23 pm
by drtech
good catch...

Re: Default note still appending to completed notes (bug)

Posted: Wed Mar 16, 2011 6:55 pm
by jordansparks
It's behaving exactly like it was designed. They can change the status back to complete instead of "setting complete" if they don't want the note again.

Re: Default note still appending to completed notes (bug)

Posted: Thu Mar 17, 2011 9:31 am
by drtech
But don't you agree it is better to have not append the note again?

hum...but then you don't know if the default note as been written or of another type of note was added...so I agree...that it should stay as it currently is.