
<cfparam name="url.rtn" default="assessment_form" />
<cfparam name='url.na' default='' />
 <cfif isdefined('url.na') and url.na eq 'y'>
  <cfset session.cs.AssessmentId = 0 />
 </cfif>
 
 <cfif isdefined('url.AID') and url.AID neq ''>
<cfset session.cs.AssessmentId =decrypt(#url.AID#,"54kczhzgHTj4a8n+SRZPyg==","AES","Hex") />
</cfif>

 
<cfquery name="recertform" datasource="#Application.DataSrc#">
SELECT *, patient.Last_Name_M0040 AS Last_Name, patient.First_Name_M0040 AS First_Name, patient.Middle_Initial_M0040 AS Middle   FROM #Request.prefix_db_agency#.Assessment_New
INNER JOIN #Request.prefix_db_agency#.patient ON (Assessment_New.Patient_ID=patient.Patient_ID)
WHERE Assessment_New.Assessment_ID='#session.cs.AssessmentId#'
</cfquery>
<cfquery name="GetE" datasource="#Application.DataSrc#">
select Last_Name, First_Name from #Request.prefix_db_lookup#.Employee where Employee_ID = '#recertform.Record_Created_By#'
</cfquery>
<cfquery name="GetM1020" datasource="#Application.DataSrc#">
SELECT Diagnosis.ICD, Diagnosis.Diagnosis, Diagnosis.Severity
FROM #Request.prefix_db_agency#.Diagnosis
WHERE Diagnosis.Assessment_ID='#session.cs.AssessmentId#' AND Diagnosis.M0230_Link IS NOT NULL order by Diagnosis.Dx_Order ASC
</cfquery>
<cfquery name="get_cg_questions" datasource="#Application.DataSrc#">
  SELECT * FROM  #Request.prefix_db_lookup#.Assessment_Questions_lookup
                      JOIN #Request.prefix_db_lookup#.Assessment_Answer_lookup ON Assessment_Answer_lookup.question_id  = Assessment_Questions_lookup.id
					  WHERE  Assessment_Answer_lookup.Deleted <> 1  
					  AND  Assessment_Questions_lookup.assessment_reason = '4 - Recertification (follow-up) reassessment'
					 AND Assessment_Questions_lookup.questions like 'GG0%'
					GROUP BY Assessment_Answer_lookup.answer_label
					  ORDER BY Assessment_Questions_lookup.order_id ASC
</cfquery>


<cfdocument format="pdf" orientation="portrait" overwrite="yes">
<table border="0" style="border-left: solid 1px #CCCCCC; border-right: solid 1px #CCCCCC;
    border-top: #CCCCCC solid 1px; border-bottom: solid 1px #CCCCCC;" height="100%"
    width="100%" cellpadding="0" cellspacing="0">
    <tr valign="top">
        <td>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td style="font-weight: bold; font-size: 14px;  font-family:Arial;" colspan="2">
					Recertification OASIS Assessment
				</td>				
				<td style="font-weight: bold; font-size: 14px;  font-family:Arial; padding-right:5px" align="right" colspan="3">
				 <b><cfoutput>   #recertform.Last_Name#, #recertform.First_Name# #recertform.Middle#</cfoutput></b>
				</td>				
			</tr>
			<tr>
                <td bgcolor="#000000" width="100%" colspan="5">
                </td>
            </tr>
                <tr>
                    <td colspan="2" align="right" style="padding-right: 30px; padding-top: 20px; font-family: Arial;
                        font-size: 14px; font-weight: bold; font-style: italic;">
                        SOC Date
                    </td>
					<td style="font-family: Arial; padding-top: 20px; font-size: 14px; font-weight: bold; font-style: italic;">
                         <cfoutput>#DateFormat(recertform.Start_of_Care_M0030,"mm/dd/yyyy")#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td width="31%" style="height: 5px">                    
					</td>
                </tr>
                <tr>
                    <td style="padding-left: 10px; font-family: Arial; font-size: 18px; font-weight: bold;
                        font-style: italic;"><cfoutput>#recertform.First_Name_M0040#</cfoutput> <cfoutput>#recertform.Last_Name_M0040#
						</cfoutput>
                    </td>
                    <td width="23%" align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px;
                        font-weight: bold; font-style: italic">
                        Certification                    </td>
                    <td width="23%" style="font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;">
                       <cfoutput>#DateFormat(recertform.Certification_Start,"mm/dd/yyyy")#</cfoutput>               </td>
                    <td width="16%" align="left" style="font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;">
                        To                    </td>
                    <td width="7%" style="font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;"><cfoutput>#DateFormat(recertform.Certification_End,"mm/dd/yyyy")#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 20px; font-family: Arial; font-size: 18px; font-weight: bold;
                        font-style: italic;">
                        4-Recertification
                    </td>
                    <td align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px;
                        font-weight: bold; font-style: italic;">
                       <cfif trim(recertform.Record_Created_By) neq ''>Completed by</cfif> 
                    </td>
                    <td colspan="3" style="font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;"><cfif trim(recertform.Record_Created_By) neq ''><cfoutput>#GetE.Last_Name# #GetE.First_Name#</cfoutput></cfif>
                        
                    </td>
                </tr>
				 <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                
                <tr>
                    <td style="border: solid 1px #CCCCCC; width:100%" colspan="5">
                    </td>
                </tr>
            </table>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="2" align="left" style="font-family: Arial; font-size: 14px; font-weight: bold;
                        padding-top: 5px; padding-left: 5px;">
                        CLINICAL RECORD ITEMS
                    </td>
                </tr>
				<tr>
                    <td style="height: 10px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M0080)Discipline of Person Completing<br>
                        Assessment:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"> <cfoutput>#recertform.Person_Complete_M0080#</cfoutput>
                        
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M0090) Date Assessment Completed:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#DateFormat(recertform.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput>
                       
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                       (M0110) Episode Timing: Is the medicare<br> home health payment episode for which this<br>
                               assessment will define a case mix group an<br>
								"early" episode or a "later" episode in the<br>
								patient's current sequence of adjacent<br>
								Medicare home health payment episodes?
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M0110#</cfoutput>
                        
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC; padding-right:30px" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="left" style="font-family: Arial; font-size: 14px; font-weight: bold;
                        padding-top: 5px; padding-left: 5px;">
                        PATIENT HISTORY AND DIAGNOSES
                    </td>
                </tr>
				 <tr>
                    <td style="height: 10px">
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 50px; font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;">
                        Home Safety:
                    </td>
					<td style="font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;">
                        <cfoutput>#recertform.Home_Safety_Assess#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				<cfif recertform.Assessment_Completed_M0090 gte '2019-01-01'>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
					(<b><cfif #recertform.Assessment_Completed_M0090# gte '2015-01-01'>M1021<cfelse>M1020</cfif></b>
							   /1022/1024) Diagnoses, Symptom<br> Control, and Payment Diagnoses: List each<br>  diagnosis                                for which the patient is receiving<br> home care and enter its IC0-9-C IA code at<br> the level of                                highest specificity (no<br>surgical/procedure codes).

                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;">
						<cfloop query="GetM1020"><cfoutput>#GetM1020.Severity# - #GetM1020.Diagnosis# </cfoutput><br /></cfloop>
						<!---<cfloop index ="ListElement" list =#GetM1020.Diagnosis# delimiters=",">
    				<cfoutput>#ListElement#</cfoutput><br> 
				</cfloop>--->
                    </td>
                </tr>
				<tr>
                    <td style="height: 25px">
                    </td>
                </tr>
				</cfif>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 50px; font-style: italic">
                        Endocrine:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Endocrine_Assess#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 25px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 50px; font-style: italic">
                        Nutrition:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M0250_Assess#</cfoutput> 
                    </td>
                </tr>
               <tr>
                    <td style="height: 25px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1030) Therapies the patient receives at
                        <br />
                        home:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Therapies_Home_M0250#</cfoutput>
                    </td>
                </tr>
                 <tr>
                    <td style="height: 25px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1032/33) Risk for Hospitalization: Which of the following signs or symptoms characterize thispatient as at risk for hospitalization? 
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M1032_Frailty#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="height: 30px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
				<tr>
                    <td colspan="2" align="left" style="font-family: Arial; font-size: 14px; font-weight: bold;
                        padding-top: 5px; padding-left: 5px;">
                        SENSORY STATUS
                    </td>
                </tr>
                <tr>
                    <td style="height: 15px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1200) Vision (with corrective lenses if the<br />
                        patient usually wears them):
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Vision_M0390#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				<tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1242) Frequency of Pain Interfering with patient's activity or movement:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Freq_of_Pain_M0420#</cfoutput>
                    </td>
                </tr>
				 <tr>
                    <td style="height: 60px">
                    </td>
                </tr>
				
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        width: 50%; padding-left: 20px;">
                        Recertification Page 1
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td style="page-break-after: always">
        </td>
    </tr>
