-- Medication Management Form in Medication Tab


INSERT INTO `forms` (`id`, `form_name`, `form_data`) VALUES(69, 'medication-management', '{\"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\":\"medication-management\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}},{\"id\":\"vkgp5zfys8qgkddjsz4v0o\",\"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\":\"Oral medications?\",\"name\":\"oral_medications\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"g6h5ck1c9wmtxn3nl211en\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"If no, indicate who Is responsible\",\"name\":\"oral_medication_responsible\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"42dptzcrflggow4no34b8v\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"N/A\",\"value\":\"N/A\"},{\"index\":2,\"text\":\"Yes\",\"value\":\"Yes\"},{\"index\":3,\"text\":\"No\",\"value\":\"No\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":2,\"inline\":\"true\",\"label\":\"Injection medications?\",\"name\":\"injection_medications\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"df97hhyps2qlhjwzcaa5g\",\"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\":3,\"inline\":\"true\",\"label\":\"Does Patient require medication pre-pour? \",\"name\":\"does_patient_require_medication_pre_pour\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"8uay7cb7r0a94z947q37if\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Who is responsible?\",\"name\":\"patient_require_medication_pre_pour_responsible\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"50%\"}},{\"id\":\"8rsgg4y0tvqxwzqsdlautr\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Takes meds as prescribed takes meds as prescribed\",\"value\":\"Takes meds as prescribed takes meds as prescribed\"},{\"index\":2,\"text\":\"Sometimes falls to comply\",\"value\":\"Sometimes falls to comply\"},{\"index\":3,\"text\":\"Non-compliant\",\"value\":\"Non-compliant\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":4,\"inline\":\"true\",\"label\":\"Medication compliance as reported by patient\",\"name\":\"medication_compliance_reported_patient\",\"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, 'medication-management', '69');



