To install the Socket Project as a Windows Service:
- Download the Socket Project by clicking the link here.
- Right click CW6SocketV10.zip.
- Click Extract Files.
- Select a Destination Path.
- Click OK.
- Right click Command Prompt.
- Click Run as Administrator.
- In the Command Window, navigate to the folder where you put the cw_hl7socket.exe.
- Run the following command: cw_hl7socket install.
This installs the Socket as a Windows service with auto startup mode. Verify if the SocketServer service is listed in the Windows Services.
CAREWare Setup
The setup steps include modifying settings in CAREWare’s common storage table, turning on indexes, updating mappings, and completing the user notification and condition setup. This section provides instructions on how to complete these steps.
Note: CAREWare creates some default mappings when a user activates an index; these can be updated by the provider.
Configure Common Storage
There are three ways of editing common storage:
- CW Admin Utility
- HL7 Feed Settings screen
- SQL Server Management Studio
Note: It is a good idea to contact the CAREWare Help Desk and ask what build is currently recommended to use with the Socket Interface.
The steps for updating the common storage table in CW Admin are as follows:
- Make sure all users are logged out of CAREWare.
- Go to C:\Program Files\CAREWare Business Tier.
- Right click CW Admin.
- Click Run as Administrator.
- Click Stop Server.
- Click Common Storage Setting.
- Click cmm_st_pk to set the list in alphabetical order.
- Scroll to the HL7 settings listed below.
- Once updated, click Server Settings.
- Click Start Server.
These are the folders that require configuration for the HL7 Socket Interface:
HL7IncomingMessageFolder – HL7 files are placed here to begin processing.
HL7ParsingErrorMessageFolder – HL7 files are parsed here if errors occur. Resolving errors allows the file to continue with processing.
HL7ProcessedMessageFolder – HL7 files are stored here once processing is complete.
Note: The other HL7 Common Storage Settings can be updated in the CAREWare user interface.
When editing in SQL Management Studio, please follow these steps:
- Log into the CAREWare database instance.
- Expand Databases.
- Expand CW_Data.
- Expand Tables.
- Scroll to cw_common_storage.
- Include Where cmm_st_pk like '%HL7%' in the select or edit query to get HL7 settings.
When editing HL7 Feed Settings in CAREWare, please follow these steps:
-
- Log into Central Administration.
- Click Administrative Options.
- Click Server Management.
- Click Common Storage Values.
- Type HL7 in the search field.
- Click any setting to be adjusted to highlight it.
- Click View.
- Click Edit.
Requires restart – Changes to this setting take effect once the CAREWare Business Tier service is restarted.
Editable In List – Changes to this setting take effect once saved.
Administrative Options >... – The location where this setting can be edited in CAREWare is listed under Can Update. For example, the HL7SocketAutoDeleteClientScoreHigher setting is located at Administrative Options>Data Import and Export Features>HL7 Socket Interface>Interface Settings.
Users can edit HL7 Socket Interface settings in CAREWare by following these instructions:
-
- Log into Central Administration.
- Click Administrative Options.
- Click Data Import and Export Features.
- Click HL7 Socket Interface.
- Click Interface Settings.
Note: The file folder settings for HL7 imports and processes need to be edited in Common Storage Settings.
Once common storage is configured, the next step is to turn on the import process indexes. There are different indexes for each message type - ADT, BAR, SCH, PWX, IMM, MDC and ORU—and the index labels begin with those message type abbreviations. Each message type has three associated indexes: Map Provider, Map Client, and Process Records. They are separated to make it easier to track down the processes.
Click here for a list of indexes and field definitions.
For additional information about the HL7 Processes, refer to the HL7 Socket Tech guide here.