1. A system for automatically ensuring adherence to clinical guidelines, comprising: a data source containing at least one patient record, including a first record for a patient being treated, the first patient record including structured information mined from unstructured patient data by a processor, the unstructured patient data including free text, the structured information for the patient being treated comprising values for variables related to clinical actions for the patient being treated, each of the values inferred from pieces extracted, by mining, from the unstructured patient data for the patient being treated, the pieces for each variable assigned respective first probabilities of indicating respective possible values, different pieces indicating different possible values of the respective variable, a plurality of the first probabilities referring to a same one of the variables combined into a unified probability for the value for the same one of the variables, at least one of the first probabilities being less than 100%, the value for the same one of the variables determined from the unified probability, the pieces and possible values for each of the variables being for the patient being treated, at least one of the pieces extracted from the free text; a guideline knowledge base containing a clinical guideline; and a quality adherence engine for monitoring adherence with the clinical guideline as a function of the information mined from unstructured patient data in the first record for the patient being treated.