Moving towards HTML5 and CSS3 compatibility. revision 2.
[openemr.git] / contrib / forms / treatment_protocols / table.sql
blob7e1a1b7483a29cb61b0918cdd3dd98e8bee4faab
1 # id is the form ID. Negative form IDs are used for the templates.
2 # (rownbr, colnbr) start at (0, 0) for cell data.  (-1, -1) is used for the
3 # template name.
5 # datatype is one of:
6 # 0 = unused cell
7 # 1 = static text
8 # 2 = checkbox
9 # 3 = text input
11 CREATE TABLE IF NOT EXISTS form_treatment_protocols (
12  id                int          NOT NULL,
13  rownbr            int          NOT NULL DEFAULT 0,
14  colnbr            int          NOT NULL DEFAULT 0,
15  datatype          tinyint      NOT NULL DEFAULT 0,
16  value             varchar(255) DEFAULT NULL,
17  PRIMARY KEY (id, rownbr, colnbr)
18 ) ENGINE=MyISAM;