OpenEMR Database Conversion Tools
From OpenEMR Project Wiki
Please add any scripts or advice here that are related to database conversion.
FAQs, Docs and Guides
Code for importing complete medical records from an XML file
The attached example code and format definitions are for the import of XML data from XML files created by "MEDICS" offine EMR application developed by mi-squared.com and are provided as an example of how to import complete medical records into OpenEMR from an XML formatted file.
This is intended to be run by a automated command line process/cron job not a web request. It is based on OpenEMR 3.1 release. The PDF file contains a php program with comments at the bottom containing the xpaths that the script used. It is presumed that you understand XML file formatting. The examples import data into some custom forms. The code could easily be modified to support other forms, no forms, or even CSV import.