teachplan_component = CreateObject("Component", "teachplan"); get_Teach_diagnoses = teachplan_component.Get_Teach_diagnoses_list_employee(patient_id="#url.patient_id#", AgencyID="#session.AgencyID#", assessment_id="#url.assessment_id#"); Groupby_Teach_diagnoses = teachplan_component.Groupby_Teach_diagnoses_list(patient_id="#url.patient_id#", AgencyID="#session.AgencyID#", assessment_id="#url.assessment_id#");
Teaching Plan for
#get_Teach_diagnoses.First_Name_M0040# #get_Teach_diagnoses.Last_Name_M0040#
Start of CareRecertificationResumption#get_Teach_diagnoses.Assessment_Reason_M0100# #DateFormat(get_Teach_diagnoses.Assessment_Completed_M0090,"mm/dd/yy")#

Prepared by #get_Teach_diagnoses.Employee_First_Name# #get_Teach_diagnoses.Employee_Last_Name#

TABLE OF CONTENTS
Groupby_DiagnosesList = teachplan_component.Group_Diagnoses_list(patient_id="#url.patient_id#", AgencyID="#session.AgencyID#", assessment_id="#url.assessment_id#",Pathway_type="#path_type#");
Diet - #Groupby_DiagnosesList.Dg_Diagnosis# DME/supplies - #Groupby_DiagnosesList.Dg_Diagnosis# #Groupby_DiagnosesList.Dg_Diagnosis#
get_TeachSkills_type_1 = teachplan_component.Pathway_ID_based(Patient_ID="#Groupby_DiagnosesList.Dg_Patient_ID#", Assessment_ID="#Groupby_DiagnosesList.Dg_Assessment_ID#", Diagnosis_ID="#Groupby_DiagnosesList.Dg_id#",ICD="#Groupby_DiagnosesList.Dg_ICD#",sym_prev="1"); SELECT * FROM #Request.prefix_db_agency#.Teaching_Skills WHERE Diagnosis_ID= AND Patient_ID= AND Assessment_ID= AND ICD= AND Deleted=0 AND Pathway_Type NOT LIKE 'goal%' AND Pathway_Type NOT LIKE 'intervention%' AND Pathway_Type NOT LIKE 'Source%' AND Pathway_ID <> 0 AND Pathway_Type = '#get_TeachSkills_type_1.Pathway_Type#' OR ( Pathway_Type = 'Title' AND Step_ID=129 AND Line_ID=0 AND Diagnosis_ID = AND Pathway_ID <> 0 ) OR ( Pathway_Type = 'Title' AND Step_ID=0 AND Line_ID=0 AND Diagnosis_ID = AND Pathway_ID <> 0 ) ORDER BY Order_ID ASC
#get_TeachSkills_alldata_1.Explanation#
Groupby_DiagnosesList = teachplan_component.Group_Diagnoses_list(patient_id="#url.patient_id#", AgencyID="#session.AgencyID#", assessment_id="#url.assessment_id#",Pathway_type="#path_type#");
#Groupby_DiagnosesList.Dg_Diagnosis#
get_TeachSkills_type = teachplan_component.Pathway_ID_based(Patient_ID="#Groupby_DiagnosesList.Dg_Patient_ID#", Assessment_ID="#Groupby_DiagnosesList.Dg_Assessment_ID#", Diagnosis_ID="#Groupby_DiagnosesList.Dg_id#",ICD="#Groupby_DiagnosesList.Dg_ICD#");

SELECT * FROM #Request.prefix_db_agency#.Teaching_Skills WHERE Diagnosis_ID= AND Patient_ID= AND Assessment_ID= AND ICD= AND Deleted=0 AND Pathway_Type NOT LIKE 'goal%' AND Pathway_Type NOT LIKE 'intervention%' AND Pathway_Type NOT LIKE 'Source%' AND Pathway_ID <> 0 AND Pathway_Type = '#get_TeachSkills_type.Pathway_Type#' OR ( Pathway_Type = 'Title' AND Step_ID=129 AND Line_ID=0 AND Diagnosis_ID = AND Pathway_ID <> 0 ) OR ( Pathway_Type = 'Title' AND Step_ID=0 AND Line_ID=0 AND Diagnosis_ID = AND Pathway_ID <> 0 )
#UCase(get_TeachSkills_alldata.Explanation)#
#UCase(get_TeachSkills_alldata.Explanation)#
#get_TeachSkills_alldata.Explanation#
#get_TeachSkills_alldata.Explanation# #get_TeachSkills_alldata.Explanation#
Teaching Plan for #get_Teach_diagnoses.First_Name_M0040# #get_Teach_diagnoses.Last_Name_M0040#
prepared by #get_Teach_diagnoses.Employee_First_Name# #get_Teach_diagnoses.Employee_Last_Name#
page #cfdocument.currentpagenumber#

Cannot be reloaded. Please go back to coding wizard reportdashboard and please print report once again