Inferring High-Level Events from Timestamped Data: Complexity and Medical Applications — ThinkLLM