<cfquery name="GetP" datasource="#Application.DataSrc#">
	SELECT Patient_ID, Last_Name_M0040 AS Last_Name, First_Name_M0040 AS First_Name, Middle_Initial_M0040 AS Middle
	,Payer_ID
	FROM  #Request.prefix_db_agency#.patient
	WHERE Patient_Id = '#session.cs.patientid#'
	AND   Agency_Id = '#session.AgencyId#'
</cfquery>

<cfoutput>#session.cs.AssessmentId#</cfoutput>

<cfquery name="AssForm" datasource="#Application.DataSrc#">
	SELECT Assessment_New.Person_Complete_M0080,Assessment_New.Assessment_ID,
	Assessment_New.M0063_Pattern,
	Assessment_New.Certification_Start,
	Assessment_New.Certification_End,
	Assessment_New.Assessment_Completed_M0090,
	Assessment_New.M0102_Physician_SOC,
	Assessment_New.M0110,
	Assessment_New.M1000_Other,
	Assessment_New.M0104_Date_of_Referral ,
	Assessment_New.M1220_Verbal_Under ,
	Assessment_New.M1240_Pain_Assess,
	Assessment_New.M1306_Unhealed_Pressure,
	Assessment_New.M1310_Length,
	Assessment_New.M1310_1,
	Assessment_New.M1312_Width,
	Assessment_New.M1314_Depth,
	Assessment_New.M1308_d_2_Pressure,
	Assessment_New.M1308_d_3_Pressure,
	Assessment_New.M1308_a_12_Pressure,
	Assessment_New.M1308_b_12_Pressure,
	Assessment_New.M1308_c_12_Pressure,
	Assessment_New.M1308_d_12_Pressure,
	Assessment_New.M1308_d_22_Pressure,
	Assessment_New.M1308_d_32_Pressure,
	Assessment_New.M1730_Depression,
	Assessment_New.M1845_Toilet,
	Assessment_New.M1900a_SelfCare,
	Assessment_New.M1900b_Amb,
	Assessment_New.M1900c_Transfer,
	Assessment_New.M1900d_House,
	Assessment_New.M2000_Adverse,
	Assessment_New.M2002_Med_FU,
	Assessment_New.M2010_Med_Edu,
	Assessment_New.M1840_Toilet,
	Assessment_New.M2100a_Equip,
	Assessment_New.M2100b_Equip,
	Assessment_New.M2100c_Equip,
	Assessment_New.M2100d_Equip,
	Assessment_New.M2100e_Equip,
	Assessment_New.M2100f_Equip,
	Assessment_New.M2100g_Equip,
	Assessment_New.M2110_Assist_Freq,
	Assessment_New.M1016_DX_NA,
	Assessment_New.M2250a_PhysNot,
	Assessment_New.M2250b_Diabetic,
	Assessment_New.M2250c_FallsPrev,
	Assessment_New.M2250d_Depress,
	Assessment_New.M2250e_Pain,
	Assessment_New.M2250f_PressUlc,
	Assessment_New.M2250g_PressUlcMoist,
	Assessment_New.M1350_Other_Wounds,
	Assessment_New.M1910_Fall_Risk,
	Assessment_New.Therapies_Home_M0250,
	Assessment_New.Inpatient_Discharge_Date_M0180,
	Assessment_New.Conditions_Prior_M0220,
	Assessment_New.High_Risk_Factors_M0290,
	Assessment_New.M1302_Pressure,
	Assessment_New.M1306_Unhealed_Pressure,
	Assessment_New.Pressure_Ulcer_Status_M0464,
	Assessment_New.Pressure_Ulcer_a_M0450,
	Assessment_New.Pressure_Ulcer_Stage_M0460,
	Assessment_New.Stasis_Ulcer_Num_M0470,
	Assessment_New.Stasis_Ulcer_Status_M0476,
	Assessment_New.Surgical_Wound_Status_M0488 ,
	Assessment_New.M1350_Other_Wounds,
	Assessment_New.Breathing_M0490,
	Assessment_New.Resp_Treatments_M0500,
	Assessment_New.UTI_M0510,
	Assessment_New.Urinary_INcont_when_M0530,
	Assessment_New.Bowel_Incont_M0540 ,
	Assessment_New.When_Confused_M0570,
	Assessment_New.When_Anxious_M0580,
	Assessment_New.M1730a,
	Assessment_New.M1730b,
	Assessment_New.Patient_Behav_freq_M0620,
	Assessment_New.Psy_Nursing_M0630,
	Assessment_New.M1032_Frailty,
	Assessment_New.Rehab_Prognosis_M0270,
	Assessment_New.Vision_M0390,
	Assessment_New.Hearing_M0400,
	Assessment_New.Speech_M0410,
	Assessment_New.Freq_of_Pain_M0420,
	Assessment_New.M0826_Ther_Need,
	Assessment_New.Inpatient_Discharge_Date_NA_M0180,
	Assessment_New.Discharged_From_M0175,
	Assessment_New.M0250_Assess,
	Assessment_New.Endocrine_Assess,
	Assessment_New.Pain1,
	Assessment_New.Pain2,
	Assessment_New.Pain3,
	Assessment_New.Pain4,
	Assessment_New.Pain5,
	Assessment_New.M0420_Assess,
	Assessment_New.Braden_1_Sensory,
	Assessment_New.Braden_2_Moisture,
	Assessment_New.Braden_3_Activity,
	Assessment_New.Braden_4_Mobility,
	Assessment_New.Braden_5_Nutrition,
	Assessment_New.Braden_6_Friction,
	Assessment_New.Fall_A,
	Assessment_New.Fall_B,
	Assessment_New.Fall_C,
	Assessment_New.Fall_D,
	Assessment_New.Fall_E,
	Assessment_New.Fall_F,
	Assessment_New.Fall_G,
	Assessment_New.Fall_H,
	Assessment_New.Fall_I  ,
	Assessment_New.M0440_Assess ,
	Assessment_New.M1300_Pressure  ,
	Assessment_New.Pressure_Ulcer_b_M0450,
	Assessment_New.Pressure_Ulcer_c_M0450,
	Assessment_New.Pressure_Ulcer_d_M0450,
	Assessment_New.Pressure_Ulcer_e_M0450,
	Assessment_New.M1312_1,
	Assessment_New.M1314_1,
	Assessment_New.Stasis_Ulcer_M0468,
	Assessment_New.Surgical_Wound_M0482,
	Assessment_New.M0490_Assess,
	Assessment_New.M0520_Assess,
	Assessment_New.Urinary_INcont_M0520,
	Assessment_New.M0540_Assess,
	Assessment_New.M0550_Assess,
	Assessment_New.Ostomy_for_Bowel_M0550,
	Assessment_New.Cog_Function_M0560,
	Assessment_New.M0610_Assess,
	Assessment_New.Patient_Behav_Weekly_M0610,
	Assessment_New.M0650_Assess,
	Assessment_New.Grooming_M0640,
	Assessment_New.Dress_Upper_M0650,
	Assessment_New.Dress_Lower_M0660,
	Assessment_New.Bathing_M0670,
	Assessment_New.M1840_Toilet,
	Assessment_New.M1845_Toilet,
	Assessment_New.Transferring_M0690,
	Assessment_New.Ambulation_M0700,
	Assessment_New.Eating_M0710,
	Assessment_New.Meal_Prep_M0720,
	Assessment_New.Use_Phone_M0770,
	Assessment_New.M2010_Med_Edu,
	Assessment_New.Oral_Meds_M0780,
	Assessment_New.Inject_Meds_M0800,
	Assessment_New.Oral_Meds_M0780p,
	Assessment_New.Inject_Meds_m0800p,
	Assessment_New.M0826_NA,
	Assessment_New.Waiting_For_Eval,
	Assessment_New.M1012_Inpat_DX_NA,
	Assessment_New.M1012_Inpat_DX_UK,
	Assessment_New.Home_Safety_Assess,
	Assessment_New.Inhalant_Meds_M0790p,
	Assessment_New.Assessment_note,
	Assessment_New.Assessment_Tracker_ID,
	Assessment_New.Record_Created_By
	FROM #Request.prefix_db_agency#.Assessment_New
	WHERE Assessment_New.Assessment_ID='#session.cs.AssessmentId#'
</cfquery>

<cfquery name="Treatment" datasource="#Application.DataSrc#">
	select Pathway_Details.Description,Pathway_Details.Skill,Pathway_Details.Pathway_Details_ID from #Request.prefix_db_agency#.Pathway_Details where Pathway_Details.Assessment_ID='#session.cs.AssessmentId#'
</cfquery>

<cfquery name="Createdby" datasource="#Application.DataSrc#">
	select Last_Name,First_Name from #Request.prefix_db_lookup#.Employee where Employee_ID = '#AssForm.Record_Created_By#'
</cfquery>

<cfif left(AssForm.Fall_A,1) NEQ "">
	<cfset FallA=left(AssForm.Fall_A,1) />
<cfelse>
	<cfset FallA=0 />
</cfif>
<cfif left(AssForm.Fall_B,1) NEQ "">
	<cfset FallB=left(AssForm.Fall_B,1) />
<cfelse>
	<cfset FallB=0 />
</cfif>
<cfif left(AssForm.Fall_C,1) NEQ "">
	<cfset FallC=left(AssForm.Fall_C,1) />
<cfelse>
	<cfset FallC=0 />
</cfif>
<cfif left(AssForm.Fall_D,1) NEQ "">
	<cfset FallD=left(AssForm.Fall_D,1) />
<cfelse>
	<cfset FallD=0 />
</cfif>
<cfif left(AssForm.Fall_E,1) NEQ "">
	<cfset FallE=left(AssForm.Fall_E,1) />
<cfelse>
	<cfset FallE=0 />
</cfif>
<cfif left(AssForm.Fall_F,1) NEQ "">
	<cfset FallF=left(AssForm.Fall_F,1) />
<cfelse>
	<cfset FallF=0 />
</cfif>
<cfif left(AssForm.Fall_G,1) NEQ "">
	<cfset FallG=left(AssForm.Fall_G,1) />
<cfelse>
	<cfset FallG=0 />
