1 CREATE TABLE IF NOT EXISTS form_individual_treatment_plan (
2 id bigint(20) NOT NULL auto_increment,
3 date datetime default NULL,
4 pid bigint(20) default NULL,
5 user varchar(255) default NULL,
6 groupname varchar(255) default NULL,
7 authorized tinyint(4) default NULL,
8 activity tinyint(4) default NULL,
9 date_of_referal date default NULL,
10 dcn varchar(20) default NULL,
11 icd9 varchar(5) default NULL,
12 prognosis varchar(20) default NULL,
13 diagnosis_description longtext,
14 presenting_problem longtext,
15 frequency varchar(10) default NULL,
16 duration varchar(10) default NULL,
17 scope varchar(10) default NULL,
18 short_term_goals_1 varchar(40) default NULL,
19 time_frame_1 varchar(15) default NULL,
20 short_term_goals_2 varchar(40) default NULL,
21 time_frame_2 varchar(15) default NULL,
22 short_term_goals_3 varchar(40) default NULL,
23 time_frame_3 varchar(15) default NULL,
24 long_term_goals longtext,
25 discharge_criteria longtext,
26 individual_family_therapy varchar(3) NOT NULL default 'N/A',
27 substance_abuse varchar(3) NOT NULL default 'N/A',
28 group_therapy varchar(3) NOT NULL default 'N/A',
29 parenting varchar(3) NOT NULL default 'N/A',
30 action_steps_by_supports longtext,
31 other_supports_name_1 varchar(35) default NULL,
32 other_supports_name_2 varchar(35) default NULL,
33 other_supports_contact_1 varchar(35) default NULL,
34 other_supports_contact_2 varchar(35) default NULL,
35 medications_1 varchar(40) default NULL,
36 medications_2 varchar(40) default NULL,
37 referrals_1 varchar(40) default NULL,
38 referrals_2 varchar(40) default NULL,