<html>
<title>EPDS</title>
<head>
<style type="text/css">
p.title{
	text-transform: uppercase;
	font-size: 16;
	font-family: Arial;
	font-weight: bolder;
	text-align: left;
	color: black;
}
p.title1{
	
	font-size: 10;
	font-family: Arial;
	font-weight: bold;
	text-align: left;
	color: black;
}
p.heading{
	font-weight: bolder;
	text-decoration: underline;
}

td.heading1{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: left;
	vertical-align: top;
	color: white;
	background:black ;
	border-width: 1;
}
td.heading2{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: center;
	vertical-align: top;
	color: white;
	background: #444444;
	border-width: 1;
}
td.heading3{
	font-size: 12;
	font-family: Arial;
	font-weight: bold;
	text-align: left;
	vertical-align: top;
	color: white;
	background: #444444;
	border-width: 1;
}

tr.odd{
	background-color: #ffffff;
}
tr.even{
	background-color: #dddddd;
}
td.question{
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	border-width: 1;
}
td.answer{
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: center;
	vertical-align: top;
	color: black;
	border-width: 1;
}
td.answer1{
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	border-width: 1;
}
td.normaltext{
	width: 100%;
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	background-color: white;
	border-width: 0;
}
input.formtext{
	width: 100%;
	height: 100%;
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	background-color: white;
	border-width: 1;
	border-style: solid; 
}
textarea.formtext{
	width: 100%;
	height: auto;
	font-size: 12;
	font-family: Arial;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	color: black;
	background-color: white;
	border-width: 1;
	border-style: solid;
}

</style>

<!-- CSS Script that removes textarea and textbox borders when printing ---(put this inbetween <header></header>)----------------->
<style type="text/css" media="print">
div.DoNotPrint {
	display: none;
}

input.noborder {
	border : 0px;
	background: transparent;
}
textarea.noborder {
	scrollbar-3dlight-color: transparent;
	scrollbar-3dlight-color: transparent;
	scrollbar-arrow-color: transparent;
	scrollbar-base-color: transparent;
	scrollbar-darkshadow-color: transparent;
	scrollbar-face-color: transparent;
	scrollbar-highlight-color: transparent;
	scrollbar-shadow-color: transparent;
	scrollbar-track-color: transparent;
	background: transparent;
	overflow: hidden;
	//scrollbar : none;
	border : 0px;
}
</style>
<!-- ----------------------------------------------------------------------------------------- -->

<script type="text/javascript" language="javascript">
function getCheckedValue(radioObj) {

	if(!radioObj)
		return parseInt(0);
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return parseInt(radioObj.value);
		else
			return parseInt(value);
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return parseInt(radioObj[i].value);
		}
	}
	
	return parseInt(0);
}

function totalScore(){
	var i = 0;
        var j = 0;

	i += getCheckedValue(document.PHQ9Form.Q1);
	i += getCheckedValue(document.PHQ9Form.Q2);
	i += getCheckedValue(document.PHQ9Form.Q3);
	i += getCheckedValue(document.PHQ9Form.Q4);
	i += getCheckedValue(document.PHQ9Form.Q5);
	i += getCheckedValue(document.PHQ9Form.Q6);
	i += getCheckedValue(document.PHQ9Form.Q7);
	i += getCheckedValue(document.PHQ9Form.Q8);
	i += getCheckedValue(document.PHQ9Form.Q9);
	i += getCheckedValue(document.PHQ9Form.Q10); 

	document.PHQ9Form.PHQ9Score.value = i;
	if (i<=9){
		document.getElementById("minimal").style.background='yellow';
		document.getElementById("mild").style.background='white';
		document.getElementById("moderate").style.background='white';
		
	}
	else if (i>=10 && i<=13){
		document.getElementById("minimal").style.background='white';
		document.getElementById("mild").style.background='yellow';
		document.getElementById("moderate").style.background='white';
		
	}
	else if (i>13){
		document.getElementById("minimal").style.background='white';
		document.getElementById("mild").style.background='white';
		document.getElementById("moderate").style.background='yellow';
		
	}

               j += getCheckedValue(document.PHQ9Form.Q10); 

	 if (j>0){

		document.getElementById("suiciderisk").style.background='red';
		
	}
	 else if (j==0){

		document.getElementById("suiciderisk").style.background='#dddddd';
		
	}


}
</script>


</head>

<body>
<form method="post" action="" name="PHQ9Form">

<p class="title">
	Edinburgh Postnatal Depression Scale (EPDS)
</p>
<p class="title1">
        Source:Cox,J.L, Holden, J.M, and Sagovsky, R. 1987. Detection of postnatal depression: Development of the 10-item Edinburgh Postnaltal Depression Scale. British Journal of Psychiatry 150:782-786