</table>
<table border="0" style="border-left: solid 1px #CCCCCC; border-right: solid 1px #CCCCCC;
    border-top: #CCCCCC solid 1px; border-bottom: solid 1px #CCCCCC" width="100%"
    height="100%" cellpadding="0" cellspacing="0">
    <tr valign="top">
        <td>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="20%" style="height: 5px">                    
					</td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;">
                        <cfoutput>#recertform.First_Name_M0040#</cfoutput> <cfoutput>#recertform.Last_Name_M0040#
						</cfoutput>
                    </td>
                    <td width="36%" align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px;
                        font-weight: bold; font-style: italic;">
                        4-Recertification                   </td>
                    <td width="27%" style="padding-right: 30px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;">
                        Date Completed                    </td>
                    <td width="17%" style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#DateFormat(recertform.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput>
                                           </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="5">
                    </td>
                </tr>
            </table>
            <table border="0" width="100%" height="95%" cellpadding="0" cellspacing="0">
			
			<tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                       <b> Pain Assessment</b>
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M0420_Assess#</cfoutput>
                    </td>
                </tr>
				 <tr>
                    <td style="height: 40px">
                    </td>
                </tr>
				
				
				<tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                       <b> Skin Assessment</b>
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M0440_Assess#</cfoutput>
                    </td>
                </tr>
				 <tr>
                    <td style="height: 40px">
                    </td>
                </tr>
				<tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="left" valign="top" style="font-family: Arial; font-size: 14px; font-weight: bold;
                        padding-top: 5px; padding-left: 5px;">
                        INTEGUMENTARY STATUS
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
				<cfif recertform.Assessment_Completed_M0090 lt '2019-01-01'>
				 <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 2px; width: 50%;
                        padding-left: 20px;">
                        (M1306) Does this patient have at least one<br />
                        Unhealed Pressure Ulcer at Stage H or Higher or<br />
                        designated as "unstageable"?
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M1306_Unhealed_Pressure#</cfoutput>
                    </td>
                </tr>
				 <tr>
                    <td style="height: 10px">
                    </td>
                </tr>
				</cfif>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        width: 50%; padding-left: 20px;">
                        (<cfif recertform.Assessment_Completed_M0090 lt '2019-01-01'>(M1308)<cfelse>(M1311)</cfif> Current Number of Unhealed (non-epithelialized) Pressure Ulcers at Each  Stage: (Enter "0"
                        <br />
                        if none; excludes Stage I pressure ulcers)
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        padding-left: 40px;">
                        a.Stage II: Partial thickness loss of dermis
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Pressure_Ulcer_b_M0450#</cfoutput>
                      
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        padding-left: 40px;">
                        b. Stage III: Full thickness tissue loss.
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Pressure_Ulcer_c_M0450#</cfoutput>
                       
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        padding-left: 40px;">
                        c. Stage IV: Full thickness tissue loss
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Pressure_Ulcer_d_M0450#</cfoutput>
                       
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        padding-left: 40px;">
                        d.1 Unstageable: Known or likely but<br />
                        Lmstageable due to non-removable dressing
                        <br />
                        or device
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Pressure_Ulcer_e_M0450#</cfoutput>
                      
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        padding-left: 40px;">
                        d.2 Unstageabre: Known or likely but
                        <br />
                        unstageable due to coverage of wound bed
                        <br />
                        by slough arid/or eschar
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M1308_d_2_Pressure#</cfoutput>
                       
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="2" style="font-family: Arial; font-size: 12px; padding-top: 5px;
                        padding-left: 40px;">
                        d.3 Unstageable: Suspected deep tissue<br />
                        injury in evolution.
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M1308_d_3_Pressure#</cfoutput>
                    </td>
                </tr>
				  <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1322) Current Number of Stage I Pressure<br />
                        Ulcers: Intact skin with non-blanchable redness<br />
                        of a localized area usually over a bony<br />
                        prominence.
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Pressure_Ulcer_a_M0450#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1324) Stage of Most Problematic Unhealed<br />
                        (Observable) Pressure Ulcer:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; font-weight:bold; width: 50%;">
                    <cfoutput>#recertform.Pressure_Ulcer_Stage_M0460#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1330) Does this patient have a Stasis Ulcer?
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Stasis_Ulcer_M0468#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1332) Current Number of (Observable) Stasis<br />
                        Ulcer(s):
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Stasis_Ulcer_Num_M0470#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1334) Status of Most Problematic<br />
                        (Observable) Stasis Ulcer:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Stasis_Ulcer_Status_M0476#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1340) Does this patient have a Surgical
                        <br />
                        Wound?
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Surgical_Wound_M0482#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1342) Status of Most Problematic
                        <br />
                        (Observable) Surgical Wound:
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Surgical_Wound_Status_M0488#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
				<cfif recertform.Assessment_Completed_M0090 lt '2019-01-01'>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1350) Does this patient have a Skin Lesion or
                        <br />
                        Open Wound, excluding bowel ostomy, other<br />
                        than those described above that is receiving<br />
                        intervention by the home health agency?
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M1350_Other_Wounds#</cfoutput>
                    </td>
                </tr>
				</cfif>
				<tr>
                    <td style="height: 5px">
                    </td>
					
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
				
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;"
                        align="center" colspan="2">
                        Recertification Page 2
                    </td>
                </tr>
                
            </table>
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td style="page-break-after: always">
        </td>
    </tr>
