Design of a framework to detect temporal clinical event trajectories from health data standardized to the OMOP CDM