</p>
<br>
<div name="demographics">
<table width="100%">
	<tr>
		<td class="heading1" width=25%>Patient name</td>
		<td class="normaltext" width=75%><input class="formtext" name="PatientName" type="text" oscarDB=patient_name>
	</tr>
	<tr>
		<td class="heading1">Date:</td>
		<td class="normaltext"><input class="formtext" name="TodaysDate" type="text" oscarDB=today>
	</tr>
	<tr>
		<td class="heading1">Baby's Date of Birth:</td>
		<td class="normaltext"><input class="formtext" name="DOB" type="text" >
	</tr>
</table>
</div>

<br>

<div name="Questionnaire">
<table width="100%">

	<tr>
		<td class="answer1">As you are pregnant or have recently had a baby, we would like to know how you are feeling. Please check the answer that comes closest to how you have felt IN THE PAST 7 DAYS, not just how you feel today.Here is an example, already completed.</td>
	</tr>
</table>

<table width="100%">
        <tr>
		<td class="heading3"width = 20%> I have felt happy:</td>
		<td class="heading2">Yes, all the time<input type="radio" name="Q0" ></td>
		<td class="heading2">Yes, most of the time<input type="radio" name="Q0"checked ></td>
		<td class="heading2">No, not very often<input type="radio" name="Q0" ></td>
		<td class="heading2">No, not at all<input type="radio" name="Q0" ></td>
</table>
<table width="100%">

	<tr>
		<td class="answer1">This would mean: "I have felt happy most of the time" during the past week. Please complete the following questions in the same way.</td>
	</tr>
</table>
<br>

<table width="100%">
	<tr class="even">
              <td class="answer1" width = 100%>IN THE PAST 7 DAYS: </td>
	</tr>
</table>

<table width="100%">

	<tr class ="odd">
		<td class="heading3"width = 20%>1. I have been able to laugh and see the funny side of things:</td>
		<td class="heading2">As much as I always could<input type="radio" name="Q1" value="0"></td>
		<td class="heading2">Not quite so much now<input type="radio" name="Q1" value="1"></td>
		<td class="heading2">Definitely not so much now<input type="radio" name="Q1" value="2"></td>
		<td class="heading2">Not at all<input type="radio" name="Q1" value="3"></td>
	</tr>
	<tr class="even">
		<td class="answer1"width = 20%>2. I have looked forward with enjoyment to things:</td>
		<td class="answer">As much as I ever did<input type="radio" name="Q2" value="0"></td>
		<td class="answer">Rather less than I used to<input type="radio" name="Q2" value="1"></td>
		<td class="answer">Definitely less than I used to<input type="radio" name="Q2" value="2"></td>
		<td class="answer">Hardly at all<input type="radio" name="Q2" value="3"></td>
	</tr>
	<tr class="odd">
		<td class="heading3"width = 20%>3. I have blamed myself unnecessarily when things went wrong:</td>
		<td class="heading2">Yes, most of the time<input type="radio" name="Q3" value="3"></td>
		<td class="heading2">Yes, some of the time<input type="radio" name="Q3" value="2"></td>
		<td class="heading2">Not very often<input type="radio" name="Q3" value="1"></td>
		<td class="heading2">No, never<input type="radio" name="Q3" value="0"></td>
	</tr>
	<tr class="even">
		<td class="answer1"width = 20%>4. I have been anxious or worried for no good reason:</td>
		<td class="answer">No, not at all<input type="radio" name="Q4" value="0"></td>
		<td class="answer">Hardly ever<input type="radio" name="Q4" value="1"></td>
		<td class="answer">Yes, sometimes<input type="radio" name="Q4" value="2"></td>
		<td class="answer">Yes, very often<input type="radio" name="Q4" value="3"></td>
	</tr>
	<tr class="odd">
		<td class="heading3"width = 20%>5. I have felt scared or panicky for no very good reason:</td>
		<td class="heading2">Yes, quite a lot<input type="radio" name="Q5" value="3"></td>
		<td class="heading2">Yes, sometimes<input type="radio" name="Q5" value="2"></td>
		<td class="heading2">No, not much<input type="radio" name="Q5" value="1"></td>
		<td class="heading2">No, not at all<input type="radio" name="Q5" value="0"></td>
	</tr>
	<tr class="even">
		<td class="answer1"width = 20%>6. Things have been getting on top of me:</td>
		<td class="answer">Yes, most of the time I haven't been able to cope at all<input type="radio" name="Q6" value="3"></td>
		<td class="answer">Yes, sometimes I haven't been coping as well as usual<input type="radio" name="Q6" value="2"></td>
		<td class="answer">No, most of the time I have coped quite well<input type="radio" name="Q6" value="1"></td>
		<td class="answer">No,I have been coping as well as ever<input type="radio" name="Q6" value="0"></td>
	</tr>
	<tr class="odd">
		<td class="heading3"width = 20%>7. I have been so unhappy that I have had difficulty sleeping:</td>
		<td class="heading2">Yes, most of the time<input type="radio" name="Q7" value="3"></td>
		<td class="heading2">Yes, sometimes<input type="radio" name="Q7" value="2"></td>
		<td class="heading2">Not very often<input type="radio" name="Q7" value="1"></td>
		<td class="heading2">No, not at all<input type="radio" name="Q7" value="0"></td>
	</tr>
	<tr class="even">
		<td class="answer1"width = 20%>8. I have felt sad or miserable:</td>
		<td class="answer">Yes, most of the time<input type="radio" name="Q8" value="3"></td>
		<td class="answer">Yes, quite often<input type="radio" name="Q8" value="2"></td>
		<td class="answer">Not very often<input type="radio" name="Q8" value="1"></td>
		<td class="answer">No, not at all<input type="radio" name="Q8" value="0"></td>
	</tr>
	<tr class="odd">
		<td class="heading3"width = 20%>9. I have been so unhappy that I have been crying:</td>
		<td class="heading2">Yes, most of the time<input type="radio" name="Q9" value="3"></td>
		<td class="heading2">Yes, quite often<input type="radio" name="Q9" value="2"></td>
		<td class="heading2">Only occasionally<input type="radio" name="Q9" value="1"></td>
		<td class="heading2">No, never<input type="radio" name="Q9" value="0"></td>
	</tr>
	<tr class="even">
		<td class="answer1"width = 20% id = "suiciderisk">10. The thought of harming myself has occurred to me:</td>
		<td class="answer">Yes, quite often<input type="radio" name="Q10" value="3"></td>
		<td class="answer">Sometimes<input type="radio" name="Q10" value="2"></td>
		<td class="answer">Hardly ever<input type="radio" name="Q10" value="1"></td>
		<td class="answer" >Never<input type="radio" name="Q10" value="0"></td>
	</tr>

