When read aloud.... The sentence with the commas sounds to me like Bob Smith is the sole patient of the doctor the letter is being written to....
This is a letter to a doctor. Your patient Bob Smith underwent liver transplantation earlier this month. OR Your patient, Bob Smith,...
Separate names with a comma.