<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>

<cfparam name="form.searchfield" default="" />
<cfcookie name="WoundCount" value="" />
<cfset cookie.WoundCount="0" />

<cfquery name="Recertform" datasource="#Application.DataSrc#">
	SELECT *
	FROM #Request.prefix_db_agency#.Assessment_New
	WHERE Assessment_New.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 = '#Recertform.Record_Created_By#'
</cfquery>

<cfoutput>
	<cfcookie name="M1302Pressure" value=" " />
	<cfcookie name="M1306Unhealed" value="#Recertform.M1306_Unhealed_Pressure#" />
	<cfcookie name="PressureUlcerStatus" value=" " />

	<cfcookie name="M1310Length" value=" " />
	<cfcookie name="M13101" value=" " />
	<cfcookie name="M1312Width" value=" " />
	<cfcookie name="M13121" value=" " />
	<cfcookie name="M1314Depth" value=" " />
	<cfcookie name="M13141" value=" " />

	<cfcookie name="PressureUlcerbM0450" value="#Recertform.Pressure_Ulcer_b_M0450#" />
	<cfcookie name="PressureUlcercM0450" value="#Recertform.Pressure_Ulcer_c_M0450#" />
	<cfcookie name="PressureUlcerdM0450" value="#Recertform.Pressure_Ulcer_d_M0450#" />
	<cfcookie name="PressureUlcereM0450" value="#Recertform.Pressure_Ulcer_e_M0450#" />
	<cfcookie name="M1308d2Pressure" value="#Recertform.M1308_d_2_Pressure#" />
	<cfcookie name="M1308d3Pressure" value="#Recertform.M1308_d_3_Pressure#" />

	<cfcookie name="PressureUlceraM0450" value="#Recertform.Pressure_Ulcer_a_M0450#" />
	<cfcookie name="PressureUlcerStageM0460" value="#Recertform.Pressure_Ulcer_Stage_M0460#" />
	<cfcookie name="SurgicalWoundStatusM0488" value="#Recertform.Surgical_Wound_Status_M0488#" />

	<cfcookie name="StasisUlcerM0468" value="#Recertform.Stasis_Ulcer_M0468#" />
	<cfcookie name="StasisUlcerNumM0470" value="#Recertform.Stasis_Ulcer_Num_M0470#" />
	<cfcookie name="StasisUlcerStatusM0476" value="#Recertform.Stasis_Ulcer_Status_M0476#" />
	<cfcookie name="SurgicalWoundM0482" value="#Recertform.Surgical_Wound_M0482#" />

</cfoutput>

<cfif left(Recertform.Braden_1_Sensory,1) NEQ "">
	<cfset Sensory=left(Recertform.Braden_1_Sensory,1) />
<cfelse>
	<cfset Sensory=0 />
</cfif>
<cfif left(Recertform.Braden_2_Moisture,1) NEQ "">
	<cfset Moisture=left(Recertform.Braden_2_Moisture,1) />
<cfelse>
	<cfset Moisture=0 />
</cfif>
<cfif left(Recertform.Braden_3_Activity,1) NEQ "">
	<cfset Activity=left(Recertform.Braden_3_Activity,1) />
<cfelse>
	<cfset Activity=0 />
</cfif>
<cfif left(Recertform.Braden_4_Mobility,1) NEQ "">
	<cfset Mobility=left(Recertform.Braden_4_Mobility,1) />
<cfelse>
	<cfset Mobility=0 />
</cfif>
<cfif left(Recertform.Braden_5_Nutrition,1) NEQ "">
	<cfset Nutrition=left(Recertform.Braden_5_Nutrition,1) />
<cfelse>
	<cfset Nutrition=0 />
</cfif>
<cfif left(Recertform.Braden_6_Friction,1) NEQ "">
	<cfset Friction=left(Recertform.Braden_6_Friction,1) />
<cfelse>
	<cfset Friction=0 />
</cfif>
<cfif Sensory eq '$'>
	<cfset Sensory=0 />
</cfif>
<cfif Moisture eq '$'>
	<cfset Moisture=0 />
</cfif>
<cfif Activity eq '$'>
	<cfset Activity=0 />
</cfif>
<cfif Mobility eq '$'>
	<cfset Mobility=0 />
</cfif>
<cfif Nutrition eq '$'>
	<cfset Nutrition=0 />
</cfif>
<cfif Friction eq '$'>
	<cfset Friction=0 />
</cfif>

