LabEventInfoMgr [-cru] files ... LabEventInfoMgr [-DM]
LabEventInfoMgr program is the "manager" for the
LabEventInfo database. It is used to create the compiled, hashed
form of the database from the tabular form or to dump the contents of
the compiled form into the tabular form.
idb script can be generated from the database that when run
LabEventMap that is thus always consistent with the
-c files ...
-r files ...
-u files ...
After updating the file `LabEventInfo.tab' use:
LabEventInfoMgr -c LabEventInfo.tab
to rebuild the compiled database, and then
LabEventInfoMgr -M > LabEventMap.idb
to build an
Writing errors to the logfile is not useful, since it is a program that is normally invoked manually by an operator.
The table parser is a bit itchy about end of lines
The generated idb script misses the following three opening lines:
SET ColumnMode; CLEAR FROM LabEventMap WHERE objectId != NULL; SELECT objectId INTO OID FROM CISCareUnitCfg WHERE name="060_IOP";
The generated idb script tries to insert the admit observations as
LabEvents which will cause idb to exit with an error. Those
INSERT statements where
mappedPtEvent = "" must be
manually deleted from the script.
See `labEventInfo.log', the run log file, if you experience problems.
section The LabEventInfo Table