--Annual in home performance Form in patient Tab


INSERT INTO `forms` (`id`, `form_name`, `form_data`) VALUES
(75, 'annual-in-home-aide-supervision', '{\"formSections\":[{\"id\":\"user-form-settings\",\"componentType\":\"form\",\"component\":{\"ajax\":\"false\",\"attr\":\"novalidate\",\"framework\":\"bs4\",\"iconFont\":\"fontawesome5\",\"iconFontUrl\":\"//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.3.1/css/all.min.css\",\"id\":\"fg-form\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}},{\"id\":\"905x4aai89igl9m56iwj\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Name\",\"name\":\"name\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ay4i7r2tk0fxs2km587pjc\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Title\",\"name\":\"name_title\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"xrz0vsb10b8w79wbmwji4\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":3,\"label\":\"Date of Hire\",\"name\":\"date_of_hire\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"8z7c0ve1y75uugm5xlgc1b\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":4,\"label\":\"Date of Visit\",\"name\":\"date_of_visit\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"9jkqloctiv9xpwq9l7adlk\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":14,\"label\":\"Time of Visit\",\"name\":\"time_of_visit\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"bfa6khtqk6y0vown0wch\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"NOT APPLICABLE\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":1,\"inline\":\"true\",\"label\":\"Demonstrates respect for patients rights, privacy and confidentiality\",\"name\":\"demonstrates_respect_for_patients_rights_privacy_and_confidentiality\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"rb8c5j1mqwhr5b7ucw6yf\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":6,\"label\":\"Comments\",\"name\":\"demonstrates_respect_for_patients_rights_privacy_and_confidentiality_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"5lc5bdjjjf946tz9prd1hp\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"NOT APPLICABLE\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":2,\"inline\":\"true\",\"label\":\"Demonstrates excellent rapport with patient and family members\",\"name\":\"demonstrates_excellent_rapport_with_patient_and_family_members\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"idmtgsh0jnmdliycb2k4q\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":7,\"label\":\"Comments\",\"name\":\"demonstrates_excellent_rapport_with_patient_and_family_members_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"qxudz0r4xtwibdrfksgt\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"NOT APPLICABLE\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":3,\"inline\":\"true\",\"label\":\"Provides services as instructed in the Plan of Care\",\"name\":\"provides_services_as_instructed_in_the_plan_of_care\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"6jmv7t3zdgprmcq1kocqzl\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":8,\"label\":\"Comments\",\"name\":\"provides_services_as_instructed_in_the_plan_of_care_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"l5dxflvf6bijh1rew8gwd\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"value-3\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":4,\"inline\":\"true\",\"label\":\"Demonstrates knowledge of infection control such as Standard/Universal Precautions\",\"name\":\"demonstrates_knowledge_of_infection_control_such_as_standard_universal_precautions\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"ohsp67qsy23mofjun5po9\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":9,\"label\":\"Comments\",\"name\":\"demonstrates_knowledge_of_infection_control_such_as_standard_universal_precautions_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"naxir8rkuqe7g4arfm4r7\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"NOT APPLICABLE\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":5,\"inline\":\"true\",\"label\":\"Demonstrates competency in providing care\",\"name\":\"demonstrates_competency_in_providing_care\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"jd17bskyrokjns1huuynpg\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":10,\"label\":\"Comments\",\"name\":\"demonstrates_competency_in_providing_care_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"lfm57wd5rysqipsgl0hui\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"NOT APPLICABLE\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":6,\"inline\":\"true\",\"label\":\"Documentation is clear timely and accurate\",\"name\":\"documentation_is_clear_timely_and_accurate\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"an4kd91v8ben852kprylwr\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":11,\"label\":\"Comments\",\"name\":\"documentation_is_clear_timely_and_accurate_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"7eirati3t2rt7fkst2flxb\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"SATISFACTORY\",\"value\":\"SATISFACTORY\"},{\"index\":2,\"text\":\"UNSATISFACTORY\",\"value\":\"UNSATISFACTORY\"},{\"index\":3,\"text\":\"NOT APPLICABLE\",\"value\":\"NOT APPLICABLE\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":7,\"inline\":\"true\",\"label\":\"Wearing agency photo ID\",\"name\":\"wearing_agency_photo_id\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"b4mym7u67xcirnv39hz7y\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":12,\"label\":\"Comments\",\"name\":\"wearing_agency_photo_id_comments\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"qvpr9tlzio4adt6o3n8sf\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Treatments/Procedures Observed\",\"name\":\"treatments_procedures_observed\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ngqv2rbq980ny048gfiwc\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Comments/Recommendations\",\"name\":\"comments_recommendations\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"7wioj3znldjmjwy4xyi09\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":13,\"label\":\"Name of Supervisor\",\"name\":\"name_of_supervisor\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"e2lmrs9rko6hkfkyrhfl5r\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":14,\"label\":\"Title\",\"name\":\"supervisor_title\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}}],\"uiForm\":{\"attr\":\"novalidate\",\"id\":\"fg-form\",\"layout\":\"horizontal\"},\"userForm\":{\"ajax\":\"false\",\"attr\":\"novalidate\",\"framework\":\"bs4\",\"iconFont\":\"fontawesome5\",\"iconFontUrl\":\"//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.3.1/css/all.min.css\",\"id\":\"fg-form\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}}');




INSERT INTO `form_template_mapping` (`id`, `form_name`, `template_id`) VALUES (NULL, 'annual-in-home-aide-supervision', '75');

ALTER TABLE `patient_details_step2` ADD `annual_in_home_performance` TEXT NOT NULL AFTER `designate_email`;