</cfif>
<cfif left(AssForm.Fall_H,1) NEQ "">
	<cfset FallH=left(AssForm.Fall_H,1) />
<cfelse>
	<cfset FallH=0 />
</cfif>
<cfif left(AssForm.Fall_I,1) NEQ "">
	<cfset FallI=left(AssForm.Fall_I,1) />
<cfelse>
	<cfset FallI=0 />
</cfif>
<cfset FallRate=FallA+FallB+FallC+FallD+FallE+FallF+FallG+FallH+FallI />

<cfif left(AssForm.Braden_1_Sensory,1) NEQ "">
	<cfif IsNumeric(left(AssForm.Braden_1_Sensory,1))>
		<cfset Sensory=left(AssForm.Braden_1_Sensory,1) />
	<cfelse>
		<cfset Sensory=0 />
	</cfif>
<cfelse>
	<cfset Sensory=0 />
</cfif>

<cfif left(AssForm.Braden_2_Moisture,1) NEQ "">
	<cfif IsNumeric(left(AssForm.Braden_2_Moisture,1))>
		<cfset Moisture=left(AssForm.Braden_2_Moisture,1) />
	<cfelse>
		<cfset Moisture=0 />
	</cfif>
<cfelse>
	<cfset Moisture=0 />
</cfif>

<cfif left(AssForm.Braden_3_Activity,1) NEQ "">
	<cfif IsNumeric(left(AssForm.Braden_3_Activity,1))>
		<cfset Activity=left(AssForm.Braden_3_Activity,1) />
	<cfelse>
		<cfset Activity=0 />
	</cfif>
<cfelse>
	<cfset Activity=0 />
</cfif>

<cfif left(AssForm.Braden_4_Mobility,1) NEQ "">
	<cfif IsNumeric(left(AssForm.Braden_4_Mobility,1))>
		<cfset Mobility=left(AssForm.Braden_4_Mobility,1) />
	<cfelse>
		<cfset Mobility=0 />
	</cfif>
<cfelse>
	<cfset Mobility=0 />
</cfif>

<cfif left(AssForm.Braden_5_Nutrition,1) NEQ "">
	<cfif IsNumeric(left(AssForm.Braden_5_Nutrition,1))>
		<cfset Nutrition=left(AssForm.Braden_5_Nutrition,1) />
	<cfelse>
		<cfset Nutrition=0 />
	</cfif>
<cfelse>
	<cfset Nutrition=0 />
</cfif>

<cfif left(AssForm.Braden_6_Friction,1) NEQ "">
	<cfif IsNumeric(left(AssForm.Braden_6_Friction,1))>
		<cfset Friction=left(AssForm.Braden_6_Friction,1) />
	<cfelse>
		<cfset Friction=0 />
	</cfif>
<cfelse>
	<cfset Friction=0 />
</cfif>

<cfset PressureRate=Sensory+Moisture+Activity+Mobility+Nutrition+Friction />

<cfparam name="form.searchfield" default="" />
<cfparam name="form.M1012searchfield" default="" />
<cfparam name="form.M1016searchfield" default="" />
<cfcookie name="WoundCount" value="" />
<cfset cookie.WoundCount="0" />

<cfoutput>
	<cfcookie name="M1302Pressure" value="#AssForm.M1302_Pressure#" />
	<cfcookie name="M1306Unhealed" value="#AssForm.M1306_Unhealed_Pressure#" />
	<cfcookie name="PressureUlcerStatus" value="#AssForm.Pressure_Ulcer_Status_M0464#" />

	<cfcookie name="M1310Length" value="#AssForm.M1310_Length#" />
	<cfcookie name="M13101" value="#AssForm.M1310_1#" />
	<cfcookie name="M1312Width" value="#AssForm.M1312_Width#" />
	<cfcookie name="M13121" value="#AssForm.M1312_1#" />
	<cfcookie name="M1314Depth" value="#AssForm.M1314_Depth#" />
	<cfcookie name="M13141" value="#AssForm.M1314_1#" />

	<cfcookie name="PressureUlcerbM0450" value="#AssForm.Pressure_Ulcer_b_M0450#" />
	<cfcookie name="PressureUlcercM0450" value="#AssForm.Pressure_Ulcer_c_M0450#" />
	<cfcookie name="PressureUlcerdM0450" value="#AssForm.Pressure_Ulcer_d_M0450#" />
	<cfcookie name="PressureUlcereM0450" value="#AssForm.Pressure_Ulcer_e_M0450#" />
	<cfcookie name="M1308d2Pressure" value="#AssForm.M1308_d_2_Pressure#" />
	<cfcookie name="M1308d3Pressure" value="#AssForm.M1308_d_3_Pressure#" />

	<cfcookie name="PressureUlceraM0450" value="#AssForm.Pressure_Ulcer_a_M0450#" />
	<cfcookie name="PressureUlcerStageM0460" value="#AssForm.Pressure_Ulcer_Stage_M0460#" />
	<cfcookie name="SurgicalWoundStatusM0488" value="#AssForm.Surgical_Wound_Status_M0488#" />

	<cfcookie name="StasisUlcerM0468" value="#AssForm.Stasis_Ulcer_M0468#" />
	<cfcookie name="StasisUlcerNumM0470" value="#AssForm.Stasis_Ulcer_Num_M0470#" />
	<cfcookie name="StasisUlcerStatusM0476" value="#AssForm.Stasis_Ulcer_Status_M0476#" />
	<cfcookie name="SurgicalWoundM0482" value="#AssForm.Surgical_Wound_M0482#" />
</cfoutput>

<cfquery name="ViewWnd" datasource="#Application.DataSrc#">
	SELECT count(Wnd_Type) as CouNt from #Request.prefix_db_agency#.PatientVisitDetails
	where Patient_ID='#session.cs.patientid#' and Assessment_ID='#session.cs.AssessmentId#'
	and Wnd_Location<>'' and Wnd_Type<>'' and trim(Type)='Wound'
</cfquery>

<cfoutput><cfset cookie.WoundCount='#ViewWnd.CouNt#' /></cfoutput>

<cfcookie name="PathwayDescription" value="" />
<cfset cookie.PathwayDescription="" />
<div class="portlet box blue">
		<div class="portlet-title">
			<div class="caption">
				<i class="fa fa-gear"></i>
				<cfoutput>#GetP.First_Name# #GetP.Last_Name#, Resumption of Care</cfoutput>
			</div>
			<div class="tools">
				<a href="javascript:;" class="collapse"></a>
			</div>
		</div>
		<div class="portlet-body form">

			<cfinclude template="resumptionofcarewizard_includes/StartOfCare1.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare2.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare3.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare4.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare5.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare6.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare7.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare8.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare9.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare10.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare11.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare12.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare13.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare14.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare15.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare16.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare17.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare18.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare19.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare20.cfm" />
			<cfinclude template="resumptionofcarewizard_includes/StartOfCare21.cfm" />
			<script type="text/javascript">
				$('.progress_div').css("max-width", $('.nav_pagination').width());
			</script>
		</div>
	</div>

