view · edit · sidebar · attach · print · history

20120615-dosing-de-atc-name-link

<< | Index | >>


Summary

  • Created Updater for direct link to dosing.de in resultlist
    • Created Updater and job update_atc_nierelist
    • Updated Resultlist

Commits

Index


create update/import job for dosing.de link

Create link to dosig.de by name of ATC class.

Dosisanpassung bei Niereninsuffizienz
(suitability of dose by kidney functional disorder)

Currently, ATC Object does not have relation to list of dosing.de without ATC name.
I created new updater(import) job.

ch.oddb> registration('60143').sequence('01').packages.values.first.atc_class.description
-> Cabergolin
ch.oddb> registration('60143').sequence('01').packages.values.first.atc_class.pointer_descr
-> Cabergolin (G02CB03)
ch.oddb> registration('60143').sequence('01').packages.values.first.atc_class.substances.first
-> Cabergolinum
ch.oddb>
NOTE

some parent ATC class does not have description.(only code)

ch.oddb> atc_classes.values.select { |atc| atc.description.empty? }.length
-> 82

AtcClass.ni_id (ni from ID format NI_00000 of dosing.de).

update_atc_neirelist

bin/admin
ch.oddb> Updater.new(self).update_atc_nierelist
[yasaka@ywesee.com]
ch.oddb> atc_classes.values.select { |atc| !atc.ni_id.nil? }.last.ni_id
-> NI_51048
ch.oddb> atc_classes.values.select { |atc| !atc.ni_id.nil? }.length
-> 1061
job
$ ruby jobs/update_atc_nierelist
result report mail
ch.ODDB.org Report - ATC Class (dosing.de) - 06/2012

Checked ATC classes : 7347
Activate Niere Link : 1061
No link ATC classes : 6286

Added dosing.de link search resultlist

Added direct link to dosing.de by atc name.

view · edit · sidebar · attach · print · history
Page last modified on June 15, 2012, at 10:02 AM