<?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 id="mapperByVersionMap" class="java.util.HashMap">
		<constructor-arg>
			<map>
				<entry>
					<key>
						<value>CDS_VDM_1</value>
					</key>
					<ref bean="cdmVdmMapper400" />
				</entry>
			</map>
		</constructor-arg>
	</bean>

	<bean id="domainEntryPointMapper400"
		class="gov.va.med.cds.vdm.vhim400.mapping.DomainEntryPointMapper400">
		<property name="cdmDomainDataMap">
				<map>
					<entry key="AllergyAssessment">
						<bean class="gov.va.med.cds.cdm.oomapping.AllergyAssessmentDataMapper" />
					</entry>
					<entry key="IntoleranceCondition">
						<bean class="gov.va.med.cds.cdm.oomapping.IntoleranceConditionDataMapper" />
					</entry>
					<entry key="OutpatientMedicationPromise">
						<bean class="gov.va.med.cds.cdm.oomapping.OutpatientMedicationPromiseDataMapper" />
					</entry>
					<entry key="VitalSignObservationEvent">
						<bean class="gov.va.med.cds.cdm.oomapping.VitalSignObservationEventDataMapper" />
					</entry>
					<entry key="LabTestPromise">
						<bean class="gov.va.med.cds.cdm.oomapping.LabTestPromiseDataMapper" />
					</entry>
					<entry key="ClinicalDocumentEvent">
						<bean class="gov.va.med.cds.cdm.oomapping.ClinicalDocumentEventDataMapper" />
					</entry>
				</map>
		</property>

		<property name="vdmDomainDataMap">
				<map>
					<entry key="AllergyAssessment">
						<bean class="gov.va.med.cds.vdm.vhim400.oomapping.AllergyAssessmentDataMapper" />
					</entry>
					<entry key="IntoleranceCondition">
						<bean class="gov.va.med.cds.vdm.vhim400.oomapping.IntoleranceConditionDataMapper" />
					</entry>
					<entry key="OutpatientMedicationPromise">
						<bean class="gov.va.med.cds.vdm.vhim400.oomapping.OutpatientMedicationPromiseDataMapper" />
					</entry>
					<entry key="VitalSignObservationEvent">
						<bean class="gov.va.med.cds.vdm.vhim400.oomapping.VitalSignObservationEventDataMapper" />
					</entry>
					<entry key="LabTestPromise">
						<bean class="gov.va.med.cds.vdm.vhim400.oomapping.LabTestPromiseDataMapper" />
					</entry>
					<entry key="ClinicalDocumentEvent">
						<bean class="gov.va.med.cds.vdm.vhim400.oomapping.ClinicalDocumentEventDataMapper" />
					</entry>
				</map>
		</property>
		<property name="customCdmDomainDataMaps">
			<map>
				<entry key="VWPharmacyRead40010">
					<map>
						<entry key="OutpatientMedicationPromise">
							<bean
								class="gov.va.med.cds.cdm.oomapping.custom.OutpatientMedicationPromiseVWPharmacyRead40010DataMapper" />
						</entry>
					</map>
				</entry>
				<entry key="VWPharmacyDetailRead40010">
					<map>
						<entry key="OutpatientMedicationPromise">
							<bean
								class="gov.va.med.cds.cdm.oomapping.custom.OutpatientMedicationPromiseVWPharmacyDetailRead40010DataMapper" />
						</entry>
					</map>
				</entry>
			</map>
		</property>
	</bean>

	<bean id="cdmVdmMapper400" class="gov.va.med.cds.vdm.vhim400.mapping.CdmVdmMapper400">
		<property name="mapperRegistry">
			<bean class="gov.va.med.cds.oomapping.MapperRegistry">
				<property name="registry">
					<map>
						<entry
							key="gov.va.med.cds.cdm.clinicaldata.ClinicalData->gov.va.med.cds.vdm.vhim400.clinicaldata.ClinicalData">
							<bean
								class="gov.va.med.cds.vdm.vhim400.mapping.cdmtovdm.clinicaldata.ClinicalDataMapper" />
						</entry>
						<entry
							key="gov.va.med.cds.vdm.vhim400.clinicaldata.ClinicalData->gov.va.med.cds.cdm.clinicaldata.ClinicalData">
							<bean
								class="gov.va.med.cds.vdm.vhim400.mapping.vdmtocdm.clinicaldata.ClinicalDataMapper" />
						</entry>
						<entry
							key="gov.va.med.cds.cdm.common.Patient->gov.va.med.cds.vdm.vhim400.common.ClinicalDataPatient">
							<bean
								class="gov.va.med.cds.vdm.vhim400.mapping.cdmtovdm.common.PatientMapper" />
						</entry>
						<entry
							key="gov.va.med.cds.vdm.vhim400.common.ClinicalDataPatient->gov.va.med.cds.cdm.common.Patient">
							<bean
								class="gov.va.med.cds.vdm.vhim400.mapping.vdmtocdm.common.ClinicalDataPatientMapper" />
						</entry>
					</map>
				</property>
			</bean>
		</property>
		<property name="domainEntryPointAccessor400" ref="domainEntryPointAccessor400" />
		<property name="domainEntryPointMapper400" ref="domainEntryPointMapper400" />
	</bean>

</beans>
