  Relevant events in a three state illness-death model (IDM) of a chronic
disease are the diagnosis of the disease and death with or without the disease.
In this article a simulation framework for populations moving in the IDM is
presented. The simulation is closely related to the concept of Lexis diagrams
in event history analysis. Details of the implementation and an example of a
hypothetical disease are described.
