view · edit · sidebar · attach · print · history

20121101-update-swissmedic-feeds

<< | Index | >>


Summary

  • Update Recall and HPC Rss feed

Commits

Index


Update swissmedic feed entries

  • takes all entries as rss.
  • counts new entries of current month.
  • new notification if new entry found.

update date

$ bin/admin 
ch.oddb> rss_updates.keys
-> ["minifi.rss", "fachinfo.rss", "feedback.rss", "price_cut.rss", "price_rise.rss", "sl_introduction.rss", "recall.rss", "hpc.rss"]
ch.oddb> rss_updates['recall.rss']
-> [#<Date: 2012-10-29 ((2456230j,0s,0n),+0s,2299161j)>, 1]

back to 31.10.2012

ch.oddb> rss_updates['recall.rss'] = [Date.new(2012,10,31), 0]
-> [#<Date: 2012-10-31 ((2456232j,0s,0n),+0s,2299161j)>, 0]
ch.oddb> rss_updates['hpc.rss'] = [Date.new(2012,10,31), 0]
-> [#<Date: 2012-10-31 ((2456232j,0s,0n),+0s,2299161j)>, 0]
ch.oddb> odba_isolated_store
-> #<OddbPrevalence:0x0000000572bdc0>

report

New recall.rss feeds:              1
This month(10) total:              1

New hpc.rss feeds:                 1
This month(10) total:              3

"New recall.rss feeds" means new entries count __by date__ after previous updating.

commit

Link to markenname Search Result

Embed Link to oddb's markenname search result with extracted keyword.
But feed dose not have same format text....nmm.

Präparat: Tylenol Kinder Suppositorien 200 mg, 1x10
Präparat: Rifampicine Labatec, capsules
Präparat: Cymevene, Lyophilisat zur Herstellung einer Infusionslösung 1 x 500 mg Ampulle
Präparat: Zaldiar, Brausetabletten
Präparat: Nasivin 0,01 %, 0,025 %, 0,05% Nasentropfen / Nasivin 0,05 %, Dosierspray
Präparat: Myrtilli fructus tot
Präparat: Myrtilli fructus extr liq 1/1
Präparat: Anapen 300 Mikrogramm und Anapen Junior 150 Mikrogramm, Injektionslösung
Präparat: Methotrexat Farmos, Tabletten 2.5 mg und 10 mg
Präparat: Octagam 5 % resp. 10%, Lösung zur intravenösen Anwendung
Präparat: Carboplatin Sandoz, Infusionslösung 10 mg/ml / Carboplatin Ebewe, Infusionslösung 10 mg/ml
Präparate: 55‘596 Nutriflex Lipid peri, Infusionsemulsion
                     55‘594 Nutriflex Lipid plus, Infusionsemulsion
                     56‘089 Nutriflex Lipid plus ohne Elektrolyte, Infusionsemulsion
                     55‘595 Nutriflex Lipid special, Infusionsemulsion
                     56‘091 Nutriflex Lipid special ohne Elektrolyte, Infusionsemulsion
Präparate: Methotrexat Ebewe 1000mg/10 ml Stechampullen
                    Fluorouracil Ebewe 250mg/5ml Stechampullen
                    Fluorouracil Ebewe 500mg/10ml Stechampullen
view · edit · sidebar · attach · print · history
Page last modified on November 01, 2012, at 08:17 AM