Index>
20150819-display-corresp-excipiens
Summary
- Display new fields of swissmedic
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.
- Get updated ATC-codes from EPha for oddb.org, too.
- Display new fields CORRESP for compositions in oddb.org.
- Use refdatabase for oddb.org, too.
- Fix running rspec for new packungen.xlsx in oddb2xml
- Error when visiting (a logged as user ngiger) http://ch.oddb.org/de/gcc/drug/reg/65346/seq/03
Display new fields of swissmedic
Resuming work to do (relative to my workspace):
- Compositions should be from top to the bottom and not left to right
- For Wirk- and Hilfstoffe length of the name should be the same
- Corresp and Excipien lack a label.
Examples to look at http://oddb-ci2.dyndns.org/de/gcc/show/reg/51671/seq/04/pack/082 "Nutriflex" and IKSNR 00615 "Priorix", which has several active agents, a label, excipiens. and corresp. For active_agents and auxilliary agents I only display the columns "dose" and "more_info" if any the items has a definition for it.
I am not really satisfied with the visual appearance, but I did not find a better way today. You may see an example at
Pushed commit Display new fields corresp and excipiens
Looked again at the problem, why we had too many lines when display compositions (e.g. IKSNR 00615 Priorix). Added a method reorganize_compnents.
Still having a problem that Entspricht aqua ad iniectabilia 0.5 ml
is displayed twice. Why? Looks like it stems from the dvision. Will fix this problem tomorrow.