<cfwindow
	name="fallrisk"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="false"
	modal="true"
	bodystyle="background-color:white;" initshow="false">

	<cfform name="formfallrisk" id="formfallrisk">
		<div id="DivFallRiskFirst" style="margin:0 15px;">
			<img title="Close" name="imgbtnFallRiskFirst" onclick="UpdateSoc('fallrisk');" id="imgbtnFallRiskFirst" style="cursor:pointer;float:right;" src="../../images/icon_back.gif" width="33" height="35" />
			<h4>Fall Risk Assessment</h4>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<div id="drlFallRiskConsciousness1d" class="label-stable">
							<label>Level of Consciousness</label>
							<div class="radio-list">
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskConsciousness1" value="0 - Alert and oriented x 3" <cfif AssForm.Fall_A EQ "0 - Alert and oriented x 3">checked</cfif>> 0 - Alert and oriented x 3 </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskConsciousness1" value="2 - Disoriented x 3 at all times" <cfif AssForm.Fall_A EQ "2 - Disoriented x 3 at all times">checked</cfif>> 2 - Disoriented x 3 at all times </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskConsciousness1" value="4 - Intermittent confusion" <cfif AssForm.Fall_A EQ "4 - Intermittent confusion">checked</cfif>> 4 - Intermittent confusion </label>
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<div id="drlFallRiskHistory1d" class="label-stable">
							<label>History of Falls</label>
							<div class="radio-list">
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskHistory1" value="0 - no falls" <cfif AssForm.Fall_B EQ "0 - no falls">checked</cfif>> 0 - no falls </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskHistory1" value="2 - 1 to 2 falls" <cfif AssForm.Fall_B EQ "2 - 1 to 2 falls">checked</cfif>> 2 - 1 to 2 falls </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskHistory1" value="4 - 3 or more falls" <cfif AssForm.Fall_B EQ "4 - 3 or more falls">checked</cfif>> 4 - 3 or more falls </label>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<div id="drlFallRiskAmbulation1d" class="label-stable">
							<label>Ambulation Elimination</label>
							<div class="radio-list">
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskAmbulation1" value="0 - Ambulatory and continent" <cfif AssForm.Fall_C EQ "0 - Ambulatory and continent">checked</cfif>> 0 - Ambulatory and continent </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskAmbulation1" value="2 - Chairbound and requires assistance with toileting" <cfif AssForm.Fall_C EQ "2 - Chairbound and requires assistance with toileting">checked</cfif>> 2 - Chairbound and requires assistance with toileting </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskAmbulation1" value="4 - Ambulatory and incontinent" <cfif AssForm.Fall_C EQ "4 - Ambulatory and incontinent">checked</cfif>> 4 - Ambulatory and incontinent</label>
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<div id="drlFallRiskVision1d" class="label-stable">
							<label>Vision</label>
							<div class="radio-list">
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskVision1" value="0 - Adequate, with or without glasses" <cfif AssForm.Fall_D EQ "0 - Adequate, with or without glasses">checked</cfif>> 0 - Adequate, with or without glasses </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskVision1" value="2 - Poor, with or without glasses" <cfif AssForm.Fall_D EQ "2 - Poor, with or without glasses">checked</cfif>> 2 - Poor, with or without glasses </label>
								<label>
								<input type="radio" onclick="FallRiskcal();" name="drlFallRiskVision1" value="4 - Legally blind" <cfif AssForm.Fall_D EQ "4 - Legally blind">checked</cfif>> 4 - Legally blind </label>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlFallRiskGait1d" class="label-stable">
					<label>Gait & Balance</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskGait1" value="0 - Normal, safe gait and balance" <cfif AssForm.Fall_E EQ "0 - Normal, safe gait and balance">checked</cfif>> 0 - Normal, safe gait and balance</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskGait1" value="2 - Minimal balance and/or ambulation deficits" <cfif AssForm.Fall_E EQ "2 - Minimal balance and/or ambulation deficits">checked</cfif>> 2 - Minimal balance and/or ambulation deficits</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskGait1" value="4 - Balance and ambulation deficits" <cfif AssForm.Fall_E EQ "4 - Balance and ambulation deficits">checked</cfif>> 4 - Balance and ambulation deficits</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlFallRiskOrthostatic1d" class="label-stable">
					<label>Orthostatic Changes</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskOrthostatic1" value="0 - No noted drop in blood pressure between lying and standing. No change to cardiac rhythm." <cfif AssForm.Fall_F EQ "0 - No noted drop in blood pressure between lying and standing. No change to cardiac rhythm.">checked</cfif>> 0 - No noted drop in blood pressure between lying and standing. No change to cardiac rhythm. </label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskOrthostatic1" value="2 - Blood pressure drops less than 20mm between lying and standing. Increase of cardiac rhythm < 20." <cfif AssForm.Fall_F EQ "2 - Blood pressure drops less than 20mm between lying and standing. Increase of cardiac rhythm < 20.">checked</cfif>> 2 - Blood pressure drops less than 20mm between lying and standing. Increase of cardiac rhythm < 20. </label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskOrthostatic1" value="4 - Blood pressure drops greater than 20mm between lying and standing. Increase of cardiac rhythm > 20." <cfif AssForm.Fall_F EQ "4 - Blood pressure drops greater than 20mm between lying and standing. Increase of cardiac rhythm > 20.">checked</cfif>> 4 - Blood pressure drops greater than 20mm between lying and standing.Increase of cardiac rhythm >20. </label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlFallRiskMedications1d" class="label-stable">
					<label>Medications</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskMedications1" value="0 - None of these medications taken currently or in past 7 days." <cfif AssForm.Fall_G EQ "0 - None of these medications taken currently or in past 7 days.">checked</cfif>> 0 - None of these medications taken currently or in past 7 days.</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskMedications1" value="2 - Takes 1 to 2 of these medications currently or in past 7 days." <cfif AssForm.Fall_G EQ "2 - Takes 1 to 2 of these medications currently or in past 7 days.">checked</cfif>> 2 - Takes 1 to 2 of these medications currently or in past 7 days.</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskMedications1" value="4 - Takes 3 to 4 of these medications currently or in past 7 days." <cfif AssForm.Fall_G EQ "4 - Takes 3 to 4 of these medications currently or in past 7 days.">checked</cfif>> 4 - Takes 3 to 4 of these medications currently or in past 7 days.</label>
					</div>
				</div>
				<p style="color:blue;">anesthetics,anthistamines,cathartics,diuretics, antihypertensive,antiseizure,benzodiazepines, hypoglycemics,psychotropics,sedative/hypnotics.</p>
			</div>
			<div class="form-group">
				<div id="drlFallRiskMedical1d" class="label-stable">
					<label>Medical History</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskMedical1" value="0 - None present" <cfif AssForm.Fall_H EQ "0 - None present">checked</cfif>> 0 - None present</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskMedical1" value="2 - 1 to 2 present" <cfif AssForm.Fall_H EQ "2 - 1 to 2 present">checked</cfif>> 2 - 1 to 2 present</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskMedical1" value="4 - 3 or more present" <cfif AssForm.Fall_H EQ "4 - 3 or more present">checked</cfif>> 4 - 3 or more present</label>
					</div>
				</div>
				<p style="color:blue;">Hypotension,vertigo,CVA,Parkinsons disease,loss of limb(s),seizures,arthritis,osteoporosis,fractures.</p>
			</div>
			<div class="form-group">
				<div id="drlFallRiskEquipment1d" class="label-stable">
					<label>Equipment Issues</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskEquipment1" value="0 - No risk factors noted" <cfif AssForm.Fall_I EQ "0 - No risk factors noted">checked</cfif>> 0 - No risk factors noted</label>
						<label>
						<input type="radio" onclick="FallRiskcal();" name="drlFallRiskEquipment1" value="4 - Uses device inappropriately or does not use recommended device" <cfif AssForm.Fall_I EQ "4 - Uses device inappropriately or does not use recommended device">checked</cfif>> 4 - Uses device inappropriately or does not use recommended device</label>
					</div>
				</div>
			</div>
			<p style="color:red;">
				<span id="spnFalls">
					<cfif FallRate gt 10>
						Total Score = <cfoutput>#FallRate#</cfoutput> HIGH RISK for Falls
					<cfelseif FallRate lt 10>
						Total Score = <cfoutput>#FallRate#</cfoutput> LOW RISK for Falls
					</cfif>
				</span>
			</p>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="vital"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="false"
	modal="true"
	bodystyle="background-color:white;" initshow="false">

	<cfform name="formvital" id="formvital">
		<div id="divvital">
			<table border="0" cellspacing="0" cellpadding="0" width="98%" align="center">
				<tr>
					<td  valign="top" style="font-family: Arial; font-size: 16px" colspan="3">
						<b>Parameters for Physician Notification</b>
						<img name="imgbtnCls" onclick="ColdFusion.Window.hide('vital');VitalCount();" title="Close" style="cursor:pointer;"id="imgbtnCls" src="../../images/icon_back.gif" width="33" height="35" />
					</td>
				</tr>
				<tr>
					<td height="15px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital 1</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital1" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other...</OPTION>
							<br /><br />
						</SELECT><br /><br />
						less than <input name="txtlessthan" id="txtlessthanvital1" type="text" style="background-color:	 #6699cc; width:50px"/><br /><br />
						greater than <input name="txtgreaterthan" id="txtgreatthanvital1" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital 2</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital2" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other...</OPTION>
							<br /><br />
						</SELECT><br /><br />
						less than       <input name="txtlessthanv1" id="txtlessthanvital2" type="text" style="background-color:#6699cc; width:50px"/><br /><br />
						greater than  <input name="txtgreaterthan2" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital 3</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital3" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other</OPTION><br /><br />
						</SELECT><br /><br />
						less than <input name="txtlessthanvital3" type="text" style="background-color:#6699cc; width:50px"/><br /><br />
						greater than  <input name="txtgreaterthan3" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital4</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital4" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other</OPTION><br /><br />
						</SELECT><br /><br />
						less than       <input name="txtlessthanvital4" type="text" style="background-color:#6699cc; width:50px"/><br /><br />
						greater than  <input name="txtgreaterthan4" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow" style="display:none">
							<input name="txtother" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br />
							<input type="submit" name="Ok" value="Ok" onclick="return clickother()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel()" />
						</div>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow2" style="display:none">
							<input name="txtother2" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br />
							<input type="submit" name="Ok" value="Ok" onclick="return clickother2()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel2()" />
						</div>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow3" style="display:none">
							<input name="txtother3" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br />
							<input type="submit" name="Ok" value="Ok" onclick="return clickother3()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel3()" />
						</div>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow4" style="display:none">
							<input name="txtother4" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br />
							<input type="submit" name="Ok" value="Ok" onclick="return clickother4()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel4()" />
						</div>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow5" style="display:none">
							<input name="txtother5" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br />
							<input type="submit" name="Ok" value="Ok" onclick="return clickother5()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel5()" />
						</div>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow6" style="display:none">
							<input name="txtother6" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br />
							<input type="submit" name="Ok" value="Ok" onclick="return clickother6()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel6()" />
						</div>
					</td>
					<td colspan="2" align="left">
						<div id="divtxtshow7" style="display:none">
							<input name="txtother7" type="text" style="background-color:#6699cc; width:270px; height:100px"/><br/>
							<input type="submit" name="Ok" value="Ok" onclick="return clickother7()">
							<input type="button" name="Cancel" value="Cancel" onclick="return cancel7()" />
						</div>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital 5</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital5" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other</OPTION><br /><br />
						</SELECT><br /><br />
						less than       <input name="txtlessthanvital5" type="text" style="background-color:#6699cc; width:50px"/><br /><br />
						greater than  <input name="txtgreaterthan5" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital 6</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital6" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other</OPTION><br /><br />
						</SELECT><br /><br />
						less than <input name="txtlessthanvital6" type="text" style="background-color:#6699cc; width:50px"/><br /><br />
						greater than <input name="txtgreaterthan6" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
				<tr>
					<td bgcolor="#c3c3c3" width="20%" valign="top" style="font-family: Arial; font-size: 12px">Vital 7</td>
					<td valign="top" style="font-family: Arial; font-size: 12px; padding-left:5px">
						<SELECT NAME="drpvital7" style="width:170px;font-family: Arial;font-size: 12px">
							<option value="select" style="background-color:#CCCCFF;"></option>
							<OPTION title="Temperature" VALUE="Temperature">Temperature</OPTION>
							<OPTION title="Heart Rate" VALUE="Heart Rate">Heart Rate</OPTION>
							<OPTION title="Respiratory Rate" VALUE="Respiratory Rate">Respiratory Rate</OPTION>
							<OPTION title="BP Systolic" VALUE="BP Systolic">BP Systolic</OPTION>
							<OPTION title="BP Diastolic" VALUE="BP Diastolic">BP Diastolic</OPTION>
							<OPTION title="Weight" VALUE="Weight">Weight</OPTION>
							<OPTION title="Other..." VALUE="Other">Other</OPTION><br /><br />
						</SELECT><br /><br />
						less than <input name="txtlessthanvital7" type="text" style="background-color:#6699cc; width:50px"/><br /><br />
						greater than  <input name="txtgreaterthan7" type="text" style="background-color:#6699cc; width:50px"/>
					</td>
				</tr>
				<tr>
					<td height="5px"></td>
				</tr>
			</table>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="Vitaldiv"
	title=""
	height="500"
	width="800"
	resizable="true"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	initshow="false"
	bodystyle="background-color:white;" >
	<cfform name="formvital" id="formvital">
		<div style="margin:0 15px;">
			<img title="Close" name="imgbtnSkinCloseVital" style="border:none;cursor:pointer;float:right;" id="imgbtnSkinCloseVital" onClick="ColdFusion.Window.hide('Vitaldiv');" src="../../images/icon_back.gif" width="33" height="35" />
			<h4>Vital</h4>
			<div id="wounlist" style="display:block">
				<div class="form-group">
					<label>
						Add Vital <img name="ImgVitalAdd" id="ImgVitalAdd" onclick="ColdFusion.Window.show('AddvitalsignForm');ColdFusion.Window.hide('Vitaldiv'); " src="../../images/icon_add.png" style="border:none;cursor:pointer"/>
					</label>
				</div>
				<cfdiv bind="url:#Application.siteURL#/patientadmin_new/vitaldetails.cfm" style="height:150"  ID="theVitalDiv"></cfdiv>
			</div>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="Wounddiv"
	title=""
	height="500"
	width="800"
	resizable="true"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	initshow="false"
	bodystyle="background-color:white;" >

	<cfform name="formwound" id="formwound">
		<div style="margin:0 15px;">
			<img title="Close" name="imgbtnSkinClose" style="border:none;cursor:pointer;float:right;" id="imgbtnSkinClose" onClick="ColdFusion.Window.hide('Wounddiv');" src="../../images/icon_back.gif" width="33" height="35" />
			<h4>Wounds</h4>
			<div id="wounlist" style="display:block">
				<div class="form-group">
					<label>Add <img name="ImgWound1Add" id="ImgWound1Add" onclick="WoundDiaplay();" src="../../images/icon_add.png" style="border:none;cursor:pointer"/></label>
				</div>
				<cfdiv bind="url:#Application.siteURL#/patientadmin_new/WoundGrid.cfm" ID="theWoundDiv" style="height:150"></cfdiv>
			</div>
			<div id="Divwound" style="display:none;">
				<div class="form-group">
					<label>Wound Type</label><br>
					<div class="row">
						<div class="col-md-6">
							<div id="Wnd_Typed" class="label-stable">
								<div class="radio-list">
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Abrasion"> Abrasion</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Bite"> Bite</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Burn"> Burn</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Contusion"> Contusion</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Diabetic Ulcer"> Diabetic Ulcer</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Graft"> Graft</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Gunshot"> Gunshot</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Laceration"> Laceration</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Nodule"> Nodule</label>
								</div>
							</div>
						</div>
						<div class="col-md-6">
							<div id="Wnd_Typed" class="label-stable">
								<div class="radio-list">
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Pressure Ulcer"> Pressure Ulcer</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Puncture"> Puncture</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Skin Tear"> Skin Tear</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Stab"> Stab</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Stasis Ulcer"> Stasis Ulcer</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Surgical Wound"> Surgical Wound</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Welt"> Welt</label>
									<label>
									<input type="radio" name="Wnd_Type" id="Wnd_Type" value="Other"> Other</label>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="form-group text-center">
					<img src='../../images/human_frond.gif' border="0"  usemap="#shapes" />
					<map name="shapes" id="shapes">
						<area shape="circle" coords="104,74,19" href="#" onclick="javascript:bindmap('Anterior Left Shoulder');" />
						<area shape="circle" coords="25,74,19" href="#" onclick="javascript:bindmap('Anterior Right Shoulder');" />
						<area shape="circle" coords="50,90,12" href="#" onclick="javascript:bindmap('Anterior Right Upper Chest');" />
						<area shape="rect" coords="33,235,58,256" href="#" onclick="javascript:bindmap('Anterior Right Above Knee');" />
						<area shape="rect" coords="32,334,52,351" href="#" onclick="javascript:bindmap('Anterior Right Ankle');"  />
						<area shape="circle" coords="80,90,12" href="#" onclick="javascript:bindmap('Anterior Left Upper Chest');"/>
						<area shape="rect" coords="50,8,64,47" href="#" onclick="javascript:bindmap('Anterior Right Face');" />
						<area shape="rect" coords="65,8,85,47" href="#" onclick="javascript:bindmap('Anterior Left Face');" />
						<area shape="rect" coords="3,94,31,126" href="#" onclick="javascript:bindmap('Anterior Right Upper Arm');" />
						<area shape="rect" coords="100,94,127,126" href="#" onclick="javascript:bindmap('Anterior Left Upper Arm');" />
						<area shape="rect" coords="67,69,72,191" href="#" onclick="javascript:bindmap('Anterior Right Above Knee');" />
						<area shape="rect" coords="41,137,65,175" href="#" onclick="javascript:bindmap('Anterior Right Abdomen');"  />
						<area shape="circle" coords="43,270,11" href="#"  onclick="javascript:bindmap('Anterior Right Knee');"/>
						<area shape="rect" coords="75,137,98,173" href="#" onclick="javascript:bindmap('Anterior Left Abdomen');"/>
						<area shape="rect" coords="1,132,22,185" href="#" onclick="javascript:bindmap('Anterior Right Elbow/Forearm');" />
						<area shape="rect" coords="112,132,139,185" href="#" onclick="javascript:bindmap('Anterior Left Elbow/Forearm');" />
						<area shape="rect" coords="3,188,29,211" href="#" onclick="javascript:bindmap('Anterior Right Wrist/Hand');"/>
						<area shape="rect" coords="115,190,134,211" href="#" onclick="javascript:bindmap('Anterior Left Wrist/Hand');"/>
						<area shape="rect" coords="36,188,66,232" href="#" onclick="javascript:bindmap('Anterior Right Thigh');" />
						<area shape="rect" coords="79,186,106,231" href="#"  onclick="javascript:bindmap('Anterior Left Thigh');" />
						<area shape="rect" coords="31,189,36,232" href="#" onclick="javascript:bindmap('Anterior Right Hip');"/>
						<area shape="rect" coords="107,178,112,232" href="#" onclick="javascript:bindmap('Anterior Left Hip');"/>
						<area shape="circle" coords="88,181,8" href="#" onclick="javascript:bindmap('Anterior Left Groin');" />
						<area shape="rect" coords="79,232,107,253" href="#"  onclick="javascript:bindmap('Anterior Left Above Knee');" />
						<area shape="rect" coords="85,332,106,350" href="#" onclick="javascript:bindmap('Anterior Left Ankle');" />
						<area shape="circle" coords="94,265,11" href="#" onclick="javascript:bindmap('Anterior Left Knee');"  />
						<area shape="rect" coords="24,287,57,330" href="#" onclick="javascript:bindmap('Anterior Right Below Knee');" />
						<area shape="rect" coords="82,282,111,329" href="#" onclick="javascript:bindmap('Anterior Left Below Knee');" />
						<area shape="rect" coords="24,352,48,380" href="#" onclick="javascript:bindmap('Anterior Right Foot');" />
						<area shape="rect" coords="83,352,110,381" href="#" onclick="javascript:bindmap('Anterior Left Foot');" />
					</map>
					<img src='../../images/human_back.gif' border="0"  usemap="#backshapes" />
					<map name="backshapes" id="backshapes" >
						<area shape="rect" coords="47,4,64,36" href="#" onclick="javascript:bindmap('Posterior Left Head');" />
						<area shape="rect" coords="66,4,82,36" href="#" onclick="javascript:bindmap('Posterior Right Head');"/>
						<area shape="circle" coords="56,48,10" href="#" onclick="javascript:bindmap('Posterior Left Neck');"/>
						<area shape="circle" coords="78,48,10" href="#" onclick="javascript:bindmap('Posterior Right Neck');" />
						<area shape="rect" coords="63,60,69,155" href="#" onclick="javascript:bindmap('Posterior Midline');" />
						<area shape="rect" coords="28,62,59,94" href="#" onclick="javascript:bindmap('Posterior Left Shoulder/Upper Back');" />
						<area shape="rect" coords="78,62,105,94" href="#" onclick="javascript:bindmap('Posterior Right Shoulder/Upper Back');" />
						<area shape="circle" coords="88,113,18" onclick="javascript:bindmap('Posterior Right Middle/Lower Back');" href="#" /><area shape="circle" coords="47,112,17" href="#" onclick="javascript:bindmap('Posterior Left Middle Back');" />
						<area shape="rect" coords="11,68,30,134" href="#" onclick="javascript:bindmap('Posterior Left Upper Arm');" />
						<area shape="rect" coords="105,69,124,133" href="#" onclick="javascript:bindmap('Posterior Right Shoulder/Upper Arm');" />
						<area shape="rect" coords="1,142,20,191" href="#" onclick="javascript:bindmap('Posterior Left Elbow/Forearm');" /><area shape="rect" coords="111,144,133,184" href="#" onclick="javascript:bindmap('Posterior Right Elbow/Forearm');" /><area shape="circle" coords="119,193,7" href="#" onclick="javascript:bindmap('Posterior Right Wrist');"/>
						<area shape="rect" coords="107,200,131,210" href="#" onclick="javascript:bindmap('Posterior Right Hand');" />
						<area shape="circle" coords="14,206,9" href="#" onclick="javascript:bindmap('Posterior Left Hand');" />
						<area shape="circle" coords="44,228,18" href="#" onclick="javascript:bindmap('Posterior Left Thigh');" />
						<area shape="circle" coords="92,231,17" href="#" onclick="javascript:bindmap('Posterior Right Thigh');" />
						<area shape="rect" coords="25,282,55,337" href="#" onclick="javascript:bindmap('Posterior Left Calf');" />
						<area shape="circle" coords="82,189,17" href="#" onclick="javascript:bindmap('Posterior Right Buttock');"/>
						<area shape="rect" coords="84,287,109,340" href="#" onclick="javascript:bindmap('Posterior Right Calf');" />
						<area shape="circle" coords="46,184,17" href="#" onclick="javascript:bindmap('Posterior Left Buttock');" />
						<area shape="circle" coords="44,263,13" href="#" onclick="javascript:bindmap('Posterior Left Knee');"/>
						<area shape="circle" coords="96,268,14" href="#" onclick="javascript:bindmap('Posterior Right Knee');" />
						<area shape="circle" coords="46,352,11" href="#" onclick="javascript:bindmap('Posterior Left Ankle/Foot');" />
						<area shape="circle" coords="99,351,8" href="#" onclick="javascript:bindmap('Posterior Right Ankle/Foot');" />
						<area shape="rect" coords="33,364,55,372" href="#" onclick="javascript:bindmap('Posterior Left Heel');"/>
						<area shape="rect" coords="88,362,109,372" href="#" onclick="javascript:bindmap('Posterior Right Heel');" />
					</map>
				</div>
				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<label>If pressure ulcer stage</label>
							<select class="form-control" id="selectstage" name="selectstage">
								<option value="1 - Intact skin with non-blanchable redness of a localized area usually over a bony prominence.">1 - Intact skin with non-blanchable redness of a localized area usually over a bony prominence.</option>
								<option value="2 - Partial thickness loss of dermis presenting as a shallow open ulcer with red pink wound bed.">2 - Partial thickness loss of dermis presenting as a shallow open ulcer with red pink wound bed. </option>
								<option value="3 - Full thickness tissue loss. Subcutaneous fat may be visible but bone, tendon, or muscles not exposed.">3 - Full thickness tissue loss. Subcutaneous fat may be visible but bone, tendon, or muscles not exposed.</option>
								<option value="4 - Full thickness tissue loss with visible bone, tendon, or muscle. Slough or eschar may be present.">4 - Full thickness tissue loss with visible bone, tendon, or muscle. Slough or eschar may be present.</option>
								<option value="5 - Unstageable due to non-removable dressing, slough or eschar.">5 - Unstageable due to non-removable dressing, slough or eschar.</option>
								<option value="6 - Unstageable due to coverage of wound bed by slough and/or eschar.">6 - Unstageable due to coverage of wound bed by slough and/or eschar.</option>
								<option value="7 - Unstageable due to suspected deep tissue injury in evolution.">7 - Unstageable due to suspected deep tissue injury in evolution.</option>
							</select>
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<label>Status</label>
							<select class="form-control" id="selectstatus" name="selectstatus">
								<option value="0 - Re-epithelialized or healed">0 - Re-epithelialized or healed</option>
								<option value="1 - Fully granulating">1 - Fully granulating</option>
								<option value="2 - Early/partial granulation">2 - Early/partial granulation</option>
								<option value="3 - Not healing">3 - Not healing</option>
								<option value=" NA - Not applicable or no observable wound/ulcer">NA - Not applicable or no observable wound/ulcer</option>
							</select>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<label>Length</label><br>
							<div class="spinner1 margin-right-10" style="display:inline-block;vertical-align:middle;">
								<div class="input-group input-small">
									<input type="text" onChange="bindtext('lengthmin');" class="spinner-input form-control" name="lengthmin" id="lengthmin" value="0" maxlength="3">
		
									<div class="spinner-buttons input-group-btn btn-group-vertical">
										<button type="button" class="btn spinner-up btn-xs blue"> <i class="fa fa-angle-up"></i></button>
										<button type="button" class="btn spinner-down btn-xs blue"> <i class="fa fa-angle-down"></i></button>
									</div>
								</div>
							</div>
							<div class=" margin-right-10" style="display:inline-block;">.</div>
							<div class="spinner1 margin-right-10" style="display:inline-block;vertical-align:middle;">
								<div class="input-group input-small">
									<input type="text" onChange="bindtext('lenghtmax');" class="spinner-input form-control" name="lenghtmax" id="lenghtmax" value="0" maxlength="3">
		
									<div class="spinner-buttons input-group-btn btn-group-vertical">
										<button type="button" class="btn spinner-up btn-xs blue"> <i class="fa fa-angle-up"></i></button>
										<button type="button" class="btn spinner-down btn-xs blue"> <i class="fa fa-angle-down"></i></button>
									</div>
								</div>
							</div>
							<div style="display:inline-block;">cm</div>
						</div>
						<div class="form-group">
							<label>Width</label><br>
							<div class="spinner1 margin-right-10" style="display:inline-block;vertical-align:middle;">
								<div class="input-group input-small">
									<input type="text" onChange="bindtext('widthmin');" class="spinner-input form-control" name="widthmin" id="widthmin" value="0" maxlength="3">
		
									<div class="spinner-buttons input-group-btn btn-group-vertical">
										<button type="button" class="btn spinner-up btn-xs blue"> <i class="fa fa-angle-up"></i></button>
										<button type="button" class="btn spinner-down btn-xs blue"> <i class="fa fa-angle-down"></i></button>
									</div>
								</div>
							</div>
							<div class=" margin-right-10" style="display:inline-block;">.</div>
							<div class="spinner1 margin-right-10" style="display:inline-block;vertical-align:middle;">
								<div class="input-group input-small">
									<input type="text" onChange="bindtext('widthmax');" class="spinner-input form-control" name="widthmax" id="widthmax" value="0" maxlength="3">
		
									<div class="spinner-buttons input-group-btn btn-group-vertical">
										<button type="button" class="btn spinner-up btn-xs blue"> <i class="fa fa-angle-up"></i></button>
										<button type="button" class="btn spinner-down btn-xs blue"> <i class="fa fa-angle-down"></i></button>
									</div>
								</div>
							</div>
							<div style="display:inline-block;">cm</div>
						</div>
						<div class="form-group">
							<label>Depth</label><br>
							<div class="spinner1 margin-right-10" style="display:inline-block;vertical-align:middle;">
								<div class="input-group input-small">
									<input type="text" onChange="bindtext('depthmin');" class="spinner-input form-control" name="depthmin" id="depthmin" value="0" maxlength="3">
		
									<div class="spinner-buttons input-group-btn btn-group-vertical">
										<button type="button" class="btn spinner-up btn-xs blue"> <i class="fa fa-angle-up"></i></button>
										<button type="button" class="btn spinner-down btn-xs blue"> <i class="fa fa-angle-down"></i></button>
									</div>
								</div>
							</div>
							<div class=" margin-right-10" style="display:inline-block;">.</div>
							<div class="spinner1 margin-right-10" style="display:inline-block;vertical-align:middle;">
								<div class="input-group input-small">
									<input type="text" onChange="bindtext('depthmax');" class="spinner-input form-control" name="depthmax" id="depthmax" value="0" maxlength="3">
		
									<div class="spinner-buttons input-group-btn btn-group-vertical">
										<button type="button" class="btn spinner-up btn-xs blue"> <i class="fa fa-angle-up"></i></button>
										<button type="button" class="btn spinner-down btn-xs blue"> <i class="fa fa-angle-down"></i></button>
									</div>
								</div>
							</div>
							<div style="display:inline-block;">cm</div>
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<div id="Wnd_Surr_Tisscolor" class="label-stable">
								<label>Surrounding Tissues</label>
								<div class="checkbox-list">
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="clean"> clean</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="scabbed"> scabbed</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="crusted"> crusted</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="indurated"> indurated</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="gaping" > gaping</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="blistered" > blistered</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="separated"> separated</label>
									<label>
									<input type="checkbox"  name="Wnd_Surr_Tiss" Value="bruised"> bruised</label>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="form-group">
					<div id="Wnd_Characolor" class="label-stable" style="width:100%;">
						<label>Characteriscts</label>
						<div class="row">
							<div class="col-md-4">
								<div class="checkbox-list">
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="clean"> clean</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="crusted"> crusted</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="gaping"> gaping</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="separated" > separated</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="scabbed" > scabbed</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="indurated"> indurated</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="blistered"> blistered</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="bruised"> bruised</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="cynanotic" > cynanotic</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="eschar"> eschar</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="excoriated"> excoriated</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="Flaking"> Flaking</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="hard"> hard</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="necrotic"> necrotic</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="reddened"> reddened</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="rough"> rough</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="weeping"> weeping</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="sloughing"> sloughing</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="green"> green</label>
								</div>
							</div>
							<div class="col-md-4">
								<div class="checkbox-list">
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="dry"> dry</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="cracked"> cracked</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="muschy"> muschy</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="soft"> soft</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="loose"> loose</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="SHAPE"> --SHAPE--</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="straight"> straight</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="circular"> circular</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="irregular"> irregular</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="oblong"> oblong</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="rectangle"> rectangle</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="square"> square</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="drainage"> drainage</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="no drainage"> no drainage</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="block"> block</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="brown"> brown</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="clear"> clear</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="gray"> gray</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="moist"> moist</label>
								</div>
							</div>
							<div class="col-md-4">
								<div class="checkbox-list">
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="pink" > pink</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="red"> red</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="reddish purple" > reddish purple</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="serosanguineous"> serosanguineous</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="serous" > serous</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="tan" > tan</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="yellow"> yellow</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="white"> white</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="haemoserous"> haemoserous</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="AMOUNT"> --AMOUNT--</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="scant"> scant</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="minimal"> minimal</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="moderate"> moderate</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="copious"> copious</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="ODOR"> --ODOR--</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="foul odor"> foul odor</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="no odor"> no odor</label>
									<label>
									<input type="checkbox"  name="Wnd_Chara" Value="Other"> Other..</label>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<label>Location</label>
							<textarea class="form-control" onBlur="ChangeBlur('formwound','txtmap')" name="txtmap" id="txtmap"></textarea>
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<label>Notes</label>
							<textarea class="form-control" name="txtNotes" id="txtNotes"></textarea>
						</div>
					</div>
				</div>
				<div class="form-group">
					<input class="btn blue" type="button" onClick="btnWoundClick();" value="Add Wound" />
					<input class="btn default" type="button" value="Cancel" id="btnwoundcancel" name="btnwoundcancel" onClick="ColdFusion.Window.hide('Wounddiv');"/>
				</div>
			</div>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="searchFormM0230SubWindow"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false">

	<cfform name="formM0230" id="formM0230">
		<div style="margin:0 15px;" id="refersh">
			<h4>Diagnosis Select</h4>
			<input type="hidden" name="M0230DiagnosisID" id="M0230DiagnosisID"/>
			<input type="hidden" name="vcodesdiag" id="vcodesdiag"/>
			<input type="hidden" name="vcodesicd" id="vcodesicd"/>
			<input type="hidden" name="M0230DiagnosisID1" id="M0230DiagnosisID1"/>
			<div class="form-group">
				<label id="DiagnosisA"></label>
			</div>
			   <div class="row">
            	<div class="col-md-4">
                	<div class="form-group">
                        <label>*SEVERITY KEY</label>
                        <p style="font-size:13px;">0 - Asymptomatic, no treatment needed</p>
                        <p style="font-size:13px;">1 - Symptoms well controlled</p>
                        <p style="font-size:13px;">2 - Symptoms controlled with difficulty</p>
                        <p style="font-size:13px;">3 - Symptoms poorly controlled</p>
                        <p style="font-size:13px;">4 - history of rehospitalizations</p>
                    </div>
                </div>
                <div class="col-md-4">
                </div>
                <div class="col-md-4">
                	<div class="form-group">
                        <div class="label-stable">
                            <label>Severity level?</label>
                            <div class="radio-list">
                                <label>
                                <input type="radio" id="M0230Severity" name="M0230Severity" value="0"> 0</label>
                                <label>
                                <input type="radio" id="M0230Severity" name="M0230Severity" value="1"> 1</label>
                                <label>
                                <input type="radio" id="M0230Severity" name="M0230Severity" value="2"> 2</label>
                                <label>
                                <input type="radio" id="M0230Severity" name="M0230Severity" value="3"> 3</label>
                                <label>
                                <input type="radio" id="M0230Severity" name="M0230Severity" value="4"> 4</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
            	<div class="col-md-4">
                	<div class="form-group">
                        <div class="label-stable">
                            <label>Primary?</label>
                            <div class="radio-list">
                                <label>
                                <input type="radio" id="M0230Primary" name="M0230Primary" value="1"> Yes</label>
                                <label>
                                <input type="radio" id="M0230Primary" name="M0230Primary" value="0"> No</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                	<div class="form-group">
                        <div class="label-stable">
                            <label>Secondary?</label>
                            <div class="radio-list">
                                <label>
                                <input type="radio" id="M0230Secondary" name="M0230Secondary" value="1"> Yes</label>
                                <label>
                                <input id="M0230Secondary" type="radio" name="M0230Secondary" value="0"> No</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                	<div class="form-group">
                        <div class="label-stable">
                            <label>Onset or Exacerbation</label>
                            <div class="radio-list">
                                <label>
                                <input type="radio" id="M0230Onset" name="M0230Onset" value="(O)"> (O)</label>
                                <label>
                                <input type="radio" id="M0230Onset" name="M0230Onset" value="(E)"> (E)</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

			<div class="form-group">
				<label>Add Case Mix For ICD10 Z-Code <img src="../../images/icon_add.png" style="cursor:pointer" onclick="vcodeprocess();"/></label>
				<label id="DiagnosisB1"></label>
			</div>
			<div id="DivM0230SubPage1" class="well" style="display:none;">
				<div class="form-group">
					<label>Diagnosis Search</label>
					<textarea name="M1020Manifestsearch1" type="text" value="" class="form-control"></textarea>
				</div>
				<input class="btn btn-sm blue"  name="btnM1020" type="button" value="Show All Results" onclick="SearchClickM0230M1();"/>
				<input class="btn btn-sm default" name="btnM0230cancel1" id="btnM0230cancel1" type="button" value="Cancel" />
			</div>
			<div class="form-group">
				<label>Add Manifestation For ICD10 Z-Code <img id="ImgM0230Add" name="ImgM1020Add" src="../../images/icon_add.png" style="cursor:pointer" /></label>
				<label id="DiagnosisB"></label>
			</div>
			<div id="DivM0230SubPage" class="well" style="display:none;">
				<div class="form-group">
					<label>Manifestation Diagnosis Search</label>
					<textarea name="M1020Manifestsearch" type="text" value="" class="form-control"></textarea>
				</div>
				<input class="btn btn-sm blue" name="btnM1020" type="button" value="Show All Results" onclick="SearchClickM0230M();"/>
				<input class="btn btn-sm default" name="btnM0230cancel" id="btnM0230cancel" type="button" value="Cancel" />
			</div>
			<div class="form-group">
				<label>If this is a ICD10 Z-Code, and you want to add a case mix diagnosis, click "add case mix..."now to include that data. Click "add manifestation" to add a manifestation code.</label>
			</div>
			<div class="form-group">
				<input class="btn blue" type="button" name="btndone" value="Done" onClick="UpdateSoc('M0230search');"/>
				<input class="btn btn-default" type="button" name="btnCancel" value="Cancel" onclick="ColdFusion.Window.hide('searchFormM0230SubWindow'); $('#StartOfCare4').show();"/>
			</div>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="pain"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="false"
	modal="true"
	bodystyle="background-color:white;" initshow="false">

	<cfform name="formpain" id="formpain">
		<div id="DivPainAssessment" style="margin:0 15px;">
			<img name="imgbtnClose" onclick="UpdateSoc('pain');" title="Close" style="cursor:pointer;float:right;" id="imgbtnClose" src="../../images/icon_back.gif" width="33" height="35" />
			<h4>Pain Assessment</h4>
			<div id="painleveld">
				<div class="form-group">
					<label>Pain Level</label><br>
					<div class="row">
						<div class="col-md-4">
							<div class="label-stable">
								<div class="radio-list">
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="No Pain" <cfif AssForm.M0420_Assess EQ "No Pain">checked </cfif>/> No Pain </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 0 (low)" <cfif AssForm.M0420_Assess EQ "pain level 0 (low)">checked </cfif>/> pain level 0 (low) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 1 (low)" <cfif AssForm.M0420_Assess EQ "pain level 1 (low)">checked </cfif>/> pain level 1 (low) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 2 (low)" <cfif AssForm.M0420_Assess EQ "pain level 2 (low)">checked </cfif>/> pain level 2 (low) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 3 (med)" <cfif AssForm.M0420_Assess EQ "pain level 3 (med)">checked </cfif>/> pain level 3 (med) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 4 (med)" <cfif AssForm.M0420_Assess EQ "pain level 4 (med)">checked </cfif>/> pain level 4 (med) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 5 (med)" <cfif AssForm.M0420_Assess EQ "pain level 5 (med)">checked </cfif>/> pain level 5 (med) </label>
								</div>
							</div>
						</div>
						<div class="col-md-4">
							<div class="label-stable">
								<div class="radio-list">
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 6 (med)" <cfif AssForm.M0420_Assess EQ "pain level 6 (med)">checked </cfif>/> pain level 6 (med) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 7 (high)" <cfif AssForm.M0420_Assess EQ "pain level 7 (high)">checked </cfif>/> pain level 7 (high) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 8 (high)" <cfif AssForm.M0420_Assess EQ "pain level 8 (high)">checked </cfif>/> pain level 8 (high) </label>
									<label>
									<input type="radio"name="painlevel" id="painlevel" value="pain level 9 (high)" <cfif AssForm.M0420_Assess EQ "pain level 9 (high)">checked </cfif>/> pain level 9 (high) </label>
									<label>
									<input type="radio" name="painlevel" id="painlevel" value="pain level 10 (high)" <cfif AssForm.M0420_Assess EQ "pain level 10 (high)">checked </cfif>/> pain level 10 (high) </label>
								</div>
							</div>
						</div>
					</div>
				</div>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" class="text-center">
					<tr>
						<td><img src="../../images/smily0.gif" /></td>
						<td><img src="../../images/smily2.gif"/></td>
						<td><img src="../../images/smily4.gif" /></td>
						<td><img src="../../images/smily6.gif"/></td>
						<td><img src="../../images/smily8.gif" /></td>
						<td><img src="../../images/smily10.gif"/></td>
					</tr>
					<tr>
						<td>0</td>
						<td>2</td>
						<td>4</td>
						<td>6</td>
						<td>8</td>
						<td>10</td>
					</tr>
				</table>
				<p id="spnPainAssessment" class="margin-top-10" style="color:red;font-size:14px;">Pain assessment incomplete</p>
			</div>
			<div class="form-group">
				<label>Pain Characteristics</label><br>
				<div class="row">
					<div class="col-md-4">
						<div id="chkthrobbingcolor" class="label-stable">
							<div class="checkbox-list">
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Throbbing" <cfif AssForm.Pain1 Contains "Throbbing">checked </cfif>/> Throbbing</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Stabbing" <cfif AssForm.Pain1 Contains "Stabbing">checked </cfif>/> Stabbing</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Sharp"  <cfif AssForm.Pain1 Contains "Sharp">checked </cfif>/> Sharp</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Aching"  <cfif AssForm.Pain1 Contains "Aching">checked </cfif>/> Aching</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Burning" <cfif AssForm.Pain1 Contains "Burning">checked </cfif>/> Burning</label>
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div id="chkthrobbingcolor" class="label-stable">
							<div class="checkbox-list">
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Numb" <cfif AssForm.Pain1 Contains "Numb">checked </cfif>/> Numb</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Shooting" <cfif AssForm.Pain1 Contains "Shooting">checked </cfif>/> Shooting</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Not Applicable" <cfif AssForm.Pain1 Contains "Not Applicable">checked</cfif>/> Not Applicable</label>
								<label>
								<input type="checkbox"  name="chkthrobbing" value="Other" <cfif AssForm.Pain1 NEQ "" >checked</cfif>/> Other</label>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="radthresholdd" class="label-stable">
					<label>Pain threshold</label>
					<div class="radio-list">
						<label>
						<input type="radio" name="radthreshold" value="at rest" <cfif AssForm.Pain2 EQ "at rest">checked</cfif>/> at rest </label>
						<label>
						<input type="radio" name="radthreshold" value="with minimal activity" <cfif AssForm.Pain2 EQ "with minimal activity">checked</cfif>/> with minimal activity </label>
						<label>
						<input type="radio" name="radthreshold" value="with moderate activity" <cfif AssForm.Pain2 EQ "with moderate activity">checked</cfif>/> with moderate activity </label>
						<label>
						<input type="radio" name="radthreshold" value="with strenuous activity" <cfif AssForm.Pain2 EQ "with strenuous activity">checked</cfif>/> with strenuous activity </label>
						<label>
						<input type="radio" name="radthreshold" value="Not Applicable" <cfif AssForm.Pain2 EQ "Not Applicable">checked</cfif>/> Not Applicable </label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label>Rate Current pain treatment effectiveness on a scale* of 1 to 10 (1=low effectiveness)</label><br>
				<div class="row">
					<div class="col-md-4">
						<div id="radscaled" class="label-stable">
							<div class="radio-list">
								<label>
								<input type="radio" name="radscale" value="1" <cfif AssForm.Pain3 EQ "1">checked</cfif>/> 1 </label>
								<label>
								<input type="radio" name="radscale" value="2" <cfif AssForm.Pain3 EQ "2">checked</cfif>/> 2 </label>
								<label>
								<input type="radio" name="radscale" value="3" <cfif AssForm.Pain3 EQ "3">checked</cfif>/> 3 </label>
								<label>
								<input type="radio" name="radscale" value="4" <cfif AssForm.Pain3 EQ "4">checked</cfif>/> 4 </label>
								<label>
								<input type="radio" name="radscale" value="5" <cfif AssForm.Pain3 EQ "5">checked</cfif>/> 5 </label>
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div id="radscaled" class="label-stable">
							<div class="radio-list">
								<label>
								<input type="radio" name="radscale" value="6" <cfif AssForm.Pain3 EQ "6">checked</cfif>/> 6 </label>
								<label>
								<input type="radio" name="radscale" value="7" <cfif AssForm.Pain3 EQ "7">checked</cfif>/> 7 </label>
								<label>
								<input type="radio" name="radscale" value="8" <cfif AssForm.Pain3 EQ "8">checked</cfif>/> 8 </label>
								<label>
								<input type="radio" name="radscale" value="9" <cfif AssForm.Pain3 EQ "9">checked</cfif>/> 9 </label>
								<label>
								<input type="radio" name="radscale" value="10" <cfif AssForm.Pain3 EQ "10">checked</cfif>/> 10 </label>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label>How long does each treatment work before needing another dose</label><br>
				<div class="row">
					<div class="col-md-4">
						<div id="raddosed" class="label-stable">
							<div class="radio-list">
								<label>
								<input type="radio" name="raddose" value="30 minutes" <cfif AssForm.Pain4 EQ "30 minutes">checked</cfif>/> 30 minutes </label>
								<label>
								<input type="radio" name="raddose" value="1 hour" <cfif AssForm.Pain4 EQ "1 hour">checked</cfif>/> 1 hour </label>
								<label>
								<input type="radio" name="raddose" value="2 hours" <cfif AssForm.Pain4 EQ "2 hours">checked</cfif>/> 2 hours</label>
								<label>
								<input type="radio" name="raddose" value="3 hours" <cfif AssForm.Pain4 EQ "3 hours">checked</cfif>/> 3 hours</label>
								<label>
								<input type="radio" name="raddose" value="4 hours" <cfif AssForm.Pain4 EQ "4 hours">checked</cfif>/> 4 hours</label>
								<label>
								<input type="radio" name="raddose" value="6 hours" <cfif AssForm.Pain4 EQ "6 hours">checked</cfif>/> 6 hours</label>
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div id="raddosed" class="label-stable">
							<div class="radio-list">
								<label>
								<input type="radio" name="raddose" value="12 hours" <cfif AssForm.Pain4 EQ "12 hours">checked</cfif>/> 12 hours</label>
								<label>
								<input type="radio" name="raddose" value="24 hours" <cfif AssForm.Pain4 EQ "24 hours">checked</cfif>/> 24 hours</label>
								<label>
								<input type="radio" name="raddose" value="more than 24 hours" <cfif AssForm.Pain4 EQ "more than 24 hours">checked</cfif>/> more than 24 hours</label>
								<label>
								<input type="radio" name="raddose" value="Not Applicable" <cfif AssForm.Pain4 EQ "Not Applicable">checked</cfif>/> Not Applicable</label>
								<label>
								<input type="radio" name="raddose" value="Other" <cfif  AssForm.Pain4 EQ "Other">checked</cfif>/> Other</label>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="chkphysicalcolor" class="label-stable">
					<label>Whats is patient's opinion of the cause of her/his pain?</label>
					<div class="checkbox-list">
						<label>
						<input type="checkbox"  name="chkphysical" value="physical activity" <cfif AssForm.Pain5 Contains "physical activity">checked</cfif>/> physical activity</label>
						<label>
						<input type="checkbox"  name="chkphysical" value="disease process" <cfif AssForm.Pain5 Contains "disease process">checked</cfif>/> disease process</label>
						<label>
						<input type="checkbox"  name="chkphysical" value="Not Applicable" <cfif AssForm.Pain5 Contains "Not Applicable">checked</cfif>/> Not Applicable</label>
						<label>
						<input type="checkbox"  name="chkphysical" value="Other" <cfif AssForm.Pain5 NEQ "">checked</cfif>/> Other...</label>
					</div>
				</div>
			</div>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="AddvitalsignForm"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;" initshow="false">

	<cfform name="formVital" id="formVital">
		<div style="margin:0 15px;">
			<h4>Add vital</h4>
			<div class="row">
				<div class="col-md-6">
					<div class="form-group">
						<div class="label-stable">
							<label>Type</label>
							<div class="radio-list">
								<label>
								<input type="radio" name="radtype" value="Temperature"/> Temperature</label>
								<label>
								<input type="radio" name="radtype" value="Heart Rate"/> Heart Rate </label>
								<label>
								<input type="radio" name="radtype" value="Respiratory Rate"/> Respiratory Rate </label>
								<label>
								<input type="radio" name="radtype" value="Blood Pressure Systolic"/> Blood Pressure Systolic </label>
								<label>
								<input type="radio" name="radtype" value="Blood Pressure Diastolic"/> Blood Pressure Diastolic </label>
								<label>
								<input type="radio" name="radtype" value="Weight"/> Weight </label>
								<label>
								<input type="radio" name="radtype" value="Height"/> Height </label>
								<label>
								<input type="radio" name="radtype" value="Pain (scale 1-10)"/> Pain (scale 1-10) </label>
								<label>
								<input type="radio" name="radtype" value="Abdominal Girth"/> Abdominal Girth </label>
								<label>
								<input type="radio" name="radtype" value="Head Circumference"/> Head Circumference </label>
								<label>
								<input type="radio" name="radtype" value="O2 Saturation"/> O2 Saturation </label>
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-6">
					<div class="form-group">
						<div class="label-stable">
							<label>Severity</label>
							<div class="radio-list">
								<label>
								<input type="radio" name="radsever" value="0"/> 0 asymptomatic </label>
								<label>
								<input type="radio" name="radsever" value="1"/> 1 well-controlled </label>
								<label>
								<input type="radio" name="radsever" value="2"/> 2 controlled with difficulty </label>
								<label>
								<input type="radio" name="radsever" value="3"/> 3 poorly controlled </label>
								<label>
								<input type="radio" name="radsever" value="4"/> 4 hx hospitalizations </label>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label>Reading</label>
				<input class="form-control" type="Text" name="reading" id="reading"/>
			</div>
			<div class="form-group">
				<label>Notes</label>
				<textarea class="form-control" name='txtNotes' id="txtNotes"></textarea>
			</div>
			<div class="form-group">
				<input class="btn blue" type="button" name="Submit" value="Add Vital Sign" onclick="UpdateSoc('addvital');"/>
				<input class="btn btn-default" type="button" name="Cancel" value="Cancel" id="btncancelvital" onclick="vitalcancel();"/>
			</div>
		</div>
	</cfform>