<cfset PressureRate=Sensory+Moisture+Activity+Mobility+Nutrition+Friction />

<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>
<cfset M0230='#session.cs.AssessmentId#'&' M0230' />

<cfquery name="M0230diagnasis" datasource="#Application.DataSrc#">
	select Diagnosis_ID,Short_Diagnosis,Text_ICD,Severity,CONVERT(Diagnosis.Dx_Order, CHAR(10)) as Dx_Order,Primary_Diagnosis,
	Secondary_Diagnosis,DG_Type from #Request.prefix_db_agency#.Diagnosis where Assessment_ID='#session.cs.AssessmentId#' and M0230_Link like '%M0230%' and M0230_Link is not null
</cfquery>

  <cfscript>
		pat = CreateObject("Component", "patientadmin_new.patient.assessment");
		get_pain_que = pat.get_pain_ques('1 - Start of care - further visits planned','pain'); 
		get_braden_que = pat.get_pain_ques('1 - Start of care - further visits planned','braden'); 
		get_fallrisk = pat.get_pain_ques('1 - Start of care - further visits planned','fall_risk'); 
   </cfscript>
<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#, Recertification </cfoutput>
		</div>
		<div class="tools">
			<a href="javascript:;" class="collapse"></a>
		</div>
	</div>
	<div class="portlet-body form">
	<cfinclude template="recertificationwizard_includes/recertstep.cfm" />

		<!---<cfinclude template="recertificationwizard_includes/recertstep1.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep2.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep3.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep4.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep5.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep6.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep7.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep8.cfm" />
		<cfinclude template="recertificationwizard_includes/recertstep9.cfm" />--->
		<script type="text/javascript">
			$('.progress_div').css("max-width", $('.nav_pagination').width());
		</script>
	</div>
</div>
<cfoutput>
<input type="hidden" name="assessmentcompleted" id="assessmentcompleted" value="#DateFormat(Recertform.Assessment_Completed_M0090,'yyyy-mm-dd')#"/>

</cfoutput>
<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="Blood Sugar Level"/> Blood Sugar Level </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="shownextwindow('addvital');"/>
				<input class="btn btn-default" type="button" name="Cancel" value="Cancel" id="btncancelvital" onclick="vitalcancel();"/>
			</div>
		</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>

<cfif #Recertform.Assessment_Completed_M0090# lt '2019-01-01'>
<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="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">
			<!---<p style="font-size:14px;">This ICD is not a case mix and should not be used in M0246.</p>--->
			<h4>Diagnosis Select</h4>
			<input type="hidden" name="M0230DiagnosisID" id="M0230DiagnosisID"/>
			<input type="hidden" name="M0230DiagnosisID1" id="M0230DiagnosisID1"/>
			<input type="hidden" name="vcodesdiag" id="vcodesdiag"/>
			<input type="hidden" name="vcodesicd" id="vcodesicd"/>
			<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  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="shownextwindow('M0230search');"/>
				<input class="btn btn-default" type="button" name="btnCancel" value="Cancel" onclick="ColdFusion.Window.hide('searchFormM0230SubWindow');"/>
			</div>
		</div>
	</cfform>
</cfwindow>
</cfif>

