Please enable JavaScript to view this site.

CORE HL7 MySQL Engine 1.1

Schema Training in a Nutshell

When your HL7 Database Schema was created we used a HL7 Definition to determine which SQL Tables to create and which columns to put in those tables.

Schema Training simply means that when you import HL7 messages into your Schema Tables the software needs to ensure that every possible bit of atomic data is directly addressable by you. Every HL7 Segment in the message MUST have a Segment Table(s). Every HL7 Component of every HL7 Field in that HL7 Segment MUST have a database column to go into.

In order to accomplish this the CORE HL7 SQL Schema Engine will make dynamic changes to your Schema Database (HL7 Training), altering tables to make columns larger (to avoid data truncation), adding new database columns to tables (if the message unexpectedly contains a new HL7 Field or Component), and even creating NEW Schema tables if needed.

IMPORTANT NOTE: This obviously means that whatever SQL Server credentials you use in your Schema Profile, they MUST have full rights to the database. You don't have to use root but the credentials MUST have full rights otherwise.

 

 


 

 

While Schema Training occurs automatically at runtime as you import HL7 messages into your database, it is also possible to run Schema Training "manually" by clicking the  button on the Main Window toolbar to open the Schema Database Training window.

Schema Training (Manual)

Schema Training (Manual)

 

Schema Training (Manual)

Schema Training (Manual)

 

In this window you can choose to train your Schema Tables using either:

Example HL7 Messages embedded in the application.

A single HL7 data file of your own which can contain one OR many HL7 messages.

A data folder which can contain many HL7 data files, each of which can contain one OR many HL7 messages.

Just click Start Your Training Operation and watch the results.

The Schema Engine also keeps track of all changes made to your database whether through "manual" training or dynamic changes made when importing HL7 messages into your database. You select records from your <PREFIX>_MessageErrors table. All records in this table where the MessageID Column = "SchemaTraining()" will contain the actual MySQL statement executed in the ErrorMessage column.

Schema Training Archive

Schema Training Archive

 

 

 

See Also: Database Training Demonstration In our YouTube Video. While it shows the CORE HL7 MS SQL Schema Engine, the principles are the same.

 

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC