Update of CIEL
Annotation: We got vocabulary from mysql dumpfile. But this dumpfile cannot be directly imported to Oracle, we used local MySQL DB to convert dump to csv files and manually transform them into SQL Loader file.
Prerequisites:
- Schema DevV5 with copies of tables concept, concept_relationship and concept_synonym from ProdV5, fully indexed.
- RxNorm and SNOMED must be loaded first.
- Created SOURCES schema.
- Working directory CIEL.
- Run create_source_tables.sql
- Unzip CIEL_CSV.zip
- Run in devv5 (with fresh vocabulary date and version): SELECT sources.load_input_tables('CIEL',TO_DATE('20150227','YYYYMMDD'),'Openmrs 1.11.0 20150227');
- Run load_stage.sql
- Run generic_update: devv5.GenericUpdate();