VistA-ccr/nhin-vista/projects/NHINC/Current/ThirdParty/DatabaseSchemaDump/auditlog.dump

61 lines
16 KiB
Plaintext
Raw Normal View History

-- MySQL dump 10.11
--
-- Host: localhost Database: auditlog
-- ------------------------------------------------------
-- Server version 5.0.51b-community-nt
/*!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 utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `eventlog`
--
DROP TABLE IF EXISTS `eventlog`;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `eventlog` (
`id` bigint(20) unsigned NOT NULL auto_increment,
`timeStamp` datetime default NULL,
`userId` varchar(100) default NULL,
`participationTypeCode` smallint(5) unsigned default NULL,
`participationTypeCodeRole` smallint(5) unsigned default NULL,
`participationIDTypeCode` varchar(100) default NULL,
`patientId` varchar(100) default NULL,
`message` blob,
`communityId` varchar(255) default NULL,
PRIMARY KEY USING BTREE (`id`),
KEY `userId_index` USING BTREE (`userId`),
KEY `communityId_index` (`communityId`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
--
-- Dumping data for table `eventlog`
--
LOCK TABLES `eventlog` WRITE;
/*!40000 ALTER TABLE `eventlog` DISABLE KEYS */;
INSERT INTO `eventlog` VALUES (1,NULL,'uId999',7,7,'IDTypeCd999','PID999',NULL,'CommId999'),(2,'2008-07-18 13:40:46','',5,6,'webId123','web123',NULL,'WebComm123'),(3,NULL,'',7,8,'SOAPId123','soap123',NULL,'SOAPComm123'),(4,NULL,'',9,10,'SOAPId456','soap123',NULL,'SOAPComm456'),(5,NULL,'valluripallis',9,10,'SOAPId456','soap123',NULL,'SOAPComm456'),(6,'2008-07-18 00:30:47','valluripallis',9,10,'SOAPId456','soap123',NULL,'SOAPComm456'),(7,'2008-07-21 21:56:11','valluripallis',7,8,'webId456','web456',NULL,'WebComm456'),(8,'2008-07-23 14:27:41','valluripallis',9,1,'webId789','web789','<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Glen F. Marshall (HL7 Technical Steering Committee) -->\n<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\" attributeFormDefault=\"unqualified\">\n <xs:element name=\"AuditMessage\">\n <xs:complexType>\n <xs:sequence>\n <xs:element name=\"EventIdentification\" type=\"EventIdentificationType\"/>\n <xs:element name=\"ActiveParticipant\" maxOccurs=\"unbounded\">\n <xs:complexType>\n <xs:complexContent>\n <xs:extension base=\"ActiveParticipantType\"/>\n </xs:complexContent>\n </xs:complexType>\n </xs:element>\n <xs:element name=\"AuditSourceIdentification\" type=\"AuditSourceIdentificationType\" maxOccurs=\"unbounded\"/>\n <xs:element name=\"ParticipantObjectIdentification\" type=\"ParticipantObjectIdentificationType\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n </xs:sequence>\n </xs:complexType>\n </xs:element>\n <xs:complexType name=\"EventIdentificationType\">\n <xs:sequence>\n <xs:element name=\"EventID\" type=\"CodedValueType\"/>\n <xs:element name=\"EventTypeCode\" type=\"CodedValueType\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n </xs:sequence>\n <xs:attribute name=\"EventActionCode\" use=\"optional\">\n <xs:simpleType>\n <xs:restriction base=\"xs:string\">\n <xs:enumeration value=\"C\">\n <xs:annotation>\n <xs:appinfo>Create</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"R\">\n <xs:annotation>\n <xs:appinfo>Read</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"U\">\n <xs:annotation>\n <xs:appinfo>Update</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"D\">\n <xs:annotation>\n <xs:appinfo>Delete</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"E\">\n <xs:annotation>\n <xs:documentation>Execute</xs:documentation>\n </xs:annotation>\n </xs:enumeration>\n </xs:restriction>\n </xs:simpleType>\n </xs:attribute>\n <xs:attribute name=\"EventDateTime\" type=\"xs:dateTime\" use=\"required\"/>\n <xs:attribute name=\"EventOutcomeIndicator\" use=\"required\">\n <xs:simpleType>\n <xs:restriction base=\"xs:integer\">\n <xs:enumeration value=\"0\">\n <xs:annotation>\n <xs:appinfo>Success</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"4\">\n <xs:annotation>\n <xs:appinfo>Minor failure</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"8\">\n <xs:annotation>\n <xs:appinfo>Serious failure</xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n <xs:enumeration value=\"12\">\n <xs:annotation>\n <xs:appinfo>Major failure; action made unavailable \n </xs:appinfo>\n </xs:annotation>\n </xs:enumeration>\n </xs:restriction>\n </xs:simpleType>\n </xs:attribute>\n </xs:complexType>\n <xs:complexType name=\"AuditSourceIdentificationType\">\n <xs:sequence>\n <xs:element name=\"AuditSourceTypeCode\" type=\"CodedValueType\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n </xs:sequence>\n <xs:attribute name=\"AuditEnterpriseSiteID\" type=\"xs:string\" use=\"optional\"/>\n <xs:attribute name=\"AuditSourceID\" type=\"xs:string\" use=\"required\"/>\n </xs:complexType>\n <xs:complexType name=\"ActiveParti
/*!40000 ALTER TABLE `eventlog` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2008-07-28 18:45:53