<?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-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">
	<import resource="classpath:gov/va/med/cds/testharness/vhim400/builders/buildersTestContext.xml" />

	<bean id="dataGenerator" class="gov.va.med.cds.client.functional.DataGenerator">
		<property name="clinicalDataBuilder" ref="clinicalDataBuilder" />
	</bean>

	<bean id="configurableExamsClinicalDataResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurableClinicalDataResponse">
		<constructor-arg name="patientElementPath" value="patients/patient" />
		<constructor-arg name="clinicalRootPath" value="patients/patient/examRequests" />
		<constructor-arg name="errorResponseTemplateId" value="CdsResponse400" />
	</bean>

	<bean id="configurableAppointmentsClinicalDataResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurableClinicalDataResponse">
		<constructor-arg name="patientElementPath" value="patients/patient" />
		<constructor-arg name="clinicalRootPath" value="patients/patient/appointments" />
		<constructor-arg name="errorResponseTemplateId" value="CdsResponse400" />
	</bean>

	<bean id="configurableROIClinicalDataResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurableClinicalDataResponse">
		<constructor-arg name="patientElementPath" value="patients/patient" />
		<constructor-arg name="clinicalRootPath" value="patients/patient/releasesOfInformation" />
		<constructor-arg name="errorResponseTemplateId" value="CdsResponse400" />
	</bean>

	<bean id="configurableDemographicsDataResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurableClinicalDataResponse">
		<constructor-arg name="patientElementPath" value="patients/patient" />
		<constructor-arg name="clinicalRootPath" value="patients/patient/demographics/demographic" />
		<constructor-arg name="errorResponseTemplateId" value="CdsResponse400" />
	</bean>
	
	<bean id="configurablePatientAlertResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurableClinicalDataResponse">
		<constructor-arg name="patientElementPath" value="patients/patient" />
		<constructor-arg name="clinicalRootPath" value="patients/patient/patientAlert/patientAlerts" />
		<constructor-arg name="errorResponseTemplateId" value="CdsResponse400" />
	</bean>
	
	<bean id="configurableClinicalReminderDataResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurableClinicalDataResponse">
		<constructor-arg name="patientElementPath" value="patients/patient" />
		<constructor-arg name="clinicalRootPath" value="patients/patient/clinicalReminders/clinicalReminders" />
		<constructor-arg name="errorResponseTemplateId" value="CdsResponse400" />
	</bean>
	
	<bean id="configurableVistaUserDataResponse" class="gov.va.med.cds.clinicaldata.vhim400.ConfigurablePathwaysDataResponse">
		<!-- ConfigurableClinicalDataResponse will construct a root element as it does for patients with vistaUsers by using a different element name info patientElementPath -->
		<constructor-arg name="patientElementPath" value="vistaUsers" />
		<constructor-arg name="clinicalRootPath" value="vistaUsers" />
		<constructor-arg name="errorResponseTemplateId" value="PathwaysResponse400" />
		<constructor-arg name="schemaNamespacePrefix" value="vistauserdata" />
		<constructor-arg name="schemaNamespaceUri" value="Vistauserdata" />
		<constructor-arg name="schemaLocalName" value="VistaUserData" />
	</bean>
	
	<bean id="clinicalDataResponse400" class="gov.va.med.cds.clinicaldata.vhim400.ClinicalDataResponse400" />

</beans>	
