How can hospitals modernize their legacy healthcare systems?