</table>
<table border="0" style="border-left: solid 1px #CCCCCC; border-right: solid 1px #CCCCCC;
    border-top: #CCCCCC solid 1px; border-bottom: solid 1px #CCCCCC" width="100%"
    height="100%" cellpadding="0" cellspacing="0">
    <tr valign="top">
        <td>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="20%" style="height: 5px">                    
					</td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#recertform.First_Name_M0040#</cfoutput> <cfoutput>#recertform.Last_Name_M0040#
						</cfoutput>
                       
                    </td>
                    <td width="36%" align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px;
                        font-weight: bold; font-style: italic;">
                        4-Recertification                   </td>
                    <td width="27%" style="padding-right: 30px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;">
                        Date Completed                    </td>
                    <td width="17%" style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#DateFormat(recertform.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput>
                                           </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="5">
                    </td>
                </tr>
            </table>
            <table border="0" width="100%" height="95%" cellpadding="0" cellspacing="0">
				<tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				  <tr>
                    <td colspan="2" style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px;
                        padding-left: 5px;">
                        RESPIRATORY STATUS
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1400) When is the patient clyspneic<br />
                        or noticeably Short of Breath?
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Breathing_M0490#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td align="right" style="font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;">
                        Cardio-respiratory:
                    </td>
					<td style="font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;width: 50%;"><cfoutput>#recertform.M0490_Assess#</cfoutput>                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px;
                        padding-left: 5px;">
                        ELIMINATION STATUS
                    </td>
                </tr>
                <tr>
                    <td style="height: 10px">
                    </td>
                </tr>
				<tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1610) Urinary Incontinence or Urinary
                        <br />
                        Catheter Presence:
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Urinary_INcont_M0520#</cfoutput>
                    </td>
                </tr>
				 <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 120px; font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;">
                        Genito-Urinary:
                    </td>
					 <td style="font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;"><cfoutput>#recertform.M0520_Assess#</cfoutput>
                       
                    </td>
                </tr>
				<tr>
                    <td style="height: 5px">
                    </td>
                </tr>
				<tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1620) Bowel Incontinence Frequency:<br />
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Bowel_Incont_M0540#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="padding-left: 120px; font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;">
                        Gastro-Intestinal:
                    </td>
					 <td style="font-family: Arial; font-size: 10px; padding-top: 5px;
                        font-style: italic;"><cfoutput>#recertform.M0540_Assess#</cfoutput>
                        
                    </td>
                </tr>
				<tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1630) Ostomy for Bower Elimination: Does<br />
                        this patient have an ostorny for bowel<br />
                        elimination that (within the last 14 days): a) was<br />
                        related to an inpatient facility stay, or b)<br />
                        necessitated a change in medical or treatment
                        <br />
                        regimen?
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Ostomy_for_Bowel_M0550#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="height: 15px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
				<tr>
                    <td style="height: 5px">
                    </td>
                </tr>
				<tr>
                    <td colspan="2" style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px;
                        padding-left: 5px;">
                        ADLS/IADLS
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
				 <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        M1800 Grooming: Current ability to
                        <br />
                        tend to personal hygiene needs
                        <br />
                       (i.e., washing face, hair care, shaving/make up, teeth/dentures...
                        <br />
                     </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Grooming_M0640#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                 <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1810) Current Ability to Dress Upper Body
                        <br />
                        safely (with or without dressing aids) including
                        <br />
                        undergarments, pullovers, front-opening shirts
                        <br />
                        and blouses, managing zippers, buttons, and
                        <br />
                        snaps:<br />
                        <br />
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Dress_Upper_M0650#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1820) Current Ability to Dress Lower Body
                        <br />
                        safely (with or without dressing aids) including
                        <br />
                        undergarments, slacks, socks or nylons, shoes:<br />
                        <br />
                        <br />
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Dress_Lower_M0660#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1830) Bathing: Current ability to wash entire
                        <br />
                        body safely. Excludes grooming (washing face,
                        <br />
                        washing hands, and shampooing hair).<br />
                        <br />
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Bathing_M0670#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M1840) Toilet Transferring: Current ability to get
                        <br />
                        to and from the toilet or bedside commode safely
                        <br />
                        and transfer on and off toilet/commode.<br />
                        <br />
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.M1840_Toilet#</cfoutput>
						</td>
                </tr>
				  <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				<tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1850) Transferring: Current ability to move<br />
                        safely from bed to chair, or ability to turn and
                        <br />
                        position self in bed if patient is bedfast.
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Transferring_M0690#</cfoutput>
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td align="left" style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%;
                        padding-left: 20px;">
                        (M1860) Ambulation/Locomotion: Current ability<br />
                        to walk safely, once in a standing position, or<br />
                        use a wheelchair, once in a seated position, on a<br />
                        variety of surfaces.
                    </td>
                    <td align="left" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Ambulation_M0700#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="height: 5px">
                    </td>
                </tr>
				<tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;"
                        align="center" colspan="2">
                        Recertification Page 3
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>	
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td style="page-break-after: always">
        </td>
    </tr>
