could not connect to www.swissreg.ch: #<Net::HTTPInternalServerError:0x007f8a7d69bb58>
---
With commit Make remarks smaller on iphone (via textarea) I made all textareas for mobile devices (e.g. iPhone) smaller (reducing from 750 to 300 pixel). This affects also the the following views
Verified differences after running rake test
<IX DT=""> <IXNO>1</IXNO> <TITD/> <GRP1D>ATC1,Name1,ATC2,Name2,Info,Mechanismus,Effekt,Massnahmen,Grad</GRP1D> <GRP2D/> <EFFD/> <MECHD/> <MEASD/> <DEL>false</DEL> </IX>
<LIM DT=""> <Pharmacode>3817150</Pharmacode> <IT>07.01.10.</IT> <LIMTYP>DIA</LIMTYP> <LIMVAL/> <LIMNAMEBAG>070110</LIMNAMEBAG> <LIMNIV>IP</LIMNIV> <DSCRD>Die aufgeführten Präparate dürfen nur für Säuglinge bis zu 12 Monaten verordnet werden.</DSCRD> <DSCRF>Les préparations mentionnées ne doivent être prescrites que pour des nourrissons jusqu'à 12 mois.</DSCRF> <VDAT>01.01.2000</VDAT> </LIM>
Must fix missing limitations and interactions.
I cannot explain the error with interactions, as running it is tested (and verified manually) again when running the rake spec-tests. When looking at the downloaded matrix.csv file I find that the second line is wrongly encoded, eg.
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"
It is missing a start '"'. Found a work-around and asking zeno to get epha fix this problem.
Now I suddenly have 161441 instead of 161200 article. A new one has the pharmacode 8808706 Trichloressigsäure (TCA-Peeling) 25% 100g Veral Gl.
. Found it in the oddb2xml_zurrose_transfer.dat downloaded today which is bigger than the one from Monday.
Pushing commits