There are certain preparations necessary in order to run the CareVue interface application correctly that are summarized here:
rcp new_wt_ht_bsa `cat /usr/hl7/etc/carevue`:
INSERT AsyncLinkCfg
EntityId = ASNYC_ENTITY
WITH VALUES
type = "ASYNC", flowCtrlEnabled = NULL,
maxRcvMsgQSize = NULL, devicepath = "/dev/fsiad",
primaryStation = "TRUE", binaryMode = "FALSE",
bccType = "LRC", crcFormat = "HEX",
baudRate = "9600", stopBits = "1",
dataBits = "8", blocksize = 1024,
responseTimeout = 0, receiveTimeout = 0,
grossTimeout = 0, bidRespTimeout = 0,
bidRetries = 60, blockRetries = 3,
blockNumEnabled = "FALSE", bidACKN = "FALSE",
blockACKN = "FALSE";
INSERT HL7ProtoCfg | INSERT HL7ProtoCfg
EntityId = ADT_ENTITY | EntityId = CLI_ENTITY
WITH VALUES | WITH VALUES
type = "HL7", | type = "HL7",
applServiceCode = "ADT", | applServiceCode = "CLI",
localApplEndPoint = NULL, | localApplEndPoint = NULL,
localApplSystemId = NULL, | localApplSystemId = NULL,
version = NULL, | version = NULL,
remoteAppl = NULL, | remoteAppl = NULL,
remoteFacility = NULL, | remoteFacility = NULL,
inhibitACK = "FALSE", | inhibitACK = "FALSE",
responseTimeout = 60, | responseTimeout = 60,
retries = 60, | retries = 60,
retryDelay = 60, | retryDelay = 60,
nmdXmtEnabled = "FALSE", | nmdXmtEnabled = "FALSE",
nmdRcvExpected = "FALSE", | nmdRcvExpected = "FALSE",
nmdPeriod = 0, | nmdPeriod = 0,
xmtNmdForSystem = "FALSE", | xmtNmdForSystem = "FALSE",
maxZdmFields = 15; | maxZdmFields = 15;
INSERT FsiConfig
EntityId = C958E1:1
WITH VALUES
linkProtocol = ASYNC_ENTITY,
applProtocols[0] = ADT_ENTITY,
applProtocols[1] = CLI_ENTITY;
LabEventInfoMgr -c LabEventInfo.tab LabEventInfoMgr -M > LabEventMap.idbUse an editor in order to prepend the three lines of idb commands to the file `LabEventMap.idb' and remove the invalid INSERT statements for the ADT observations as described in section Managing the Results Mapping.
# 1. CareVue FSI Interface carevuefsi "/usr/hl7/bin/llpdrv -yaIt /dev/cuaa0 -i discard%localhost -i" unknow n on # 2. CareVue HL7 Gateway 060_IOP "/usr/hl7/bin/cvgateway carevuehl7 carevuefsi localhost" unknown on # 3. Serial lines to the ABL625 ttyd1 "/usr/hl7/bin/radioshell 6 -" unknown on # 3. Serial lines to the ABL300 ttyd2 "/usr/hl7/bin/radioshell 3 -" unknown on
carevuehl7 99999/tcp carevuefsi 99998/tcp
hl7tocv.
*/1 * * * * hl7tocv batch
rcp(1), init(8), ttys(5), cron(8), crontab(1), crontab(5).