Template:DN4: Difference between revisions

From WikiMSK

(Created page with "{| class="wikitable" |+DN4 - Questionnaire ! colspan="3"| INTERVIEW OF THE PATIENT |- |colspan="3" |'''QUESTION 1''' |- | '''Does the pain have one or more of the following ch...")
 
No edit summary
Line 10: Line 10:
|-
|-
|Burning
|Burning
|<html><input class="start-item" name="one" type="radio" id="q1-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="one" type="radio" id="q1-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q1-y" name="one" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q1-y" name="one" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
| Painful cold
| Painful cold
|<html><input class="start-item" name="two" type="radio" id="q2-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="two" type="radio" id="q2-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q2-y" name="two" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q2-y" name="two" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
| Electric shocks
| Electric shocks
|<html><input class="start-item" name="three" type="radio" id="q3-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="three" type="radio" id="q3-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q3-y" name="three" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q3-y" name="three" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
|colspan="3" |'''QUESTION 2'''
|colspan="3" |'''QUESTION 2'''
Line 28: Line 28:
|-
|-
| Tingling
| Tingling
|<html><input class="start-item" name="four" type="radio" id="q4-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="four" type="radio" id="q4-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q4-y" name="four" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q4-y" name="four" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
| Pins and needles
| Pins and needles
|<html><input class="start-item subscore" name="five" type="radio" id="q5-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="five" type="radio" id="q5-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item subscore" id="q5-y" name="five" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q5-y" name="five" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
| Numbness
| Numbness
|<html><input class="start-item subscore" name="six" type="radio" id="q6-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="six" type="radio" id="q6-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item subscore" id="q6-y" name="six" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q6-y" name="six" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
| Itching
| Itching
|<html><input class="start-item subscore" name="seven" type="radio" id="q7-n" value="0" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" name="seven" type="radio" id="q7-n" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item subscore" id="q7-y" name="seven" type="radio" value="10" onclick="window.startScore(this);" /></html>
|<html><input class="start-item" id="q7-y" name="seven" type="radio" value="0" onclick="window.startScore(this);" /></html>
|-
|-
!Probability
! colspan="3" |<div style="display:flex; flex-direction:row; justify-content:space-around;"><div>Result</div><div><span class="interpretation" style="color: green;">Negative</span></div><div><span class="score">Score: 0</span></div></div>
! colspan="3" |<span class="interpretation" style="color: green;">Negative</span><span class="score"> (0)</span>
|}
|}
<div style="display:none"><html><script type="text/javascript">
<div style="display:none"><html><script type="text/javascript">
if(typeof window.revelScore === 'undefined')
if(typeof window.startScore === 'undefined')
{
{
  window.revelScore = function(element)
  window.startScore = function(element)
  {
  {
   var score = 0;
   var score = 0;
   $(element).closest("table").find("input[type=checkbox]").filter(":checked").each(function(){
   $(element).closest("table").find("input[type=radio]").filter(":checked").each(function(){
   score += parseInt($(this).attr("value").replace(",", "."));
   score += parseInt($(this).attr("value").replace(",", "."));
   });
   });
 
   score /= 10; // parseFloat is not defined in chrome !!!!!????
   score /= 10;


   // Original version
   // Original version
   var element = $(element).closest("table").find(".interpretation");
   var element = $(element).closest("table").find(".interpretation");
   if(score < 5){ $(element).css("color", "green").html("Negative"); }
   if(score < 4){$(element).css("color", "green").html("Negative");}
   else if(score >4){ $(element).css("color", "red").html("Positive"); }
   else if(score >3){ $(element).css("color", "red").html("Positive");}
   else { $(element).css("color", "red").html("Error"); }
   else { $(element).css("color", "red").html("Error"); }
   $('.score').html(' (' + score + ')')
   $('.score').html('Score: ' + score)
 
  }
  }
}
}
</script></html></div>
</script></html></div>
<noinclude>[[Category:Calculators]]</noinclude>
<noinclude>[[Category:Calculators]]</noinclude>

Revision as of 13:22, 6 April 2022

DN4 - Questionnaire
INTERVIEW OF THE PATIENT
QUESTION 1
Does the pain have one or more of the following characteristics? Yes No
Burning
Painful cold
Electric shocks
QUESTION 2
Is the pain associated with one or more of the following symptoms in the same area? Yes No
Tingling
Pins and needles
Numbness
Itching
Result
Negative
Score: 0