/*!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 `er_emergency_type`;
CREATE TABLE `er_emergency_type` (
  `er_emergency_type` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(50) DEFAULT NULL,
  `hos_guid` varchar(38) DEFAULT NULL,
  `hos_guid_ext` varchar(64) DEFAULT NULL,
  `export_code` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`er_emergency_type`),
  KEY `er_emergency_type` (`er_emergency_type`),
  KEY `ix_name` (`name`),
  KEY `ix_hos_guid` (`hos_guid`),
  KEY `ix_hos_guid_ext` (`hos_guid_ext`)
) ENGINE=InnoDB DEFAULT CHARSET=tis620;

LOCK TABLES `er_emergency_type` WRITE;
/*!40000 ALTER TABLE `er_emergency_type` DISABLE KEYS */;
INSERT INTO `er_emergency_type` VALUES
  (1, '1 - Resuscitation (ÇÔ¡Äµ)', NULL, NULL, '1'),
  (2, '2 - Emergent (©Ø¡à©Ô¹ÁÒ¡)', NULL, NULL, '2'),
  (3, '3 - Urgent (©Ø¡à©Ô¹)', NULL, NULL, '3'),
  (4, '4 - Less Urgent', NULL, NULL, '4'),
  (5, '5 - Non Urgent (·ÑèÇä»)', NULL, NULL, '5');
/*!40000 ALTER TABLE `er_emergency_type` 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 */;
