view · edit · sidebar · attach · print · history

20130118-oddb2xml-dat-drug-search

<< | Index | >>


Summary

  • Debug search response.
  • create dat output for oddb2xml.

Commits

ch.oddb.org

Index


Debug oddb.org search response

@document.location@ stops animation gif.

use createElement instead @document.location@.
onChange of Secet-Menu also uses this method.

function get_to(url) {
  var form = document.createElement("form");
  form.setAttribute("method", "GET");
  form.setAttribute("action", url);
  document.body.appendChild(form);
  form.submit();
}

Ref.

commit

oddb2xml-dat-output

  1. . oddb.csv (for :oddb2tdat:)
  2. . oddb.dat
  3. . oddb_with_migel.dat
commit (ch.oddb.org)

Ref.

header
keys = { 
        :rectype                 => 'Typ',                               #=> 00
        :iksnr                   => 'Reg.-Nr.',                          #=> 01
        :ikscd                   => 'Packungsnummer',                    #=> 02
        :ikskey                  => 'Swissmedic-Nr.',                    #=> 03
        :barcode                 => 'EAN-Code',                          #=> 04
        :bsv_dossier             => 'BSV-Dossier',                       #=> 05
        :pharmacode              => 'Pharmacode',                        #=> 06
        :name_base               => 'Präparat',                          #=> 07
        :galenic_form            => 'Galenische Form',                   #=> 08
        :most_precise_dose       => 'Stärke',                            #=> 09
        :size                    => 'Packungsgrösse',                    #=> 10
        :numerical_size          => 'Numerisch',                         #=> 11
        :price_exfactory         => 'Exfactory-Preis',                   #=> 12
        :price_public            => 'Publikumspreis',                    #=> 13
        :company_name            => 'Zulassungsinh.',                    #=> 14
        :ikscat                  => 'Kat.',                              #=> 15
        :sl_entry                => 'SL',                                #=> 16
        :introduction_date       => 'Aufname in SL',                     #=> 17
        :limitation              => 'Limitation',                        #=> 18
        :limitation_points       => 'Limitationspunkte',                 #=> 19
        :limitation_text         => 'Limitationstext',                   #=> 20
        :lppv                    => 'LPPV',                              #=> 21
        :registration_date       => 'Reg.Dat.',                          #=> 22
        :expiration_date         => 'Gültig bis',                        #=> 23
        :inactive_date           => 'Aufnahme in SL',                    #=> 24
        :export_flag             => 'Exportprodukt',                     #=> 25
        :casrn                   => 'CAS Reg.Nr.',                       #=> 26
        :generic_type            => 'Generikum',                         #=> 27
        :has_generic             => 'Hat ein Generikum',                 #=> 28
        :deductible              => 'QP',                                #=> 29
        :out_of_trade            => 'Ausser Handel (MedRef)',            #=> 30
        :c_type                  => 'Komplementärprodukt',               #=> 31
        :index_therapeuticus     => 'Index Therapeuticus (BAG)',         #=> 32
        :ith_swissmedic          => 'Index Therapeuticus (Swissmedic)',  #=> 33
        :narcotic                => 'Bet.M',                             #=> 34
        :vaccine                 => 'Impfstoff/Blutprodukt',             #=> 35
        :renewal_flag_swissmedic => 'In Erneuerung (Swissmedic',         #=> 36
      }
view · edit · sidebar · attach · print · history
Page last modified on January 21, 2013, at 06:06 AM