</table>
<br>


</div>
<div name="Button" class="DoNotPrint">

<table>
<tr>
	<td><input type="button" onclick="totalScore()" value="Calculate Total Score"></td>
	<td><input type="text" name="PHQ9Score" size="10" value=""></td>
</tr>
</table>
</div>


<br>
<br>


<div name="Instructions" class="DoNotPrint">
<table>
<tr>
	<td class="heading2">Instructions - How to Score the EPDS</td>
</tr>
<tr>
	<td>
		<p>Maximum score:   30</p>

	</td>
</tr>
<tr>
	<td>
		<p>Possible depression: 10 or greater</p>

	</td>
</tr>
<tr>
	<td>
		<p>Always look at item 10 (suicidal thoughts)</p>

	</td>
</tr>
<tr>
</table>

<table>
	<td>

			<tr>
				<td class="heading2">Score</td>
				<td class="heading2">Action</td>
			</tr>
			<tr id="minimal">
				<td>0-9</td>
				<td>The score suggests the patient may not need depression treatment</td>
			</tr>
			<tr id="mild">
				<td>10-13</td>
				<td>Possible depression</td>
			</tr>
			<tr id="moderate">
				<td> >13</td>
				<td>Likely to be suffering from a depressive illness</td>
			</tr>

	</td>
</table>

<table>
       
                     <tr>
                              <td class ="heading2">Instructions for using the Edinburgh Postnatal Depression Scale:</td>
                     </tr>
                     <tr>
                              <td>1. The mother is asked to check the response that comes closest to how she has been feeling in the previous 7 days.</td>
                      </tr>
                      <tr>
	                      <td>2. All of the items must be completed.</td>
                      </tr>
                      <tr>
	                      <td>3. Care should be taken to avoid the possibility of the mother discussing her answers with others. (Answers come from the mother or pregnant woman)</td>
                       </tr>
                       <tr>
	                      <td>4. The mother should complete the scale herself, unless she has limited English or has difficulty with reading.</td>
                    </tr>
</div>
<table>
                   <tr> <u>Helpful websites.</u></tr>
                   <li><a href="http://www.depressionafterdelivery.com" target="_blank">Depression after Delivery</a></li>
                   <li><a href="http://www.4women.gov" target="_blank">National Womens's Health Information</a></li>

</table>
<br>
<br>

<!-- The submit/print/reset buttons ------------------------------------------------------------->
<div name="FunctionButtons" class="DoNotPrint">
<table>
<tr>
	<td class="subjectline">
		Subject: <input name="subject" size="40" type="text">
		<input value="Submit" name="SubmitButton" type="submit">
		<input value="Reset" name="ResetButton" type="reset">
		<input value="Print" name="PrintButton" onclick="javascript:window.print()" type="button">
	</td>
</tr>
</table>
</div>

</form>
<!-- ------End of submit/print/reset buttons----------------------------------------------------->

</body>
</html>