view · edit · sidebar · attach · print · history

20130731-fi-links

<< | Index | >>


Summary

  • some links are not correctly updated when reparsing a company
  • tables contain too many paragraphs with just a space (e.g. "Tabelle 2" of Isentress)

Commits

Index


reparse must update all links

Problem is reproduced (in my VM like this)

  1. Search for trademark "Nasivin"
  2. Click on patinfo
  3. Now display incorrect info
Sie befinden sich in - 	Suchresultat	 - 	Patienteninformation zu Cardiospermum Salbe Cosmochema	
Patienteninformation zu Nasivin®:	Ebi-Pharm AG

Question: Is this corrected after a reparse (it should be corrected)?

Therefore running a reparse of FI and PI for Iromedica. After the reparse, displays still the wrong information.

Google help me to find another place where this error still exists. http://generika.cc/dt/generika/print/reg/53577/seq/01/patinfo/

tables contain too many paragraphs with just a space

Isentress HTML looks like this

<tr>
<td class="s45"><p><span class="s47"><span>Darunavir/Ritonavir</span></span></p></td>
<td class="s45"><p class="s17"><span class="s47"><span>600 mg/100 mg zweimal t&auml;glich</span></span></p></td>
<td class="s45"><p class="s17"><span class="s47"><span>400 mg zweimal t&auml;glich</span></span></p></td>
<td class="s45"><p class="s17"><span class="s47"><span>6</span></span></p></td>
<td class="s45">
<p class="s17"><span class="s47"><span>0</span></span><span class="s47"><span>,</span></span><span class="s47"><span>67</span></span></p>
<p class="s17"><span class="s47"><span>(0</span></span><span class="s47"><span>,</span></span><span class="s47"><span>33-1</span></span><span class="s47"><span>,</span></span><span class="s47"><span>37)</span></span></p>
</td>
<td class="s45">
<p class="s17">
   <span class="s47"><span>0</span></span>
   <span class="s47"><span>,</span></span>
   <span class="s47"><span>71</span></span>
</p>
<p class="s17"><span class="s47"><span>(0</span></span><span class="s47"><span>,</span></span><span class="s47"><span>38-1</span></span><span class="s47"><span>,</span></span><span class="s47"><span>33)</span></span></p>
</td>
<td class="s45">
<p class="s17"><span class="s47"><span>1</span></span><span class="s47"><span>,</span></span><span class="s47"><span>38</span></span></p>
<p class="s17"><span class="s47"><span>(0</span></span><span class="s47"><span>,</span></span><span class="s47"><span>16-12</span></span><span class="s47"><span>,</span></span><span class="s47"><span>12)</span></span></p>
</td>
</tr>

Added a test case. Remarked that too many paragraphs were built. Changed code. Rerun import. Now we find no more empty paragraphs in the yaml file. The generated HML of isentress -FI however still contains a leding <br> inside the <td>, which make the table cell larger than necessary. E.g

<td colspan="1" rowspan="1">
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;"> </span><span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;"></span>
<br>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">1</span><span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">,</span>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">38</span><span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;"> </span>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;"></span>
<br>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">(0</span>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">,</span><span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">16-12</span>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">,</span><span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;">12)</span>
<span style="padding-bottom: 4px; white-space: normal; line-height: 1.4em;"> </span>
</td>

Verified after the import that the displayed content of my isentress matched the content on oddb.ch (perfect). Comparing the content with swissmedicinfo had a few differences (line breaks, info about swissmedic). 'Only swissmedicinfo displayed'

Wirkung auf die Fahrtüchtigkeit und auf das Bedienen von Maschinen

Isentress kann bei manchen Patienten die Fahrtüchtigkeit oder die Fähigkeit, Maschinen zu bedienen beeinflussen. 
Die Patienten müssen darüber informiert sein, dass unter Isentress über Schwindelgefühl berichtet wurde
(siehe Abschnitt "Unerwünschte Wirkungen").

Do we miss a section heading for oddb.org?

Pushed the changes with commit Don't add unnecessary paragraphs to fachinfo

view · edit · sidebar · attach · print · history
Page last modified on July 31, 2013, at 02:45 PM