@@ -5,3 +5,186 @@ Customizations for app.swissmedhealth.com
5
5
#### License
6
6
7
7
MIT
8
+
9
+ ### How to drop unused columns
10
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_symptoms_duration ` ;
11
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_symptoms_restrict_daily_life ` ;
12
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_weight ` ;
13
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_height ` ;
14
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_blood_group ` ;
15
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_blood_pressure ` ;
16
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_physical_activity ` ;
17
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_specific_sports_enjoyed ` ;
18
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_relaxing_activity ` ;
19
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_relaxing_activity_details ` ;
20
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_diet_preferences ` ;
21
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_diet_preference_details ` ;
22
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_pacemaker ` ;
23
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_having_allergies ` ;
24
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_alergies ` ;
25
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_anorexia ` ;
26
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_asthma ` ;
27
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_breathing_difficulties ` ;
28
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_bulimia ` ;
29
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_chronic_bronchitis ` ;
30
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_diabetes ` ;
31
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_epilepsy ` ;
32
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_excessive_bleeding ` ;
33
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_fainting_attacks ` ;
34
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_heart_complaint ` ;
35
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_heart_surgery ` ;
36
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_hepatitis ` ;
37
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_high_blood_pressure ` ;
38
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_kidney_failure ` ;
39
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_migraines ` ;
40
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_bladder ` ;
41
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_chronic_diseasecancer ` ;
42
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_gallbladder ` ;
43
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_gut ` ;
44
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_kidneys ` ;
45
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_liver ` ;
46
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_lungs ` ;
47
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_prostate ` ;
48
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_spleen ` ;
49
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_stomach ` ;
50
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_thyroid ` ;
51
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_urogenital_system ` ;
52
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_rheumatic_fever ` ;
53
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_stroke ` ;
54
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_medication_allergies ` ;
55
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_medication_allergies_details ` ;
56
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_taking_medications ` ;
57
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_medications ` ;
58
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_surgical_history ` ;
59
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_surgical_history ` ;
60
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_accidents ` ;
61
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_accidents ` ;
62
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_hydrocortisone_or_corticosteroids ` ;
63
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_hydrocortisone_or_corticosteroids ` ;
64
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_hiv_positive ` ;
65
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_hiv_details ` ;
66
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_operation_ceramic_or_titanium ` ;
67
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_operation_ceramic_or_titanium ` ;
68
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_amalgam_fillings ` ;
69
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_amalgam_fillings ` ;
70
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_root_canals ` ;
71
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_root_canals_details ` ;
72
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_perform__mri ` ;
73
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_mri_details ` ;
74
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_medical_diagnostic_tests ` ;
75
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_medical_diagnostic_tests_details ` ;
76
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_do_you_smoke ` ;
77
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_daily_number_of_cigarettes ` ;
78
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_do_you_consume_alcohol ` ;
79
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_alcohol_details_of_weekly_consumption ` ;
80
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_food_intolerances ` ;
81
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_food_intolerances_details ` ;
82
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_take_supplements ` ;
83
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_supplements ` ;
84
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_covid19_vaccination ` ;
85
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_covid19_vaccination_details ` ;
86
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_have_adverse_reactions_to_vaccinations ` ;
87
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_reactions_vaccinations ` ;
88
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_do_you_tend_to_feel ` ;
89
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_daily_bowel_movements ` ;
90
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_sleep_easily ` ;
91
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_night_pee ` ;
92
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_gdpr_notice ` ;
93
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_accept_registration ` ;
94
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_accept_personal_data ` ;
95
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_accept_communication ` ;
96
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_signature ` ;
97
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_date ` ;
98
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_symptoms ` ;
99
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_custom_amalgan_fillings_past ` ;
100
+ ALTER TABLE ` tabLead ` DROP COLUMN ` custom_custom_root_canals_past ` ;
101
+
102
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_symptoms_duration ` ;
103
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_symptoms_restrict_daily_life ` ;
104
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_weight ` ;
105
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_height ` ;
106
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_blood_group ` ;
107
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_blood_pressure ` ;
108
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_physical_activity ` ;
109
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_specific_sports_enjoyed ` ;
110
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_relaxing_activity ` ;
111
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_relaxing_activity_details ` ;
112
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_diet_preferences ` ;
113
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_diet_preference_details ` ;
114
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_pacemaker ` ;
115
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_having_allergies ` ;
116
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_alergies ` ;
117
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_anorexia ` ;
118
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_asthma ` ;
119
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_breathing_difficulties ` ;
120
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_bulimia ` ;
121
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_chronic_bronchitis ` ;
122
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_diabetes ` ;
123
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_epilepsy ` ;
124
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_excessive_bleeding ` ;
125
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_fainting_attacks ` ;
126
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_heart_complaint ` ;
127
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_heart_surgery ` ;
128
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_hepatitis ` ;
129
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_high_blood_pressure ` ;
130
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_kidney_failure ` ;
131
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_migraines ` ;
132
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_bladder ` ;
133
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_chronic_diseasecancer ` ;
134
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_gallbladder ` ;
135
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_gut ` ;
136
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_kidneys ` ;
137
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_liver ` ;
138
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_lungs ` ;
139
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_prostate ` ;
140
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_spleen ` ;
141
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_stomach ` ;
142
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_thyroid ` ;
143
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_urogenital_system ` ;
144
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_rheumatic_fever ` ;
145
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_stroke ` ;
146
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_medication_allergies ` ;
147
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_medication_allergies_details ` ;
148
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_taking_medications ` ;
149
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_medications ` ;
150
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_surgical_history ` ;
151
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_surgical_history ` ;
152
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_accidents ` ;
153
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_accidents ` ;
154
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_hydrocortisone_or_corticosteroids ` ;
155
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_hydrocortisone_or_corticosteroids ` ;
156
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_hiv_positive ` ;
157
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_hiv_details ` ;
158
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_operation_ceramic_or_titanium ` ;
159
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_operation_ceramic_or_titanium ` ;
160
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_amalgam_fillings ` ;
161
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_amalgam_fillings ` ;
162
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_root_canals ` ;
163
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_root_canals_details ` ;
164
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_perform__mri ` ;
165
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_mri_details ` ;
166
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_medical_diagnostic_tests ` ;
167
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_medical_diagnostic_tests_details ` ;
168
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_do_you_smoke ` ;
169
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_daily_number_of_cigarettes ` ;
170
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_do_you_consume_alcohol ` ;
171
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_alcohol_details_of_weekly_consumption ` ;
172
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_food_intolerances ` ;
173
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_food_intolerances_details ` ;
174
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_take_supplements ` ;
175
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_supplements ` ;
176
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_covid19_vaccination ` ;
177
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_covid19_vaccination_details ` ;
178
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_have_adverse_reactions_to_vaccinations ` ;
179
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_reactions_vaccinations ` ;
180
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_do_you_tend_to_feel ` ;
181
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_daily_bowel_movements ` ;
182
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_sleep_easily ` ;
183
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_night_pee ` ;
184
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_gdpr_notice ` ;
185
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_accept_registration ` ;
186
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_accept_personal_data ` ;
187
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_accept_communication ` ;
188
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_signature ` ;
189
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_date ` ;
190
+ ALTER TABLE ` tabPatient ` DROP COLUMN ` custom_symptoms ` ;
0 commit comments