<< | Index | >>
Added atc_code via Package.atc_class.atc_code by each package as hidden element.
Then create link with javascript.
var link = 'http://modules.epha.ch/vigi/orbit.html'; var param = ''; var codes = getElementsByName('atc_code'); var values = []; var i = 0; var c = codes.length; for (; i < c; i++) { values.push(codes[i].value); } if (values.length != 0) { param += '#' + values.join(); } window.open(link + param);
updated titles of meddrugs patinfo ebooks.
updated just-medical decorator for meddrugs to insert compare drug link(link chapter).
Updated narcotics flag.
create xls(csv) for update_btm
(narcotics plugin).
if row[5] and items = row[5].split(/\s/) iksnr = items[2] ikscd = items[3] end
:%s/[0-9A-z\w\ \(\)\t]\+\ze\([0-9]\{5}\)\/g
create csv from text. (Removed unused text und repair columns.)
update_narcotics had old method name.
$ ruby jobs/update_narcotics /path/to/btm.xls