1 CREATE TABLE `form_prosthesis` (
2 `id` int(11) NOT NULL auto_increment,
3 `pid` int(11) default NULL,
4 `activity` tinyint(4) NOT NULL default '0',
5 `date` datetime NOT NULL default '0000-00-00 00:00:00',
6 `therapist` varchar(255) default NULL,
7 `involvement_left` tinyint(1) default NULL,
8 `involvement_right` tinyint(1) default NULL,
9 `involvement_bilateral` tinyint(1) default NULL,
10 `location` varchar(40) default NULL,
11 `diagnosis` varchar(255) default NULL,
12 `hx` varchar(255) default NULL,
13 `worn_le_past_five` tinyint(1) default NULL,
14 `model` varchar(30) default NULL,
15 `size` varchar(35) default NULL,
16 `new` tinyint(1) default NULL,
17 `replacement` tinyint(1) default NULL,
18 `foam_impressions` tinyint(1) default NULL,
19 `shoe_size` varchar(15) default NULL,
20 `calf` varchar(10) default NULL,
21 `ankle` varchar(10) default NULL,
22 `purpose` varchar(30) default NULL,
23 `purpose_other` varchar(255) default NULL,
24 `notes` varchar(255) default NULL,
25 `goals_discussed` tinyint(1) default NULL,
26 `use_reviewed` tinyint(1) default NULL,
27 `wear_reviewed` tinyint(1) default NULL,
28 `worn_years` tinyint(3) default NULL,
29 `age_months` tinyint(2) default NULL,
30 `age_years` tinyint(2) default NULL,
31 `wear_hours` tinyint(2) default NULL,
32 `plan_to_order` tinyint(1) default NULL,
33 `plan_to_order_date` varchar(10) default NULL,
34 `received_product` tinyint(1) default NULL,
35 `received_product_date` varchar(10) default NULL,
36 `given_instructions` tinyint(1) default NULL,
37 `patient_understands` tinyint(1) default NULL,