<cfdocument format="pdf" orientation="portrait" overwrite="yes">
<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="DeathForm" 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 = '#DeathForm.Record_Created_By#'
</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 = '9 - Discharge from agency'
					 AND Assessment_Questions_lookup.questions like 'GG0%'
					GROUP BY Assessment_Answer_lookup.answer_label
					  ORDER BY Assessment_Questions_lookup.order_id ASC
</cfquery>


   <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="98%">
			<tr>
				<td style="font-weight: bold; font-size: 14px;  font-family:Arial; width:60%">
					Discharge From Agency OASIS Assessment
				</td>				
				<td style="font-weight: bold; font-size: 14px;  font-family:Arial; padding-right:5px" align="right">
				 <b> <cfoutput>#DeathForm.Last_Name#, #DeathForm.First_Name# #DeathForm.Middle#</cfoutput></b>
				</td>				
			</tr>
			<tr>
                <td bgcolor="#000000" width="100%" colspan="2">
                </td>
            </tr>
            <tr>
                <td rowspan="3" width="40%" style="padding-left: 20px" valign="bottom">
                    <span style="font-weight: bold; font-size: 18px; font-family: Arial"><i>
					<cfoutput>#DeathForm.First_Name_M0040#</cfoutput> 
					<cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></span>
                </td>
            </tr>
            <tr>
                <td align="left" width="60%" style="padding-bottom: 5px; padding-top: 20px">
                    <span style="font-weight: bold; font-size: 14px; font-family: Arial"><i>SOC Date
					  <cfoutput>#DateFormat(DeathForm.Start_of_Care_M0030,"mm/dd/yyyy")#</cfoutput></i>
					</span>
                </td>
            </tr>
            <tr>
                <td width="60%" style="padding-bottom: 5px">
                    <span style="font-weight: bold; font-size: 14px; font-family: Arial"><i>Certification
					  <cfoutput>#DateFormat(DeathForm.Certification_Start,"mm/dd/yyyy")#</cfoutput></i>
                    <b><i> to  <cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput>
					</i></b></span>
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 25px">
                    <span style="font-weight: bold; font-size: 18px; font-family: Arial">9 - Discharge</span>
                </td>
                <td width="60%" align="left" style="padding-top: 5px">
                    <span style="font-weight: bold; font-size: 14px; font-family: Arial"><i>
					<cfif trim(DeathForm.Record_Created_By) neq ''>Completed by <cfoutput>#GetE.Last_Name# #GetE.First_Name#</cfoutput></cfif></i></span>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial;font-size: 14px; font-weight: bold">
                    CLINICAL RECORD ITEMS<br />
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M0080) Discipline of Person Completing<br />
                    Assessment:
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.Person_Complete_M0080#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M0090) Date Assessment Completed:
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" colspan="2" align="left" style="padding-left: 20px; font-family: Arial;
                    font-size: 14px; font-weight: bold">
                    PATIENT HISTORY AND DIAGNOSES
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M1040)<cfelse>(M1041)</cfif> Influenza Vaccine: Did the patient<br />
                    receive the Influenza from your agency<br />
                    for this year's influenza season (October 1
                    <br />
                    through March 31) during this episode of care?
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.M1040_Influ#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                     <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M1045)<cfelse>(M1046)</cfif> Reason Influenza Vaccine not received:<br />
                    If the patient did not receive the influenza<br />
                    vaccine from your agency during this episode of<br />
                    care, state reason:
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.M1045_Influ#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1051)  Pneumococcal Vaccine:<br />Has the patient ever received<br />the pneumococcal vaccination<br />(for example, pneumovax)?
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.M1050_Pneu#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                     <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M1055)<cfelse>(M1056)</cfif> Reason PPV not receieved: If patient did<br />
                    not receive the pneumoccal polysaccharide
                    <br />
                    vaccine (PPV) from your agency during this
                    <br />
                    episode of care (SOC/ROC to<br />
                    Transfer/Discharge), state reason:
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.M1055_Pneu#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" colspan="2" align="left" style="padding-left: 20px; font-family: Arial;
                    font-size: 14px; font-weight: bold">
                    SENSORY STATUS
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1230) Speech and Oral (Verbal) Expression of<br />
                    Language (in patient's own language):
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.Speech_M0410#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			</cfif>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1242) Frequency of Pin Interfering with<br />
                    patient's activity or movement:
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.Freq_of_Pain_M0420#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" colspan="2" align="left" style="padding-left: 20px; font-family: Arial;
                    font-size: 14px; font-weight: bold">
                    INTEGUMENTARY STATUS
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1306) Does this patient have at least one<br />
                    Unhealed Pressure Ulcer at Stage II or Higher or<br />
                    designated as "unstageable"?
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.M1306_Unhealed_Pressure#</cfoutput></b>
                    <br />
                    <br />
                    <b></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="50px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    <br />Discharge Page 1
                </td>
            </tr>
           <!--- <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>--->
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
        <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" height="40px" valign="bottom" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							    <b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1307) The Oldest Non-epithelialized Stage II<br />
                    Pressure Ulcer that is present at discharge
                </td>
                <td width="60%" valign="bottom" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    <b><cfoutput>#DeathForm.M1307_Oldest#</cfoutput></b>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                     <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M1308)<cfelse>(M1311)</cfif> Curent Number of Unhealed (non-epithelialized) Pressure Ulcer at Each Stage:
                    (Enter "0"<br />
                    if none; excludes Stage I pressure ulcers)
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 60px">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                a. Stage II: Partial thickness loss of dermis
                            </td>
                            <td align="right" style="width: 40px; padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M1308_a_12_Pressure#</cfoutput>
                            </td>
                            <td align="right" style="width: 40px; padding-left: 20px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                b. Stage III: Full thickness tissue loss.
                            </td>
                            <td align="right" style="width: 40px; padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M1308_b_12_Pressure#</cfoutput>
                            </td>
                            <td align="right" style="width: 40px; padding-left: 20px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                c. Stage IV: Full thickness tissue loss
                            </td>
                            <td align="right" style="width: 40px; padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M1308_c_12_Pressure#</cfoutput>
                            </td>
                            <td align="right" style="width: 40px; padding-left: 20px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                d.1 Unstageble: Known or likely but<br />
                                unstageable due to non-removable dressing
                                <br />
                                or device
                            </td>
                            <td align="right" style="width: 40px; padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M1308_d_12_Pressure#</cfoutput>
                            </td>
                            <td align="right" style="width: 40px; padding-left: 20px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                d.2 Unstageble: Known or likely but<br />
                                unstageable due to coverage of wound bed<br />
                                by slough and/or eschar
                            </td>
                            <td align="right" style="width: 40px; padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M1308_d_22_Pressure#</cfoutput>
                            </td>
                            <td align="right" style="width: 40px; padding-left: 20px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                d.3 Unstageble: Suspected deep tissue<br />
                                injury in evolution.
                            </td>
                            <td align="right" style="width: 40px; padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M1308_d_32_Pressure#</cfoutput>
                            </td>
                            <td align="right" style="width: 40px; padding-left: 20px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1310) Pressure Ulcer Length: Longest length<br />
                    "head-to-be" (cm)
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;
                    font-weight: bold">
					<cfoutput>#DeathForm.M1310_Length#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1312) Pressure Ulcer Width: Width of the<br />
                    same pressure ulcer; greatest width<br />
                    perpendicular to the length (cm)
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;
                    font-weight: bold">
					<cfoutput>#DeathForm.M1312_Width#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1314) Pressure Ulcer Depth: Depth of the<br />
                    same pressure ulcer
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;
                    font-weight: bold">
					<cfoutput>#DeathForm.M1314_Depth#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1320) Status of Most Problematic<br />
                    (Observable) Pressure Ulcer:
                </td>
                <td width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;
                    font-weight: bold">
					<cfoutput>#DeathForm.Pressure_Ulcer_status_M0464#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (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 width="60%" valign="top" style="padding-left: 20px; font-family: Arial; font-size: 12px;
                    font-weight: bold">
					<cfoutput>#DeathForm.Pressure_Ulcer_a_M0450#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1324) Stage of Most Problematic Unhealed<br />
                    (Observable) Pressure Ulcer:
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Pressure_Ulcer_stage_M0460#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1330) Does this patient have a Stasis Ulcer?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Stasis_Ulcer_M0468#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
			<tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1332) Current Number of (Observable) Stasis Ulcer(s)
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Stasis_Ulcer_Num_M0470#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1334) Stage of Most Problematic<br />
                    (Observable) Stasis Ulcer:
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Stasis_Ulcer_status_M0476#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1340) Does this patient have a Surgical<br />
                    Wound?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Surgical_Wound_M0482#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1342) Status of Most Problematic<br />
                    (Observable) Surgical Wound:
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Surgical_Wound_status_M0488#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1350) Does pr have a Skin Lesion or Open<br />
                    Wound, excluding bowel ostomy, other than<br />
                    those described above that is receiving<br />
                    intervetion by the HHA?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px" valign="top">
                    <b><cfoutput>#DeathForm.M1350_Other_Wounds#</cfoutput></b>
                    <br />
                    <i>Integumentary: Rash(es)</i>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="5px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    Discharge Page 2
                </td>
            </tr>
          <!---  <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>--->
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
        <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" valign="bottom" height="40px" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							<b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    RESPIRATORY STATUS
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1400) When is the patient dyspneic or
                    <br />
                    noticeably Short of Breath?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Breathing_M0490#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>           
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1410) Respiratory Treatments utilized at<br />
                    home:
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Resp_Treatments_M0500#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1500) Symptoms in Heart Failure Patients: If<br />
                    patient has been diagnosed with heart failure,<br />
                    did the patient exhibit symptoms indicated by<br />
                    clinical heart failure guidelines (including<br />
                    dyspnea, orthopnea, edema, or weight gain) at<br />
                    any point since the previous OASIS<br />
                    assessment?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M1500_Symptoms#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1510) Heart Failure Follow-up: If patient has<br />
                    been diagnosed with heart failure and has<br />
                    exhibited symptoms indicative of heart failure<br />
                    since the previous OASIS assessment, what<br />
                    action(s) has (have) been taken to respond?<br />
                    (Mark all that apply.)
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M1510_Hrt_FU#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" colspan="2" align="left" style="padding-left: 20px; font-family: Arial;
                    font-size: 14px; font-weight: bold">
                    ELIMINATION STATUS
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1600) Has this patient been treated for a<br />
                    Urinary Tract Infection in the past 14 days?<br />
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.UTI_M0510#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
					<tr>
						<td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
							(M1610) Urinary Incontinence or Urinary<br />
							Catheter Presence:
						</td>
						<td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
							valign="top">
							<cfoutput>#DeathForm.Urinary_Incont_M0520#</cfoutput>
						</td>
					</tr>
					<tr>
						<td colspan="2" height="10px">
						</td>
					</tr>
					<tr>
						<td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
							(M1615) When does Urinary<br />
							Incontinence occur?
						</td>
						<td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
							valign="top">
							<cfoutput>#DeathForm.Urinary_Incont_when_M0530#</cfoutput>
						</td>
					</tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1620) Bowel Incontinence Frequency:
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Bowel_Incont_M0540#</cfoutput>
                </td>
            </tr>
			<tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    NEURO/EMOTIONAL/BEHAVIORAL STATUS
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1700) Cognitive Functioning: Patient's current<br />
                    (day of assessment) level of alertness,<br />
                    orientation, comprehension, concentration, and<br />
                    immediate memory for simple commands.
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Cog_Function_M0560#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1710) When Confused (Reported or Observed<br />
                    Within the Last 14 Days):
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.When_confused_M0570#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1720) When Anxious (Reported or Observed<br />
                    Within the Last 14 Days):
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.When_Anxious_M0580#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1740) Cognitive, behavioral, and psychiatric<br />
                    symptoms that are demonstrated at least once a<br />
                    week (Reported or Observed)
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Patient_Behav_weekly_M0610#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    Discharge Page 3
                </td>
            </tr>
           <!--- <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>--->
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
        <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" valign="bottom" height="40px" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							<b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1745) Frequency of Disruptive Behavior<br />
                    Symptoms (Reported or Observed) Any physical,<br />
                    verbal, or other disruptive/dangerous symptoms<br />
                    that are injurious to self or others or jeopardize<br />
                    personal safety.
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Patient_Behav_freq_M0620#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    AD LOADLs
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1800) Grooming: Current ability to tend safely<br />
                    to personal hygiene needs (i.e., washing face and<br />
                    hands, hair care, shaving or make up, teeth or<br />
                    denture care, fingernail care).
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Grooming_M0640#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (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:
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Dress_Upper_M0650#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1820) Current Ability to Dress Lower Body<br />
                    safely (with or without dressing aids) including<br />
                    undergarments, slacks, socks or nylons, shoes:
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Dress_Lower_M0660#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1830) Bathing: Current ability to wash entire<br />
                    body safely. Excludes grooming (washing face,<br />
                    washing hands, and shampooing hair).
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Bathing_M0670#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (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.
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M1840_Toilet#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1845) Toileting Hygiene: Current ability to<br />
                    maintain perineal hygiene safely, adjust clothes<br />
                    and/or incontinence pads before and after using<br />
                    toilet, commode, bedpan, urinal. If managing<br />
                    ostomy, includes cleaning area around stoma.
                </td>
                <td width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M1845_Toilet#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (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 width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Transferring_M0690#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (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 width="58%" style="font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Ambulation_M0700#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;"><br/>
                    Discharge Page 4
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
        <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" valign="bottom" height="40px" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							<b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1870) Feeding or Eating: Current ability to<br />
                    feed self meals and snacks safely. Note: This<br />
                    refers only to the process of eating, chewing,<br />
                    and swallowing, not preparing the food to be<br />
                    eaten.
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Eating_M0710#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1880) Current Ability to Plan and Prepare<br />
                    Light Meals (e.g., cereal, sandwich) or reheat<br />
                    delivered meals safely:
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Meal_Prep_M0720#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M1890) Ability to Use Telephone: Current<br />
                    ability to answer the phone safely, including<br />
                    dialing numbers, and effectively using the<br />
                    telephone to communicate.
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Use_Phone_M0770#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    MEDICATIONS
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2004) Medication Intervention: If there were any<br />
                    clinically significant medication issues since the<br />
                    previous OASIS assessment, was a physician or the<br />
                    physician-designee contacted within one calendar<br />
                    day of the assessment to resolve clinically<br />
                    significant medication issues?
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M2004_Med_Int#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2015) Patient/Caregiver Drug Education<br />
                    Intervention: Since the previous OASIS<br />
                    assessment, was the patient/caregiver<br />
                    instructed by agency staff or other health care<br />
                    provider to monitor the effectiveness of drug<br />
                    therapy, drug reactions, and side effects, and<br />
                    how and when to report problems that may<br />
                    occur?
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M2015_Drug_Edu#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (N12020) Management of Oral Medications:
                    <br />
                    Patient's current ability to prepare and take all oral<br />
                    medications reliably and safely, including<br />
                    administration of the correct dosage at the<br />
                    appropriate times/intervals. Excludes injectable<br />
                    and IV medications.
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Oral_Meds_M0780#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="42%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (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.
                </td>
                <td width="58%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Inject_Meds_M0800#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    CARE MANAGEMENT
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                     <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M2100)<cfelse>(M2102)</cfif> Types and Sources of Assistance: Determine the level of caregiver ability
                    and willingness<br />
                    to provide assistance for the following activities, if assistance is needed.
                </td>
            </tr>
			 <tr>
				<td colspan="2" height="5px">
				</td>
			</tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 70px">
                    <table border="0" cellpadding="0" cellspacing="0" width="80%">
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                a. ADL assistance; transfer/<br />
                                ambulation, bathing
                            </td>
                            <td align="left" style="padding-left: 15px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100a_Equip#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
						 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                b. IADL assistance (e.g.,<br />
                                meals, housekeeping)
                            </td>
                            <td align="left" style="padding-left: 15px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100b_Equip#</cfoutput>
                            </td>
                        </tr>
						</cfif>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>                        
                    </table>
                </td>
            </tr>            
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    Discharge Page 5
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
        <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" valign="bottom" height="40px" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							<b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 60px">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                c. Medication administration
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100c_Equip#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="15px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                d. Medical procedures/ treatments
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100d_Equip#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="15px">
                            </td>
                        </tr>
						 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                e. Management of Equipment
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100e_Equip#</cfoutput>
                            </td>
                        </tr>
						</cfif>
						 <tr>
                            <td colspan="2" height="15px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                f. Supervision and safety
                            </td>

                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100f_Equip#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="15px">
                            </td>
                        </tr>
						 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                g. Advocacy or facilitation
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2100g_Equip#</cfoutput>
                            </td>
                        </tr>
						</cfif>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2110) Haw Often does the patient receive ADL<br />
                    IADL assistance from any caregiver(s) (other<br />
                    than HHA staff)?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.M2110_Assist_Freq#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    EMERGENT CARE
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                     <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M2300)<cfelse>(M2301)</cfif> Emergent Care: Since the last time<br />
                    OASIS data were collected, has the patient<br />
                    utilized a hospital emergency department<br />
                    (includes holding/observation)?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Emergent_Care_M0830#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2310) Reason for Emergent Care: For what<br />
                    reason(s) did the patient receive emergent care<br />
                    (with or without hospitalization)? (Mark all that<br />
                    apply.)
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Emergent_Care_Reason_M0840#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;
                    font-weight: bold">
                    DATA ITEMS COLLECTED AT TRANSFER/DISCHARGE ONLY
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                     <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>(M2400)<cfelse>(M2401)</cfif> Intervention Synopsis: (Check only one box in each row.) Since the previous
                    OASIS<br />
                    assessment, were the following interventions BOTH included in the physician-ordered
                    plan of care<br />
                    AND implemented?
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="padding-left: 60px">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                a. Diabetic foot care
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2400a_Diabetic#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                b. Falls prevention<br />
                                interventions
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2400b_FallsPrev#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                c. Depression intervention
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2400c_Depress#</cfoutput>
                            </td>
                        </tr>
						 <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                d. Intervention(s) to monitor and<br />
                                mitigate pain
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2400d_Pain#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                e. Intervention(s) to prevent<br />
                                pressure ulcers
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2400e_PressUlc#</cfoutput>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="10px">
                            </td>
                        </tr>
                        <tr>
                            <td style="font-family: Arial; font-size: 12px;">
                                f. Pressure ulcer treatment based on<br />
                                principles of moist wound healing
                            </td>
                            <td align="right" style="padding-left: 25px; font-family: Arial; font-size: 12px;
                                font-weight: bold" valign="top">
								<cfoutput>#DeathForm.M2400f_PressUlcMoist#</cfoutput>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2410) To which Inpatient Facility has the<br />
                    patient been admitted?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Inpatient_Facility_M0855#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="15px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2420) Discharge Disposition: Where is the<br />
                    patient after discharge from your agency?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Discharge_Disposition_M0870#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    Discharge Page 6
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
        <table border="0" style="border: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" valign="bottom" height="30px" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							<b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
			 <cfif DeathForm.Assessment_Completed_M0090 lt '2019-01-01'>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2430) Reason for Hospitalization: For what<br />
                    reason(s) did the patient require hospitalization?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Hospital_Reason_List_M0895#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M2440) For what Reason(s) was the patient<br />
                    Admitted to a Nursing Home?
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DeathForm.Nursing_Home_M0900#</cfoutput>
                </td>
            </tr>
			</cfif>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M0903) Date of Last (Most Recent) Home<br />
                    Visit
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DateFormat(DeathForm.Date_Most_Recent_M0903,"mm/dd/yyyy")#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
            <tr>
                <td width="40%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 12px;">
                    (M0906) Discharge/Transfer/Death Date:
                </td>
                <td width="60%" style="padding-left: 20px; font-family: Arial; font-size: 12px; font-weight: bold"
                    valign="top">
					<cfoutput>#DateFormat(DeathForm.Date_Discharge_M0906,"mm/dd/yyyy")#</cfoutput>
                </td>
            </tr>
			<cfif DeathForm.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>#DeathForm.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>#DeathForm.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>#DeathForm.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>#DeathForm.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>#DeathForm.Interventions#</cfoutput></td>
                </tr>
                <tr>
                    <td style="height: 20px">
                    </td>
                </tr>
				</cfif>
			<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">
                        Assessment Note
                    </td>				
				</tr>
				<tr>
                   <td style="font-family: Arial; font-size: 12px; padding-top: 5px; width: 50%; padding-left: 80px;"
                        colspan="2">
                        <cfoutput>#DeathForm.Assessment_Note#</cfoutput>
                    </td>
                </tr>
            <tr>
                <td colspan="2" height="450px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    Discharge Page 7
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="page-break-after: always">
                </td>
            </tr>
        </table>
		
		
