Ever since the beginnings of OpenMRS, we’ve used the data model as a reference and as a teaching tool. As the number of tables has grown, it has become harder to keep the data model diagram updated. I also wanted an easy way to search for tables, columns, or foreign keys. So, I created dbtohtml to generate an easily browsable, standalone, singe-page HTML view of the data model.