...
The i2b2export module exports OpenMRS data, including patients, providers, concepts, concept_sources, encounters, observations, and drug orders, into an custom XML schema for import into i2b2. The XSD for resulting XML document is available here: http://o2i2b2.googlecode.com/files/o2i2b2Template.xsd. The i2b2export module is part a larger framework for loading data into i2b2. A companion program, i2b2Import, which is run as a standalone application parses the i2b2 XML and loads the data into an i2b2 instance. See the diagram below to visualize the data migration process.
A sample snippet of the resulting XML is available below:
For a more thorough discussion of all the topics described on this page, please refer to Final--DesigningaPublicHealthSoftwareFrameworkPortingOpenMRSdatatoi2b2o2i2b2.pdf.
...