Creating Database Tables |
Top Previous Next |
|
Once you have configured the database connection (Setting up Database Connection), follow the instructions below.
Note: In case your database is not listed, modify the scripts or ask your database administrator to make the necessary modifications.
Tip: Every database system has their own little syntax idiosyncrasies and the scripts might require tweaking. You can edit the table scripts in this screen and save your modified scripts. One example are 'date' and 'time' or 'money' data types that do not exist in SQL Server 2005. You can just rename those types to 'datetime' and save you script and it will run fine.
Notice: Creating tables means clicking the "Execute Script" button in all five tabs of the "Create Tables for EDI_Exchange" window. Then close this window.
Warning: Double-execution of a script wipes out the previous table you have created. A prompt will warn you before deleting an existing table. To Add/Remove fields use the "Compare Script..." button. Remove the script files once you have created the tables so nobody can destroy the tables by accident.
Make sure there are no error messages and the table creation has been completed successfully.
Compare Script with existing Table HIPAAsuite products go through continual development and improvements. Often these changes lead to new fields in the database. While it is easy to drop a table and regenerate it with the new fields, you will loose all the data in the table. To avoid this trouble there is the button "Compare Script with existing Table". I you click this, the table structure in your database will be compared with the script. There are two possible outcomes. Your table is up to date
Table is up to date or if your table is missing recently added fields, you will see a window pop up that shows an 'Alter Table' script with which you can add those fields to the table without interfering with existing data.
The 'Alter Table' script that shows as a result of missing fields You can now click the "Execute Script" button and the field will be added and a message will confirm your changes
Alter Table statement successfully executed. Once you have created the tables, you can start setting up the other application options. See the next step: Defining Auto-Processing Options. |