Electronic Patient Records have many purposes in hospitals. They are expected to be a foundation for clinical treatment and care processes, reimbursement issues, and research purposes. Accordingly, there is a gap between the information found in the EPR and the information required for clinical research. We explore what this gap consists of, how it is managed, and who is responsible for closing it. We wish to highlight the work that goes into this process, conducted by both the research staff as well as the ordinary health workers. In doing this we seek to move away from the perception that research data is automatically given as long as a hospital-wide EPR is in use. What is the nature of integrated systems in clinical research based on the notion of quality, as well as secondary use of documentation?