<div id="braden_scale" class="modal fade" tabindex="-1" aria-hidden="true">
						<div class="modal-dialog modal-lg">
							<div class="modal-content">
								<div class="modal-header">
									<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
									<h4 class="modal-title"><b>Braden Scale For Predicting Pressure Sore Risk</b></h4>
								</div>
								<form name="formrisk" id="formrisk">
								   <div class="modal-body">
										<cfoutput>
										 <cfloop query="get_braden_que">
															   <div class="form-group">
																	   <label class="bold">#get_braden_que.questions#</label><br />
																			<cfscript>
																			   get_braden_anw = pat.get_pain_anw(#get_braden_que.id#); 
																			</cfscript>
																			 <cfset  cheked_value = "Recertform."&get_braden_anw.answer_label />
																				<cfloop query="get_braden_anw">
																					<div class="label-stable">
																					  <div id="#answer_type#_d" class="radio-list">
																						
																									<cfif answer_type EQ 'radio'>
																													   <div class="radio-list">
																															   <label> <input type="#answer_type#" name="#answer_label#" id="#answer_label#" value="#answer#" <cfif #Evaluate(Variables.cheked_value)#  EQ  #answer#>checked </cfif>><span>#answer#</span></label>
																														</div>
																										<cfelseif answer_type EQ 'checkbox'>
																														   <div class="checkbox-list">
																															  <label><input type="#answer_type#"  name="#answer_label#" id="#answer_label#" value="#answer#" <cfif #Evaluate(Variables.cheked_value)#  Contains  #answer#>checked</cfif>>#answer#
																															 </label>
																														</div>
																										</cfif>
																							
																						</div>
																				   </div>
																			</cfloop>
															 </div>
													 </cfloop>
											</cfoutput>
											<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>
					               <div class="modal-footer">
										<button type="button" class="btn default" data-dismiss="modal">Close</button>
										<button type="button" class="btn blue"  name="braden"  onclick="return other_assessment_validation('braden');">Update</button>
									</div>
								</form>
							</div>
				    </div>
				</div>

<cfwindow
	name="ReWounddiv"
	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;">
			<cfinput type="hidden" id="pageno" name="pageno" />
			<img title="Close" name="imgbtnSkinClose" style="border:none;cursor:pointer;float:right;" id="imgbtnSkinClose" onClick="ColdFusion.Window.hide('ReWounddiv');" src="../../images/icon_back.gif" width="33" height="35" />
			<h4>Add Wound</h4>
			<div id="wounlist" style="display:block">
				<div class="form-group">
					<label>Add <img name="ImgWound1Add" id="ImgWound1Add" src="../../images/icon_add.png" style="border:none;cursor:pointer"/></label>
				</div>
				<cfdiv bind="url:#Application.siteURL#/patientadmin_new/WoundGrid.cfm" ID="theReWounddiv" 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" checked="checked" value="Abarsion" > Abarsion</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="divsurroundtissue1" class="label-stable">
								<label>Surrounding Tissues</label>
								<div class="checkbox-list">
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="clean" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> clean</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="scabbed" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> scabbed</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="crusted" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> crusted</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="indurated" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> indurated</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="gaping" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> gaping</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="blistered" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> blistered</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="separated" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> separated</label>
									<label>
									<input type="checkbox" name="Wnd_Surr_Tiss" Value="bruised" onclick="changebg('Wnd_Surr_Tiss','empty','divsurroundtissue1');"> bruised</label>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="form-group">
					<div id="divcharacteristics" class="label-stable" style="width:100%;">
						<label>Characteristics</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>
									</div>
								</div>
								<div class="col-md-4">
								 <div class="checkbox-list">
									<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>
								</div>
							</div>
							<div class="col-md-4">
								<div class="checkbox-list">
								    <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>
									<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>
									</div>
								</div>
							</div>
							<br />
						<div class="row">
							 <div class="col-md-4">
							   <p style="font-weight:bold;">SHAPE</p>
								<div class="checkbox-list">
							      <!---  <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>
									</div>
								</div>
						      <div class="col-md-4">
							    <p style="font-weight:bold;">AMOUNT</p>
								<div class="checkbox-list">
									<!---<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>
									</div>
								</div>
								<div class="col-md-4">
								   <p style="font-weight:bold;">ODOR</p>
							       <div class="checkbox-list">
								    <!---<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>
						<br />
						<div class="row">
						  <div class="col-md-4">
						   <p style="font-weight:bold;">DRAINAGE</p>
							       <div class="checkbox-list">
									     <!---<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>
									</div>
								</div>
								<br /><br />
								<div class="col-md-4">
							       <div class="checkbox-list">
									<label>
									<input type="checkbox" name="Wnd_Chara" Value="moist"> moist</label>
								    <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>
									</div>
								</div>
								<div class="col-md-4">
							       <div class="checkbox-list">
									<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>
									</div>
							 </div>
						</div>
							 
					</div>
				</div>
				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<label>Location</label>
							<textarea class="form-control" 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="return btnWoundClick();" value="Add Wound" />
					<input class="btn default" type="button" value="Cancel" id="btnwoundcancel" name="btnwoundcancel" />
				</div>
			</div>
		</div>
	</cfform>
</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>

<cfif #Recertform.Assessment_Completed_M0090# lt '2019-01-01'>
<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/AddSearchValue1.cfm?text={formstep1: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/AddSearchValue1.cfm?text={formstep1:hdnmedssearch2}&MSearch2=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/AddSearchValue1.cfm?text={formstep1: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/AddSearchValue1.cfm?text={formM0230:M1020Manifestsearch}&M0230M=search">
</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>
</cfif>
<cfinclude template="recertificationwizard_script.cfm" />