We describe a framework for comprehensive electronic QA currently under development in the department of Radiation Oncology at the Montreal General Hospital. When complete, the system will incorporate all data generated within the department. It will allow for easy access to all aspects of a patient’s treatment and to the state of all relevant equipment at the time of treatment. Quality control will be achieved through automated Shewhart-type control charting with appropriate statistical analysis. Machine learning methods will be used to examine the data in order to search for errors, inconsistencies and unnecessary treatment delays. The system will entail a web interface internal to the clinic and written in PERL.