created an middle file of inserts where patients, consults and family folders of the selected barangay will be saved prior to writing it over ehr-lite-live.sql
ported the m_family, m_family_cct_members, m_family_members to the conduit SQL file
extracted the patient_ids after traversing thru the m_family_address_member and saves it to an array
extracted patient, general consultations, notes, program enrollments from the main EHR database to the INSERT SQL file.
created extractor for population, barangays, user privileges location
added the table definition for table m_push_status
automatically creates a dump file by: copying the ehr_lite_live.sql, appending the replace, insert SQL commands and consolidate into one new file
updated the navigaqtion bar to include ehr-lite sync
have some great progress in doing cross machine sync. To continue tomorrow
added the following features:
1. creates insert,replace file and saves it inside sql folder
2. copies the ehr_lite_live.sql to the ehr_lite_import.sql in sql folder
3. creates a backup data in the ehr-lite computer. format of name is ehr_lite_live_datastamp
4. export the ehr_lite_import.sql to the ehr_lite_live_datestamp
5. drops the existing ehr_lite_live in the ehr-lite computer and re-creates it
6. exports the updated ehr_lite_import.sql to the ehr_lite_live database
added notification messages if data sync is successful or not
Merge pull request #1 from alisonperez/master

Pull reuest