view · edit · sidebar · attach · print · history

Index>

20150316-oddb-org-wirkstoffe

Summary

  • oddb.org should import and display all components after a swissmedic-import as in oddb2xml
  • refdata has new download URL

Commits

Index

Keep in Mind for work to do
  • Fix dojo error http://www.sitepen.com/blog/2012/10/31/debugging-dojo-common-error-messages/#forgot-dom-ready
  • I removed on May-27 tests for ix_registrationss, fix_sequences, fix_compositions, fix_packages from test/test_plugin/swissmedic.rb,as he could not find any references for them in the src code. Did I erroneously remove stuff when cleaning up the swissmedic import earlier?
  • The whole test for older/newer Packages must be adapted to xlsx. One must compare the rows (e.g. by creating csv files) and do the same stuff in xlsx!
  • creat gem: task: input=file with ean-codes, standard output show ean-codes + atc-code. Source is Swissmedic Packungen.xlsx or XML.
  • Import via data/medreg_companies.yaml

oddb.org should import and display all components after a swissmedic-import as in oddb2xml

Must add an option "all" for jobs/import_swissmedic to be able to force complete reparsing.

Updated example test/data/xlsx/Packungen_2014_small.xlsx to use the same examples as oddb2xml.

Found a reference to fix_galenic_form in src/plugin/swissmedic.rb. After discussing with Zeno we decided to add the following options for jobs/import_swissmedic_only.

  • update_compositions (which will iterate over all compositions)
  • fix_galenic_form
  • when passing one or more IKSNR as arguments update_compositions/fix_galenic_form shall ignore all IKSNR not given.

The first task is to use update_compositions 55594 to fix the compositions for nutriflex

Later on we will solve the problems with galenic_form/groups. Idea is to accept only galenic_forms with a known group. If not they should be flagged and logged while running the swissmedic import.

After adding the options :iksnrs I found that it was already used in the swissmedic-plugin, but with a different meaning.

Modified oddb2xml slightly to make porting the changes easier to oddb.org. Done with commit Reorganized for easiear comparision with oddb.org

Must now update the changed compositions via odba.

refdata has new download URL

The new URL via SOAP is http://refdatabase.refdata.ch/Service/Article.asmx. Explanations are found under http://www.refdata.ch/content/page_1.aspx?Nid=6&Aid=628&ID=291. Zeno downloaded it via wget as explained under http://dev.ywesee.com/Refdata/Wget

This will affect the import of swissindex, medreg_pharmacies and medreg_doctors.

view · edit · sidebar · attach · print · history
Page last modified on March 16, 2015, at 05:57 PM