The system and method described herein represent a totally new paradigm for assessing risk in critically ill patients by identifying physiologic patterns associated with a poor outcome. It then uses this information to detect these patterns on future patients, sending alerts to clinicians caring for patients with one or more of them. Moreover, the system and method can be extended to outcomes other than mortality, and can be adapted for use in a specific hospital systems EMR. The “code footprint” for embedding the patterns that indicate a trigger is small and thus favorably suited for embedding into an existing clinical decision support system.