Wiki Spaces
Documentation
Projects
Resources
Get Help from Others
Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack
At the heart of any enterprise electronic medical record system lies a robust, explicit representation of how care information is stored. The structure of this data model dictates the scalability and flexibility of a system. The OpenMRS collaborative therefore invests continuous effort into shaping the OpenMRS data model using knowledge and experience gleaned from practical experiences from the Regenstrief Institute, Partners in Health, and all of our developmental partners around the world. The core of this data model addresses the who, what, when, where, and how of medical encounters. You may view a current image of the data model used in OpenMRS 1.9.0. Data models of previous releases are given below. This model is divided into ten basic domains.
There is a browsable & searchable view of several OpenMRS data models available at http://om.rs/dm
See also OpenMRS Implementer's Guide - Data Information Model.
The data model used in each of the OpenMRS releases can be viewed from the following attachments.
OpenMRS 2.x?
OpenMRS 1.9.0
OpenMRS 1.8.0
OpenMRS 1.7.0
OpenMRS 1.6.0
Many tables in the data model have columns like created_by, retired_by, voided_by etc. which have foreign key relationships with user.user_id. These links are not shown in the diagrams for the sake of clarity.
3 Comments
Burke Mamlin
Nimantha,
Your assistance with the data model is greatly appreciated; however, some of the tables in the 1.9.0 model are in the wrong regions. When you get a chance, could you try making the following changes:
Thanks!
-Burke
Nimantha Baranasuriya
Hi Burke,
Thanks for your feedback. I was actually going to ask someone about the placement of the new tables and I am glad that you pointed out the correct positions. I will make the changes and upload the diagram once again.
Thanks!
Nimantha
Tobin Greensweig
I think there may be a small mistake on the 1.9 diagram. I think that the person_id on the users table should be connected to person_id in the person table.
Tobin