2 -- Table structure for table `form_aftercare_plan`
5 CREATE TABLE IF NOT EXISTS `form_aftercare_plan` (
6 `id` bigint(20) NOT NULL AUTO_INCREMENT,
7 `date` datetime DEFAULT NULL,
8 `pid` bigint(20) DEFAULT NULL,
9 `user` varchar(255) DEFAULT NULL,
10 `provider` varchar(255) DEFAULT NULL,
11 `groupname` varchar(255) DEFAULT NULL,
12 `authorized` tinyint(4) DEFAULT NULL,
13 `activity` tinyint(4) DEFAULT NULL,
14 `client_name` varchar(255) DEFAULT NULL,
15 `admit_date` date DEFAULT NULL,
16 `discharged` date DEFAULT NULL,
17 `goal_a_acute_intoxication` text,
18 `goal_a_acute_intoxication_I` text,
19 `goal_a_acute_intoxication_II` text,
20 `goal_b_emotional_behavioral_conditions` text,
21 `goal_b_emotional_behavioral_conditions_I` text,
22 `goal_c_relapse_potential` text,
23 `goal_c_relapse_potential_I` text,