view · edit · sidebar · attach · print · history

20120410-update-migel-swissindex-updater-job-fiparsed-narcotics-error

<< | Index | >>


Summary

  • Updated swissindex_nonpharmad
    • updated SOAP Request as :download_all action
    • updated archive files.
    • Fixed language support.
  • Fixed erorr in narcotics index
    • It seems latest import of swissmedic import
  • Fixed Patinfo HTML parse problem
    • added <sub> tag handling

Commits

swissindex_(non)pharma
migel
ch.oddb.org
fiparsed

Index


jobs/update_migel_products_with_report

Update SOAP request in
jobs/update_migel_products_with_report in migel. (:download_all action in swissindex)


Fixed error in narcotics index

in bin/admin

ch.oddb> narcotics.length
-> 711
ch.oddb> narcotics.values.select{ |narc| narc.package.nil? }.length
-> 1
Updated

in src/util/oddbapp.rb

  pacs = @narcotics.values.map{|narc| narc.package}
  pacs.each do |pac|
  if pac and pac.name_base[0].downcase == query
    seq = ODDB::Sequence.new(pac.sequence.seqnr)
    seq.registration = pac.registration
    seq.packages.store pac.ikscd, pac
    atc.sequences << seq
  end

TODO

to check swissmedic import job


Fixed sub tag parse in Patinfo

Updated parse method with hpricot in fiparsed

Refs

view · edit · sidebar · attach · print · history
Page last modified on April 11, 2012, at 07:39 AM