A system to migrate from SQL-based databases into OpenMRS