view · edit · sidebar · attach · print · history

20130411-update-swissreg-debug-oddb2c-csv-export

<< | Index | >>


Summary

  • Update swissregd
  • Debug oddb2.csv export
  • Update swissmedicinfo PI iksnr extraction

Commits

Index


Update swissregd

  1. pending

Debg oddb2.csv export

  • Galenische Gruppe (fr) is German instead of French.
  • Galenische Form (fr) is German instead of French.
[1] 1.9.3-p194(#<ODDB::View::Drugs::CsvResult>)> galform.class
=> ODDB::GalenicForm
[2] 1.9.3-p194(#<ODDB::View::Drugs::CsvResult>)> galform.description(:fr)
=> "Flüssigkeit"
[16] 1.9.3-p194(#<ODDB::View::Drugs::CsvResult>)> @lookandfeel.language
=> "de"
[17] 1.9.3-p194(#<ODDB::View::Drugs::CsvResult>)> pack.galenic_forms.first.descriptions.to_hash
=> {"de"=>"Flüssigkeit", "en"=>"Fluid", "fr"=>"Fluide", "lt"=>"FLUIDUM"}
[18] 1.9.3-p194(#<ODDB::View::Drugs::CsvResult>)> pack.galenic_forms.first.description('fr')
=> "Fluide"
[19] 1.9.3-p194(#<ODDB::View::Drugs::CsvResult>)> galform.description(:fr)
=> "Flüssigkeit"

Fixed this bug.

commit

Debug importer with dirty swissmedicinfo iksnr chapter

This is not problem.
Swissmedicinfo Job can detect iksnr from duty text like this.

<p class="s22">
<span class="s4">
<span>5</span>
</span>
<span class="s4">
<span>8</span>
</span>
<span class="s4">
<span> 5</span>
</span>
<span class="s4">
<span>4</span>
</span>
<span class="s4">
<span>4 (Swissmedic)</span>
</span>
</p>
<p class="s7"> </p>

In Local.

FI is work.

[1] 1.9.3-p194(#<ODDB::TextInfoPlugin>)> src
=> "\n58544 "

PI is also fine.

[1] 1.9.3-p194(#<ODDB::TextInfoPlugin>)> src
=> "\n58544 "

But Job does not work only on Production.

$ ruby jobs/update_textinfo_swissmedicinfo --reparse --target=fi 58544
[1] 1.9.3-p194(#<ODDB::TextInfoPlugin>)> src
=> "\n5    8    5    4    4 \n"
[2] 1.9.3-p194(#<ODDB::TextInfoPlugin>)> src.scan(/[0-9]{5}|[0-9]{2}\s*[0-9]{3}/)
=> []
production
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
commit

Updated report

New/Updates FI from swissmedicinfo.ch
  ISKNR : Fachinfo - DE - Hyperiplant® Rx - ["58544"]
  ISKNR : Fachinfo - FR - Hyperiplant® Rx - ["58544"]
Skipped FI form swissmedicinfo.ch
...
view · edit · sidebar · attach · print · history
Page last modified on April 11, 2013, at 10:30 AM