refactor menu navigation (#7678)
[openemr.git] / contrib / forms / body_composition / table.sql
blobeb1ac27539602a3567c93eb286f2418f52d7530d
1 CREATE TABLE IF NOT EXISTS form_body_composition (
2  id          bigint(20)   NOT NULL auto_increment,
3  activity    tinyint(1)   NOT NULL DEFAULT 1, -- 0 if deleted
5  -- external
6  body_type                enum('Standard', 'Athletic'),
7  height                   float(6,2)      NOT NULL DEFAULT 0.00,
8  weight                   float(6,2)      NOT NULL DEFAULT 0.00,
10  -- body composition
11  bmi                      float(6,2)      NOT NULL DEFAULT 0.00,
12  bmr                      float(6,2)      NOT NULL DEFAULT 0.00,
13  impedance                float(6,2)      NOT NULL DEFAULT 0.00,
14  fat_pct                  float(6,2)      NOT NULL DEFAULT 0.00,
15  fat_mass                 float(6,2)      NOT NULL DEFAULT 0.00,
16  bps                      float(6,2)      NOT NULL DEFAULT 0.00,
17  bpd                      float(6,2)      NOT NULL DEFAULT 0.00,
18  ffm                      float(6,2)      NOT NULL DEFAULT 0.00,
19  tbw                      float(6,2)      NOT NULL DEFAULT 0.00,
21  -- other
22  other                    text,
24  PRIMARY KEY (id)
25 ) ENGINE=InnoDB;