                                 Installation instructions

                                    SocketAdapter
                                      Version 1.0
The Socket Adapter application can be easily configured to implement different set of validation rules when installed in different environments.
This document goes over changes that required to be made when the application installed to SQA and Production environments.
Socket Adapter will be validating and filtering incoming HL7 messages based on several fields which specified in the configuration file.
--------------------------------------------------------------------------------
1) The SQA environment is using 'CHDR SENDER' value for sending application MSH/3 field. The configuration file 
socketAdapterContext.xml uses this value to enable rules for validating messages. No changes required to install the Socket 
Adapter to SQA.
Note:
When the Socket Adapter installed into Production environment values for 'CHDR SENDER' have to be changed to 'CHDR' in all the places listed below.
 
<property name="messageTypeMediatorMap">
	<map>
		<entry key="LA7LAB~ORU"><ref bean="asyncMessageMediator"/></entry>
		<entry key="CHDR SENDER~QBP"><ref bean="syncMessageMediator"/></entry>
	</map>
</property>
	
<property name="responseGeneratorMap">
	<map>
		<entry key="DEFAULT"><bean class="gov.va.med.cds.socket.server.handler.SimpleVistACommitAckResponseGenerator"/></entry>
		<entry key="LA7LAB~ORU"><bean class="gov.va.med.cds.socket.server.handler.SimpleVistACommitAckResponseGenerator"/></entry>
		<entry key="CHDR SENDER~QBP"><bean class="gov.va.med.cds.socket.server.handler.ChdrLegacyResponseGenerator"/></entry>
	</map>
</property>

<util:map id="allowableParameterValues">
	<!-- List of allowable Parameter Values for CHDR  -->
	<entry key="CHDR SENDER">