</table>
<table border="0" style="border-left: solid 1px #CCCCCC; border-right: solid 1px #CCCCCC;
    border-top: #CCCCCC solid 1px; border-bottom: solid 1px #CCCCCC" width="100%"
    height="100%" cellpadding="0" cellspacing="0">
    <tr valign="top">
        <td>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="20%" style="height: 5px">                    
					</td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#recertform.First_Name_M0040#</cfoutput> <cfoutput>#recertform.Last_Name_M0040#
						</cfoutput>
                       
                    </td>
                    <td width="36%" align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px;
                        font-weight: bold; font-style: italic;">
                        4-Recertification                   </td>
                    <td width="27%" style="padding-right: 30px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;">
                        Date Completed                    </td>
                    <td width="17%" style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#DateFormat(recertform.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput>
                                           </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="5">
                    </td>
                </tr>
            </table>
            <table border="0" width="100%" height="95%" cellpadding="0" cellspacing="0">
				<tr>
                    <td style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
                        (M2030) Management of Injectable Medications:<br />
                        Patient's current ability to prepare and take all<br />
                        prescribed injectable medications reliably and<br />
                        safely, including administration of correct dosage<br />
                        at the appropriate times/intervals. Excludes IV<br />
                        medications..<br />
                        <br />
                    </td>
                    <td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;"><cfoutput>#recertform.Inject_Meds_M0800#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				<tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
				<tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px;
                        padding-left: 5px;" colspan="2">
                        THERAPY NEED AND PLAN OF CARE
                    </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;"
                        colspan="2">
                        (M2200) Therapy Need: In the home health plan of care for the Medicare payment episode,
                        what is
                        <br />
                        total of reasonable and necessary PT, OT, and ST visits combined?
                    </td>
                </tr>
				
                <tr>
                    <td style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;
                        width: 50%;" align="center" colspan="2"><cfoutput>#recertform.M0826_Ther_Need#</cfoutput>
                    </td>
                </tr>
				 <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
				<cfif recertform.Assessment_Completed_M0090 gte '2019-01-01'>
				 <tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px; padding-left: 5px;" colspan="2">Strengths </td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;" colspan="2"> <cfoutput>#recertform.Strengths#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				 <tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px; padding-left: 5px;" colspan="2">Goals </td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;" colspan="2"> <cfoutput>#recertform.Goals#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				 <tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px; padding-left: 5px;" colspan="2">Care Preference </td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;" colspan="2"> <cfoutput>#recertform.Care_Preference#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				 <tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px; padding-left: 5px;" colspan="2">Risk Factor </td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;" colspan="2"> <cfoutput>#recertform.Risk_Factor#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr> <tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px; padding-left: 5px;" colspan="2">Interventions</td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;" colspan="2"> <cfoutput>#recertform.Interventions#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				</cfif>
				  <tr>
                    <td style="font-family: Arial; font-size: 14px; font-weight: bold; padding-top: 5px;
                        padding-left: 5px;" colspan="2">
                        Assessment Note
                    </td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;"
                        colspan="2">
                        <cfoutput>#recertform.Assessment_Note#</cfoutput>
                    </td>
                </tr>
				<tr>
                    <td style="height: 250px">
                    </td>
                </tr>
				<tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;"
                        align="center" colspan="2">
                        Recertification Page 4
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>	

