Last change
on this file since 507 was 507, checked in by George Lilly, 15 years ago |
NHIN gateway and adaptor for use on linux with VistA EHR and RPMS
|
File size:
497 bytes
|
Line | |
---|
1 | DROP TABLE IF EXISTS auditRepository;
|
---|
2 | CREATE TABLE auditRepository
|
---|
3 | (
|
---|
4 | id BIGINT NOT NULL AUTO_INCREMENT,
|
---|
5 | timestamp DATETIME,
|
---|
6 | eventId BIGINT NOT NULL,
|
---|
7 | userId VARCHAR(100),
|
---|
8 | participationTypeCode SMALLINT,
|
---|
9 | participationTypeCodeRole SMALLINT,
|
---|
10 | participationIDTypeCode VARCHAR(100),
|
---|
11 | receiverPatientId VARCHAR(100),
|
---|
12 | senderPatientId VARCHAR(100),
|
---|
13 | communityId VARCHAR(255),
|
---|
14 | messageType VARCHAR(100) NOT NULL,
|
---|
15 | message BLOB,
|
---|
16 | PRIMARY KEY (id),
|
---|
17 | UNIQUE UQ_eventlog_id(id)
|
---|
18 | ) ;
|
---|
19 |
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.