Palpatine: Lord Vader...can you hear me?
Vader: Yes, master. Where is Padme? Is she all right?
Palpatine: It seems that in the midst of your anger ( or in your absence) , Kenobi killed her.
(dialogue cut, pasted, and blended from elsewhere).
Dark chords play underneath. Music swells. Shot of Darth Vader's mask. Too shocked and angry for words. Hard cut to next scene.
I also agree that the medical robot should not say that Padme died because she lost the will to live. She would have stayed alive for the kids. Better is...
Medical robot: We're losing her due to to damages to the respiratory system.
Or something like that.