This section contains SQL statements that create database tables to accommodate the data in each of the main component files. Each table creation is accompanied by a summary of the relevant release file specification.
DROP TABLE IF EXISTS `full_concept`; CREATE TABLE `full_concept` ( `id` BIGINT NOT NULL DEFAULT 0, `effectiveTime` DATETIME NOT NULL DEFAULT '2000-01-31 00:00:00', `active` TINYINT NOT NULL DEFAULT 0, `moduleId` BIGINT NOT NULL DEFAULT 0, `definitionStatusId` BIGINT NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`effectiveTime`)) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; |
DROP TABLE IF EXISTS `full_description`; CREATE TABLE `full_description` ( `id` BIGINT NOT NULL DEFAULT 0, `effectiveTime` DATETIME NOT NULL DEFAULT '2000-01-31 00:00:00', `active` TINYINT NOT NULL DEFAULT 0, `moduleId` BIGINT NOT NULL DEFAULT 0, `conceptId` BIGINT NOT NULL DEFAULT 0, `languageCode` VARCHAR (3) NOT NULL DEFAULT '', `typeId` BIGINT NOT NULL DEFAULT 0, `term` TEXT NOT NULL, `caseSignificanceId` BIGINT NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`effectiveTime`)) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; |
DROP TABLE IF EXISTS `full_relationship`; CREATE TABLE `full_relationship` ( `id` BIGINT NOT NULL DEFAULT 0, `effectiveTime` DATETIME NOT NULL DEFAULT '2000-01-31 00:00:00', `active` TINYINT NOT NULL DEFAULT 0, `moduleId` BIGINT NOT NULL DEFAULT 0, `sourceId` BIGINT NOT NULL DEFAULT 0, `destinationId` BIGINT NOT NULL DEFAULT 0, `relationshipGroup` INT NOT NULL DEFAULT 0, `typeId` BIGINT NOT NULL DEFAULT 0, `characteristicTypeId` BIGINT NOT NULL DEFAULT 0, `modifierId` BIGINT NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`effectiveTime`)) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; |