view · edit · sidebar · attach · print · history

Index>

20150216-oddb2xml-calc

Summary

  • improve "selling-units" for oddb2xml
  • add all lines from SwissMedic packages to oddb2xml products

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.
  • Display 10 recalls not only those from this month
  • Import via data/medreg_companies.yaml

improve "selling-units" for oddb2xml

In oddb_product.xml we must add after "SubstanceSwissmedic" also the field "CompositionSwissmedic" with content of column P from Packungen.xlsx

This should be resolved with commit Added CompositionSwissmedic to oddb_product.xml

Remarked that I should use https instead of http for www.swissmedic.ch. Fixed with commit Use https instead of http for www.swissmedic.ch

Marco and Zeno found some occurrences, where the selling_units got miscalculated, eg. 2x10 or "25 x 40 (ml)" for GTIN 7680434541015. Fixed this with commit Fix some occurences of selling_units

Reduced numbers of unknown selling units from 59 to 42 with commit Added rule to fix selling_units for pkg_size like 1500 ml

Clarified fields DSCRD/DSCRF/IT in oddb2xml.xsd with commit Improved XSD file

It was easy to emit a measurement unit too. See commit Emit measure, too

add all lines from SwissMedic packages to oddb2xml products

Should add into oddb2xml all entries from swissmedic-packages. Also when entries missing in swissindex.

view · edit · sidebar · attach · print · history
Page last modified on February 16, 2015, at 06:49 PM