Creating the Image Index Table |
Top Previous Next |
|
To create the table for the image index, follow the instructions below.
4. Then make sure the image index table script is correct.
5. Click on the "Execute Script" button. Then you will receive a notification like this. Click "OK."
6. Then click "Save."
ExampleYou can use the following MySQL/SQL script:
CREATE TABLE `edi_835imageindex` ( `ID` bigint(20) NOT NULL AUTO_INCREMENT, `EDIFilename` varchar(100) DEFAULT NULL, `ImageFilename` varchar(100) DEFAULT NULL, `ClaimNo` varchar(35) DEFAULT NULL, `TradingPartnerID` char(15) DEFAULT NULL, `PayDate` date DEFAULT NULL, `PayorID` varchar(25) DEFAULT NULL, `PayorName` varchar(60) DEFAULT NULL, `PayeeID` varchar(25) DEFAULT NULL, `PayeeLast` varchar(60) DEFAULT NULL, `SubscriberID` varchar(15) DEFAULT NULL, `SubscriberLast` varchar(60) DEFAULT NULL, `SubscriberFirst` varchar(35) DEFAULT NULL, `PatientID` varchar(15) DEFAULT NULL, `PatientLast` varchar(60) DEFAULT NULL, `PatientFirst` varchar(35) DEFAULT NULL, `AmountCharged` decimal(10,2) DEFAULT NULL, `AmountPaid` decimal(10,2) DEFAULT NULL, `ServiceDateFrom` date DEFAULT NULL, `ServiceDateTo` date DEFAULT NULL, UNIQUE KEY `ID` (`ID`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
Tip: Make sure you use a correct symbol ` and not ' in the script.
Tip: If you encounter errors running the script on MySQL or other database systems, then modify it until it works or consult with your database administrator to make the modifications. SQL Scripts share over all platforms a lot of syntax, but still each flavor demands its own adjustments.
|