Skip to content

Commit

Permalink
items added for injury form and referrals, and support for static tex…
Browse files Browse the repository at this point in the history
…t layout type
  • Loading branch information
sunsetsystems committed Jul 26, 2010
1 parent fc18ab5 commit 29e164d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sql/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ CREATE TABLE `layout_options` (
`datacols` tinyint(3) NOT NULL default '1',
`default_value` varchar(255) NOT NULL default '',
`edit_options` varchar(36) NOT NULL default '',
`description` varchar(255) NOT NULL default '',
`description` text,
PRIMARY KEY (`form_id`,`field_id`,`seq`)
) ENGINE=MyISAM;

Expand Down Expand Up @@ -2282,6 +2282,9 @@ CREATE TABLE `lists` (
`groupname` varchar(255) default NULL,
`outcome` int(11) NOT NULL default '0',
`destination` varchar(255) default NULL,
`reinjury_id` bigint(20) NOT NULL DEFAULT 0,
`injury_part` varchar(31) NOT NULL DEFAULT '',
`injury_type` varchar(31) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;

Expand Down Expand Up @@ -2984,6 +2987,7 @@ CREATE TABLE `transactions` (
`refer_vitals` tinyint(1) NOT NULL DEFAULT 0,
`refer_external` tinyint(1) NOT NULL DEFAULT 0,
`refer_related_code` varchar(255) NOT NULL DEFAULT '',
`refer_reply_date` date DEFAULT NULL,
`reply_date` date DEFAULT NULL,
`reply_from` varchar(255) NOT NULL DEFAULT '',
`reply_init_diag` varchar(255) NOT NULL DEFAULT '',
Expand All @@ -2993,6 +2997,7 @@ CREATE TABLE `transactions` (
`reply_services` text NOT NULL DEFAULT '',
`reply_recommend` text NOT NULL DEFAULT '',
`reply_rx_refer` text NOT NULL DEFAULT '',
`reply_related_code` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;

Expand Down

0 comments on commit 29e164d

Please sign in to comment.