
INSERT INTO `forms` (`id`, `form_name`, `form_data`) VALUES 
(63, 'intake-sheet-template', '{\"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\":\"intake-sheet\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}},{\"id\":\"cqnm9hw7atntuamr0tauoi\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":28,\"label\":\"Primary MD\",\"name\":\"primary_md\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"e7n79p809awsfao2sdkse\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":29,\"label\":\"Primary MD address\",\"name\":\"primary_md_address\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"1dxawnw5enilq0nd8sirh\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":30,\"label\":\"Primary Diagnosis\",\"name\":\"primary_diagnosis\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"fry1cybru5hrb2omaxrh\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":31,\"label\":\"Secondary Diagnosis (es):\",\"name\":\"secondary_diagnosis\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"dgtpvaabnszw17ogna8ah\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":32,\"label\":\"Past Medical History\",\"name\":\"past_medical_history\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ht7v3ww5noo53nxfewvao5\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":33,\"label\":\"Hospitalizations (within past 6 month)\",\"name\":\"hospitalizations_within_6_month\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"73btc71sv2lsytc01k5a\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"NKDA\",\"value\":\"nkda\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":1,\"inline\":\"true\",\"label\":\"Allergies\",\"name\":\"allergies_nkda\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"mer0k30vrkg5hn1r3l1jy8\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"List Allergies\",\"name\":\"list_allergies\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"b6lzngjcc36j5iustn28s\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":34,\"label\":\"Immunizations current?\",\"name\":\"immunizations_current\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"6ks9ach14x96ari7geaf2a\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":1,\"inline\":\"true\",\"label\":\"Influenza\",\"name\":\"influenza\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"7jrcsxgqtqs0mpes9dzvwg\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":35,\"label\":\"Influenza Reason\",\"name\":\"influenza_reason\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ldbhycofuhe60z492j5p0d\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":2,\"inline\":\"true\",\"label\":\"Pneumococcal Vaccine\",\"name\":\"pneumococcal_vaccine\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"t7siyq0ybwrwms46a1qzn\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":36,\"label\":\"Pneumococcal Vaccine Reason\",\"name\":\"pneumococcal_vaccine_reason\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"5h41ekzf1ho8iyllfo1fof\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"PERS\",\"value\":\"pers\"},{\"index\":2,\"text\":\"911\",\"value\":\"911\"},{\"index\":3,\"text\":\"Other\",\"value\":\"other\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":3,\"inline\":\"true\",\"label\":\"In Case Of Emergency\",\"name\":\"in_case_emergency\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"yn8hezul8dwjt9m3n0uks\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":5,\"inline\":\"true\",\"label\":\"Advanced Directives In place? \",\"name\":\"advanced_directives_in_place\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"78qbltmjdzrk9m0a5yat2\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":41,\"label\":\"Indicate\",\"name\":\"indicate\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"zk2wjjfzzud70hpsbtwou\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":6,\"inline\":\"true\",\"label\":\"Copy obtained? \",\"name\":\"copy_obtained\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"07nhp6kkjhhhnyn52gj7sz\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":3,\"inline\":\"true\",\"label\":\"Copy Requested\",\"name\":\"copy_requested\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"tifd8qsuxnmajg48mi7c\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Client Name\",\"name\":\"client_name\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"r5oao8p98f7yujmumq188\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Date Of Birth\",\"name\":\"date_of_birth\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"l1rarzzew85navdswx92w\",\"componentType\":\"textarea\",\"component\":{\"componentType\":\"textarea\",\"helper\":\"\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Address\",\"name\":\"address\",\"placeholder\":\"\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"dzaasdzsnz5n5og9s9lb\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":3,\"label\":\"Telephone\",\"name\":\"telephone\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"vxhq6dlzrkc8inu8yra1s\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":4,\"label\":\"Alternate Telephone\",\"name\":\"alternate_telephone\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ou3d2b1nhtkc52r1rbja\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":7,\"label\":\"Contract\",\"name\":\"contract\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"4fdx128iytd1m2q707g9r3\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":8,\"label\":\"Date of Authorization and Auth Number\",\"name\":\"date_authorization_and_auth_number\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"pvfzn9vqvantaro2j09uem\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":9,\"label\":\"Start of Care Date\",\"name\":\"start_care_date\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"hwwr5tuasq7fk1b2tdqyff\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":10,\"label\":\"Special Needs or Requests\",\"name\":\"special_needs_requests\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"ve9hmsgi68jb4a3nco99\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":6,\"inline\":\"true\",\"label\":\"Pets\",\"name\":\"pets\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"hq795xh5f6igwm23we7m1o\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":11,\"label\":\"Pets Type \",\"name\":\"pets_type\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"i7ii5hyyaxrk6eu1d94h\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":7,\"inline\":\"true\",\"label\":\"Smoking\",\"name\":\"smoking\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"1g9px2z752992vi6w8lv1u\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Yes\",\"value\":\"yes\"},{\"index\":2,\"text\":\"No\",\"value\":\"no\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":8,\"inline\":\"true\",\"label\":\"Ambulatory\",\"name\":\"ambulatory\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"tvmaeyywnt3uwzekl3s4a\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":14,\"label\":\"Any equipment used in the home such as cane, walker, wheelchair, oxygen, Hoyer lift etc.?\",\"name\":\"any_equipment_used_in_home\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"rb8eptosaeotzow9r3jfwe\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":15,\"label\":\"Agency Name\",\"name\":\"agency_name\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"jmsdgdj4j6rgh1chs862ue\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":16,\"label\":\"Agency Telephone\",\"name\":\"agency_telephone\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"jtl8ai9p39hj87bry83zt\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":17,\"label\":\"Agency Fax\",\"name\":\"agency_fax\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"1ucekpzuhtxv0dy6v0pzw\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":18,\"label\":\"Agency Email\",\"name\":\"agency_email\",\"placeholder\":\"\",\"type\":\"email\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"rhziwm3zl4eyc3imf5rl5\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":19,\"label\":\"Order taken by \",\"name\":\"order_taken_by\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"66%\"}},{\"id\":\"sujm9l7jvgrf0c0vxihq0o\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":20,\"label\":\"Date\",\"name\":\"order_taken_date\",\"placeholder\":\"\",\"type\":\"date\",\"value\":\"\",\"width\":\"33%\"}},{\"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\":\"\"}}],\"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 (48, 'intake-sheet-form', '63');
ALTER TABLE `patient_report` ADD `intake_sheet` TEXT NULL AFTER `assessment_type`;