@tanguatlay,
I think there should be a comma after
but. To my thinking, it should be in addition to the punctuation already in place. I am also inclined to changing the first comma into a semicolon after
her. There are two statements which could be written separately, separated by
but.
The medical team...her; but, at the final stages...