view · edit · sidebar · attach · print · history

20130222-create-new-swissmedicinfo-updater-debug-oddb2xml-on-windows

<< | Index | >>


Summary

  • create new FI/PI Updater from swissmedicinfo.

Index


Update fiparsed to parse swissmedicinfo format FI/PI

Changed:

  • @new_format_flag => @format {:documed(default)|:compendium|:swissmedicinfo}

Note

How to run this updater.
(Daily Updater Job has this updater method.)

ch.oddb> Updater.new(self).update_textinfo_swissmedicinfo({:reparse => true})
-> ["yasaka@ywesee.com"]

or

ch.oddb> TextInfoPlugin.new(self).import_swissmedicinfo # => this outputs all targets.
-> {:new=>{:de=>{:fi=>["Avastin"]}}, :change=>{:de=>{:fi=>["Voltaren® Emulgel®"]}}}

HTML of swissmedic dose not have any chaptar structure (bad sourse).
Table dose not have relation to chapter.

...
<p class="s82">
<table class="s91">
<colgroup>
<tbody>
</table>
<p class="s20"> </p>
<p class="s20">
<span class="s19">
<span class="s19">
<span class="s19">
<span class="s19">
...

Problems are:

  • Position of Line-Break.
  • Position of Table.
view · edit · sidebar · attach · print · history
Page last modified on February 26, 2013, at 10:07 AM