<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td style="page-break-after: always">
        </td>
    </tr>
</table>



<cfset page_num = 5 >
<cfif recertform.Assessment_Completed_M0090 gte '2019-01-01'>
<cfset max_rows = ceiling(get_cg_questions.recordcount/10) >
<cfloop  index="i" from="1" to="#max_rows#">
  <cfoutput>
	<table border="0" height="100%" style="border-left: solid 1px ##CCCCCC; border-right: solid 1px ##CCCCCC; border-top: ##CCCCCC solid 1px; border-bottom: solid 1px ##CCCCCC;" width="100%"  cellpadding="0" cellspacing="0">
		  <tr valign="top">
			 <td >
						<table border="0" width="100%" cellpadding="0" cellspacing="0">
								<tr>
									<td style="height: 5px"></td>
								</tr>
								<tr>
									<td style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;">#recertform.First_Name_M0040#  #recertform.Last_Name_M0040# </td>
									<td width="36%" align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;"> 4-Recertification</td>
									<td width="27%" style="padding-right: 30px; font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;"> Date Completed</td>
									<td width="17%" style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold; font-style: italic;">#DateFormat(recertform.Assessment_Completed_M0090,"mm/dd/yyyy")#</td>
								   </tr>
									<tr>
										<td style="height: 5px"></td>
									</tr>
									<tr>
										<td style="border: solid 1px ##CCCCCC" colspan="5"></td>
									</tr>
									<tr>
										<td style="height: 5px"></td>
									</tr>
						</table>
						<cfif i eq max_rows >
						   <cfset tot_row = i * 10 />
						   <cfset start_row = tot_row - 9 />
						   <cfset end_row = tot_row + i />
						<cfelse>
							<cfset end_row = i * 10 />
							<cfset start_row = end_row - 9 />
						</cfif>
				     <table border="0" width="100%" height="95%" cellpadding="0" cellspacing="0">
			            <cfloop query="get_cg_questions" startrow="#start_row#" endrow="#end_row#">
						   <tr>
								<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 8px;">#questions#
								</td>
								<cfset  cheked_value = "recertform."&answer_label />
								<td colspan="0" style="font-family: Arial; font-size: 12px; font-weight: bold; padding-top: 5px;width: 50%; padding-left: 8px;"><cfif #Evaluate(Variables.cheked_value)# neq ''>#Evaluate(Variables.cheked_value)#<cfelse> - </cfif></td>
							</tr>
							<tr>
								<td style="height: 5px">
								</td>
							</tr>
					       </cfloop>
							<tr><td style="border: solid 1px ##CCCCCC" colspan="2"></td>	</tr>
							<tr>
								<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;"align="center" colspan="2">
									Recertification  Page #page_num#
								</td>
							</tr>
							<tr><td style="height: 8px"></td></tr>
							<tr><td style="border: solid 1px ##CCCCCC" colspan="2"></td>	</tr>
						<cfset page_num = page_num + 1 >
					</table>
					
				  <table border="0" cellpadding="0" cellspacing="0">
						<tr><td style="page-break-after: always"></td></tr>
				  </table>
		    </td>
		 </tr>
	</table>
  </cfoutput>
