/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES tis620 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
DROP TABLE IF EXISTS `allergy_relation`;
CREATE TABLE `allergy_relation` (
  `allergy_relation_id` int(11) NOT NULL,
  `relation_name` varchar(250) NOT NULL,
  `hos_guid` varchar(38) DEFAULT NULL,
  PRIMARY KEY (`allergy_relation_id`),
  UNIQUE KEY `ix_relation_name` (`relation_name`),
  KEY `ix_hos_guid` (`hos_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=tis620;

LOCK TABLES `allergy_relation` WRITE;
/*!40000 ALTER TABLE `allergy_relation` DISABLE KEYS */;
INSERT INTO `allergy_relation` VALUES
  (1, '1 - Certain', NULL),
  (2, '2 - Probable', NULL),
  (3, '3 - Possible', NULL),
  (4, '4 - Unlikely', NULL),
  (5, '5 - Unclassifled', NULL),
  (6, '', NULL);
/*!40000 ALTER TABLE `allergy_relation` ENABLE KEYS */;
UNLOCK TABLES;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
