Background: In medical practice, long term interventions are common and they require timely planning of the involved processes. Unfortunately, evidence-based statements about time are hard to find in Clinical Practice Guidelines (CPGs) and in other sources of medical knowledge. At the same time, health care centers use medical records and information systems to register data about clinical processes and patients, including time information about the encounters, prescriptions, and other clinical actions. Consequently, medical records and health care information systems are promising sources of data from which we can detect temporal medical knowledge.Objective: The objectives were to (1) Analyze and classify the sorts of time constraints in medical processes, (2) Propose a formalism to represent these sorts of clinical time constraints, (3) Use these formalisms to enable the automatic generation of temporal models from clinical data, and (4) Study the adherence of these intervention models to CPG recommendations.Methods: In order to achieve these objectives, we carried out four studies: The identification of the sort of times involved in the long-term diagnostic and therapeutic medical procedures of fifty patients, the supervision of the indications about time contained in six CPGs on chronic diseases, the study of the time structures of two standard data models, as well as ten languages to computerize CPGs. Based on the provided studies, we synthesized two representation formalisms: Micro- and macro-temporality. We developed three algorithms for automatic generation of generalized time constraints in the form of micro- and macro-temporalities from clinical databases, which were double tested.Results: A full classification of time constraints for medical procedures is proposed. Two formalisms called micro- and macro-temporality are introduced and validated to represent these time constraints. Time constraints were generated automatically from the data about 8781 Arterial Hypertension (AH) patients. The generated macro-temporalities restricted visits to be between 1–7 weeks, whereas CPGs recommend 2–4 weeks. Micro-temporal constraints on drug-dosage therapies distinguished between the initial dosage and the target dosage, with visits every 1–6 weeks, and 2–5 months, respectively. Our algorithms obtained semi-complete maps of dosage increments and the maximum dosages for 7 drug types. Data-based time limits for lifestyle change counsels and blood pressure (BP) check-ups were fixed to 6 and 3 months, for patients with low- and high-BP, respectively, when CPGs specify a general 3–6 month range.Conclusions: Experience-based temporal knowledge detected using our algorithms complements the evidence-based knowledge about clinical procedures contained in the CPGs. Our temporal model is simple and highly descriptive when dealing with general or specific time constraints’ representations, offering temporal knowledge representation of varying detail. Therefore, it is capable of capturing all the temporal knowledge we can find in medical procedures, when dealing with chronic diseases. With our model and algorithms, an adherence analysis emerges naturally to detect CPG-compliant interventions, but also deviations whose causes and possible rationales can call into question CPG recommendations (e.g., our analysis of AH patients showed that the time between visits recommended by CPGs were too long for a proper drug therapy decision, dosage titration, or general follow-up).