view · edit · sidebar · attach · print · history

Index>

20150505-xsd-for-oddb2xml-calc

Summary

  • Create an XSD file for oddb_calc.xml
  • Remove all old files from downloads directory when not running --skip-downloads
  • oddb.org: List drugs from desitin first also when logged in as user desitin
  • oddb2xml: Use parslet to split column_C of packages into preparation_name and galenic_form

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
  • Fix problem with radioactivatum 99m-technetio when parsing Wirkstoffe
  • Fix galenic_forms when parsing swissmedic.xlsx
  • Cleanup generic_type. Replace it everywhere by sl_generic_type and adapt code accordingly.

oddb2xml: Use parslet to split column_C of packages into preparation_name and galenic_form

We want to use the parslet parset to split the column-C from packages.xlsx better into its componenents, namely the name and the galenic_form.

Found a solution where only 312 lines don't parse at all. Must fix now more complicated cases like

Alustal 3-Bäume, Esche 10IR, Injektionssuspension

Pushed the commits

oddb.org: List drugs from desitin first also when logged in as user desitin

Must consider products from desitin first also when logged in as desitin. Corrected prioriting by prependen ' ' (Space, ASCII 32) to the package_name base, therefore leading the sorting inside desitin untouched.

Done with commit Prioritize desitin also when logged in as desitin

Remove all old files from downloads directory when not running --skip-downloads

Fixed with commit Remove all files under downloads unless --skip-download

Cleanup documentation with commit Small fixed for doc

Create an XSD file for oddb_calc.xml

We must create a XSD file for oddb_calc.xml and test it during the unit tests. Done with commit Added oddb_calc.xsd

view · edit · sidebar · attach · print · history
Page last modified on May 05, 2015, at 06:00 PM