Index>
20150715-update-compositions
Summary
- Adapt oddb.org to new fields for compositions
Commits
(on branch Wirkstoffe)
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 (LABEL, MORE_INFO, CORRESP) for compositions in oddb.org.
- Use refdatabase for oddb.org, too.
- Fix running rspec for new packungen.xlsx in oddb2xml
Adapt oddb.org to new fields for compositions
Running jobs/import_swissmedic_only update_compositions
, failed because of a nil access to parsed_composition in update_added_fields_composition with IKSNR 60690 seq 01. Successfully imported over 7500 registrations. Pushed commit Import new fields from swissmedic.
Banging my head to undertstand why @app.create(sequence.pointer + :composition)
works when running normally, but not when inside under MiniTest.
Working on makeing http://oddb-ci2.dyndns.org/de/gcc/search/zone/drugs/search_query/00277/search_type/st_registration?#best_result display excipiens and more_info. Also must first show the Wirkstoffe and then the Hilfstoffe using different headings.
Added displaying excipiens and more info. See .
Import job is still running, imported over 9200 items now.
Leaving cleanup of my current patch (See Attach:hilfstoffe.txt) for next week.