<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">


	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setTemplateHelper"/>
		<property name="arguments">
			<list>
				<ref bean="templateHelper"/>
			</list>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setGuaranteedLogger"/>
		<property name="arguments">
			<list>
				<ref bean="exceptionHandlerGuaranteedLogger"/>
			</list>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setClinicalDataResponse"/>
		<property name="arguments">
			<list>
				<ref bean="clinicalDataResponse400"/>
			</list>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setPathwaysDataResponse"/>
		<property name="arguments">
			<list>
				<ref bean="pathwaysDataResponse400"/>
			</list>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setPathwaysConfigurableResponseMap"/>
		<property name="arguments">
			<map>
				<entry key="RequestsAndExamsRead1">
					<ref bean="requestDataResponseVhim2"/>
				</entry>
				<entry key="RequestsAndExamsRead2">
					<ref bean="requestDataResponseVhim2"/>
				</entry>
				<entry key="REQUESTS_AND_EXAMS_SINGLE_PATIENT_FILTER">
					<ref bean="requestDataResponseVhim2"/>
				</entry>
				<entry key="AppointmentsRead1">
					<ref bean="appointmentDataResponseVhim2"/>
				</entry>
				<entry key="SensitivePatientAccessCreate1">
					<ref bean="sensitivePatientAccessDataResponseVhim2"/>
				</entry>				
				<entry key="APPOINTMENTS_SINGLE_PATIENT_FILTER">
					<ref bean="appointmentDataResponseVhim2"/>
				</entry>
				<entry key="AppointmentLetter1">
					<ref bean="appointmentLetterDataResponseVhim2"/>
				</entry>
				<entry key="APPOINTMENT_LETTER_SINGLE_PATIENT_FILTER">
					<ref bean="appointmentLetterDataResponseVhim2"/>
				</entry>
				<!--
					<entry key="ReleaseOfInformationRead1">
					<ref bean="releaseOfInformationDataResponseVhim2" />
					</entry>
					<entry key="RELEASEOFINFORMATION_SINGLE_PATIENT_FILTER">
					<ref bean="releaseOfInformationDataResponseVhim2" />
					</entry>
					<entry key="ClinicalRemindersRead1">
					<ref bean="clinicalReminderDataResponseVhim2" />
					</entry>
					<entry key="CLINICALREMINDERS_SINGLE_PATIENT_FILTER">
					<ref bean="clinicalReminderDataResponseVhim2" />
					</entry>
					<entry key="DemographicsRead1">
					<ref bean="demographicsDataResponseVhim2" />
					</entry>
					<entry key="DEMOGRAPHICS_SINGLE_PATIENT_FILTER">
					<ref bean="demographicsDataResponseVhim2" />
					</entry>
				-->
				<entry key="PatientAlertListRead1">
					<ref bean="patientAlertDataResponseVhim2"/>
				</entry>
				<entry key="PATIENTALERT_SINGLE_PATIENT_LIST_FILTER">
					<ref bean="patientAlertDataResponseVhim2"/>
				</entry>
				<entry key="PatientAlertDetailRead1">
					<ref bean="patientAlertDataResponseVhim2"/>
				</entry>
				<entry key="PATIENTALERT_SINGLE_PATIENT_DETAIL_FILTER">
					<ref bean="patientAlertDataResponseVhim2"/>
				</entry>
			</map>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setPathwaysFilterTemplateMap"/>
		<property name="arguments">
			<map>
				<entry key="REQUESTS_AND_EXAMS_SINGLE_PATIENT_FILTER">
					<value>RequestsAndExamsRead2</value>
				</entry>
				<entry key="APPOINTMENTS_SINGLE_PATIENT_FILTER">
					<value>AppointmentsRead1</value>
				</entry>
				<entry key="RELEASEOFINFORMATION_SINGLE_PATIENT_FILTER">
					<value>ClinicalRemindersRead1</value>
				</entry>
				<entry key="CLINICALREMINDERS_SINGLE_PATIENT_FILTER">
					<value>ReleaseOfInformationRead1</value>
				</entry>
				<entry key="DEMOGRAPHICS_SINGLE_PATIENT_FILTER">
					<value>DemographicsRead1</value>
				</entry>
				<entry key="PATIENTALERT_SINGLE_PATIENT_LIST_FILTER">
					<value>PatientAlertListRead1</value>
				</entry>
				<entry key="PATIENTALERT_SINGLE_PATIENT_DETAIL_FILTER">
					<value>PatientAlertDetailRead1</value>
				</entry>
				<entry key="APPOINTMENT_LETTER_SINGLE_PATIENT_FILTER">
					<value>AppointmentLetter1</value>
				</entry>
			</map>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setCdsAppName"/>
		<property name="arguments">
			<list>
				<ref bean="cdsAppName"/>
			</list>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="staticMethod" value="gov.va.med.cds.exceptionframework.ExceptionHandler.setPathwaysAppName"/>
		<property name="arguments">
			<list>
				<ref bean="pathwaysAppName"/>
			</list>
		</property>
	</bean>

	<bean id="exceptionHandlerGuaranteedLogger" class="gov.va.med.cds.exceptionframework.DefaultLogger"/>

</beans>


