Markov‐modulated marked Poisson processes for modeling disease dynamics based on medical claims data