<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>soapnote.org</title>
	<atom:link href="http://www.soapnote.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.soapnote.org</link>
	<description>share templates, calculators, and clinical decision support</description>
	<lastBuildDate>Sun, 29 Apr 2012 06:55:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Sharing clinical efficiencies online</title>
		<link>http://www.soapnote.org/news-updates/sharing-efficiencies/</link>
		<comments>http://www.soapnote.org/news-updates/sharing-efficiencies/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 05:11:11 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[News and updates]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2670</guid>
		<description><![CDATA[Untapped Soapnote was created to address a problem. Calculators, boilerplate, clinical decision rules, and checklists that providers use in their daily practice are often piled into proprietary electronic health record silos (link: http://bit.ly/eLaIRu), personal disc drives, paper forms, and in some cases, paper scraps. This untapped information has value.  It&#8217;s a sigh of relief to find a clinical gem [...]]]></description>
			<content:encoded><![CDATA[<p></p><h2>Untapped</h2>
<p><a href="http://www.soapnote.org/">Soapnote</a> was created to address a problem. Calculators, boilerplate, clinical decision rules, and checklists that providers use in their daily practice are often piled into proprietary electronic health record <a href="http://en.wikipedia.org/wiki/Information_silo">silos</a> (link: <a href="http://bit.ly/eLaIRu">http://bit.ly/eLaIRu</a>), personal disc drives, paper forms, and in some cases, paper scraps.</p>
<p>This untapped information has value.  It&#8217;s a sigh of relief to find a clinical gem when you&#8217;re behind schedule seeing patients.  It&#8217;s sleep you can bank on when you&#8217;re a resident on call Q3.  And it&#8217;s also that much more you can do for the patient sitting in front of you.</p>
<h2>A blog of tools</h2>
<p>Of course, a <a href="http://en.wikipedia.org/wiki/SOAP_note">SOAP note</a> (link:<a href="http://bit.ly/gVpFva"> http://bit.ly/gVpFva</a>) is the form of clinical documentation often used for progress notes.  SOAP is an acronym for Subjective (history), Objective (examination), Assessment (diagnosis), and Plan (treatment) components of the note.</p>
<p><a href="http://soapnote.org/">Soapnote</a> is a website intended for use by medical providers to create, collaborate, and catalogue clinical decision tools.  And “Soapnote” refers to any clinical decision tool on the site.  It&#8217;s a blog of clinical tools where anyone can post and receive feedback.</p>
<h2>Driving principles</h2>
<p>The development of <a href="http://www.soapnote.org/">Soapnote</a> is guided by some core principles.</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Don't_repeat_yourself">D-R-Y</a> (Don&#8217;t Repeat Yourself; link: <a href="http://bit.ly/fripkU">http://bit.ly/fripkU</a>) so you can focus on duties that require more thought.</li>
<li>Checklists jog your memory and <a href="http://www.ncbi.nlm.nih.gov/pubmed/18073269">make care better</a> (link: <a href="http://1.usa.gov/fzzcFG">http://1.usa.gov/fzzcFG</a>).</li>
<li>Writing computer-based clinical decision support needs to be as simple as possible.</li>
<li>Medical providers must be able to exchange clinical decision tools.</li>
<li>The Soapnotes on the website should be compatible with all electronic health records.</li>
<li>This should be free to use for everyone.</li>
</ul>
<h2>Essential features</h2>
<ul>
<li>Variety:  It is an online database of generic SOAP note text, web forms, calculators, and other clinical decision tools.</li>
<li>Open:  Any user may review, edit, and collaborate online.</li>
<li>Bookmarking: Users can save their favorite content (Soapnotes).</li>
<li>Voting:  Raters can indicate whether or not a Soapnote was useful to them.</li>
<li>Commenting: Each Soapnote can also be a discussion.</li>
<li>Social sharing:  &#8221;Steal shamelessly and share seamlessly&#8221; with embeddable widgets.</li>
<li>Evidence Based:  Soapnotes are linked to and annotated with evidence.</li>
</ul>
<h2><a name="mozTocId229137"></a>A Soapnote is &#8230;</h2>
<p>It could be as simple as a checklist or as involved as a paragraph builder with some decision support (including calculations).  Anything that speeds up your clinical visits, makes the care you provide more consistent, solidifies your diagnosis or treatment plan, improves the depth of your documentation, or simply helps you not forget an important step.</p>
<h2><a name="mozTocId645060"></a>Worth sharing</h2>
<p>The purpose of <a href="http://soapnote.org/">Soapnote</a> is to allow providers to spend more of their time thinking about &#8220;hard stuff&#8221; and less time re-inventing the wheel.  Here are some sources you can use to make good templates:</p>
<ul>
<li>import your medical templates from dictation programs such as<a href="http://www65.pair.com/lim/shorthand/"> Shorthand for Windows</a> (link: <a href="http://bit.ly/eloP18">http://bit.ly/eloP18</a>)</li>
<li>paraphrase your best old notes</li>
<li>build from your favorite evidence sources</li>
<li>collaborate to make templates as an educational exercise</li>
<li>and any other ways you can think of&#8230;</li>
</ul>
<h2>&#8216;Social&#8217; improves things</h2>
<p>It&#8217;s not quite peer review in the strictest sense, but as of right now (April 28, 2012), the small community of users aware of <a href="http://www.soapnote.org">soapnote.org</a> has expressed an opinion in a few different ways.</p>
<h3>Highest Rated 5</h3>
<p>Those little up and down thumbs at the bottom of every soapnote count!  Below is the top 5.  You can check the full list at any time by going to the <a href="http://www.soapnote.org/highest-rated-posts/">Highest Rated Soapnotes Page</a>.</p>
<ol>
<li><a title="Cough History" href="http://www.soapnote.org/respiratory/cough-history/">Cough History</a> Rating: 30 (from 34 votes)</li>
<li><a title="Generalized Anxiety Disorder GAD 7 Calculator" href="http://www.soapnote.org/mental-health/generalized-anxiety-disorder-gad-7/">Generalized Anxiety Disorder GAD 7 Calculator</a>  Rating: 28 (from 28 votes)</li>
<li><a title="Patient Health Questionnaire (PHQ 9) Calculator" href="http://www.soapnote.org/mental-health/patient-health-questionnaire-phq-9-calculator/">Patient Health Questionnaire (PHQ 9) Calculator</a> Rating: 27 (from 27 votes)</li>
<li><a title="diabetes medications" href="http://www.soapnote.org/endocrine-metabolic/diabetes-medications/">diabetes medications</a> (decision tool) Rating: 24 (from 24 votes)</li>
<li><a title="General Adult Physical Exams" href="http://www.soapnote.org/general/general-adult-physical-exams/">General Adult Physical Exams</a> Rating: 23 (from 23 votes)</li>
</ol>
<h3>Most Favorited 5</h3>
<p>Registered users can save favorites and return to them on their own page.  For instance, my page is at <a href="http://www.soapnote.org/author/mmorgan">www.soapnote.org/author/mmorgan</a>.  To go to your page, just replace &#8220;mmorgan&#8221; with your user name.</p>
<p>You can see the full list at the <a href="http://www.soapnote.org/most-favorited-posts/">Most Favorited Soapnotes Page</a>.  There are a lot more there!  But below are the 5 users favorites the most.</p>
<ol>
<li><a title="Child-Pugh Score for Liver Failure" href="http://www.soapnote.org/digestive-system/child-pugh-score/">Child-Pugh Score for Liver Failure</a> (calculator) &#8211; favorited 116 times</li>
<li><a title="Wells Clinical Prediction Rule for DVT" href="http://www.soapnote.org/blood-lymph/wells-dvt/">Wells Clinical Prediction Rule for DVT</a> - favorited 116 times</li>
<li><a title="ACCP Stroke Risk Calculator" href="http://www.soapnote.org/cardiovascular/accp-stroke-risk-calculator/">ACCP Stroke Risk Calculator</a> - favorited 112 times</li>
<li><a title="diabetes medications" href="http://www.soapnote.org/endocrine-metabolic/diabetes-medications/">diabetes medications</a> (decision tool) &#8211; favorited 111 times</li>
<li><a title="Charlson Comorbidity Index" href="http://www.soapnote.org/elder-care/charlson-comorbidity-index/">Charlson Comorbidity Index</a> - favorited 103 times</li>
</ol>
<h3>Week&#8217;s Pique (as in &#8216;piqued your interest&#8217;) 5</h3>
<p>This is last week&#8217;s most viewed pages.  (Whether or not they ended up being favorited or getting votes may be another matter&#8230;)</p>
<ol>
<li><a title="General Adult Physical Exams" href="http://www.soapnote.org/general/general-adult-physical-exams/">General Adult Physical Exams</a> - 115 views</li>
<li><a title="Coumadin adjustment calculator" href="http://www.soapnote.org/cardiovascular/coumadin-calculator/">Coumadin adjustment calculator</a> - 70 views</li>
<li><a title="General Pediatric Physical Exams" href="http://www.soapnote.org/child-health/general-exams/">General Pediatric Physical Exams</a> - 22 views</li>
<li><a title="Musculoskeletal Physical Exams" href="http://www.soapnote.org/musculoskeletal/musculoskeletal-exams/">Musculoskeletal Physical Exams</a> - 21 views</li>
<li><a title="Acute Adult Physical Exams" href="http://www.soapnote.org/general/acute-adult-physical-exams/">Acute Adult Physical Exams</a> - 14 views</li>
</ol>
<p>As you may have expected, there are pages to see <a href="http://www.soapnote.org/lists/most-popular-all/">most viewed posts of all time</a> and <a href="http://www.soapnote.org/lists/most-popular-week/">the week&#8217;s most viewed posts</a>.</p>
<h2>Parting thoughts</h2>
<p><span class="Apple-style-span" style="font-size: 13px; font-weight: normal;">What people look at, decide is good, and save for later are three essential takes on any form of content.  My hope since kicking this project off in 2009 was to stir clinical providers to produce content that others could judge as useful (or as a waste of time).</span></p>
<p>Medical providers live amongst technology, the application of science.  Social collaboration on these tools gets us closer to better tools.  Sharing online helps us apply medical science better.</p>
<p>The challenge going forward is to improve the interface so that the crustiest, EHR-hatingest, old-schooliest doc actually tries to make a Soapnote and succeeds.  But the key elements are here and there seems to be a hunger in the medical community for it.  And I&#8217;ll keep working on it.</p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2670' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/news-updates/sharing-efficiencies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2012.04.02 Soapnote’s Clinical Tools Update – April 2012</title>
		<link>http://www.soapnote.org/news-updates/april-2012/</link>
		<comments>http://www.soapnote.org/news-updates/april-2012/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 04:02:21 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[News and updates]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2594</guid>
		<description><![CDATA[New Soapnotes! Since the last update (March 2012) I’ve added a few templates and calculators. Obesity Surgery Mortality Risk Score.  The benefits may be obvious to the patient, but this calculator helps illuminate the risks. Edinburgh Claudication Questionnaire.  Use subjective symptoms to help diagnose peripheral vascular disease. Pneumonia Severity Index.  An addition to the growing [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>New Soapnotes!</strong></p>
<p>Since the last update (<a href="http://www.soapnote.org/news-updates/march-2012/">March 2012</a>) I’ve added a few templates and calculators.</p>
<ol>
<li><a href="http://www.soapnote.org/endocrine-metabolic/bariatric-risk/">Obesity Surgery Mortality Risk Score</a>.  The benefits may be obvious to the patient, but this calculator helps illuminate the risks.</li>
<li><a href="http://www.soapnote.org/cardiovascular/claudication-questionnaire/">Edinburgh Claudication Questionnaire</a>.  Use subjective symptoms to help diagnose peripheral vascular disease.</li>
<li><a href="http://www.soapnote.org/respiratory/pneumonia-severity-index/">Pneumonia Severity Index</a>.  An addition to the growing list of <a href="http://www.soapnote.org/tag/pneumonia/">pneumonia tools</a> on the site.  This calculator helps to determine mortality risk.</li>
<li><a href="http://www.soapnote.org/ear-nose-throat/hearing-handicap-inventory/">Hearing Handicap Inventory</a>.  A questionnaire to help a patient determine the impact of hearing loss on their life.</li>
<li><a href="http://www.soapnote.org/respiratory/asthma-control/">Asthma Control Decision Tool</a>.  For monitoring patients taking long-term control medication.  This is from the NAEPP 2007 Guidelines that everyone is already using.  If you click on the box next to “display asthma treatment steps,” it will do just that.</li>
<li><a href="http://www.soapnote.org/respiratory/asthma-control-questions/">Generic Asthma Symptom Control Questionnaire</a>.  It’s not validated, but it’s also not copyrighted.  It came straight from a 1995 NIH pocket guide.</li>
<li><a href="http://www.soapnote.org/respiratory/asthma-severity/">Classification of Asthma Severity</a>.  For determining severity of asthma in patients NOT taking long-term control medication.  There’s an <a href="http://www.soapnote.org/tag/asthma/">asthma theme</a> this month!  This is also from the NAEPP 2007 Guidelines.  It can also display the asthma treatment steps.</li>
<li><a href="http://www.soapnote.org/cardiovascular/chf-mortality/">CHF Exacerbation 30-day and 1-year Mortality Rate Decision Rules</a>.  A mortality calculator to help guide decision making for congestive heart failure exacerbations.</li>
<li><a href="http://www.soapnote.org/cardiovascular/lee-index/">Lee’s Revised Cardiac Risk Index</a>.  This helps determine the risk of complication following surgery.</li>
<li><a href="http://www.soapnote.org/cardiovascular/rouan/">Rouan Decision Rule for Myocardial Infarction</a>.  This can help to determine the risk of MI for patients with a normal or nonspecific EKG.</li>
<li><a href="http://www.soapnote.org/musculoskeletal/gout-rule/">Diagnostic Rule for Gouty Arthritis</a>.  For some reason a joint fluid analysis just isn’t in the cards today.  This decision tool only requires some subjective and objective exam findings and a blood sample.</li>
<li><a href="http://www.soapnote.org/infectious/diehr-rule/">Diehr Rule to Diagnose Pneumonia</a>.  Another <a href="http://www.soapnote.org/tag/pneumonia/">pneumonia</a> decision tool.  For this one, you’re not trying to figure out the mortality rate.  You’re still on the fence for whether or not the patient even has a pneumonia.  Baby steps.</li>
<li><a href="http://www.soapnote.org/child-health/yale-scale/">Yale Observation Scale for Febrile Child</a>.  This produces an incidence of serious bacterial infection.</li>
<li><a href="http://www.soapnote.org/mental-health/multi-axial-assessment/">Multi-Axial Assessment for Psychiatry</a>.  I just needed something to calculate the Global Assessment of Functioning (the 1 to 100 score).  I added in the I-IV because it V looked like it had a personality disorder just sitting there by itself.</li>
<li><a href="http://www.soapnote.org/respiratory/bode-index/">BODE Index for COPD Prognosis</a>.  It doesn’t give you a mortality, but does give you a consistent way to approach COPD patients.</li>
<li><a href="http://www.soapnote.org/respiratory/cough-exam/">Cough Exam</a>.  I got some (concise) feedback from a user who had viewed <a href="http://www.soapnote.org/respiratory/cough-history/">this Soapnote</a>.  This was an attempt to add a little ‘O’ to the ‘S’.  There’s also some ‘A &amp; P’ <a href="http://www.soapnote.org/tag/uri/">here</a>.</li>
<li><a href="http://www.soapnote.org/ear-nose-throat/otitis-media-exam/">Otitis Media Exam</a>.  This was just an attempt to get some more SOAP templates out there.</li>
<li><a href="http://www.soapnote.org/neurological/abcd2/">ABCD2 Score for CVA Risk after TIA</a>.  A nice tool for secondary prevention for patients with cerebrovascular disease.</li>
<li><a href="http://www.soapnote.org/women/osteoporosis-score/">Osteoporosis SCORE estimation</a>.  The <a href="http://www.shef.ac.uk/FRAX/">FRAX tool</a> may be better, but this might be quicker.  (A dubious distinction, but at least you can paste your output into your note with this one.)</li>
<li><a href="http://www.soapnote.org/men/erectile-function/">International Index of Erectile Function Questionnaire</a>.  Probably not one you’ll use every day, but helpful when you’re trying to keep things consistent and as objective as possible.</li>
<li><a href="http://www.soapnote.org/musculoskeletal/dire-score/">DIRE Score for Appropriate Opioid Use</a>.  This is quite useful.  I’ve used it multidisciplinary settings to guide the discussion a little bit.</li>
</ol>
<p><strong>Other Good Ideas!</strong></p>
<ol>
<li><strong>Read the User Guide:</strong>  For the basics, start with the <a href="http://soapnote.us2.list-manage2.com/track/click?u=8946e7f4efbfc4f981a95f45e&amp;id=650fd84698&amp;e=747b149e77">introduction</a>, it goes from <a href="http://soapnote.us2.list-manage1.com/track/click?u=8946e7f4efbfc4f981a95f45e&amp;id=e7f468d949&amp;e=747b149e77">simply using the website</a> to the <a href="http://soapnote.us2.list-manage1.com/track/click?u=8946e7f4efbfc4f981a95f45e&amp;id=1e9bd2b40c&amp;e=747b149e77">basics of making forms and calculators</a>.  The key to the most powerful calculators and decision tools is the web form capability.  So there’s <a href="http://soapnote.us2.list-manage.com/track/click?u=8946e7f4efbfc4f981a95f45e&amp;id=4d84495e2c&amp;e=747b149e77">a primer on making web forms on the site</a>.  The last section is <a href="http://soapnote.us2.list-manage.com/track/click?u=8946e7f4efbfc4f981a95f45e&amp;id=e4cdb1fe3e&amp;e=747b149e77">all samples</a>.  Sometimes just looking at an example is the best way to get started or getting past a roadblock.</li>
<li><strong>Use it for customized patient education materials.</strong>  I’ve been using the <a href="http://www.soapnote.org/tag/refrigerator/">refrigerator notes</a> for a while.  I think there may be a lot more opportunities to provide patients with custom-tailored handouts to help motivate them to improve their health.</li>
<li><strong>Give me a suggestion.</strong>  If you’ve got a suggestion for a soapnote or an idea for a new way for people to use the site, let me know.  If there’s anything I can do to help, I’d love to!   Just email me at <a href="mailto:%20mark@soapnote.org">mark@soapnote.org</a>.</li>
</ol>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2594' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/news-updates/april-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obesity Surgery Mortality Risk Score</title>
		<link>http://www.soapnote.org/endocrine-metabolic/bariatric-risk/</link>
		<comments>http://www.soapnote.org/endocrine-metabolic/bariatric-risk/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 04:45:49 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Endocrine]]></category>
		<category><![CDATA[bariatric]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[obesity]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2509</guid>
		<description><![CDATA[Reference: DeMaria (2007) Ann Surg 246: 578-82. Link: Ebell (2008) 77: 220-221. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<td><strong>Reference:</strong><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/17893494" target="_blank">DeMaria (2007) Ann Surg 246:  578-82.</a></td>
</tr>
<tr>
<td><strong>Link:</strong><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/18246893" target="_blank">Ebell (2008) 77:  220-221.</a></td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_333' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_333' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_333' value='1'/>
                            <ul id='gform_fields_333' class='gform_fields top_label'><li id='field_333_1' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2509" target="_top">soapnote.org</a>.</li><li id='field_333_2' class='gfield' ><label class='gfield_label' for='input_333_2'>Criteria (Asterisk indicates requirement for diagnosis of PVD)</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_333_2'><li class='gchoice_2_1'><input name='input_2.1' type='checkbox'  value='Age &gt; 45 years.  ||1'  id='choice_2_1' tabindex='1'  /><label for='choice_2_1'>Age &gt; 45 years</label></li><li class='gchoice_2_2'><input name='input_2.2' type='checkbox'  value='Hypertension.  ||1'  id='choice_2_2' tabindex='2'  /><label for='choice_2_2'>Hypertension</label></li><li class='gchoice_2_3'><input name='input_2.3' type='checkbox'  value='Male sex.  ||1'  id='choice_2_3' tabindex='3'  /><label for='choice_2_3'>Male sex</label></li><li class='gchoice_2_4'><input name='input_2.4' type='checkbox'  value='Risk factors for pulmonary embolism (previous venous thromboembolism, pulmonary hypertension, preoperative vena cava filter, or hypoventilation due to obesity).  ||1'  id='choice_2_4' tabindex='4'  /><label for='choice_2_4'>Risk factors for pulmonary embolism*</label></li><li class='gchoice_2_5'><input name='input_2.5' type='checkbox'  value='Body mass index ≥ 50 kg per m2.  ||1'  id='choice_2_5' tabindex='5'  /><label for='choice_2_5'>Body mass index ≥ 50 kg per m2</label></li></ul></div><div class='gfield_description'>*— Previous venous thromboembolism, pulmonary hypertension, preoperative vena cava filter, or hypoventilation due to obesity.
</div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult333();return false;' id='gform_submit_button_333' class='button' value='Submit' tabindex='6'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form333" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text333" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult333() 
						{

						jQuery.post("", jQuery("#gform_333").serialize());
							result="Obesity Surgery Mortality Risk Score:  ~|score|~ points.\nInterpretation:  ~|score2|~\nFindings:  ~|input_2.1|~~|input_2.2|~~|input_2.3|~~|input_2.4|~~|input_2.5|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_2.1|~+~|input_2.2|~+~|input_2.3|~+~|input_2.4|~+~|input_2.5|~";
		
		
							result=result.replace(new RegExp("~\\|input_2.1\\|~","g"),valueFilter("#gform_333 input[name='input_2.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.1\\|\\$","g"),scoreFilter("#gform_333 input[name='input_2.1']:checked"));
						score=score.replace(new RegExp("~\\|input_2.1\\|~","g"),scoreFilter("#gform_333 input[name='input_2.1']:checked"));
							result=result.replace(new RegExp("~\\|input_2.2\\|~","g"),valueFilter("#gform_333 input[name='input_2.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.2\\|\\$","g"),scoreFilter("#gform_333 input[name='input_2.2']:checked"));
						score=score.replace(new RegExp("~\\|input_2.2\\|~","g"),scoreFilter("#gform_333 input[name='input_2.2']:checked"));
							result=result.replace(new RegExp("~\\|input_2.3\\|~","g"),valueFilter("#gform_333 input[name='input_2.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.3\\|\\$","g"),scoreFilter("#gform_333 input[name='input_2.3']:checked"));
						score=score.replace(new RegExp("~\\|input_2.3\\|~","g"),scoreFilter("#gform_333 input[name='input_2.3']:checked"));
							result=result.replace(new RegExp("~\\|input_2.4\\|~","g"),valueFilter("#gform_333 input[name='input_2.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.4\\|\\$","g"),scoreFilter("#gform_333 input[name='input_2.4']:checked"));
						score=score.replace(new RegExp("~\\|input_2.4\\|~","g"),scoreFilter("#gform_333 input[name='input_2.4']:checked"));
							result=result.replace(new RegExp("~\\|input_2.5\\|~","g"),valueFilter("#gform_333 input[name='input_2.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.5\\|\\$","g"),scoreFilter("#gform_333 input[name='input_2.5']:checked"));
						score=score.replace(new RegExp("~\\|input_2.5\\|~","g"),scoreFilter("#gform_333 input[name='input_2.5']:checked"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="2.4% mortality rate (HIGH RISK)";
								if (score<4) score2 ="1.2% mortality rate (MODERATE RISK)";
								if (score<2) score2 ="0.2% mortality rate (LOW RISK)";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text333").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						</p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2509' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/endocrine-metabolic/bariatric-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edinburgh Claudication Questionnaire</title>
		<link>http://www.soapnote.org/cardiovascular/claudication-questionnaire/</link>
		<comments>http://www.soapnote.org/cardiovascular/claudication-questionnaire/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 05:32:21 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Cardiovascular]]></category>
		<category><![CDATA[claudication]]></category>
		<category><![CDATA[pad]]></category>
		<category><![CDATA[pvd]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2497</guid>
		<description><![CDATA[Summary: Decision tool for diagnosis of the claudication symptoms of peripheral vascular disease (PVD). Reference: Leng (1992) J Clin Epidemiol 45: 1101-9. Link: Family Practice Notebook Page &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<td><strong>Summary:</strong><br />
Decision tool for diagnosis of the claudication symptoms of peripheral vascular disease (PVD).</td>
</tr>
<tr>
<td><strong>Reference:</strong><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/1474406" target="_blank">Leng (1992) J Clin Epidemiol 45:  1101-9.</a>
</td>
</tr>
<tr>
<td><strong>Link:</strong><br />
<a href="http://www.fpnotebook.com/surgery/exam/ednbrghCldctnqstnr.htm" target="_blank">Family Practice Notebook Page</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_332' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_332' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_332' value='1'/>
                            <ul id='gform_fields_332' class='gform_fields top_label'><li id='field_332_1' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2497" target="_top">soapnote.org</a>.</li><li id='field_332_2' class='gfield' ><label class='gfield_label' for='input_332_2'>Criteria (Asterisk indicates requirement for diagnosis of PVD)</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_332_2'><li class='gchoice_2_1'><input name='input_2.1' type='checkbox'  value='Leg Pain with walking.  ||100'  id='choice_2_1' tabindex='1'  /><label for='choice_2_1'>Leg Pain with walking*</label></li><li class='gchoice_2_2'><input name='input_2.2' type='checkbox'  value='Pain does not have onset while standing or sitting.  ||100'  id='choice_2_2' tabindex='2'  /><label for='choice_2_2'>Pain does not have onset while standing or sitting*</label></li><li class='gchoice_2_3'><input name='input_2.3' type='checkbox'  value='Pain occurs while walking fast or uphill.  ||100'  id='choice_2_3' tabindex='3'  /><label for='choice_2_3'>Pain occurs while walking fast or uphill*</label></li><li class='gchoice_2_4'><input name='input_2.4' type='checkbox'  value='Pain occur even at normal pace on level ground||1'  id='choice_2_4' tabindex='4'  /><label for='choice_2_4'>Pain occur even at normal pace on level ground</label></li><li class='gchoice_2_5'><input name='input_2.5' type='checkbox'  value='Pain resolves within 10 minutes of standing still.  ||100'  id='choice_2_5' tabindex='5'  /><label for='choice_2_5'>Pain resolves within 10 minutes of standing still*</label></li></ul></div></li><li id='field_332_3' class='gfield' ><label class='gfield_label' for='input_332_3'>Pain Location</label><div class='ginput_container'><select name='input_3' id='input_332_3'  class='medium gfield_select' tabindex='6' ><option value='Calf pain.  ||10' >Calf pain</option><option value='Thigh or buttock pain without calf pain.  ||20' >Thigh or buttock pain without calf pain</option></select></div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult332();return false;' id='gform_submit_button_332' class='button' value='Submit' tabindex='7'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form332" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text332" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult332() 
						{

						jQuery.post("", jQuery("#gform_332").serialize());
							result="Edinburgh Claudication Questionnaire\nFindings:  ~|input_2.1|~~|input_2.2|~~|input_2.3|~~|input_2.4|~~|input_2.5|~~|input_3|~\nInterpretation:  ~|score2|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_2.1|~+~|input_2.2|~+~|input_2.3|~+~|input_2.4|~+~|input_2.5|~+~|input_3|~";
		
		
							result=result.replace(new RegExp("~\\|input_2.1\\|~","g"),valueFilter("#gform_332 input[name='input_2.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.1\\|\\$","g"),scoreFilter("#gform_332 input[name='input_2.1']:checked"));
						score=score.replace(new RegExp("~\\|input_2.1\\|~","g"),scoreFilter("#gform_332 input[name='input_2.1']:checked"));
							result=result.replace(new RegExp("~\\|input_2.2\\|~","g"),valueFilter("#gform_332 input[name='input_2.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.2\\|\\$","g"),scoreFilter("#gform_332 input[name='input_2.2']:checked"));
						score=score.replace(new RegExp("~\\|input_2.2\\|~","g"),scoreFilter("#gform_332 input[name='input_2.2']:checked"));
							result=result.replace(new RegExp("~\\|input_2.3\\|~","g"),valueFilter("#gform_332 input[name='input_2.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.3\\|\\$","g"),scoreFilter("#gform_332 input[name='input_2.3']:checked"));
						score=score.replace(new RegExp("~\\|input_2.3\\|~","g"),scoreFilter("#gform_332 input[name='input_2.3']:checked"));
							result=result.replace(new RegExp("~\\|input_2.4\\|~","g"),valueFilter("#gform_332 input[name='input_2.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.4\\|\\$","g"),scoreFilter("#gform_332 input[name='input_2.4']:checked"));
						score=score.replace(new RegExp("~\\|input_2.4\\|~","g"),scoreFilter("#gform_332 input[name='input_2.4']:checked"));
							result=result.replace(new RegExp("~\\|input_2.5\\|~","g"),valueFilter("#gform_332 input[name='input_2.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_2.5\\|\\$","g"),scoreFilter("#gform_332 input[name='input_2.5']:checked"));
						score=score.replace(new RegExp("~\\|input_2.5\\|~","g"),scoreFilter("#gform_332 input[name='input_2.5']:checked"));
		result=result.replace(new RegExp("~\\|input_3\\|~","g"),valueFilter("#gform_332 select[name='input_3']"));result=result.replace(new RegExp("\\$\\|input_3\\|\\$","g"),scoreFilter("#gform_332 select[name='input_3']"));
				score=score.replace(new RegExp("~\\|input_3\\|~","g"),scoreFilter("#gform_332 select[name='input_3']"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Meets criteria for PVD, findings of severe, atypical claudication";
								if (score<421) score2 ="Meets criteria for PVD, findings of atypical claudication";
								if (score<420) score2 ="Meets criteria for PVD, findings of severe, classic claudication";
								if (score<411) score2 ="Meets criteria for PVD, findings of classic claudication";
								if (score<410) score2 ="Meets criteria for PVD, findings suggest severe claudication";
								if (score<401) score2 ="Meets criteria for PVD";
								if (score<400) score2 ="Does not meet criteria for PVD\n";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text332").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						</p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2497' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/cardiovascular/claudication-questionnaire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pneumonia Severity Index</title>
		<link>http://www.soapnote.org/respiratory/pneumonia-severity-index/</link>
		<comments>http://www.soapnote.org/respiratory/pneumonia-severity-index/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 04:44:42 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Pulmonology]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[pneumonia]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2494</guid>
		<description><![CDATA[Summary: Prognostic decision rule for mortality rate when diagnosed with pneumonia. References: Fine (1997) N Engl J Med 336: 243-50. Ebell (2006) Am Fam Physician 73: 1425-8. Link: Family Practice Notebook Page &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<td><strong>Summary:</strong><br />
Prognostic decision rule for mortality rate when diagnosed with pneumonia.</td>
</tr>
<tr>
<td><strong>References:</strong><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/8995086" target="_blank">Fine (1997) N Engl J Med 336: 243-50.</a><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/16669565" target="_blank">Ebell (2006) Am Fam Physician 73:  1425-8.</a>
</td>
</tr>
<tr>
<td><strong>Link:</strong><br />
<a href="http://www.fpnotebook.com/lung/exam/PnmnSvrtyIndx.htm" target="_blank">Family Practice Notebook Page</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_331' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_331' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_331' value='1'/>
                            <ul id='gform_fields_331' class='gform_fields top_label'><li id='field_331_7' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2494" target="_top">soapnote.org</a>.
</li><li id='field_331_8' class='gfield' ><label class='gfield_label' for='input_331_8'>Age</label><div class='ginput_container'><select name='input_8' id='input_331_8'  class='small gfield_select' tabindex='1' ><option value='20||20' >20</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45||45' >45</option><option value='46||46' >46</option><option value='47||47' >47</option><option value='48||48' >48</option><option value='49||49' >49</option><option value='50||50' >50</option><option value='51||51' >51</option><option value='52||52' >52</option><option value='53||53' >53</option><option value='54||54' >54</option><option value='55||55' >55</option><option value='56||56' >56</option><option value='57||57' >57</option><option value='58||58' >58</option><option value='59||59' >59</option><option value='60||60' >60</option><option value='61||61' >61</option><option value='62||62' >62</option><option value='63||63' >63</option><option value='64||64' >64</option><option value='65||65' >65</option><option value='66||66' >66</option><option value='67||67' >67</option><option value='68||68' >68</option><option value='69||69' >69</option><option value='70||70' >70</option><option value='71||71' >71</option><option value='72||72' >72</option><option value='73||73' >73</option><option value='74||74' >74</option><option value='75||75' >75</option><option value='76||76' >76</option><option value='77||77' >77</option><option value='78||78' >78</option><option value='79||79' >79</option><option value='80||80' >80</option><option value='81||81' >81</option><option value='82||82' >82</option><option value='83||83' >83</option><option value='84||84' >84</option><option value='85||85' >85</option><option value='86||86' >86</option><option value='87||87' >87</option><option value='88||88' >88</option><option value='89||89' >89</option><option value='90||90' >90</option><option value='91||91' >91</option><option value='92||92' >92</option><option value='93||93' >93</option><option value='94||94' >94</option><option value='95||95' >95</option><option value='96||96' >96</option><option value='97||97' >97</option><option value='98||98' >98</option><option value='99||99' >99</option><option value='100||100' >100</option><option value='101||101' >101</option><option value='102||102' >102</option><option value='103||103' >103</option><option value='104||104' >104</option><option value='105||105' >105</option><option value='106||106' >106</option><option value='107||107' >107</option><option value='108||108' >108</option><option value='109||109' >109</option><option value='110||110' >110</option><option value='111||111' >111</option><option value='112||112' >112</option><option value='113||113' >113</option><option value='114||114' >114</option><option value='115||115' >115</option><option value='116||116' >116</option><option value='117||117' >117</option><option value='118||118' >118</option><option value='119||119' >119</option><option value='120||120' >120</option><option value='121||121' >121</option><option value='122||122' >122</option></select></div><div class='gfield_description'>years</div></li><li id='field_331_4' class='gfield' ><label class='gfield_label' for='input_331_4'>General &amp; Past Medical History</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_331_4'><li class='gchoice_4_1'><input name='input_4.1' type='checkbox'  value='Female Gender, subtract 10 points.  ||-10'  id='choice_4_1' tabindex='2'  /><label for='choice_4_1'>Female Gender</label></li><li class='gchoice_4_2'><input name='input_4.2' type='checkbox'  value='Nursing Home Resident, add 10 points.  ||10'  id='choice_4_2' tabindex='3'  /><label for='choice_4_2'>Nursing Home Resident</label></li><li class='gchoice_4_3'><input name='input_4.3' type='checkbox'  value='Cancer, add 30 points.  ||30'  id='choice_4_3' tabindex='4'  /><label for='choice_4_3'>Cancer</label></li><li class='gchoice_4_4'><input name='input_4.4' type='checkbox'  value='Liver Disease, add 20 points.  ||20'  id='choice_4_4' tabindex='5'  /><label for='choice_4_4'>Liver Disease</label></li><li class='gchoice_4_5'><input name='input_4.5' type='checkbox'  value='Congestive Heart Failure, add 10 points.  ||10'  id='choice_4_5' tabindex='6'  /><label for='choice_4_5'>Congestive Heart Failure</label></li><li class='gchoice_4_6'><input name='input_4.6' type='checkbox'  value='Cerebrovascular Accident, add 10 points.  ||10'  id='choice_4_6' tabindex='7'  /><label for='choice_4_6'>Cerebrovascular Accident</label></li><li class='gchoice_4_7'><input name='input_4.7' type='checkbox'  value='Chronic Kidney Disease, add 10 points.  ||10'  id='choice_4_7' tabindex='8'  /><label for='choice_4_7'>Chronic Kidney Disease</label></li></ul></div></li><li id='field_331_5' class='gfield' ><label class='gfield_label' for='input_331_5'>Examination findings</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_331_5'><li class='gchoice_5_1'><input name='input_5.1' type='checkbox' onclick='gf_apply_rules(331,[6]);' value='Altered Level of Consciousness, add 20 points.  ||20'  id='choice_5_1' tabindex='9'  /><label for='choice_5_1'>Altered Level of Consciousness</label></li><li class='gchoice_5_2'><input name='input_5.2' type='checkbox' onclick='gf_apply_rules(331,[6]);' value='Breathing Rate &gt;30 rpm, add 20 points.  ||20'  id='choice_5_2' tabindex='10'  /><label for='choice_5_2'>Breathing Rate &gt;30 rpm</label></li><li class='gchoice_5_3'><input name='input_5.3' type='checkbox' onclick='gf_apply_rules(331,[6]);' value='Systolic BP &lt;90 mmHg, add 20 points.  ||20'  id='choice_5_3' tabindex='11'  /><label for='choice_5_3'>Systolic BP &lt;90 mmHg</label></li><li class='gchoice_5_4'><input name='input_5.4' type='checkbox' onclick='gf_apply_rules(331,[6]);' value='Temperature not 95-104 F (35-40 C), add 15 points.  ||15'  id='choice_5_4' tabindex='12'  /><label for='choice_5_4'>Temperature not 95-104 F (35-40 C)</label></li><li class='gchoice_5_5'><input name='input_5.5' type='checkbox' onclick='gf_apply_rules(331,[6]);' value='Heart Rate &gt;125 bpm, add 10 points.  ||10'  id='choice_5_5' tabindex='13'  /><label for='choice_5_5'>Heart Rate &gt;125 bpm</label></li></ul></div></li><li id='field_331_6' class='gfield' style='display:none;'><label class='gfield_label' for='input_331_6'>Labs and Xray</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_331_6'><li class='gchoice_6_1'><input name='input_6.1' type='checkbox'  value='ABG:  Arterial pH &lt;7.35, add 30 points.  ||30'  id='choice_6_1' tabindex='14'  /><label for='choice_6_1'>ABG:  Arterial pH &lt;7.35</label></li><li class='gchoice_6_2'><input name='input_6.2' type='checkbox'  value='ABG:  PaO2 &lt;60 mmHg (&lt;90% O2 Sat), add 10 points.  ||10'  id='choice_6_2' tabindex='15'  /><label for='choice_6_2'>ABG:  PaO2 &lt;60 mmHg (&lt;90% O2 Sat)</label></li><li class='gchoice_6_3'><input name='input_6.3' type='checkbox'  value='Serum Sodium &lt;130 mEq/L, add 20 points.  ||20'  id='choice_6_3' tabindex='16'  /><label for='choice_6_3'>Serum Sodium &lt;130 mEq/L</label></li><li class='gchoice_6_4'><input name='input_6.4' type='checkbox'  value='Blood Urea Nitrogen (BUN) &gt;64 mg/dl, add 20 points.  ||20'  id='choice_6_4' tabindex='17'  /><label for='choice_6_4'>Blood Urea Nitrogen (BUN) &gt;64 mg/dl</label></li><li class='gchoice_6_5'><input name='input_6.5' type='checkbox'  value='Serum Glucose &gt;250 mg/dl, add 10 points.  ||10'  id='choice_6_5' tabindex='18'  /><label for='choice_6_5'>Serum Glucose &gt;250 mg/dl</label></li><li class='gchoice_6_6'><input name='input_6.6' type='checkbox'  value='Hematocrit &lt;30%, add 10 points.  ||10'  id='choice_6_6' tabindex='19'  /><label for='choice_6_6'>Hematocrit &lt;30%</label></li><li class='gchoice_6_7'><input name='input_6.7' type='checkbox'  value='Chest XRay:  Pleural Effusion, add 10 points.  ||10'  id='choice_6_7' tabindex='20'  /><label for='choice_6_7'>Chest XRay:  Pleural Effusion</label></li></ul></div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult331();return false;' id='gform_submit_button_331' class='button' value='Submit' tabindex='21'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form331" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text331" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult331() 
						{

						jQuery.post("", jQuery("#gform_331").serialize());
							result="Pneumonia Severity Index\nScore:  ~|score|~\nInterpretation:  ~|score2|~\nFindings:  \nAge, add ~|input_8|~ points.  ~|input_4.1|~~|input_4.2|~~|input_4.3|~~|input_4.4|~~|input_4.5|~~|input_4.6|~~|input_4.7|~~|input_5.1|~~|input_5.2|~~|input_5.3|~~|input_5.4|~~|input_5.5|~~|input_6.1|~~|input_6.2|~~|input_6.3|~~|input_6.4|~~|input_6.5|~~|input_6.6|~~|input_6.7|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_8|~+~|input_4.1|~+~|input_4.2|~+~|input_4.3|~+~|input_4.4|~+~|input_4.5|~+~|input_4.6|~+~|input_4.7|~+~|input_5.1|~+~|input_5.2|~+~|input_5.3|~+~|input_5.4|~+~|input_5.5|~+~|input_6.1|~+~|input_6.2|~+~|input_6.3|~+~|input_6.4|~+~|input_6.5|~+~|input_6.6|~+~|input_6.7|~";
		
		result=result.replace(new RegExp("~\\|input_8\\|~","g"),valueFilter("#gform_331 select[name='input_8']"));result=result.replace(new RegExp("\\$\\|input_8\\|\\$","g"),scoreFilter("#gform_331 select[name='input_8']"));
				score=score.replace(new RegExp("~\\|input_8\\|~","g"),scoreFilter("#gform_331 select[name='input_8']"));
		
							result=result.replace(new RegExp("~\\|input_4.1\\|~","g"),valueFilter("#gform_331 input[name='input_4.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.1\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.1']:checked"));
						score=score.replace(new RegExp("~\\|input_4.1\\|~","g"),scoreFilter("#gform_331 input[name='input_4.1']:checked"));
							result=result.replace(new RegExp("~\\|input_4.2\\|~","g"),valueFilter("#gform_331 input[name='input_4.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.2\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.2']:checked"));
						score=score.replace(new RegExp("~\\|input_4.2\\|~","g"),scoreFilter("#gform_331 input[name='input_4.2']:checked"));
							result=result.replace(new RegExp("~\\|input_4.3\\|~","g"),valueFilter("#gform_331 input[name='input_4.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.3\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.3']:checked"));
						score=score.replace(new RegExp("~\\|input_4.3\\|~","g"),scoreFilter("#gform_331 input[name='input_4.3']:checked"));
							result=result.replace(new RegExp("~\\|input_4.4\\|~","g"),valueFilter("#gform_331 input[name='input_4.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.4\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.4']:checked"));
						score=score.replace(new RegExp("~\\|input_4.4\\|~","g"),scoreFilter("#gform_331 input[name='input_4.4']:checked"));
							result=result.replace(new RegExp("~\\|input_4.5\\|~","g"),valueFilter("#gform_331 input[name='input_4.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.5\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.5']:checked"));
						score=score.replace(new RegExp("~\\|input_4.5\\|~","g"),scoreFilter("#gform_331 input[name='input_4.5']:checked"));
							result=result.replace(new RegExp("~\\|input_4.6\\|~","g"),valueFilter("#gform_331 input[name='input_4.6']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.6\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.6']:checked"));
						score=score.replace(new RegExp("~\\|input_4.6\\|~","g"),scoreFilter("#gform_331 input[name='input_4.6']:checked"));
							result=result.replace(new RegExp("~\\|input_4.7\\|~","g"),valueFilter("#gform_331 input[name='input_4.7']:checked"));
							result=result.replace(new RegExp("\\$\\|input_4.7\\|\\$","g"),scoreFilter("#gform_331 input[name='input_4.7']:checked"));
						score=score.replace(new RegExp("~\\|input_4.7\\|~","g"),scoreFilter("#gform_331 input[name='input_4.7']:checked"));
		
							result=result.replace(new RegExp("~\\|input_5.1\\|~","g"),valueFilter("#gform_331 input[name='input_5.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_5.1\\|\\$","g"),scoreFilter("#gform_331 input[name='input_5.1']:checked"));
						score=score.replace(new RegExp("~\\|input_5.1\\|~","g"),scoreFilter("#gform_331 input[name='input_5.1']:checked"));
							result=result.replace(new RegExp("~\\|input_5.2\\|~","g"),valueFilter("#gform_331 input[name='input_5.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_5.2\\|\\$","g"),scoreFilter("#gform_331 input[name='input_5.2']:checked"));
						score=score.replace(new RegExp("~\\|input_5.2\\|~","g"),scoreFilter("#gform_331 input[name='input_5.2']:checked"));
							result=result.replace(new RegExp("~\\|input_5.3\\|~","g"),valueFilter("#gform_331 input[name='input_5.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_5.3\\|\\$","g"),scoreFilter("#gform_331 input[name='input_5.3']:checked"));
						score=score.replace(new RegExp("~\\|input_5.3\\|~","g"),scoreFilter("#gform_331 input[name='input_5.3']:checked"));
							result=result.replace(new RegExp("~\\|input_5.4\\|~","g"),valueFilter("#gform_331 input[name='input_5.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_5.4\\|\\$","g"),scoreFilter("#gform_331 input[name='input_5.4']:checked"));
						score=score.replace(new RegExp("~\\|input_5.4\\|~","g"),scoreFilter("#gform_331 input[name='input_5.4']:checked"));
							result=result.replace(new RegExp("~\\|input_5.5\\|~","g"),valueFilter("#gform_331 input[name='input_5.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_5.5\\|\\$","g"),scoreFilter("#gform_331 input[name='input_5.5']:checked"));
						score=score.replace(new RegExp("~\\|input_5.5\\|~","g"),scoreFilter("#gform_331 input[name='input_5.5']:checked"));
		
							result=result.replace(new RegExp("~\\|input_6.1\\|~","g"),valueFilter("#gform_331 input[name='input_6.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.1\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.1']:checked"));
						score=score.replace(new RegExp("~\\|input_6.1\\|~","g"),scoreFilter("#gform_331 input[name='input_6.1']:checked"));
							result=result.replace(new RegExp("~\\|input_6.2\\|~","g"),valueFilter("#gform_331 input[name='input_6.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.2\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.2']:checked"));
						score=score.replace(new RegExp("~\\|input_6.2\\|~","g"),scoreFilter("#gform_331 input[name='input_6.2']:checked"));
							result=result.replace(new RegExp("~\\|input_6.3\\|~","g"),valueFilter("#gform_331 input[name='input_6.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.3\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.3']:checked"));
						score=score.replace(new RegExp("~\\|input_6.3\\|~","g"),scoreFilter("#gform_331 input[name='input_6.3']:checked"));
							result=result.replace(new RegExp("~\\|input_6.4\\|~","g"),valueFilter("#gform_331 input[name='input_6.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.4\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.4']:checked"));
						score=score.replace(new RegExp("~\\|input_6.4\\|~","g"),scoreFilter("#gform_331 input[name='input_6.4']:checked"));
							result=result.replace(new RegExp("~\\|input_6.5\\|~","g"),valueFilter("#gform_331 input[name='input_6.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.5\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.5']:checked"));
						score=score.replace(new RegExp("~\\|input_6.5\\|~","g"),scoreFilter("#gform_331 input[name='input_6.5']:checked"));
							result=result.replace(new RegExp("~\\|input_6.6\\|~","g"),valueFilter("#gform_331 input[name='input_6.6']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.6\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.6']:checked"));
						score=score.replace(new RegExp("~\\|input_6.6\\|~","g"),scoreFilter("#gform_331 input[name='input_6.6']:checked"));
							result=result.replace(new RegExp("~\\|input_6.7\\|~","g"),valueFilter("#gform_331 input[name='input_6.7']:checked"));
							result=result.replace(new RegExp("\\$\\|input_6.7\\|\\$","g"),scoreFilter("#gform_331 input[name='input_6.7']:checked"));
						score=score.replace(new RegExp("~\\|input_6.7\\|~","g"),scoreFilter("#gform_331 input[name='input_6.7']:checked"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Mortality 29.2% (high risk) - Inpatient management recommended.";
								if (score<131) score2 ="Class IV:  Mortality 8.2% (moderate risk) - Inpatient management recommended.";
								if (score<91) score2 ="Class III:  Mortality 2.8% (low risk) - Consider short observation hospital stay.";
								if (score<71) score2 ="Class II:  Mortality 0.6% (low risk) - Outpatient management recommended.";
								if (score<1) score2 ="Class I:  Mortality 0.1% (low risk) - Outpatient management recommended.";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text331").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						<script type='text/javascript'>jQuery(document).ready(function(){gf_apply_rules(331, [6], true);jQuery('#gform_wrapper_331').show();});if(!window['gf_form_conditional_logic'])window['gf_form_conditional_logic'] = new Array();window['gf_form_conditional_logic'][331] = {'logic' : {6: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"5","operator":"is","value":"Altered Level of Consciousness.  ||20"}]},"section":null}}, 'dependents' : {6: [6]}, 'animation' : 0};</script></p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2494' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/respiratory/pneumonia-severity-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hearing Handicap Inventory</title>
		<link>http://www.soapnote.org/ear-nose-throat/hearing-handicap-inventory/</link>
		<comments>http://www.soapnote.org/ear-nose-throat/hearing-handicap-inventory/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 19:42:18 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Otolaryngology]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[hearing]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2489</guid>
		<description><![CDATA[Summary: Decision tool to assess impact of hearing loss. Reference: Ventry (1983) ASHA 25(7): 37-42. Link: Family Practice Notebook Page &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<td><strong>Summary:</strong><br />
Decision tool to assess impact of hearing loss.</td>
</tr>
<tr>
<td><strong>Reference:</strong><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/6626295" target="_blank">Ventry (1983) ASHA 25(7): 37-42.</a>
</td>
</tr>
<tr>
<td><strong>Link:</strong><br />
<a href="http://www.fpnotebook.com/ent/Exam/HrngHndcpInvntryFrThEldrly.htm" target="_blank">Family Practice Notebook Page</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_330' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_330' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_330' value='1'/>
                            <ul id='gform_fields_330' class='gform_fields top_label'><li id='field_330_11' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2489" target="_top">soapnote.org</a>.</li><li id='field_330_1' class='gfield' ><label class='gfield_label' for='input_330_1'>Embarrassed when meeting new people due to hearing problem</label><div class='ginput_container'><select name='input_1' id='input_330_1'  class='medium gfield_select' tabindex='1' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_2' class='gfield' ><label class='gfield_label' for='input_330_2'>Frustrated when speaking to family due to hearing problem </label><div class='ginput_container'><select name='input_2' id='input_330_2'  class='medium gfield_select' tabindex='2' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_3' class='gfield' ><label class='gfield_label' for='input_330_3'>Difficulty hearing whispered voice </label><div class='ginput_container'><select name='input_3' id='input_330_3'  class='medium gfield_select' tabindex='3' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_4' class='gfield' ><label class='gfield_label' for='input_330_4'>Feel impaired by hearing problem </label><div class='ginput_container'><select name='input_4' id='input_330_4'  class='medium gfield_select' tabindex='4' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_5' class='gfield' ><label class='gfield_label' for='input_330_5'>Hearing interferes with visiting with family and friends </label><div class='ginput_container'><select name='input_5' id='input_330_5'  class='medium gfield_select' tabindex='5' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_6' class='gfield' ><label class='gfield_label' for='input_330_6'>Attends religious services less often due to hearing problems </label><div class='ginput_container'><select name='input_6' id='input_330_6'  class='medium gfield_select' tabindex='6' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_7' class='gfield' ><label class='gfield_label' for='input_330_7'>Hearing problem result in arguments with family </label><div class='ginput_container'><select name='input_7' id='input_330_7'  class='medium gfield_select' tabindex='7' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_8' class='gfield' ><label class='gfield_label' for='input_330_8'>Hearing problem interferes with listening to television and radio </label><div class='ginput_container'><select name='input_8' id='input_330_8'  class='medium gfield_select' tabindex='8' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_9' class='gfield' ><label class='gfield_label' for='input_330_9'>Hearing problem interferes with social life </label><div class='ginput_container'><select name='input_9' id='input_330_9'  class='medium gfield_select' tabindex='9' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li><li id='field_330_10' class='gfield' ><label class='gfield_label' for='input_330_10'>Hearing problem interferes with communication in a restaurant</label><div class='ginput_container'><select name='input_10' id='input_330_10'  class='medium gfield_select' tabindex='10' ><option value='Yes: 4 points||4' >Yes: 4 points</option><option value='Sometimes: 2 points||2' >Sometimes: 2 points</option><option value='No: 0 point||0' >No: 0 point</option></select></div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult330();return false;' id='gform_submit_button_330' class='button' value='Submit' tabindex='11'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form330" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text330" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult330() 
						{

						jQuery.post("", jQuery("#gform_330").serialize());
							result="Hearing handicap inventory\nScore:  ~|score|~\nInterpretation:  ~|score2|~\nEmbarrassed when meeting new people due to hearing problem:  ~|input_1|~\nFrustrated when speaking to family due to hearing problem:  ~|input_2|~\nDifficulty hearing whispered voice:  ~|input_3|~\nFeel impaired by hearing problem:  ~|input_4|~\nHearing interferes with visiting with family and friends:  ~|input_5|~\nAttends religious services less often due to hearing problems:  ~|input_6|~\nHearing problem result in arguments with family:  ~|input_7|~\nHearing problem interferes with listening to television and radio:  ~|input_8|~\nHearing problem interferes with social life:  ~|input_9|~\nHearing problem interferes with communication in a restaurant:  ~|input_10|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_1|~+~|input_2|~+~|input_3|~+~|input_4|~+~|input_5|~+~|input_6|~+~|input_7|~+~|input_8|~+~|input_9|~+~|input_10|~";
		
		result=result.replace(new RegExp("~\\|input_1\\|~","g"),valueFilter("#gform_330 select[name='input_1']"));result=result.replace(new RegExp("\\$\\|input_1\\|\\$","g"),scoreFilter("#gform_330 select[name='input_1']"));
				score=score.replace(new RegExp("~\\|input_1\\|~","g"),scoreFilter("#gform_330 select[name='input_1']"));
		result=result.replace(new RegExp("~\\|input_2\\|~","g"),valueFilter("#gform_330 select[name='input_2']"));result=result.replace(new RegExp("\\$\\|input_2\\|\\$","g"),scoreFilter("#gform_330 select[name='input_2']"));
				score=score.replace(new RegExp("~\\|input_2\\|~","g"),scoreFilter("#gform_330 select[name='input_2']"));
		result=result.replace(new RegExp("~\\|input_3\\|~","g"),valueFilter("#gform_330 select[name='input_3']"));result=result.replace(new RegExp("\\$\\|input_3\\|\\$","g"),scoreFilter("#gform_330 select[name='input_3']"));
				score=score.replace(new RegExp("~\\|input_3\\|~","g"),scoreFilter("#gform_330 select[name='input_3']"));
		result=result.replace(new RegExp("~\\|input_4\\|~","g"),valueFilter("#gform_330 select[name='input_4']"));result=result.replace(new RegExp("\\$\\|input_4\\|\\$","g"),scoreFilter("#gform_330 select[name='input_4']"));
				score=score.replace(new RegExp("~\\|input_4\\|~","g"),scoreFilter("#gform_330 select[name='input_4']"));
		result=result.replace(new RegExp("~\\|input_5\\|~","g"),valueFilter("#gform_330 select[name='input_5']"));result=result.replace(new RegExp("\\$\\|input_5\\|\\$","g"),scoreFilter("#gform_330 select[name='input_5']"));
				score=score.replace(new RegExp("~\\|input_5\\|~","g"),scoreFilter("#gform_330 select[name='input_5']"));
		result=result.replace(new RegExp("~\\|input_6\\|~","g"),valueFilter("#gform_330 select[name='input_6']"));result=result.replace(new RegExp("\\$\\|input_6\\|\\$","g"),scoreFilter("#gform_330 select[name='input_6']"));
				score=score.replace(new RegExp("~\\|input_6\\|~","g"),scoreFilter("#gform_330 select[name='input_6']"));
		result=result.replace(new RegExp("~\\|input_7\\|~","g"),valueFilter("#gform_330 select[name='input_7']"));result=result.replace(new RegExp("\\$\\|input_7\\|\\$","g"),scoreFilter("#gform_330 select[name='input_7']"));
				score=score.replace(new RegExp("~\\|input_7\\|~","g"),scoreFilter("#gform_330 select[name='input_7']"));
		result=result.replace(new RegExp("~\\|input_8\\|~","g"),valueFilter("#gform_330 select[name='input_8']"));result=result.replace(new RegExp("\\$\\|input_8\\|\\$","g"),scoreFilter("#gform_330 select[name='input_8']"));
				score=score.replace(new RegExp("~\\|input_8\\|~","g"),scoreFilter("#gform_330 select[name='input_8']"));
		result=result.replace(new RegExp("~\\|input_9\\|~","g"),valueFilter("#gform_330 select[name='input_9']"));result=result.replace(new RegExp("\\$\\|input_9\\|\\$","g"),scoreFilter("#gform_330 select[name='input_9']"));
				score=score.replace(new RegExp("~\\|input_9\\|~","g"),scoreFilter("#gform_330 select[name='input_9']"));
		result=result.replace(new RegExp("~\\|input_10\\|~","g"),valueFilter("#gform_330 select[name='input_10']"));result=result.replace(new RegExp("\\$\\|input_10\\|\\$","g"),scoreFilter("#gform_330 select[name='input_10']"));
				score=score.replace(new RegExp("~\\|input_10\\|~","g"),scoreFilter("#gform_330 select[name='input_10']"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Severe hearing handicap likelihood (refer)";
								if (score<26) score2 ="Moderate hearing hadicap likelihood (refer)";
								if (score<10) score2 ="Low hearing handicap likelihood";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text330").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						</p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2489' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/ear-nose-throat/hearing-handicap-inventory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asthma Control Decision Tool</title>
		<link>http://www.soapnote.org/respiratory/asthma-control/</link>
		<comments>http://www.soapnote.org/respiratory/asthma-control/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 08:42:59 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Pulmonology]]></category>
		<category><![CDATA[asthma]]></category>
		<category><![CDATA[calculator]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2476</guid>
		<description><![CDATA[Summary This is for monitoring and improving control for patients currently taking long-term control medication. For patients not taking long-term control medication, please see this page. References NAEPP 2007 Guidelines Pollart (2009) Am Fam Physician 79: 761-7. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<th style="text-align: left;">Summary</th>
</tr>
<tr>
<td>
This is for monitoring and improving control for patients <strong>currently taking long-term control medication</strong>.  For patients not taking long-term control medication, please see <a href="http://www.soapnote.org/?p=2466" target="_blank">this page</a>.</td>
</tr>
<tr>
<th style="text-align: left;">References</th>
</tr>
<tr>
<td>
<a href="http://www.nhlbi.nih.gov/guidelines/asthma/asthgdln.htm" target="_blank">NAEPP 2007 Guidelines</a><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/20141095" target="_blank">Pollart (2009) Am Fam Physician 79:  761-7.</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_329' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_329' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_329' value='1'/>
                            <ul id='gform_fields_329' class='gform_fields top_label'><li id='field_329_10' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2476" target="_top">soapnote.org</a>.</li><li id='field_329_1' class='gfield' ><label class='gfield_label' for='input_329_1'>Age</label><div class='ginput_container'><select name='input_1' id='input_329_1' onchange='gf_apply_rules(329,[2,11,3,12,6,9,13,14,15,16]);' class='medium gfield_select' tabindex='1' ><option value='5 - 11 years' >5 - 11 years</option><option value='12 and above' >12 and above</option></select></div></li><li id='field_329_2' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_2'>Impairment - 5-11 years - Symptoms</label><div class='ginput_container'><select name='input_2' id='input_329_2'  class='medium gfield_select' tabindex='2' ><option value='≤2 days/week but not more than once on each day||1' >≤2 days/week but not more than once on each day</option><option value='&gt;2 days/week or multiple times on ≤2 days/week||10' >&gt;2 days/week or multiple times on ≤2 days/week</option><option value='Throughout the day||100' >Throughout the day</option></select></div></li><li id='field_329_11' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_11'>Impairment - 12+ years - Symptoms</label><div class='ginput_container'><select name='input_11' id='input_329_11'  class='medium gfield_select' tabindex='3' ><option value='≤2 days/week||1' >≤2 days/week</option><option value='&gt;2 days/week||10' >&gt;2 days/week</option><option value='Throughout the day||100' >Throughout the day</option></select></div></li><li id='field_329_3' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_3'>Impairment - 5-11 years - Nighttime awakenings</label><div class='ginput_container'><select name='input_3' id='input_329_3'  class='medium gfield_select' tabindex='4' ><option value='≤1x/month||1' >≤1x/month</option><option value='≥2x/month||10' >≥2x/month</option><option value='≥2x/week||100' >≥2x/week</option></select></div></li><li id='field_329_12' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_12'>Impairment - 12+ years - Nighttime awakenings</label><div class='ginput_container'><select name='input_12' id='input_329_12'  class='medium gfield_select' tabindex='5' ><option value='≤2x/month||1' >≤2x/month</option><option value='1−3x/week||10' >1−3x/week</option><option value='≥4x/week||100' >≥4x/week</option></select></div></li><li id='field_329_4' class='gfield' ><label class='gfield_label' for='input_329_4'>Impairment - Short-acting beta2-agonist use for symptom control (not prevention of exercise induced bronchospasm)</label><div class='ginput_container'><select name='input_4' id='input_329_4'  class='medium gfield_select' tabindex='6' ><option value='≤2 days/week||1' >≤2 days/week</option><option value='&gt;2 days/week||10' >&gt;2 days/week</option><option value='Several times per day||100' >Several times per day</option></select></div></li><li id='field_329_5' class='gfield' ><label class='gfield_label' for='input_329_5'>Impairment - Interference with normal activity</label><div class='ginput_container'><select name='input_5' id='input_329_5'  class='medium gfield_select' tabindex='7' ><option value='None||1' >None</option><option value='Some limitation||10' >Some limitation</option><option value='Extremely limited||100' >Extremely limited</option></select></div></li><li id='field_329_6' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_6'>Impairment - 5-11 years - Lung function</label><div class='ginput_container'><select name='input_6' id='input_329_6'  class='medium gfield_select' tabindex='8' ><option value='FEV1&gt;80% predicted; Peak Flow&gt;80% personal best; FEV1/FVC&gt;80%||1' >FEV1&gt;80% predicted; Peak Flow&gt;80% personal best; FEV1/FVC&gt;80%</option><option value='FEV1 60−80% predicted; Peak Flow 60−80% personal best; FEV1/FVC 75-80%||10' >FEV1 60−80% predicted; Peak Flow 60−80% personal best; FEV1/FVC 75-80%</option><option value='FEV1&lt;60% predicted; Peak Flow&lt;60% personal best; FEV1/FVC&lt;75%||100' >FEV1&lt;60% predicted; Peak Flow&lt;60% personal best; FEV1/FVC&lt;75%</option></select></div></li><li id='field_329_9' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_9'>Impairment - 12+ years - Lung function</label><div class='ginput_container'><select name='input_9' id='input_329_9'  class='medium gfield_select' tabindex='9' ><option value='FEV1&gt;80% predicted; Peak Flow&gt;80% personal best||1' >FEV1&gt;80% predicted; Peak Flow&gt;80% personal best</option><option value='FEV1 60−80% predicted; Peak Flow 60−80% personal best||10' >FEV1 60−80% predicted; Peak Flow 60−80% personal best</option><option value='FEV1&lt;60% predicted; Peak Flow&lt;60% personal best||100' >FEV1&lt;60% predicted; Peak Flow&lt;60% personal best</option></select></div></li><li id='field_329_13' class='gfield' style='display:none;'><label class='gfield_label' for='input_329_13'>Impairment - 12+ years - Questionnaires</label><div class='ginput_container'><select name='input_13' id='input_329_13'  class='medium gfield_select' tabindex='10' ><option value='ATAQ=0; ACQ≤0.75; ACT≥20; soapnote Generic*=0||1' >ATAQ=0; ACQ≤0.75; ACT≥20; soapnote Generic*=0</option><option value='ATAQ 1-2; ACQ≥1.5; ACT 16-19; soapnote Generic*≥1||10' >ATAQ 1-2; ACQ≥1.5; ACT 16-19; soapnote Generic*≥1</option><option value='ATAQ 3-4; ACQ N/A; ACT≤15; soapnote Generic* N/A||100' >ATAQ 3-4; ACQ N/A; ACT≤15; soapnote Generic* N/A</option></select></div><div class='gfield_description'>*soapnote Generic is an unvalidated questionnaire (link below)</div></li><li id='field_329_14' class='gfield      gfield_html gfield_html_formatted' style='display:none;'>The Generic (Unvalidated) Asthma Asthma Symptom Control Questionnaire is available at <a href="http://www.soapnote.org/respiratory/asthma-control-questions/" target="_blank">here</a>.</li><li id='field_329_7' class='gfield' ><label class='gfield_label' for='input_329_7'>Risk - Exacerbations requiring oral systemic corticosteroids</label><div class='ginput_container'><select name='input_7' id='input_329_7'  class='medium gfield_select' tabindex='11' ><option value='0-1/year||1' >0-1/year</option><option value='≥2/year||10' >≥2/year</option></select></div></li><li id='field_329_17' class='gfield' ><label class='gfield_label' for='input_329_17'> </label><div class='ginput_container'><ul class='gfield_checkbox' id='input_329_17'><li class='gchoice_17_1'><input name='input_17.1' type='checkbox' onclick='gf_apply_rules(329,[15,16]);' value='display asthma treatment steps'  id='choice_17_1' tabindex='12'  /><label for='choice_17_1'>display asthma treatment steps</label></li></ul></div></li><li id='field_329_15' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' style='display:none;'><strong>Stepwise medication table for children 5-11 years</strong>
<img src="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-kids.jpg" height="500" width="500" />
Open image in new window <a href="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-kids.jpg" target="_blank">here</a>
</li><li id='field_329_16' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' style='display:none;'><strong>Stepwise medication table for ages 12+ years</strong>
<img src="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-adults.jpg" height="500" width="500" />
Open image in new window <a href="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-adults.jpg" target="_blank">here</a></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult329();return false;' id='gform_submit_button_329' class='button' value='Submit' tabindex='13'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form329" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text329" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult329() 
						{

						jQuery.post("", jQuery("#gform_329").serialize());
							result="Classification of Asthma Control and Recommendations:  ~|score2|~\nAge:  ~|input_1|~\nImpairment\n - Symptoms:  ~|input_2|~~|input_11|~\n - Nighttime awakenings:  ~|input_3|~~|input_12|~\n - Short-acting beta2 agonist use for symptoms:  ~|input_4|~\n - Interference with normal activity:  ~|input_5|~\n - Lung function:  ~|input_6|~~|input_9|~\n - Questionnaire (age 12+ only):  ~|input_13|~\nRisk\n - Exacerbations requiring oral systemic steroids:  ~|input_7|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_2|~+~|input_3|~+~|input_4|~+~|input_5|~+~|input_6|~+~|input_7|~+~|input_9|~+~|input_11|~+~|input_12|~+~|input_13|~";
		
		result=result.replace(new RegExp("~\\|input_1\\|~","g"),valueFilter("#gform_329 select[name='input_1']"));result=result.replace(new RegExp("\\$\\|input_1\\|\\$","g"),scoreFilter("#gform_329 select[name='input_1']"));
		result=result.replace(new RegExp("~\\|input_2\\|~","g"),valueFilter("#gform_329 select[name='input_2']"));result=result.replace(new RegExp("\\$\\|input_2\\|\\$","g"),scoreFilter("#gform_329 select[name='input_2']"));
				score=score.replace(new RegExp("~\\|input_2\\|~","g"),scoreFilter("#gform_329 select[name='input_2']"));
		result=result.replace(new RegExp("~\\|input_11\\|~","g"),valueFilter("#gform_329 select[name='input_11']"));result=result.replace(new RegExp("\\$\\|input_11\\|\\$","g"),scoreFilter("#gform_329 select[name='input_11']"));
				score=score.replace(new RegExp("~\\|input_11\\|~","g"),scoreFilter("#gform_329 select[name='input_11']"));
		result=result.replace(new RegExp("~\\|input_3\\|~","g"),valueFilter("#gform_329 select[name='input_3']"));result=result.replace(new RegExp("\\$\\|input_3\\|\\$","g"),scoreFilter("#gform_329 select[name='input_3']"));
				score=score.replace(new RegExp("~\\|input_3\\|~","g"),scoreFilter("#gform_329 select[name='input_3']"));
		result=result.replace(new RegExp("~\\|input_12\\|~","g"),valueFilter("#gform_329 select[name='input_12']"));result=result.replace(new RegExp("\\$\\|input_12\\|\\$","g"),scoreFilter("#gform_329 select[name='input_12']"));
				score=score.replace(new RegExp("~\\|input_12\\|~","g"),scoreFilter("#gform_329 select[name='input_12']"));
		result=result.replace(new RegExp("~\\|input_4\\|~","g"),valueFilter("#gform_329 select[name='input_4']"));result=result.replace(new RegExp("\\$\\|input_4\\|\\$","g"),scoreFilter("#gform_329 select[name='input_4']"));
				score=score.replace(new RegExp("~\\|input_4\\|~","g"),scoreFilter("#gform_329 select[name='input_4']"));
		result=result.replace(new RegExp("~\\|input_5\\|~","g"),valueFilter("#gform_329 select[name='input_5']"));result=result.replace(new RegExp("\\$\\|input_5\\|\\$","g"),scoreFilter("#gform_329 select[name='input_5']"));
				score=score.replace(new RegExp("~\\|input_5\\|~","g"),scoreFilter("#gform_329 select[name='input_5']"));
		result=result.replace(new RegExp("~\\|input_6\\|~","g"),valueFilter("#gform_329 select[name='input_6']"));result=result.replace(new RegExp("\\$\\|input_6\\|\\$","g"),scoreFilter("#gform_329 select[name='input_6']"));
				score=score.replace(new RegExp("~\\|input_6\\|~","g"),scoreFilter("#gform_329 select[name='input_6']"));
		result=result.replace(new RegExp("~\\|input_9\\|~","g"),valueFilter("#gform_329 select[name='input_9']"));result=result.replace(new RegExp("\\$\\|input_9\\|\\$","g"),scoreFilter("#gform_329 select[name='input_9']"));
				score=score.replace(new RegExp("~\\|input_9\\|~","g"),scoreFilter("#gform_329 select[name='input_9']"));
		result=result.replace(new RegExp("~\\|input_13\\|~","g"),valueFilter("#gform_329 select[name='input_13']"));result=result.replace(new RegExp("\\$\\|input_13\\|\\$","g"),scoreFilter("#gform_329 select[name='input_13']"));
				score=score.replace(new RegExp("~\\|input_13\\|~","g"),scoreFilter("#gform_329 select[name='input_13']"));
		
		result=result.replace(new RegExp("~\\|input_7\\|~","g"),valueFilter("#gform_329 select[name='input_7']"));result=result.replace(new RegExp("\\$\\|input_7\\|\\$","g"),scoreFilter("#gform_329 select[name='input_7']"));
				score=score.replace(new RegExp("~\\|input_7\\|~","g"),scoreFilter("#gform_329 select[name='input_7']"));
		
		
		
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Very Poorly Controlled Asthma:  Consider short course of oral systemic corticosteroids; step up one to two steps, and reevaluate in two weeks.";
								if (score<100) score2 ="Not Well-Controlled Asthma:  Step up one step and reevaluate in two to six weeks.";
								if (score<10) score2 ="Well-Controlled Asthma:  Maintain current step; regular follow-up every one to six months to maintain control; consider step down if well controlled for at least three months.";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text329").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						<script type='text/javascript'>jQuery(document).ready(function(){gf_apply_rules(329, [2,11,3,12,6,9,13,14,15,16], true);jQuery('#gform_wrapper_329').show();});if(!window['gf_form_conditional_logic'])window['gf_form_conditional_logic'] = new Array();window['gf_form_conditional_logic'][329] = {'logic' : {2: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"}]},"section":null},11: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},3: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"}]},"section":null},12: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},6: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"}]},"section":null},9: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},13: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},14: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},15: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"},{"fieldId":"17","operator":"is","value":"display asthma treatment steps"}]},"section":null},16: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"},{"fieldId":"17","operator":"is","value":"display asthma treatment steps"}]},"section":null}}, 'dependents' : {2: [2],11: [11],3: [3],12: [12],6: [6],9: [9],13: [13],14: [14],15: [15],16: [16]}, 'animation' : 0};</script></p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2476' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/respiratory/asthma-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generic Asthma Symptom Control Questionnaire</title>
		<link>http://www.soapnote.org/respiratory/asthma-control-questions/</link>
		<comments>http://www.soapnote.org/respiratory/asthma-control-questions/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 07:45:37 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Pulmonology]]></category>
		<category><![CDATA[asthma]]></category>
		<category><![CDATA[calculator]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2470</guid>
		<description><![CDATA[Summary: Free, unvalidated questionnaire that can be used in assessment of asthma symptom control. The questions are from a 1995 NIH Asthma Pocket Guide referenced in the NAEPP guidelines below. References: NAEPP 2007 Guidelines Pollart (2009) Am Fam Physician 79: 761-7. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<td><strong>Summary:</strong><br />
Free, unvalidated questionnaire that can be used in assessment of asthma symptom control.  The questions are from a 1995 NIH Asthma Pocket Guide referenced in the NAEPP guidelines below.</td>
</tr>
<tr>
<td><strong>References:</strong><br />
<a href="http://www.nhlbi.nih.gov/guidelines/asthma/asthgdln.htm" target="_blank">NAEPP 2007 Guidelines</a><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/20141095" target="_blank">Pollart (2009) Am Fam Physician 79:  761-7.</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_64' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_64' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_64' value='1'/>
                            <ul id='gform_fields_64' class='gform_fields top_label'><li id='field_64_8' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2470" target="_top">soapnote.org</a>.</li><li id='field_64_1' class='gfield' ><label class='gfield_label' for='input_64_1'>Has your asthma awakened you at night or early morning?</label><div class='ginput_container'><ul class='gfield_radio' id='input_64_1'><li class='gchoice_1_0'><input name='input_1' type='radio' value='Yes||1'  id='choice_1_0' tabindex='1'   /><label for='choice_1_0'>Yes</label></li><li class='gchoice_1_1'><input name='input_1' type='radio' value='No||0' checked='checked' id='choice_1_1' tabindex='2'   /><label for='choice_1_1'>No</label></li></ul></div></li><li id='field_64_2' class='gfield' ><label class='gfield_label' for='input_64_2'>Have you needed more quick-relief bronchodilator medication (inhaled short-acting beta2-agonist) than usual? </label><div class='ginput_container'><ul class='gfield_radio' id='input_64_2'><li class='gchoice_2_0'><input name='input_2' type='radio' value='Yes||1'  id='choice_2_0' tabindex='3'   /><label for='choice_2_0'>Yes</label></li><li class='gchoice_2_1'><input name='input_2' type='radio' value='No||0' checked='checked' id='choice_2_1' tabindex='4'   /><label for='choice_2_1'>No</label></li></ul></div></li><li id='field_64_5' class='gfield' ><label class='gfield_label' for='input_64_5'>Have you needed any urgent medical care for your asthma, such as unscheduled visits to your doctor, an urgent care clinic, or the emergency department? </label><div class='ginput_container'><ul class='gfield_radio' id='input_64_5'><li class='gchoice_5_0'><input name='input_5' type='radio' value='Yes||1'  id='choice_5_0' tabindex='5'   /><label for='choice_5_0'>Yes</label></li><li class='gchoice_5_1'><input name='input_5' type='radio' value='No||0' checked='checked' id='choice_5_1' tabindex='6'   /><label for='choice_5_1'>No</label></li></ul></div></li><li id='field_64_6' class='gfield' ><label class='gfield_label' for='input_64_6'>Are you participating in your usual and desired activities?</label><div class='ginput_container'><ul class='gfield_radio' id='input_64_6'><li class='gchoice_6_0'><input name='input_6' type='radio' value='Yes||0' checked='checked' id='choice_6_0' tabindex='7'   /><label for='choice_6_0'>Yes</label></li><li class='gchoice_6_1'><input name='input_6' type='radio' value='No||1'  id='choice_6_1' tabindex='8'   /><label for='choice_6_1'>No</label></li></ul></div></li><li id='field_64_7' class='gfield' ><label class='gfield_label' for='input_64_7'> If you are measuring your peak flow, has it been below your personal best?</label><div class='ginput_container'><ul class='gfield_radio' id='input_64_7'><li class='gchoice_7_0'><input name='input_7' type='radio' value='Yes||1'  id='choice_7_0' tabindex='9'   /><label for='choice_7_0'>Yes</label></li><li class='gchoice_7_1'><input name='input_7' type='radio' value='No||0' checked='checked' id='choice_7_1' tabindex='10'   /><label for='choice_7_1'>No</label></li></ul></div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult64();return false;' id='gform_submit_button_64' class='button' value='Submit' tabindex='11'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form64" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text64" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult64() 
						{

						jQuery.post("", jQuery("#gform_64").serialize());
							result="Generic Asthma Control Calculator\nScore (0 = controlled, 1 to 5 = uncontrolled*):  ~|score|~\nInterpretation:  ~|score2|~\n1) Has your asthma awakened you at night or early morning?\n~|input_1|~\n2) Have you needed more quick-relief bronchodilator medication (inhaled short-acting beta2-agonist) than usual?\n~|input_2|~\n3) Have you needed any urgent medical care for your asthma, such as unscheduled visits to your doctor, an urgent care clinic, or the emergency department?\n~|input_5|~\n4) Are you participating in your usual and desired activities?\n~|input_6|~\n5) If you are measuring your peak flow, has it been below your personal best?\n~|input_7|~\n*A higher score may indicate poorer control, however this has not been validated.";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_1|~+~|input_2|~+~|input_5|~+~|input_6|~+~|input_7|~";
		
		result=result.replace(new RegExp("~\\|input_1\\|~","g"),valueFilter("#gform_64 input[name='input_1']:checked"));result=result.replace(new RegExp("\\$\\|input_1\\|\\$","g"),scoreFilter("#gform_64 input[name='input_1']:checked"));
				score=score.replace(new RegExp("~\\|input_1\\|~","g"),scoreFilter("#gform_64 input[name='input_1']:checked"));
		result=result.replace(new RegExp("~\\|input_2\\|~","g"),valueFilter("#gform_64 input[name='input_2']:checked"));result=result.replace(new RegExp("\\$\\|input_2\\|\\$","g"),scoreFilter("#gform_64 input[name='input_2']:checked"));
				score=score.replace(new RegExp("~\\|input_2\\|~","g"),scoreFilter("#gform_64 input[name='input_2']:checked"));
		result=result.replace(new RegExp("~\\|input_5\\|~","g"),valueFilter("#gform_64 input[name='input_5']:checked"));result=result.replace(new RegExp("\\$\\|input_5\\|\\$","g"),scoreFilter("#gform_64 input[name='input_5']:checked"));
				score=score.replace(new RegExp("~\\|input_5\\|~","g"),scoreFilter("#gform_64 input[name='input_5']:checked"));
		result=result.replace(new RegExp("~\\|input_6\\|~","g"),valueFilter("#gform_64 input[name='input_6']:checked"));result=result.replace(new RegExp("\\$\\|input_6\\|\\$","g"),scoreFilter("#gform_64 input[name='input_6']:checked"));
				score=score.replace(new RegExp("~\\|input_6\\|~","g"),scoreFilter("#gform_64 input[name='input_6']:checked"));
		result=result.replace(new RegExp("~\\|input_7\\|~","g"),valueFilter("#gform_64 input[name='input_7']:checked"));result=result.replace(new RegExp("\\$\\|input_7\\|\\$","g"),scoreFilter("#gform_64 input[name='input_7']:checked"));
				score=score.replace(new RegExp("~\\|input_7\\|~","g"),scoreFilter("#gform_64 input[name='input_7']:checked"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Uncontrolled";
								if (score<1) score2 ="Controlled";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text64").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						</p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2470' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/respiratory/asthma-control-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classification of Asthma Severity</title>
		<link>http://www.soapnote.org/respiratory/asthma-severity/</link>
		<comments>http://www.soapnote.org/respiratory/asthma-severity/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 06:34:53 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Pulmonology]]></category>
		<category><![CDATA[asthma]]></category>
		<category><![CDATA[calculator]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2466</guid>
		<description><![CDATA[Summary This is for patients not currently taking long-term control medication. For patients who are taking long-term control medication, please see this page. References NAEPP 2007 Guidelines Pollart (2009) Am Fam Physician 79: 761-7. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Bookmark this SoapnoteAdd to favorite soapnotes]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<th style="text-align: left;">Summary</th>
</tr>
<tr>
<td>
This is for patients <strong>not currently taking long-term control medication</strong>.  For patients who are taking long-term control medication, please see <a href="http://www.soapnote.org/?p=2476" target="_blank">this page</a>.</td>
</tr>
<tr>
<th style="text-align: left;">References</th>
</tr>
<tr>
<td>
<a href="http://www.nhlbi.nih.gov/guidelines/asthma/asthgdln.htm" target="_blank">NAEPP 2007 Guidelines</a><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/20141095" target="_blank">Pollart (2009) Am Fam Physician 79:  761-7.</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />

                <div class='gform_wrapper' id='gform_wrapper_328' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_328' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_328' value='1'/>
                            <ul id='gform_fields_328' class='gform_fields top_label'><li id='field_328_10' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2466" target="_top">soapnote.org</a>.</li><li id='field_328_1' class='gfield' ><label class='gfield_label' for='input_328_1'>Age</label><div class='ginput_container'><select name='input_1' id='input_328_1' onchange='gf_apply_rules(328,[4,8,6,9,11,12]);' class='medium gfield_select' tabindex='1' ><option value='5 - 11 years' >5 - 11 years</option><option value='12 and above' >12 and above</option></select></div></li><li id='field_328_2' class='gfield' ><label class='gfield_label' for='input_328_2'>Impairment - Symptoms</label><div class='ginput_container'><select name='input_2' id='input_328_2'  class='medium gfield_select' tabindex='2' ><option value='≤2 days/week||1' >≤2 days/week</option><option value='&gt;2 days/week but not daily||10' >&gt;2 days/week but not daily</option><option value='Daily||100' >Daily</option><option value='Throughout the day||1000' >Throughout the day</option></select></div></li><li id='field_328_3' class='gfield' ><label class='gfield_label' for='input_328_3'>Impairment - Nighttime awakenings</label><div class='ginput_container'><select name='input_3' id='input_328_3'  class='medium gfield_select' tabindex='3' ><option value='≤2x/month||1' >≤2x/month</option><option value='3-4x/month||10' >3-4x/month</option><option value='&gt;1x/week but not nightly||100' >&gt;1x/week but not nightly</option><option value='Often 7x/week||1000' >Often 7x/week</option></select></div></li><li id='field_328_4' class='gfield' style='display:none;'><label class='gfield_label' for='input_328_4'>Impairment - 5-11 years - Short-acting beta2-agonist use for symptom control (not prevention of exercise induced bronchospasm)</label><div class='ginput_container'><select name='input_4' id='input_328_4'  class='medium gfield_select' tabindex='4' ><option value='≤2 days/week||1' >≤2 days/week</option><option value='&gt;2 days/week but not daily||10' >&gt;2 days/week but not daily</option><option value='Daily||100' >Daily	</option><option value='Several times per day||1000' >Several times per day</option></select></div></li><li id='field_328_8' class='gfield' style='display:none;'><label class='gfield_label' for='input_328_8'>Impairment - 12+ years - Short-acting beta2-agonist use for symptom control (not prevention of exercise induced bronchospasm)</label><div class='ginput_container'><select name='input_8' id='input_328_8'  class='medium gfield_select' tabindex='5' ><option value='≤2 days/week||1' >≤2 days/week</option><option value='&gt;2 days/week but not daily, and not more than 1x on any day||10' >&gt;2 days/week but not daily, and not more than 1x on any day</option><option value='Daily||100' >Daily</option><option value='Several times per day||1000' >Several times per day</option></select></div></li><li id='field_328_5' class='gfield' ><label class='gfield_label' for='input_328_5'>Impairment - Interference with normal activity</label><div class='ginput_container'><select name='input_5' id='input_328_5'  class='medium gfield_select' tabindex='6' ><option value='None	||1' >None	</option><option value='Minor limitation||10' >Minor limitation	</option><option value='Some limitation||100' >Some limitation	</option><option value='Extremely limited||1000' >Extremely limited</option></select></div></li><li id='field_328_6' class='gfield' style='display:none;'><label class='gfield_label' for='input_328_6'>Impairment - 5-11 years - Lung function</label><div class='ginput_container'><select name='input_6' id='input_328_6'  class='medium gfield_select' tabindex='7' ><option value='Normal FEV1 between exacerbations; FEV1 &gt;80 percent predicted; FEV1/FVC &gt;85 percent||1' >Normal FEV1 between exacerbations; FEV1 &gt;80 percent predicted; FEV1/FVC &gt;85 percent</option><option value='FEV1 = &gt;80 percent predicted; FEV1/FVC &gt;80 percent||10' >FEV1 = &gt;80 percent predicted; FEV1/FVC &gt;80 percent</option><option value='FEV1 = 60-80 percent predicted; FEV1/FVC = 75-80 percent||100' >FEV1 = 60-80 percent predicted; FEV1/FVC = 75-80 percent</option><option value='FEV1 &lt;60 percent predicted; FEV1/FVC &lt;75 percent||1000' >FEV1 &lt;60 percent predicted; FEV1/FVC &lt;75 percent</option></select></div></li><li id='field_328_9' class='gfield' style='display:none;'><label class='gfield_label' for='input_328_9'>Impairment - 12+ years - Lung function</label><div class='ginput_container'><select name='input_9' id='input_328_9'  class='medium gfield_select' tabindex='8' ><option value='Normal FEV1 between exacerbations; FEV1 &gt;80 percent predicted; FEV1/FVC normal||1' >Normal FEV1 between exacerbations; FEV1 &gt;80 percent predicted; FEV1/FVC normal</option><option value='FEV1 ≥80 percent predicted; FEV1/FVC normal||10' >FEV1 ≥80 percent predicted; FEV1/FVC normal</option><option value='FEV1 &gt;60 but &lt;80 percent predicted; FEV1/FVC reduced 5 percent||100' >FEV1 &gt;60 but &lt;80 percent predicted; FEV1/FVC reduced 5 percent</option><option value='FEV1 &lt;60 percent predicted; FEV1/FVC reduced &gt;5 percent||1000' >FEV1 &lt;60 percent predicted; FEV1/FVC reduced &gt;5 percent</option></select></div><div class='gfield_description'>Normal FEV1/FVC:  8-19 yr 85 percent; 20-39 yr 80 percent; 40-59 yr 75 percent; 60-80 yr 70 percent</div></li><li id='field_328_7' class='gfield' ><label class='gfield_label' for='input_328_7'>Risk - Exacerbations requiring oral systemic corticosteroids</label><div class='ginput_container'><select name='input_7' id='input_328_7'  class='medium gfield_select' tabindex='9' ><option value='0-1/year||1' >0-1/year</option><option value='≥2/year||10' >≥2/year</option></select></div></li><li id='field_328_13' class='gfield' ><label class='gfield_label' for='input_328_13'> </label><div class='ginput_container'><ul class='gfield_checkbox' id='input_328_13'><li class='gchoice_13_1'><input name='input_13.1' type='checkbox' onclick='gf_apply_rules(328,[11,12]);' value='display asthma treatment steps'  id='choice_13_1' tabindex='10'  /><label for='choice_13_1'>display asthma treatment steps</label></li></ul></div></li><li id='field_328_11' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' style='display:none;'><strong>Stepwise medication table for children 5-11 years</strong>
<img src="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-kids.jpg" height="500" width="500" />
Open image in new window <a href="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-kids.jpg" target="_blank">here</a></li><li id='field_328_12' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' style='display:none;'><strong>Stepwise medication table for ages 12+ years</strong>
<img src="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-adults.jpg" height="500" width="500" />
Open image in new window <a href="http://d4sfmlq1cfhex.cloudfront.net/wp-content/uploads/2012/03/asthma-steps-adults.jpg" target="_blank">here</a></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult328();return false;' id='gform_submit_button_328' class='button' value='Submit' tabindex='11'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form328" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text328" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult328() 
						{

						jQuery.post("", jQuery("#gform_328").serialize());
							result="Classification of Asthma Severity:  ~|score2|~\nAge:  ~|input_1|~\nImpairment\n - Symptoms:  ~|input_2|~\n - Nighttime awakenings:  ~|input_3|~\n - Short-acting beta2 agonist use for symptoms:  ~|input_4|~~|input_8|~\n - Interference with normal activity:  ~|input_5|~\n - Lung function:  ~|input_6|~~|input_9|~\nRisk\n - Exacerbations requiring oral systemic steroids:  ~|input_7|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_2|~+~|input_3|~+~|input_4|~+~|input_5|~+~|input_6|~+~|input_7|~+~|input_8|~+~|input_9|~";
		
		result=result.replace(new RegExp("~\\|input_1\\|~","g"),valueFilter("#gform_328 select[name='input_1']"));result=result.replace(new RegExp("\\$\\|input_1\\|\\$","g"),scoreFilter("#gform_328 select[name='input_1']"));
		result=result.replace(new RegExp("~\\|input_2\\|~","g"),valueFilter("#gform_328 select[name='input_2']"));result=result.replace(new RegExp("\\$\\|input_2\\|\\$","g"),scoreFilter("#gform_328 select[name='input_2']"));
				score=score.replace(new RegExp("~\\|input_2\\|~","g"),scoreFilter("#gform_328 select[name='input_2']"));
		result=result.replace(new RegExp("~\\|input_3\\|~","g"),valueFilter("#gform_328 select[name='input_3']"));result=result.replace(new RegExp("\\$\\|input_3\\|\\$","g"),scoreFilter("#gform_328 select[name='input_3']"));
				score=score.replace(new RegExp("~\\|input_3\\|~","g"),scoreFilter("#gform_328 select[name='input_3']"));
		result=result.replace(new RegExp("~\\|input_4\\|~","g"),valueFilter("#gform_328 select[name='input_4']"));result=result.replace(new RegExp("\\$\\|input_4\\|\\$","g"),scoreFilter("#gform_328 select[name='input_4']"));
				score=score.replace(new RegExp("~\\|input_4\\|~","g"),scoreFilter("#gform_328 select[name='input_4']"));
		result=result.replace(new RegExp("~\\|input_8\\|~","g"),valueFilter("#gform_328 select[name='input_8']"));result=result.replace(new RegExp("\\$\\|input_8\\|\\$","g"),scoreFilter("#gform_328 select[name='input_8']"));
				score=score.replace(new RegExp("~\\|input_8\\|~","g"),scoreFilter("#gform_328 select[name='input_8']"));
		result=result.replace(new RegExp("~\\|input_5\\|~","g"),valueFilter("#gform_328 select[name='input_5']"));result=result.replace(new RegExp("\\$\\|input_5\\|\\$","g"),scoreFilter("#gform_328 select[name='input_5']"));
				score=score.replace(new RegExp("~\\|input_5\\|~","g"),scoreFilter("#gform_328 select[name='input_5']"));
		result=result.replace(new RegExp("~\\|input_6\\|~","g"),valueFilter("#gform_328 select[name='input_6']"));result=result.replace(new RegExp("\\$\\|input_6\\|\\$","g"),scoreFilter("#gform_328 select[name='input_6']"));
				score=score.replace(new RegExp("~\\|input_6\\|~","g"),scoreFilter("#gform_328 select[name='input_6']"));
		result=result.replace(new RegExp("~\\|input_9\\|~","g"),valueFilter("#gform_328 select[name='input_9']"));result=result.replace(new RegExp("\\$\\|input_9\\|\\$","g"),scoreFilter("#gform_328 select[name='input_9']"));
				score=score.replace(new RegExp("~\\|input_9\\|~","g"),scoreFilter("#gform_328 select[name='input_9']"));
		result=result.replace(new RegExp("~\\|input_7\\|~","g"),valueFilter("#gform_328 select[name='input_7']"));result=result.replace(new RegExp("\\$\\|input_7\\|\\$","g"),scoreFilter("#gform_328 select[name='input_7']"));
				score=score.replace(new RegExp("~\\|input_7\\|~","g"),scoreFilter("#gform_328 select[name='input_7']"));
		
		
		
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Severe Persistent Asthma";
								if (score<1000) score2 ="Moderate Persistent Asthma";
								if (score<100) score2 ="Mild Persistent Asthma";
								if (score<10) score2 ="Intermittent Asthma";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text328").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						<script type='text/javascript'>jQuery(document).ready(function(){gf_apply_rules(328, [4,8,6,9,11,12], true);jQuery('#gform_wrapper_328').show();});if(!window['gf_form_conditional_logic'])window['gf_form_conditional_logic'] = new Array();window['gf_form_conditional_logic'][328] = {'logic' : {4: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"}]},"section":null},8: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},6: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"}]},"section":null},9: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"}]},"section":null},11: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"5 - 11 years"},{"fieldId":"13","operator":"is","value":"display asthma treatment steps"}]},"section":null},12: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1","operator":"is","value":"12 and above"},{"fieldId":"13","operator":"is","value":"display asthma treatment steps"}]},"section":null}}, 'dependents' : {4: [4],8: [8],6: [6],9: [9],11: [11],12: [12]}, 'animation' : 0};</script></p>
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2466' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/respiratory/asthma-severity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CHF Exacerbation 30-day and 1-year Mortality Rate Decision Rules</title>
		<link>http://www.soapnote.org/cardiovascular/chf-mortality/</link>
		<comments>http://www.soapnote.org/cardiovascular/chf-mortality/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 05:01:49 +0000</pubDate>
		<dc:creator>Mark Morgan</dc:creator>
				<category><![CDATA[Cardiovascular]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[chf]]></category>
		<category><![CDATA[prognosis]]></category>

		<guid isPermaLink="false">http://www.soapnote.org/?p=2456</guid>
		<description><![CDATA[References Lee (2003) JAMA 290: 2581-7. Ebell (2007) Am Fam Physician 75: 1231-3. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; BEGIN: There are two calculators, one for 30-day mortality rate and one for 1-year mortality.  Click on the appropriate link below to select which calculator. CHOOSE: 30-day CHF Mortality Calculator or 1-year CHF Mortality Calculator &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; - - - &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; 30-day [...]]]></description>
			<content:encoded><![CDATA[<p></p><table border="0">
<tbody>
<tr>
<th style="text-align: left;">References</th>
</tr>
<tr>
<td>
<a href="http://www.ncbi.nlm.nih.gov/pubmed/14625335" target="_blank">Lee (2003) JAMA 290:  2581-7.</a><br />
<a href="http://www.ncbi.nlm.nih.gov/pubmed/17477106" target="_blank">Ebell (2007) Am Fam Physician 75:  1231-3.</a>
</td>
</tr>
</tbody>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>BEGIN:</strong> There are two calculators, one for 30-day mortality rate and one for 1-year mortality.  Click on the appropriate link below to select which calculator.</p>
<p><span style="font-weight: normal;"><strong>CHOOSE:</strong> </span><span style="font-weight: normal;"><a href="#30day">30-day CHF Mortality Calculator</a> or </span><span style="font-weight: normal;"><a href="#1year">1-year CHF Mortality Calculator</a></span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><span style="color: #ffffff;">-</span></p>
<p><span style="color: #ffffff;">-</span></p>
<p><span style="color: #ffffff;">-</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<h3><strong><a name="30day"></a>30-day CHF Mortality Calculator</strong></h3>

                <div class='gform_wrapper' id='gform_wrapper_325' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_325' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_325' value='1'/>
                            <ul id='gform_fields_325' class='gform_fields top_label'><li id='field_325_10' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2456" target="_top">soapnote.org</a>.</li><li id='field_325_11' class='gfield' ><label class='gfield_label' for='input_325_11'>Age</label><div class='ginput_container'><select name='input_11' id='input_325_11'  class='small gfield_select' tabindex='1' ><option value='20||20' >20</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45||45' >45</option><option value='46||46' >46</option><option value='47||47' >47</option><option value='48||48' >48</option><option value='49||49' >49</option><option value='50||50' >50</option><option value='51||51' >51</option><option value='52||52' >52</option><option value='53||53' >53</option><option value='54||54' >54</option><option value='55||55' >55</option><option value='56||56' >56</option><option value='57||57' >57</option><option value='58||58' >58</option><option value='59||59' >59</option><option value='60||60' >60</option><option value='61||61' >61</option><option value='62||62' >62</option><option value='63||63' >63</option><option value='64||64' >64</option><option value='65||65' >65</option><option value='66||66' >66</option><option value='67||67' >67</option><option value='68||68' >68</option><option value='69||69' >69</option><option value='70||70' >70</option><option value='71||71' >71</option><option value='72||72' >72</option><option value='73||73' >73</option><option value='74||74' >74</option><option value='75||75' >75</option><option value='76||76' >76</option><option value='77||77' >77</option><option value='78||78' >78</option><option value='79||79' >79</option><option value='80||80' >80</option><option value='81||81' >81</option><option value='82||82' >82</option><option value='83||83' >83</option><option value='84||84' >84</option><option value='85||85' >85</option><option value='86||86' >86</option><option value='87||87' >87</option><option value='88||88' >88</option><option value='89||89' >89</option><option value='90||90' >90</option><option value='91||91' >91</option><option value='92||92' >92</option><option value='93||93' >93</option><option value='94||94' >94</option><option value='95||95' >95</option><option value='96||96' >96</option><option value='97||97' >97</option><option value='98||98' >98</option><option value='99||99' >99</option><option value='100||100' >100</option><option value='101||101' >101</option><option value='102||102' >102</option><option value='103||103' >103</option><option value='104||104' >104</option><option value='105||105' >105</option><option value='106||106' >106</option><option value='107||107' >107</option><option value='108||108' >108</option><option value='109||109' >109</option><option value='110||110' >110</option><option value='111||111' >111</option><option value='112||112' >112</option><option value='113||113' >113</option><option value='114||114' >114</option><option value='115||115' >115</option><option value='116||116' >116</option><option value='117||117' >117</option><option value='118||118' >118</option><option value='119||119' >119</option><option value='120||120' >120</option><option value='121||121' >121</option><option value='122||122' >122</option></select></div><div class='gfield_description'>years</div></li><li id='field_325_4' class='gfield' ><label class='gfield_label' for='input_325_4'>Systolic Blood Pressure</label><div class='ginput_container'><select name='input_4' id='input_325_4'  class='medium gfield_select' tabindex='2' ><option value='&lt; 90||-30' >&lt; 90</option><option value='90 to 99||-35' >90 to 99</option><option value='100 to 119||-40' >100 to 119</option><option value='120 to 139||-45' >120 to 139</option><option value='140 to 159||-50' >140 to 159</option><option value='160 to 179||-55' >160 to 179</option><option value='≥ 180||-60' >≥ 180</option></select></div><div class='gfield_description'>mm Hg</div></li><li id='field_325_5' class='gfield' ><label class='gfield_label' for='input_325_5'>Respiratory Rate</label><div class='ginput_container'><select name='input_5' id='input_325_5'  class='medium gfield_select' tabindex='3' ><option value='20 or less||20' >20 or less</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45 or more||45' >45 or more</option></select></div><div class='gfield_description'>breaths per minute</div></li><li id='field_325_6' class='gfield' ><label class='gfield_label' for='input_325_6'>Blood Urea Nitrogen</label><div class='ginput_container'><select name='input_6' id='input_325_6'  class='medium gfield_select' tabindex='4' ><option value='1||1' >1</option><option value='2||2' >2</option><option value='3||3' >3</option><option value='4||4' >4</option><option value='5||5' >5</option><option value='6||6' >6</option><option value='7||7' >7</option><option value='8||8' >8</option><option value='9||9' >9</option><option value='10||10' >10</option><option value='11||11' >11</option><option value='12||12' >12</option><option value='13||13' >13</option><option value='14||14' >14</option><option value='15||15' >15</option><option value='16||16' >16</option><option value='17||17' >17</option><option value='18||18' >18</option><option value='19||19' >19</option><option value='20||20' >20</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45||45' >45</option><option value='46||46' >46</option><option value='47||47' >47</option><option value='48||48' >48</option><option value='49||49' >49</option><option value='50||50' >50</option><option value='51||51' >51</option><option value='52||52' >52</option><option value='53||53' >53</option><option value='54||54' >54</option><option value='55||55' >55</option><option value='56||56' >56</option><option value='57||57' >57</option><option value='58||58' >58</option><option value='59||59' >59</option><option value='60 or more||60' >60 or more</option></select></div><div class='gfield_description'>mg per dL</div></li><li id='field_325_7' class='gfield' ><label class='gfield_label' for='input_325_7'>Serum Sodium</label><div class='ginput_container'><select name='input_7' id='input_325_7'  class='medium gfield_select' tabindex='5' ><option value='less than 136 mEq per L (136 mmol per L).  ||10' >less than 136 mEq per L (136 mmol per L)</option><option value='136 mEq per L (136 mmol per L) or more.  ||0' >136 mEq per L (136 mmol per L) or more</option></select></div></li><li id='field_325_8' class='gfield' ><label class='gfield_label' for='input_325_8'>Hemoglobin</label><div class='ginput_container'><select name='input_8' id='input_325_8'  class='medium gfield_select' tabindex='6' ><option value='less than 10 g per dL (100 g per L).  ||0' >less than 10 g per dL (100 g per L)</option><option value='10 g per dL (100 g per L) or more.  ||0' >10 g per dL (100 g per L) or more</option></select></div></li><li id='field_325_9' class='gfield' ><label class='gfield_label' for='input_325_9'>Patient History</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_325_9'><li class='gchoice_9_1'><input name='input_9.1' type='checkbox'  value='Cancer.  ||15'  id='choice_9_1' tabindex='7'  /><label for='choice_9_1'>Cancer</label></li><li class='gchoice_9_2'><input name='input_9.2' type='checkbox'  value='Cerebrovascular disease.  ||10'  id='choice_9_2' tabindex='8'  /><label for='choice_9_2'>Cerebrovascular disease</label></li><li class='gchoice_9_3'><input name='input_9.3' type='checkbox'  value='Chronic lung disease.  ||10'  id='choice_9_3' tabindex='9'  /><label for='choice_9_3'>Chronic lung disease</label></li><li class='gchoice_9_4'><input name='input_9.4' type='checkbox'  value='Dementia.  ||20'  id='choice_9_4' tabindex='10'  /><label for='choice_9_4'>Dementia</label></li><li class='gchoice_9_5'><input name='input_9.5' type='checkbox'  value='Hepatic cirrhosis.  ||25'  id='choice_9_5' tabindex='11'  /><label for='choice_9_5'>Hepatic cirrhosis</label></li></ul></div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult325();return false;' id='gform_submit_button_325' class='button' value='Submit' tabindex='12'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form325" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text325" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult325() 
						{

						jQuery.post("", jQuery("#gform_325").serialize());
							result="CHF exacerbation 30-day mortality decision rule\nAge:  ~|input_11|~ years\nSystolic Blood Pressure:  ~|input_4|~\nRespiratory Rate:  ~|input_5|~\nBlood Urea Nitrogen:  ~|input_6|~\nSerum Sodium:  ~|input_7|~\nHemoglobin:  ~|input_8|~\nHistory:  ~|input_9.1|~~|input_9.2|~~|input_9.3|~~|input_9.4|~~|input_9.5|~\nInterpretation:  ~|score2|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_11|~+~|input_4|~+~|input_5|~+~|input_6|~+~|input_7|~+~|input_8|~+~|input_9.1|~+~|input_9.2|~+~|input_9.3|~+~|input_9.4|~+~|input_9.5|~";
		
		result=result.replace(new RegExp("~\\|input_11\\|~","g"),valueFilter("#gform_325 select[name='input_11']"));result=result.replace(new RegExp("\\$\\|input_11\\|\\$","g"),scoreFilter("#gform_325 select[name='input_11']"));
				score=score.replace(new RegExp("~\\|input_11\\|~","g"),scoreFilter("#gform_325 select[name='input_11']"));
		result=result.replace(new RegExp("~\\|input_4\\|~","g"),valueFilter("#gform_325 select[name='input_4']"));result=result.replace(new RegExp("\\$\\|input_4\\|\\$","g"),scoreFilter("#gform_325 select[name='input_4']"));
				score=score.replace(new RegExp("~\\|input_4\\|~","g"),scoreFilter("#gform_325 select[name='input_4']"));
		result=result.replace(new RegExp("~\\|input_5\\|~","g"),valueFilter("#gform_325 select[name='input_5']"));result=result.replace(new RegExp("\\$\\|input_5\\|\\$","g"),scoreFilter("#gform_325 select[name='input_5']"));
				score=score.replace(new RegExp("~\\|input_5\\|~","g"),scoreFilter("#gform_325 select[name='input_5']"));
		result=result.replace(new RegExp("~\\|input_6\\|~","g"),valueFilter("#gform_325 select[name='input_6']"));result=result.replace(new RegExp("\\$\\|input_6\\|\\$","g"),scoreFilter("#gform_325 select[name='input_6']"));
				score=score.replace(new RegExp("~\\|input_6\\|~","g"),scoreFilter("#gform_325 select[name='input_6']"));
		result=result.replace(new RegExp("~\\|input_7\\|~","g"),valueFilter("#gform_325 select[name='input_7']"));result=result.replace(new RegExp("\\$\\|input_7\\|\\$","g"),scoreFilter("#gform_325 select[name='input_7']"));
				score=score.replace(new RegExp("~\\|input_7\\|~","g"),scoreFilter("#gform_325 select[name='input_7']"));
		result=result.replace(new RegExp("~\\|input_8\\|~","g"),valueFilter("#gform_325 select[name='input_8']"));result=result.replace(new RegExp("\\$\\|input_8\\|\\$","g"),scoreFilter("#gform_325 select[name='input_8']"));
				score=score.replace(new RegExp("~\\|input_8\\|~","g"),scoreFilter("#gform_325 select[name='input_8']"));
		
							result=result.replace(new RegExp("~\\|input_9.1\\|~","g"),valueFilter("#gform_325 input[name='input_9.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.1\\|\\$","g"),scoreFilter("#gform_325 input[name='input_9.1']:checked"));
						score=score.replace(new RegExp("~\\|input_9.1\\|~","g"),scoreFilter("#gform_325 input[name='input_9.1']:checked"));
							result=result.replace(new RegExp("~\\|input_9.2\\|~","g"),valueFilter("#gform_325 input[name='input_9.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.2\\|\\$","g"),scoreFilter("#gform_325 input[name='input_9.2']:checked"));
						score=score.replace(new RegExp("~\\|input_9.2\\|~","g"),scoreFilter("#gform_325 input[name='input_9.2']:checked"));
							result=result.replace(new RegExp("~\\|input_9.3\\|~","g"),valueFilter("#gform_325 input[name='input_9.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.3\\|\\$","g"),scoreFilter("#gform_325 input[name='input_9.3']:checked"));
						score=score.replace(new RegExp("~\\|input_9.3\\|~","g"),scoreFilter("#gform_325 input[name='input_9.3']:checked"));
							result=result.replace(new RegExp("~\\|input_9.4\\|~","g"),valueFilter("#gform_325 input[name='input_9.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.4\\|\\$","g"),scoreFilter("#gform_325 input[name='input_9.4']:checked"));
						score=score.replace(new RegExp("~\\|input_9.4\\|~","g"),scoreFilter("#gform_325 input[name='input_9.4']:checked"));
							result=result.replace(new RegExp("~\\|input_9.5\\|~","g"),valueFilter("#gform_325 input[name='input_9.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.5\\|\\$","g"),scoreFilter("#gform_325 input[name='input_9.5']:checked"));
						score=score.replace(new RegExp("~\\|input_9.5\\|~","g"),scoreFilter("#gform_325 input[name='input_9.5']:checked"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Out of range - no interpretation available";
								if (score<196) score2 ="Very high (30.5% mortality rate)";
								if (score<114) score2 ="High (12.6% mortality rate)";
								if (score<97) score2 ="Intermediate (6.3% mortality rate)";
								if (score<83) score2 ="Low (3.6% mortality rate)";
								if (score<69) score2 ="Very low (0.8% mortality rate)";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text325").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						
<h3><strong><a name="1year"></a>1-year CHF Mortality Calculator</strong></h3>

                <div class='gform_wrapper' id='gform_wrapper_326' ><form onsubmit='return false;' method='post' enctype='multipart/form-data'  id='gform_326' class='' action=''>
                        <div class='gform_body'>
                            <input type='hidden' class='gform_hidden' name='is_submit_326' value='1'/>
                            <ul id='gform_fields_326' class='gform_fields top_label'><li id='field_326_10' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' >maintained at <a href="http://www.soapnote.org/?p=2456" target="_top">soapnote.org</a>.</li><li id='field_326_11' class='gfield' ><label class='gfield_label' for='input_326_11'>Age</label><div class='ginput_container'><select name='input_11' id='input_326_11'  class='small gfield_select' tabindex='1' ><option value='20||20' >20</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45||45' >45</option><option value='46||46' >46</option><option value='47||47' >47</option><option value='48||48' >48</option><option value='49||49' >49</option><option value='50||50' >50</option><option value='51||51' >51</option><option value='52||52' >52</option><option value='53||53' >53</option><option value='54||54' >54</option><option value='55||55' >55</option><option value='56||56' >56</option><option value='57||57' >57</option><option value='58||58' >58</option><option value='59||59' >59</option><option value='60||60' >60</option><option value='61||61' >61</option><option value='62||62' >62</option><option value='63||63' >63</option><option value='64||64' >64</option><option value='65||65' >65</option><option value='66||66' >66</option><option value='67||67' >67</option><option value='68||68' >68</option><option value='69||69' >69</option><option value='70||70' >70</option><option value='71||71' >71</option><option value='72||72' >72</option><option value='73||73' >73</option><option value='74||74' >74</option><option value='75||75' >75</option><option value='76||76' >76</option><option value='77||77' >77</option><option value='78||78' >78</option><option value='79||79' >79</option><option value='80||80' >80</option><option value='81||81' >81</option><option value='82||82' >82</option><option value='83||83' >83</option><option value='84||84' >84</option><option value='85||85' >85</option><option value='86||86' >86</option><option value='87||87' >87</option><option value='88||88' >88</option><option value='89||89' >89</option><option value='90||90' >90</option><option value='91||91' >91</option><option value='92||92' >92</option><option value='93||93' >93</option><option value='94||94' >94</option><option value='95||95' >95</option><option value='96||96' >96</option><option value='97||97' >97</option><option value='98||98' >98</option><option value='99||99' >99</option><option value='100||100' >100</option><option value='101||101' >101</option><option value='102||102' >102</option><option value='103||103' >103</option><option value='104||104' >104</option><option value='105||105' >105</option><option value='106||106' >106</option><option value='107||107' >107</option><option value='108||108' >108</option><option value='109||109' >109</option><option value='110||110' >110</option><option value='111||111' >111</option><option value='112||112' >112</option><option value='113||113' >113</option><option value='114||114' >114</option><option value='115||115' >115</option><option value='116||116' >116</option><option value='117||117' >117</option><option value='118||118' >118</option><option value='119||119' >119</option><option value='120||120' >120</option><option value='121||121' >121</option><option value='122||122' >122</option></select></div><div class='gfield_description'>years</div></li><li id='field_326_4' class='gfield' ><label class='gfield_label' for='input_326_4'>Systolic Blood Pressure</label><div class='ginput_container'><select name='input_4' id='input_326_4'  class='medium gfield_select' tabindex='2' ><option value='&lt; 90||-20' >&lt; 90</option><option value='90 to 99||-25' >90 to 99</option><option value='100 to 119||-30' >100 to 119</option><option value='120 to 139||-35' >120 to 139</option><option value='140 to 159||-40' >140 to 159</option><option value='160 to 179||-45' >160 to 179</option><option value='≥ 180||-50' >≥ 180</option></select></div><div class='gfield_description'>mm Hg</div></li><li id='field_326_5' class='gfield' ><label class='gfield_label' for='input_326_5'>Respiratory Rate</label><div class='ginput_container'><select name='input_5' id='input_326_5'  class='medium gfield_select' tabindex='3' ><option value='20 or less||20' >20 or less</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45 or more||45' >45 or more</option></select></div><div class='gfield_description'>breaths per minute</div></li><li id='field_326_6' class='gfield' ><label class='gfield_label' for='input_326_6'>Blood Urea Nitrogen</label><div class='ginput_container'><select name='input_6' id='input_326_6'  class='medium gfield_select' tabindex='4' ><option value='1||1' >1</option><option value='2||2' >2</option><option value='3||3' >3</option><option value='4||4' >4</option><option value='5||5' >5</option><option value='6||6' >6</option><option value='7||7' >7</option><option value='8||8' >8</option><option value='9||9' >9</option><option value='10||10' >10</option><option value='11||11' >11</option><option value='12||12' >12</option><option value='13||13' >13</option><option value='14||14' >14</option><option value='15||15' >15</option><option value='16||16' >16</option><option value='17||17' >17</option><option value='18||18' >18</option><option value='19||19' >19</option><option value='20||20' >20</option><option value='21||21' >21</option><option value='22||22' >22</option><option value='23||23' >23</option><option value='24||24' >24</option><option value='25||25' >25</option><option value='26||26' >26</option><option value='27||27' >27</option><option value='28||28' >28</option><option value='29||29' >29</option><option value='30||30' >30</option><option value='31||31' >31</option><option value='32||32' >32</option><option value='33||33' >33</option><option value='34||34' >34</option><option value='35||35' >35</option><option value='36||36' >36</option><option value='37||37' >37</option><option value='38||38' >38</option><option value='39||39' >39</option><option value='40||40' >40</option><option value='41||41' >41</option><option value='42||42' >42</option><option value='43||43' >43</option><option value='44||44' >44</option><option value='45||45' >45</option><option value='46||46' >46</option><option value='47||47' >47</option><option value='48||48' >48</option><option value='49||49' >49</option><option value='50||50' >50</option><option value='51||51' >51</option><option value='52||52' >52</option><option value='53||53' >53</option><option value='54||54' >54</option><option value='55||55' >55</option><option value='56||56' >56</option><option value='57||57' >57</option><option value='58||58' >58</option><option value='59||59' >59</option><option value='60 or more||60' >60 or more</option></select></div><div class='gfield_description'>mg per dL</div></li><li id='field_326_7' class='gfield' ><label class='gfield_label' for='input_326_7'>Serum Sodium</label><div class='ginput_container'><select name='input_7' id='input_326_7'  class='medium gfield_select' tabindex='5' ><option value='less than 136 mEq per L (136 mmol per L).  ||10' >less than 136 mEq per L (136 mmol per L)</option><option value='136 mEq per L (136 mmol per L) or more.  ||0' >136 mEq per L (136 mmol per L) or more</option></select></div></li><li id='field_326_8' class='gfield' ><label class='gfield_label' for='input_326_8'>Hemoglobin</label><div class='ginput_container'><select name='input_8' id='input_326_8'  class='medium gfield_select' tabindex='6' ><option value='less than 10 g per dL (100 g per L).  ||10' >less than 10 g per dL (100 g per L)</option><option value='10 g per dL (100 g per L) or more.  ||0' >10 g per dL (100 g per L) or more</option></select></div></li><li id='field_326_9' class='gfield' ><label class='gfield_label' for='input_326_9'>Patient History</label><div class='ginput_container'><ul class='gfield_checkbox' id='input_326_9'><li class='gchoice_9_1'><input name='input_9.1' type='checkbox'  value='Cancer.  ||15'  id='choice_9_1' tabindex='7'  /><label for='choice_9_1'>Cancer</label></li><li class='gchoice_9_2'><input name='input_9.2' type='checkbox'  value='Cerebrovascular disease.  ||10'  id='choice_9_2' tabindex='8'  /><label for='choice_9_2'>Cerebrovascular disease</label></li><li class='gchoice_9_3'><input name='input_9.3' type='checkbox'  value='Chronic lung disease.  ||10'  id='choice_9_3' tabindex='9'  /><label for='choice_9_3'>Chronic lung disease</label></li><li class='gchoice_9_4'><input name='input_9.4' type='checkbox'  value='Dementia.  ||15'  id='choice_9_4' tabindex='10'  /><label for='choice_9_4'>Dementia</label></li><li class='gchoice_9_5'><input name='input_9.5' type='checkbox'  value='Hepatic cirrhosis.  ||35'  id='choice_9_5' tabindex='11'  /><label for='choice_9_5'>Hepatic cirrhosis</label></li></ul></div></li>
                            </ul>
                        </div>
                        <div class='gform_footer top_label'><input type='submit' onclick='showResult326();return false;' id='gform_submit_button_326' class='button' value='Submit' tabindex='12'/>
									</div>
									<br/><div class="interact_heading result_heading">Result - Paste this into your EHR:</div>
								</form>
								<form id="pdf_form326" target="_blank" action="http://www.soapnote.org/wp-content/mypdf/savepdf.php" method="post">
									<textarea id="rs_text326" name="resulttext" class="textarea medium" readonly="readonly" onclick="this.focus();this.select();" cols="80" rows="10"></textarea>
								</form>
							</div>
							<br/><script type="text/javascript" src="http://www.soapnote.org/wp-content/plugins/gravityforms/js/jquery-fieldselection.js"></script>
						<script type="text/javascript">
						function fillableHighlight(eid,btn) {
							element=document.getElementById(eid);
							textval=element.value.replace(/\r/gi, "");
							var range = jQuery("#"+eid).getSelection();
							if (range.end==element.value.length)
								currentpos=0;
							else currentpos=range.end;
							
							tmp=element.value.substring(0, range.start);
							currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
							if (textval.indexOf("***",currentpos)==-1 && textval.indexOf("---",currentpos)==-1) currentpos=0;

							pos=textval.indexOf("***",currentpos);
							pos2=textval.indexOf("---",currentpos);

							if (pos==-1 && pos2==-1)
								return;
							else if (pos==-1)
								pos=pos2;
							else if (pos2<pos && pos2!=-1)
								pos=pos2;
							
							element.focus();
							if(element.setSelectionRange)
							{
								if(navigator.userAgent.indexOf("Firefox") !=-1)
								{
									element.setSelectionRange(pos+3, pos+3);
									element.focus();
									
									evt = document.createEvent("KeyboardEvent");									
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
									element.dispatchEvent(evt);

									evt = document.createEvent("KeyboardEvent");
									evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
									element.dispatchEvent(evt);
									element.setSelectionRange(pos, pos+3);
								}
								else 
								{
									element.setSelectionRange(pos, pos+3);
									btn.focus();
									element.focus();
								}
							}
							else {
							   var r = element.createTextRange();
							   r.collapse(true);
							   r.moveEnd("character", pos+3);
							   r.moveStart("character", pos);
							   r.select();
							}
						}

						function lineHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("+++",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("+++",currentpos);
								if (pos==-1) return;
								endpos=textval.indexOf("\n",pos);
								if (endpos==-1) endpos=element.value.length;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						
							function clauseHighlight(eid,btn) {
								element=document.getElementById(eid);
								textval=element.value.replace(/\r/gi, "");
								var range = jQuery("#"+eid).getSelection();
								if (range.end==element.value.length)
									currentpos=0;
								else currentpos=range.end;
								
								tmp=element.value.substring(0, range.start);
								currentpos-=tmp.length-tmp.replace(/\r/gi, "").length;
								if (textval.indexOf("###",currentpos)==-1) currentpos=0;
								
								pos=textval.indexOf("###",currentpos);
								if (pos==-1) return;
						
								endpos=textval.indexOf("###",pos+3);
								if (endpos==-1) return;
								else endpos+=3;
						
								element.focus();
								if(element.setSelectionRange)
								{
									if(navigator.userAgent.indexOf("Firefox") !=-1)
									{
										element.setSelectionRange(endpos, endpos);
										element.focus();
										
										evt = document.createEvent("KeyboardEvent");									
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 0, 32);								
										element.dispatchEvent(evt);
						
										evt = document.createEvent("KeyboardEvent");
										evt.initKeyEvent("keypress", true, true, null, false, false, false, false, 8, 0);								
										element.dispatchEvent(evt);
										element.setSelectionRange(pos, endpos);
									}
									else 
									{
										element.setSelectionRange(pos, endpos);
										btn.focus();
										element.focus();
									}
								}
								else {
								   var r = element.createTextRange();
								   r.collapse(true);
								   r.moveEnd("character", endpos);
								   r.moveStart("character", pos);
								   r.select();
								}
							}
						function showResult326() 
						{

						jQuery.post("", jQuery("#gform_326").serialize());
							result="CHF exacerbation 1-year mortality decision rule\nAge:  ~|input_11|~ years\nSystolic Blood Pressure:  ~|input_4|~\nRespiratory Rate:  ~|input_5|~\nBlood Urea Nitrogen:  ~|input_6|~\nSerum Sodium:  ~|input_7|~\nHemoglobin:  ~|input_8|~\nHistory:  ~|input_9.1|~~|input_9.2|~~|input_9.3|~~|input_9.4|~~|input_9.5|~\nInterpretation:  ~|score2|~";
				re = /{{[^}}]*}}/g;
			  var m = result.match(re);
			  if (m != null) {
				for (i = 0; i < m.length; i++) {
					temp=m[i].replace(/~\|/g,"$|");
					temp=temp.replace(/\|~/g,"|$");
				  result=result.replace(m[i],temp);
				}
			  }
			score="~|input_11|~+~|input_4|~+~|input_5|~+~|input_6|~+~|input_7|~+~|input_8|~+~|input_9.1|~+~|input_9.2|~+~|input_9.3|~+~|input_9.4|~+~|input_9.5|~";
		
		result=result.replace(new RegExp("~\\|input_11\\|~","g"),valueFilter("#gform_326 select[name='input_11']"));result=result.replace(new RegExp("\\$\\|input_11\\|\\$","g"),scoreFilter("#gform_326 select[name='input_11']"));
				score=score.replace(new RegExp("~\\|input_11\\|~","g"),scoreFilter("#gform_326 select[name='input_11']"));
		result=result.replace(new RegExp("~\\|input_4\\|~","g"),valueFilter("#gform_326 select[name='input_4']"));result=result.replace(new RegExp("\\$\\|input_4\\|\\$","g"),scoreFilter("#gform_326 select[name='input_4']"));
				score=score.replace(new RegExp("~\\|input_4\\|~","g"),scoreFilter("#gform_326 select[name='input_4']"));
		result=result.replace(new RegExp("~\\|input_5\\|~","g"),valueFilter("#gform_326 select[name='input_5']"));result=result.replace(new RegExp("\\$\\|input_5\\|\\$","g"),scoreFilter("#gform_326 select[name='input_5']"));
				score=score.replace(new RegExp("~\\|input_5\\|~","g"),scoreFilter("#gform_326 select[name='input_5']"));
		result=result.replace(new RegExp("~\\|input_6\\|~","g"),valueFilter("#gform_326 select[name='input_6']"));result=result.replace(new RegExp("\\$\\|input_6\\|\\$","g"),scoreFilter("#gform_326 select[name='input_6']"));
				score=score.replace(new RegExp("~\\|input_6\\|~","g"),scoreFilter("#gform_326 select[name='input_6']"));
		result=result.replace(new RegExp("~\\|input_7\\|~","g"),valueFilter("#gform_326 select[name='input_7']"));result=result.replace(new RegExp("\\$\\|input_7\\|\\$","g"),scoreFilter("#gform_326 select[name='input_7']"));
				score=score.replace(new RegExp("~\\|input_7\\|~","g"),scoreFilter("#gform_326 select[name='input_7']"));
		result=result.replace(new RegExp("~\\|input_8\\|~","g"),valueFilter("#gform_326 select[name='input_8']"));result=result.replace(new RegExp("\\$\\|input_8\\|\\$","g"),scoreFilter("#gform_326 select[name='input_8']"));
				score=score.replace(new RegExp("~\\|input_8\\|~","g"),scoreFilter("#gform_326 select[name='input_8']"));
		
							result=result.replace(new RegExp("~\\|input_9.1\\|~","g"),valueFilter("#gform_326 input[name='input_9.1']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.1\\|\\$","g"),scoreFilter("#gform_326 input[name='input_9.1']:checked"));
						score=score.replace(new RegExp("~\\|input_9.1\\|~","g"),scoreFilter("#gform_326 input[name='input_9.1']:checked"));
							result=result.replace(new RegExp("~\\|input_9.2\\|~","g"),valueFilter("#gform_326 input[name='input_9.2']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.2\\|\\$","g"),scoreFilter("#gform_326 input[name='input_9.2']:checked"));
						score=score.replace(new RegExp("~\\|input_9.2\\|~","g"),scoreFilter("#gform_326 input[name='input_9.2']:checked"));
							result=result.replace(new RegExp("~\\|input_9.3\\|~","g"),valueFilter("#gform_326 input[name='input_9.3']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.3\\|\\$","g"),scoreFilter("#gform_326 input[name='input_9.3']:checked"));
						score=score.replace(new RegExp("~\\|input_9.3\\|~","g"),scoreFilter("#gform_326 input[name='input_9.3']:checked"));
							result=result.replace(new RegExp("~\\|input_9.4\\|~","g"),valueFilter("#gform_326 input[name='input_9.4']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.4\\|\\$","g"),scoreFilter("#gform_326 input[name='input_9.4']:checked"));
						score=score.replace(new RegExp("~\\|input_9.4\\|~","g"),scoreFilter("#gform_326 input[name='input_9.4']:checked"));
							result=result.replace(new RegExp("~\\|input_9.5\\|~","g"),valueFilter("#gform_326 input[name='input_9.5']:checked"));
							result=result.replace(new RegExp("\\$\\|input_9.5\\|\\$","g"),scoreFilter("#gform_326 input[name='input_9.5']:checked"));
						score=score.replace(new RegExp("~\\|input_9.5\\|~","g"),scoreFilter("#gform_326 input[name='input_9.5']:checked"));
							if (score!="")
							{
								try 
								{
									score=eval(score);
								}
								catch (err) {}

								result=result.replace("~|score|~",numberFormat(score));
						score2 ="Out of range - no interpretation available";
								if (score<199) score2 ="Very high (66.3% mortality rate)";
								if (score<124) score2 ="High (42.1% mortality rate)";
								if (score<108) score2 ="Intermediate (29.1% mortality rate)";
								if (score<94) score2 ="Low (17.7% mortality rate)";
								if (score<80) score2 ="Very low (9.0% mortality rate)";
								
								result=result.replace("~|score2|~",score2);
							}
							result=result.replace(/, \./g,".");
							result=result.replace(/,\./g,".");
							result=result.replace(/, \n/g,"\n");
							result=result.replace(/,\n/g,"\n");
							var re = /{{[^}}]*}}/g;
							  var m = result.match(re);
							  if (m != null) {
								for (i = 0; i < m.length; i++) {
									if (eval(m[i]))
									result=result.replace(m[i],numberFormat(eval(m[i])));
								}
							  }
							result+="\n\nAvailable at http://www.soapnote.org, Accessed May 19 2012.";
							jQuery("#rs_text326").val(result);
						}
						function scoreFilter(str)
						{
							if (jQuery(str).is(":hidden")) return 0;
							str=jQuery(str).val();
							str=str+"";
							if (str=="") return 0;
							if (str=="undefined")
								str="";
							if (!isNaN(str) && str!="")
								return str;
							if (str.lastIndexOf("||")!=-1)
								return str.substring(str.lastIndexOf("||")+2);
							else return 0;
						}

						function valueFilter(str)
						{
							if (jQuery(str).is(":hidden")) return "";
							str=jQuery(str).val();
							str=str+"";
							if (str==undefined || str=="undefined")
								str="";
							if (str.lastIndexOf("||")!=-1)
								return str.substring(0,str.lastIndexOf("||"));
							else return str;
						}
						function numberFormat(n)
						{
							n+="";
							if (n.lastIndexOf(".")==-1 || n.length-n.lastIndexOf(".")<2) 
								return n;
							return Math.ceil(n*100)/100;
						}
						</script>
						
<br/><div class='wpfp-span'><span></span><div class="interact_heading">Bookmark this Soapnote</div><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/loading.gif' alt='Loading' title='Loading' class='wpfp-hide wpfp-img' /><img src='http://www.soapnote.org/wp-content/plugins/wp-favorite-posts/img/heart.png' alt='Favorite' title='Favorite' class='wpfp-img' /><a class='wpfp-link' href='?wpfpaction=add&amp;postid=2456' title='Add to favorite soapnotes' rel='nofollow'>Add to favorite soapnotes</a><p></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.soapnote.org/cardiovascular/chf-mortality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Content Delivery Network via Amazon Web Services: CloudFront: d4sfmlq1cfhex.cloudfront.net

Served from: www.soapnote.org @ 2012-05-18 23:08:40 -->
