As formalised electronic storage of medical data becomes more and more wide spread the possibility and need for creating human readable presentations for various purposes increases. This paper presents the mGen framework - a general framework for text generation, written in Java and in the process of being open-sourced, that has been developed within the MedView projectThe work presented in this paper was supported by the Swedish Agency for Innovation Systems (VINNOVA).. The framework has been used for several years to generate literally thousands of clinical documents at an oral medicine clinic in Sweden.