</cfwindow>

<cfwindow
	name="risk"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="false"
	modal="true"
	bodystyle="background-color:white;" initshow="false">

	<cfform name="formrisk" id="formrisk">
		<div id="DivskinLOWRISK" style="margin:0 15px;">
			<img title="Close" onclick="UpdateSoc('risk');" name="imgbtnSkinClose" style="cursor:pointer;float:right;" id="imgbtnSkinClose" src="../../images/icon_back.gif" width="33" height="35" />
			<h4>Braden Scale For Predicting Pressure Sore Risk</h4>
			<div class="form-group">
				<div id="drlPresureUlcersSensoryd" class="label-stable">
					<label>SENSORY PERCEPTION ability to respond meaningfully to pressure-related discomfort</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersSensory" value="1. Unresponsive (does not moan, flinch, or grasp) to painful stimuli, due to diminished level of con-sciousness or sedation OR limited ability to feel pain over most of body" <cfif AssForm.Braden_1_Sensory contains "1. ">checked</cfif>> 1. Unresponsive (does not moan, flinch, or grasp) to painful stimuli, due to diminished level of consciousness or sedation OR limited ability to feel pain over most of body</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersSensory" value="2. Responds only to painful stimuli. Cannot communicate discomfort except by moaning or restlessness OR has a sensory impairment which limits the ability to feel pain or discomfort over 2 of body. " <cfif AssForm.Braden_1_Sensory contains "2. ">checked</cfif>> 2. Responds only to painful stimuli. Cannot communicate discomfort except by moaning or restlessness OR has a sensory impairment which limits the ability to feel pain or discomfort over 2 of body.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersSensory" value="3. Responds to verbal commands, but cannot always communicate discomfort or the need to be turned OR has some sensory impairment which limits ability to feel pain or discomfort in 1 or 2 extremities. " <cfif AssForm.Braden_1_Sensory contains "3. ">checked</cfif>> 3. Responds to verbal commands, but cannot always communicate discomfort or the need to be turned OR has some sensory impairment which limits ability to feel pain or discomfort in 1 or 2 extremities.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersSensory" value="4. Responds to verbal commands. Has no sensory deficit which would limit ability to feel or voice pain or discomfort." <cfif AssForm.Braden_1_Sensory contains "4. ">checked</cfif>> 4. Responds to verbal commands. Has no sensory deficit which would limit ability to feel or voice pain or discomfort.</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlPresureUlcersMoistured" class="label-stable">
					<label>MOISTURE degree to which skin is exposed to moisture</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMoisture" value="1. Skin is kept moist almost constantly by perspiration, urine, etc. Dampness is detected every time patient is moved or turned. " <cfif AssForm.Braden_2_Moisture contains "1. ">checked</cfif>> 1. Skin is kept moist almost constantly by perspiration, urine, etc. Dampness is detected every time patient is moved or turned.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMoisture" value="2. Skin is often, but not always moist. Linen must be changed at least once a shift. " <cfif AssForm.Braden_2_Moisture contains "2. ">checked</cfif>> 2. Skin is often, but not always moist. Linen must be changed at least once a shift.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMoisture" value="3. Skin is occasionally moist, requiring an extra linen change approximately once a day." <cfif AssForm.Braden_2_Moisture contains "3. ">checked</cfif>> 3. Skin is occasionally moist, requiring an extra linen change approximately once a day.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMoisture" value="4. Skin is usually dry, linen only requires changing at routine intervals." <cfif AssForm.Braden_2_Moisture contains "4. ">checked</cfif>> 4. Skin is usually dry, linen only requires changing at routine intervals.</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlPresureUlcersActivityd" class="label-stable">
					<label>ACTIVITY degree of physical activity</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersActivity" value="1. Confined to bed." <cfif AssForm.Braden_3_Activity EQ "1. Confined to bed.">checked</cfif>> 1. Confined to bed.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersActivity" value="2. Ability to walk severely limited or non-existent. Cannot bear own weight and/or must be assisted into chair or wheelchair. " <cfif AssForm.Braden_3_Activity  contains "2. ">checked</cfif>> 2. Ability to walk severely limited or non-existent. Cannot bear own weight and/or must be assisted into chair or wheelchair.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersActivity" value="3.  Walks occasionally during day, but for very short distances, with or without assistance. Spends majority of each shift in bed or chair " <cfif AssForm.Braden_3_Activity contains "3. ">checked</cfif>> 3.  Walks occasionally during day, but for very short distances, with or without assistance. Spends majority of each shift in bed or chair</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersActivity" value="4. Walks outside room at least twice a day and inside room at least once every two hours during waking hours " <cfif AssForm.Braden_3_Activity contains "4. ">checked</cfif>> 4. Walks outside room at least twice a day and inside room at least once every two hours during waking hours</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlPresureUlcersMobilityd" class="label-stable">
					<label>MOBILITY ability to change and control body position</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMobility" value="1. Does not make even slight changes in body or extremity position without assistance " <cfif AssForm.Braden_4_Mobility contains "1. ">checked</cfif>> 1. Does not make even slight changes in body or extremity position without assistance</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMobility" value="2. Makes occasional slight changes in body or extremity position but unable to make frequent or significant changes independently. " <cfif AssForm.Braden_4_Mobility contains "2. ">checked</cfif>> 2. Makes occasional slight changes in body or extremity position but unable to make frequent or significant changes independently.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMobility" value="3. Makes frequent though slight changes in body or extremity position independently. " <cfif AssForm.Braden_4_Mobility contains "3. ">checked</cfif>> 3. Makes frequent though slight changes in body or extremity position independently.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersMobility" value="4. Makes major and frequent changes in position without assistance." <cfif AssForm.Braden_4_Mobility contains "4. ">checked</cfif>> 4. Makes major and frequent changes in position without assistance.</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlPresureUlcersNutritiond" class="label-stable">
					<label>NUTRITION usual food intake pattern</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersNutrition" value="1. Never eats a complete meal. Rarely eats more than a of any food offered. Eats 2 servings or less of protein (meat or dairy products) per day. Takes fluids poorly. Does not take a liquid dietary supplement OR is NPO." <cfif AssForm.Braden_5_Nutrition contains "1. ">checked</cfif>> 1. Never eats a complete meal. Rarely eats more than a of any food offered. Eats 2 servings or less of protein (meat or dairy products) per day. Takes fluids poorly. Does not take a liquid dietary supplement OR is NPO.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersNutrition" value="2. Rarely eats a complete meal and generally eats only about 2 of any food offered. Protein intake includes only 3 servings of meat or dairy products per day. Occasionally will take a dietary supplement." <cfif AssForm.Braden_5_Nutrition contains "2. ">checked</cfif>> 2. Rarely eats a complete meal and generally eats only about 2 of any food offered. Protein intake includes only 3 servings of meat or dairy products per day. Occasionally will take a dietary supplement.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersNutrition" value="3. Eats over half of most meals. Eats a total of 4 servings of protein (meat, dairy products per day. Occasionally will refuse a meal, but will usually take a supplement when offered OR is on a tube feeding or TPN." <cfif AssForm.Braden_5_Nutrition contains "3. ">checked</cfif>> 3. Eats over half of most meals. Eats a total of 4 servings of protein (meat, dairy products) per day. Occasionally will refuse a meal, but will usually take a supplement when offered OR is on a tube feeding or TPN.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersNutrition" value="4. Eats most of every meal. Never refuses a meal. Usually eats a total of 4 or more servings of meat and dairy products. Occasionally eats between meals." <cfif AssForm.Braden_5_Nutrition  contains "4. ">checked</cfif>> 4. Eats most of every meal. Never refuses a meal. Usually eats a total of 4 or more servings of meat and dairy products. Occasionally eats between meals.</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div id="drlPresureUlcersFrictiond" class="label-stable">
					<label>FRICTION & SHEAR</label>
					<div class="radio-list">
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersFriction" value="1. Requires moderate to maximum assistance in moving. Complete lifting without sliding against sheets is impossible. Frequently slides down in bed or chair, requiring frequent repositioning with maximum assistance. " <cfif AssForm.Braden_6_Friction contains "1. ">checked</cfif>> 1. Requires moderate to maximum assistance in moving. Complete lifting without sliding against sheets is impossible. Frequently slides down in bed or chair, requiring frequent repositioning with maximum assistance.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersFriction" value="2. Problem Moves feebly or requires minimum assistance. During a move skin probably slides to some extent against sheets, chair, restraints or other devices. Maintains relatively good position in chair or bed most of the time." <cfif AssForm.Braden_6_Friction contains "2. ">checked</cfif>> 2. Problem Moves feebly or requires minimum assistance. During a move skin probably slides to some extent against sheets, chair, restraints or other devices. Maintains relatively good position in chair or bed most of the time.</label>
						<label>
						<input type="radio" onclick="PressureUlcersRisk();" name="drlPresureUlcersFriction" value="3. Moves in bed and in chair independently and has sufficient muscle strength to lift up completely during move. Maintains good position in bed or chair." <cfif AssForm.Braden_6_Friction  contains "3. ">checked</cfif>> 3. Moves in bed and in chair independently and has sufficient muscle strength to lift up completely during move. Maintains good position in bed or chair.</label>
					</div>
				</div>
			</div>
			<p id="spnTotalScore" style="color:red;font-size:14px;">
				<span id="spnPressureUlcerstotal">
					Total Score = <cfoutput>#PressureRate#</cfoutput>
				</span>
				<span id="spnPressureUlcers">
					<cfif PressureRate gt 15 OR PressureRate eq 15>
						LOW RISK  for Pressure Ulcers
					<cfelseif PressureRate gt 13 OR PressureRate eq 13 OR PressureRate eq 14>
						MODERATE RISK  for Pressure Ulcers
					<cfelseif PressureRate lt 12 OR PressureRate eq 12>
						HIGH RISK  for Pressure Ulcers
					</cfif>
				</span>
			</p>
			<p id="SpnCopyright" style="font-size:14px;">Copyright Barbara Braden and Nancy Bergstrom, 1988 All rights reserved</p>
			<p id="spnHigh" style="font-size:14px;">1 - 12 =HIGH RISK</p>
			<p id="spnModerate" style="font-size:14px;">13 - 14 =MODERATE RISK</p>
			<p id="spnLow" style="font-size:14px;">15 - 23 =LOW RISK</p>
		</div>
	</cfform>
</cfwindow>

<cfif #AssForm.Assessment_Completed_M0090# lt '2015-01-01'>
	<cfwindow
		name="searchFormM1012"
		title=""
		height="500"
		width="800"
		resizable="false"
		center="true"
		closable="false"
		draggable="true"
		modal="true"
		bodystyle="background-color:white;"
		initshow="false"
		refreshOnShow = "true"
		source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formstep2:M1012searchfield}&M1020=search">
	</cfwindow>