<cfset page_num = 8 >
<cfif DeathForm.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;">#DeathForm.First_Name_M0040#  #DeathForm.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;"> 9 - Discharge</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(DeathForm.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 = "DeathForm."&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: 1px solid #CCCCCC" cellpadding="0" cellspacing="0"
            width="100%" height="100%">
            <tr>
                <td colspan="2" valign="bottom" height="30px" align="left">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
                                <b><i><cfoutput>#DeathForm.First_Name_M0040#</cfoutput>
								 <cfoutput>#DeathForm.Last_Name_M0040#</cfoutput></i></b>
                            </td>
                            <td width="40%" align="center" style="font-family: Arial; font-size: 14px;">
                                <b><i>9 - Discharge</i></b>
                            </td>
                            <td width="20%" align="right" style="font-family: Arial; font-size: 14px;">
                                <b><i>Completed</i></b>
                            </td>
                            <td width="20%" align="left" style="padding-left: 20px; font-family: Arial; font-size: 14px;">
							<b><i><cfoutput>#DateFormat(DeathForm.Assessment_Completed_M0090,"mm/dd/yyyy")#</cfoutput></i></b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <!---<tr>
                <td colspan="2" height="10px">
                </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;">
				Signed by patient/legal representative as reviewed:
				</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;">
				Patient/Representative name ________________________________________________ Date: ________________________
				</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;">
				Patient/Representative name printed _______________________________________________________________________
				</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;">
				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>--->  &nbsp;&nbsp;     Physician Signature: ____________________________________________________
				</td>
			 </tr>
			 </cfif>
            <tr>
                <td colspan="2" height="450px">
                </td>
            </tr>
            <tr>
                <td colspan="2" style="border: 1px solid #CCCCCC;">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="font-family: Arial; font-size: 12px;">
                    Discharge Page <cfoutput>#page_num#</cfoutput>
                </td>
            </tr>
            <tr>
                <td colspan="2" height="10px">
                </td>
            </tr>
        </table>
	
		</cfdocument>