Hospitals are using AI to predict supply chain disruptions and make the best use of supplies before they expire.