</cfif>

<cfwindow
	name="searchForm"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formstep1:searchfield}&M1010=search">
</cfwindow>

<cfwindow
	name="searchFormM1016"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formstep2:M1016searchfield}&M1016=search">
</cfwindow>

<cfwindow
	name="searchFormM0230"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formstep4:M0230txtsearch}&M0230=search">
</cfwindow>

<cfwindow
	name="searchFormM0230M"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formM0230:M1020Manifestsearch}&M0230M=search">
</cfwindow>

<cfwindow
	name="ReviewMedsWindow"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/ReviewMeds.cfm">
</cfwindow>

<cfwindow
	name="searchFormM0230M1"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formM0230:M1020Manifestsearch1}&M0230M1=search">
</cfwindow>

<cfwindow
	name="MedicationWindow"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/PopUPMedication.cfm">
</cfwindow>

<cfwindow
	name="searchMedication"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formstep2:hdnmedssearch}&MSearch=search">
</cfwindow>

<cfwindow
	name="searchMedication2"
	title=""
	height="500"
	width="800"
	resizable="false"
	center="true"
	closable="false"
	draggable="true"
	modal="true"
	bodystyle="background-color:white;"
	initshow="false"
	refreshOnShow = "true"
	source="#Application.siteURL#/patientadmin_new/AddSearchValue.cfm?text={formstep2:hdnmedssearch2}&MSearch2=search">
</cfwindow>

<!---<cfinclude template="startofcarewizard_script.cfm" />--->
<cfinclude template="resumptionofcarewizard_script.cfm" />