Email Post: An extended SQL for temporal data management in clinical decision-support systems.