Temporal Patterns: Discovery and Use in Predictive Models.Case Study in the Intensive Care