There was chaos in some of Melbourne's major hospitals overnight, after a tech outage took entire systems offline.