资源说明:Library to migrate data from Bart 1 to Bart 2
= Migrator Migrate BART patient visit information via CSV files == Install === via pre-packaged gem Download latest gem from https://github.com/BaobabHealthTrust/migrator/downloads sudo gem install=== via self-packaged gem git clone https://github.com/BaobabHealthTrust/migrator.git cd migrator gem build migrator.gemspec sudo gem install == Usage Export/Import data to/from CSV files from BART 1 To export from old version HIV Reception (assuming we have /tmp/migrate/concept_map.csv): exporter = EncounterExporter.new('/tmp/migrate', 6) exporter.to_csv To Import in new version importer = ReceptionImporter.new('/tmp/migrate') importer.create_encounters('hiv_reception.csv', 'username:password@localhost:3000')
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
