Can we use sql queries for retrieving data from smat files in the new version of CL within SmatDB? I thought I had read somewhere that this can be done? However, I am not seeing this.
Thanks for the clarification also. I was hoping to see a GUI for the SQL commands. Anyway, will take a look at Charlie’s script and hopefully be able to come close to something.
There *IS* a GUI for this. it is called the SMATDB GUI
It will not accept the native SQL commands but will build the proper SQL commands for you.
You must be aware, especially with HL7, that most of the work is done via the regular expression. The message itself is stored as a blob.
If you want a historical DB that can be searched via pure SQL I would recommend you define the DB table you like in a separate DB then populate that table with data from the SMAT DB.
There is no way to define a SMAT DB table that could store messages other than as a blob that would satisfy all possible message formats. But you have the tools to do it yourself.
That is why you are paid the big bucks 😛
Author
Replies
Viewing 4 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.