wecuro_blog/docs/cpro-forms-alter-sql/02-08-2023/wecuro-sng-cardiovascular.sql

22 lines
12 KiB
SQL
Executable File

UPDATE `forms` SET `form_data` = '{\"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\":\"cardiovascular-form\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}},{\"id\":\"90uir3ftq7v53piuia2qof\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Orthopnea\",\"value\":\"Orthopnea\"},{\"index\":3,\"text\":\"Diaphoresis\",\"value\":\"Diaphoresis\"},{\"index\":4,\"text\":\"Shortness Of Breath\",\"value\":\"Shortness Of Breath\"},{\"index\":5,\"text\":\"Palpitations\",\"value\":\"Palpitations\"},{\"index\":6,\"text\":\"Fatigue\",\"value\":\"Fatigue\"},{\"index\":7,\"text\":\"Restlessness\",\"value\":\"Restlessness\"}],\"attr\":[],\"clazz\":\"\",\"index\":1,\"inline\":\"true\",\"label\":\"CARDIOVASCULAR\",\"name\":\"CARDIOVASCULAR\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"juc1mzku4zkcusiaf7wsn\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"Good (< 3 Seconds)\",\"value\":\"Good (< 3 Seconds)\"},{\"index\":2,\"text\":\"Fair (3-5 Seconds)\",\"value\":\"Fair (3-5 Seconds)\"},{\"index\":3,\"text\":\"Poor (> 5 Seconds)\",\"value\":\"Poor (> 5 Seconds)\"}],\"attr\":[],\"clazz\":\"\",\"index\":1,\"inline\":\"true\",\"label\":\"Peripheral Capillary Refill\",\"name\":\"Peripheral_Capillary_Refill\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"l1b5x0kdh14lmp3mltfm\",\"componentType\":\"title\",\"component\":{\"componentType\":\"title\",\"clazz\":\"\",\"index\":1,\"type\":\"h4\",\"value\":\"Peripheral Vascular\"}},{\"id\":\"4vtufuxjbx60iugkb5sq71\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Faint\",\"value\":\"Faint\"},{\"index\":3,\"text\":\"Absent\",\"value\":\"Absent\"}],\"attr\":[{\"name\":\"required\",\"value\":\"required\"}],\"clazz\":\"\",\"index\":2,\"inline\":\"true\",\"label\":\"Pedal Pulses\",\"name\":\"Pedal_Pulses\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"y6sh8cs0rx8xr9djrsgyl\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Decreased\",\"value\":\"Decreased\"},{\"index\":3,\"text\":\"Numbness\",\"value\":\"Numbness\"},{\"index\":4,\"text\":\"Tangling\",\"value\":\"Tangling\"}],\"attr\":[{\"name\":\"required\",\"value\":\"required\"}],\"clazz\":\"\",\"index\":3,\"inline\":\"true\",\"label\":\"Sensation\",\"name\":\"Sensation\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"qb07ucbiagqeijbiclogfm\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Ruddy\",\"value\":\"Ruddy\"},{\"index\":3,\"text\":\"Cyanotic\",\"value\":\"Cyanotic\"},{\"index\":4,\"text\":\"Other\",\"value\":\"Other\"}],\"attr\":[{\"name\":\"required\",\"value\":\"required\"}],\"clazz\":\"\",\"index\":4,\"inline\":\"true\",\"label\":\"Color\",\"name\":\"color\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"dn53uyqdircchybezaa6xm\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Warm\",\"value\":\"Warm\"},{\"index\":3,\"text\":\"Cool\",\"value\":\"Cool\"}],\"attr\":[{\"name\":\"required\",\"value\":\"required\"}],\"clazz\":\"\",\"index\":5,\"inline\":\"true\",\"label\":\"Temperature\",\"name\":\"Temperature\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"t364skvad5iis6c2s607wc\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"None\",\"value\":\"None\"},{\"index\":2,\"text\":\"Pitting\",\"value\":\"Pitting\"},{\"index\":3,\"text\":\"Non-Pitting\",\"value\":\"Non-Pitting\"},{\"index\":4,\"text\":\"Mild\",\"value\":\"Mild\"},{\"index\":5,\"text\":\"Moderate\",\"value\":\"Moderate\"},{\"index\":6,\"text\":\"Severe\",\"value\":\"Severe\"}],\"attr\":[],\"clazz\":\"\",\"index\":6,\"inline\":\"true\",\"label\":\"Edema\",\"name\":\"Edema\",\"value\":\"\",\"width\":\"100%\"}},{\"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\":\"\"}}' WHERE `forms`.`id` = 16;
INSERT INTO `forms` (`id`, `form_name`, `form_data`) VALUES
(65, 'cardiovascular-heart', '{\"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\":\"cardiovascular-heart\",\"layout\":\"horizontal\",\"plugins\":[],\"aftervalidation\":\"\",\"redirectUrl\":\"\",\"senderEmail\":\"\",\"recipientEmail\":\"\",\"subject\":\"\",\"senderName\":\"\",\"replyToEmail\":\"\",\"sentMessage\":\"\",\"dbTable\":\"\",\"dbPrimary\":\"\",\"dbFilter\":\"\"}},{\"id\":\"bvvqjlmivb6zaz5fxbs5h\",\"componentType\":\"checkbox\",\"component\":{\"componentType\":\"checkbox\",\"helper\":\"\",\"plugins\":[],\"checkboxes\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Pacemaker\",\"value\":\"Pacemaker\"},{\"index\":3,\"text\":\"Palpitation\",\"value\":\"Palpitation\"},{\"index\":4,\"text\":\"Fatigue\",\"value\":\"Fatigue\"},{\"index\":5,\"text\":\"Stents\",\"value\":\"Stents\"},{\"index\":6,\"text\":\"Other\",\"value\":\"Other\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":1,\"inline\":\"true\",\"label\":\"Heart\",\"name\":\"heart\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"9zu6xzcyv17o54x4x5awhe\",\"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\":\"Chest Pain\",\"name\":\"chest_pain\",\"value\":\"yes\",\"width\":\"100%\"}},{\"id\":\"r7twurqahmq4cdr2qf3vqz\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":1,\"label\":\"Chest Pain Location\",\"name\":\"chest_pain_location\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"dndwsywukvr3a2xzgdit\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":2,\"label\":\"Chest Pain Frequency\",\"name\":\"chest_pain_frequency\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"u5pyx8nwes8oeshrwjw2k\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":3,\"label\":\"Chest Pain Duration\",\"name\":\"chest_pain_duration\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"hxx28ssl5bfymau1w0m8e\",\"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\":\"Associated With Activity\",\"name\":\"associated_with_activity\",\"value\":\"yes\",\"width\":\"100%\"}},{\"id\":\"1zb0nrq9mttsni2zhbrkw9\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":4,\"label\":\"Measures to relieve\",\"name\":\"measures_to_relieve\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"7t8ezlmpx18ejrd8felri\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"WNL\",\"value\":\"WNL\"},{\"index\":2,\"text\":\"Equal Bilaterally\",\"value\":\"Equal Bilaterally\"},{\"index\":3,\"text\":\"Bounding\",\"value\":\"Bounding\"},{\"index\":4,\"text\":\"Diminished\",\"value\":\"Diminished\"},{\"index\":5,\"text\":\"No palpable\",\"value\":\"No palpable\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":3,\"inline\":\"true\",\"label\":\"Pulses\",\"name\":\"pulses\",\"value\":\"\",\"width\":\"100%\"}},{\"id\":\"rj7j4joopugcemy8kfjv3\",\"componentType\":\"radio\",\"component\":{\"componentType\":\"radio\",\"helper\":\"\",\"plugins\":[],\"radioButtons\":[{\"index\":1,\"text\":\"None\",\"value\":\"none\"},{\"index\":2,\"text\":\"Restricted\",\"value\":\"restricted\"}],\"attr\":[{\"name\":\"class\",\"value\":\"fstfdt6tsrt\"}],\"clazz\":\"fstfdt6tsrt\",\"index\":4,\"inline\":\"true\",\"label\":\"Fluid Restriction\",\"name\":\"fluid_restriction\",\"value\":\"none\",\"width\":\"100%\"}},{\"id\":\"i5m1ld41heqsiapg0af2\",\"componentType\":\"input\",\"component\":{\"componentType\":\"input\",\"helper\":\"\",\"icon\":\"\",\"iconPosition\":\"before\",\"plugins\":[],\"attr\":[],\"clazz\":\"\",\"index\":5,\"label\":\"Fluid Restricted To(oz /ml/cups per day)\",\"name\":\"fluid_restricted_to\",\"placeholder\":\"\",\"type\":\"text\",\"value\":\"\",\"width\":\"100%\"}},{\"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 (NULL, 'cardiovascular-heart', '65');