</cfloop>


</cfif>
<table border="0" style="border-left: solid 1px #CCCCCC; border-right: solid 1px #CCCCCC;
    border-top: #CCCCCC solid 1px; border-bottom: solid 1px #CCCCCC" width="100%"
    height="100%" cellpadding="0" cellspacing="0">
    <tr valign="top">
        <td>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="20%" style="height: 5px">                    
					</td>
                </tr>
                <tr>
                    <td style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#recertform.First_Name_M0040#</cfoutput> <cfoutput>#recertform.Last_Name_M0040#
						</cfoutput>
                       
                    </td>
                    <td width="36%" align="right" style="padding-right: 30px; font-family: Arial; font-size: 14px;
                        font-weight: bold; font-style: italic;">
                        4-Recertification                   </td>
                    <td width="27%" style="padding-right: 30px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;">
                        Date Completed                    </td>
                    <td width="17%" style="padding-left: 5px; font-family: Arial; font-size: 14px; font-weight: bold;
                        font-style: italic;"><cfoutput>#DateFormat(recertform.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput>
                                           </td>
                </tr>
                <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
                    <td style="border: solid 1px #CCCCCC" colspan="5">
                    </td>
                </tr>
            </table>
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
			     <tr>
                    <td style="height: 5px">
                    </td>
                </tr>
                <tr>
				<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
				Signed by patient/legal representative as reviewed:
				</td>
			 </tr>
			 <tr>
				<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
				Patient/Representative name ________________________________________________ Date: ________________________
				</td>
			 </tr>
			 <tr>
				<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
				Patient/Representative name printed _______________________________________________________________________
				</td>
			 </tr>
			 <tr>
				<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
				Affiliation to patient (if applicable): _________________________________________________________________________
				</td>
			 </tr>
			 <cfif #session.AgencyId# eq '613'>
			 <tr>
                   <td style="height: 5px">
                    </td>
              </tr>
			 <tr>
				<td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;">
			<!---Physician Name: <cfoutput><b>#GetP.LastName# ,#GetP.FirstName#</b></cfoutput>--->       Physician Signature: ____________________________________________________
				</td>
			 </tr>
			 </cfif>
			 
				<tr>
                    <td style="height: 600px">
                    </td>
                </tr>
				<tr>
                    <td style="border: solid 1px #CCCCCC" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 20px;"
                        align="center" colspan="2">
                        Recertification Page <cfoutput>#page_num#</cfoutput>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</cfdocument>
