Closed zdavatz closed 5 years ago
But here we have many changes. The old format from https://download.epha.ch/cleaned/matrix.csv was:
"ATC1","Name1","ATC2","Name2","Info","Mechanismus","Effekt","Massnahmen","Grad" "N06AB06","Sertralin","M03BX02","Tizanidin","Keine Interaktion","Tizanidin wird über CYP1A2 metabolisiert. Sertralin beeinflusst CYP1A2 jedoch nicht.","Keine Interaktion.","Die Kombination aus Sertralin und Tizanidin hat kein bekanntes Interaktionspotential.","A"
The new one from http://pillbox.oddb.org/drug_interactions_csv_de.zip has no header and the first line contains HTML element
D01BA02 [Terbinafin] → N02AX02 [Tramadol]Risikoklasse: Kombination vermeiden (D)
Möglicher Effekt: Verminderte analgetische Wirkung
Mechanismus: Terbinafin hemmt CYP2D6 und damit auch den Metabolismus von Tramadol.
Empfohlene Massnahmen: Der gleichzeitige Einsatz von Tramadol und Terbinafin ist ungünstig. Es sollte eine andere analgetische Therapie gewählt oder beispielsweise Itraconazol als alternatives Antimykotikum eingesetzt werden.
I will commit the old epha File to https://github.com/zdavatz/oddb2xml_files. We can take it from oddb.org
Neuer Download Link: https://github.com/zdavatz/oddb2xml_files/blob/master/interactions_de_utf8.csv
should be done with: https://github.com/zdavatz/oddb2xml/commit/f0421a8124f51ebf2e7ec83d9d0e627ca16e64b8
Version 2.6.2 still gives one Error:
/home/zeno/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/http.rb:906:in `rescue in block in connect': Failed to open TCP connection to download.epha.ch:80 (getaddrinfo: Name or service not known) (SocketError)
für das atc.csv bitte neu dieses File verwenden: atc_codes_multi_lingual.txt falls wir das für oddb2xml überhaupt benötigen.
Should be fixed with commit
oddb2xml -e finished without problems. oddb2xml --artikelstamm is currently running locally
Kannst Du noch das neue Gem releasen bitte.
oddb2xml-2.6.3.gem has been released.
replace epha download link with DE: http://pillbox.oddb.org/drug_interactions_csv_de.zip FR: http://pillbox.oddb.org/drug_interactions_csv_fr.zip