Complex sentence: James had had surgery on his diaphragm and was looking much better however just five days later the baby died.
Split into simpler sentences: James had had surgery on his diaphragm and was looking much better. However, just five days later, the baby died.