<< | Index | >>
row << "%#{DAT_LEN[:CIKS]}s" % if (pac && pac[:swissmedic_category] =~ /^[ABCDE]$/) #=> bagXML pac[:swissmedic_category] elsif (@packs[num]) #=> Packungen.xls @packs[num][:swissmedic_category] else #=> not found '0' end.gsub(/(\+|\s)/, '')
row << "%#{DAT_LEN[:CBGG]}s" % if ((pac && pac[:narcosis_flag] == 'Y') or # BAGXml (@flags[de_pac[:ean]])) # ywesee BM_update '3' else '0' end
row << "%#{DAT_LEN[:CKZL]}s" % (pac ? '1' : '3') # sl_entry or not
row << "%#{DAT_LEN[:CLAG]}s" % if ((num && num.to_s =~ /(\d{5})(\d{3})/) and @fridges.include?($1.to_s)) '1' else '0' end
$ oddb2xml -f dat #=> oddb.dat $ oddb2xml -f dat -a nonpharma #=> oddb_with_migel.dat $ oddb2xml -f dat -a nonpharma -c tar.gz #=> oddb_dat.xx.xx.xx_xx.xx.tar.gz