Therapy groups fixes (#1326)
[openemr.git] / interface / forms / group_attendance / table.sql
blob1f12d6a2f157a9099d568b96d02807801873afe8
1 CREATE TABLE IF NOT EXISTS `form_group_attendance` (
2   `id` bigint(20) NOT NULL auto_increment,
3   `date` date NOT NULL ,
4   `group_id` int(11),
5   `user` varchar(255) default NULL,
6   `groupname` varchar(255) default NULL,
7   `authorized` tinyint NOT NULL ,
8   `encounter_id` int(11),
9   `activity` tinyint(4) default NULL,
10   PRIMARY KEY (`id`)
11 ) ENGINE=InnoDB;
12 # enable form to therapy group and not for patient
13 UPDATE `registry` SET `category` = 'Clinical' ,`patient_encounter`= 0 , `therapy_group_encounter`= 1 WHERE `directory` = 'group_attendance';