view · edit · sidebar · attach · print · history

Index>

220150427-oddb2xml-correct-names-from-IGM-11

Summary

  • Fix wrong charset and trailing white space issue in oddb2xml
  • Switch parsing composition for --calc in oddb2xml to use parslet

Commits

in branch version/2.0.6

in master branch

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 wrong charset and trailing white space issue in oddb2xml

When importing products from IGM-11 files from zur Rose we should

Pushed commit Remove trailing spaces in names coming from ZurRose

Looking at the problem that we have sometimes weird characters in the output file. I think we probably don't open the transfer.dat with the correct encoding (ISO-8859-14). But afterwards we have to explitely encode each line as UTF-8 go fix this problem. This problem got unnoticed as for the normal umlauts like üüö the UTF-8 encoding is the same as ISO-8859-1.

Opened a new branch version/2.0.6 because I don't want to switch using parslet in a release version of oddb2xml

Travis-CI reminded me to fix 3 failing specs. Done with commit Fix builder_spec

Switch parsing composition for --calc in oddb2xml to use parslet

Stuff to do today includes:

  • handle correctly all occurrences of corresp.
  • Fix up/lowercase issues for substance names
  • Fix various issues in code and spec tests marked TODO
  • document design and decisions (2 or 3 pages in textile format, giving IKSNR/names for various examples)
    • what is the meaning of DER?
    • shall excipiens and friends be a normal substance? But their quantity "pro" is used for various measures?
    • Howto handle stuff like Praeparatio cryodesiccata
  • Selling units for 7680611860045 should be 5 and not 12500
  • Substance name 7680656280013 for is Vipera Aspis > 1000 Ld50 Mus and must be corrected to Vipera Aspis > 1000 Ld50 Mus
  • IKNSR 7680616310026 does not creat a corret label A

Pushed all commits made during last days to bring down number of failing lines to 0 when discarding those which contains corresp.

view · edit · sidebar · attach · print · history
Page last modified on April 27, 2015, at 03:10 PM