Skip to content

Latest commit

 

History

History
 
 

GGR

Update of GGR

Prerequisites:

  • Schema DevV5 with copies of tables concept, concept_relationship and concept_synonym from ProdV5, fully indexed.
  1. Run create_source_tables.sql and additional_DDL.sql
  2. Download GGR file
  1. Run in devv5: SELECT sources.load_input_tables('GGR',TO_DATE('20170901', 'yyyymmdd'),'GGR 20170901');
  2. Run auto_init.sql. Note: BN, Ingredients: lowercase 'n' in mapped_name suggests using concept_name instead. Lowercase 'g' in mapped_name indicates that concept should not be mapped. Brand Names with incorrect Suppliers must be deleted manually at this stage.
  3. Give tables tomap_unit, tomap_form, tomap_supplier, tomap_bn, tomap_ingred to Medical Coder. Reupload all tomap_* tables. Note: manual tables in correct format for current version are present in subdirectory manual_work
  4. Run after_mm.sql Give table dsfix to Medical Coder. Note: Place 'D' in Device field for products, that should be marked as Devices Upload dsfix.csv and run fixes.sql
  5. Run generic_update: devv5.GenericUpdate();