<< | Index | >>
Command name update_patinfo_only
.
ch.oddb> Updater.new(self).update_patinfo_only 'desitin', 'pfizer'
ch.oddb> Updater.new(self).update_company_textinfos 'desitin
I created jobs/update_patinfo_only
job.
$ ruby jobs/update_patinfo_only 'desitin'
Searched for desitin, pfizer Stored 112 Patinfos Ignored 12 up-to-date Patinfo-Texts Checked 3 companies Desitin Pfizer Pfizer Consumer Healthcare Unknown Iks-Numbers: 0 Session failures: 0 Download errors: 0 Parse Errors: 0
see my setup page
SwissmedicNumber
(:date) chapter is missing in patinfo.
http://ch.oddb.yasuhiro.org/de/gcc/patinfo/reg/31706/seq/01/chapter/date
ch.oddb> registration('31706').sequence('01').patinfo.description('de').date.class -> ODDB::Text::Chapter ch.oddb> registration('31706').sequence('01').patinfo.description('de').date -> Diese Packungsbeilage wurde im März 2008 letztmals durch die Arzneimittelbehörde (Swissmedic) geprüft. ch.oddb> registration('31706').sequence('01').patinfo.description('de').date.heading -> ch.oddb>
<div> <h3>Zulassungsinhaberin</h3> <p style="font-size: 13px; margin-top: 4px; line-height: 1.4em"> <span style="font-style: italic"></span> <span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">AstraZeneca AG, 6301 Zug.</span> <br> </p> </div> <div> <p style="font-size: 13px; margin-top: 4px; line-height: 1.4em"> <span style="font-style: italic"></span> <span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;"> Diese Packungsbeilage wurde im <span style="font-style:italic;"> März 2008</span> letztmals durch die Arzneimittelbehörde (Swissmedic) geprüft. </span> <br> </p> </div>
Title h3
(Stand der Information) is missing.
ch.oddb> registration('31706').sequence('01').fachinfo.description('de').date.class -> ODDB::Text::Chapter ch.oddb> registration('31706').sequence('01').fachinfo.description('de').date -> Stand der Information Oktober 2010. ch.oddb> registration('31706').sequence('01').fachinfo.description('de').date.heading -> Stand der Information
in ext/fiparse/src/patinfo_hpricot.rb
... def identify_chapter(code, chapter) p "=====" p code p "-----" p chapter p "=====" case code ...
"=====" nil "-----" Cette notice d’emballage a été vérifiée pour la derničre fois en mars 2010 par l’autorité de contrôle des médicaments (Swissmedic). "====="
This was not problem.
Because original Patinfo also does not have date chapter title.
z.B.
Added Swissmedic-Nr (:iksnrs) chapter into Patinfo.
Old Patinfo does not have :iksnrs data by comment.
in src/model/patinfo.rb
... attr_accessor :distribution, :date, :fabrication attr_accessor :iksnrs # interface only, no data ...
I added Swissmedic-Nr chapter into PatinfoDocument2001 object.