View Javadoc
1   package ca.uhn.fhir.jpa.config;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   import java.util.concurrent.Executor;
6   import java.util.concurrent.Executors;
7   
8   import javax.persistence.EntityManager;
9   import org.springframework.transaction.PlatformTransactionManager;
10  import ca.uhn.fhir.jpa.dao.DaoConfig;
11  
12  import org.springframework.beans.factory.annotation.Autowire;
13  import org.springframework.context.annotation.Bean;
14  import org.springframework.context.annotation.Configuration;
15  import org.springframework.context.annotation.Lazy;
16  import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
17  import org.springframework.scheduling.annotation.EnableScheduling;
18  import org.springframework.scheduling.annotation.SchedulingConfigurer;
19  import org.springframework.scheduling.config.ScheduledTaskRegistrar;
20  
21  import ca.uhn.fhir.context.FhirContext;
22  import ca.uhn.fhir.model.api.IResource;
23  import ca.uhn.fhir.rest.server.IResourceProvider;
24  import ca.uhn.fhir.jpa.dao.*;
25  
26  @Configuration
27  public abstract class BaseJavaConfigDstu2 extends ca.uhn.fhir.jpa.config.BaseDstu2Config {
28  
29  	@Bean(name="myResourceProvidersDstu2")
30  	public List<IResourceProvider> resourceProvidersDstu2() {
31  		List<IResourceProvider> retVal = new ArrayList<IResourceProvider>();
32  		retVal.add(rpAccountDstu2());
33  		retVal.add(rpAllergyIntoleranceDstu2());
34  		retVal.add(rpAppointmentDstu2());
35  		retVal.add(rpAppointmentResponseDstu2());
36  		retVal.add(rpAuditEventDstu2());
37  		retVal.add(rpBasicDstu2());
38  		retVal.add(rpBinaryDstu2());
39  		retVal.add(rpBodySiteDstu2());
40  		retVal.add(rpBundleDstu2());
41  		retVal.add(rpCarePlanDstu2());
42  		retVal.add(rpClaimDstu2());
43  		retVal.add(rpClaimResponseDstu2());
44  		retVal.add(rpClinicalImpressionDstu2());
45  		retVal.add(rpCommunicationDstu2());
46  		retVal.add(rpCommunicationRequestDstu2());
47  		retVal.add(rpCompositionDstu2());
48  		retVal.add(rpConceptMapDstu2());
49  		retVal.add(rpConditionDstu2());
50  		retVal.add(rpConformanceDstu2());
51  		retVal.add(rpContractDstu2());
52  		retVal.add(rpCoverageDstu2());
53  		retVal.add(rpDataElementDstu2());
54  		retVal.add(rpDetectedIssueDstu2());
55  		retVal.add(rpDeviceDstu2());
56  		retVal.add(rpDeviceComponentDstu2());
57  		retVal.add(rpDeviceMetricDstu2());
58  		retVal.add(rpDeviceUseRequestDstu2());
59  		retVal.add(rpDeviceUseStatementDstu2());
60  		retVal.add(rpDiagnosticOrderDstu2());
61  		retVal.add(rpDiagnosticReportDstu2());
62  		retVal.add(rpDocumentManifestDstu2());
63  		retVal.add(rpDocumentReferenceDstu2());
64  		retVal.add(rpEligibilityRequestDstu2());
65  		retVal.add(rpEligibilityResponseDstu2());
66  		retVal.add(rpEncounterDstu2());
67  		retVal.add(rpEnrollmentRequestDstu2());
68  		retVal.add(rpEnrollmentResponseDstu2());
69  		retVal.add(rpEpisodeOfCareDstu2());
70  		retVal.add(rpExplanationOfBenefitDstu2());
71  		retVal.add(rpFamilyMemberHistoryDstu2());
72  		retVal.add(rpFlagDstu2());
73  		retVal.add(rpGoalDstu2());
74  		retVal.add(rpGroupDstu2());
75  		retVal.add(rpHealthcareServiceDstu2());
76  		retVal.add(rpImagingObjectSelectionDstu2());
77  		retVal.add(rpImagingStudyDstu2());
78  		retVal.add(rpImmunizationDstu2());
79  		retVal.add(rpImmunizationRecommendationDstu2());
80  		retVal.add(rpImplementationGuideDstu2());
81  		retVal.add(rpListResourceDstu2());
82  		retVal.add(rpLocationDstu2());
83  		retVal.add(rpMediaDstu2());
84  		retVal.add(rpMedicationDstu2());
85  		retVal.add(rpMedicationAdministrationDstu2());
86  		retVal.add(rpMedicationDispenseDstu2());
87  		retVal.add(rpMedicationOrderDstu2());
88  		retVal.add(rpMedicationStatementDstu2());
89  		retVal.add(rpMessageHeaderDstu2());
90  		retVal.add(rpNamingSystemDstu2());
91  		retVal.add(rpNutritionOrderDstu2());
92  		retVal.add(rpObservationDstu2());
93  		retVal.add(rpOperationDefinitionDstu2());
94  		retVal.add(rpOperationOutcomeDstu2());
95  		retVal.add(rpOrderDstu2());
96  		retVal.add(rpOrderResponseDstu2());
97  		retVal.add(rpOrganizationDstu2());
98  		retVal.add(rpParametersDstu2());
99  		retVal.add(rpPatientDstu2());
100 		retVal.add(rpPaymentNoticeDstu2());
101 		retVal.add(rpPaymentReconciliationDstu2());
102 		retVal.add(rpPersonDstu2());
103 		retVal.add(rpPractitionerDstu2());
104 		retVal.add(rpProcedureDstu2());
105 		retVal.add(rpProcedureRequestDstu2());
106 		retVal.add(rpProcessRequestDstu2());
107 		retVal.add(rpProcessResponseDstu2());
108 		retVal.add(rpProvenanceDstu2());
109 		retVal.add(rpQuestionnaireDstu2());
110 		retVal.add(rpQuestionnaireResponseDstu2());
111 		retVal.add(rpReferralRequestDstu2());
112 		retVal.add(rpRelatedPersonDstu2());
113 		retVal.add(rpRiskAssessmentDstu2());
114 		retVal.add(rpScheduleDstu2());
115 		retVal.add(rpSearchParameterDstu2());
116 		retVal.add(rpSlotDstu2());
117 		retVal.add(rpSpecimenDstu2());
118 		retVal.add(rpStructureDefinitionDstu2());
119 		retVal.add(rpSubscriptionDstu2());
120 		retVal.add(rpSubstanceDstu2());
121 		retVal.add(rpSupplyDeliveryDstu2());
122 		retVal.add(rpSupplyRequestDstu2());
123 		retVal.add(rpTestScriptDstu2());
124 		retVal.add(rpValueSetDstu2());
125 		retVal.add(rpVisionPrescriptionDstu2());
126 		return retVal;
127 	}
128 
129 	@Bean(name="myResourceDaosDstu2")
130 	public List<IFhirResourceDao<?>> resourceDaosDstu2() {
131 		List<IFhirResourceDao<?>> retVal = new ArrayList<IFhirResourceDao<?>>();
132 		retVal.add(daoAccountDstu2());
133 		retVal.add(daoAllergyIntoleranceDstu2());
134 		retVal.add(daoAppointmentDstu2());
135 		retVal.add(daoAppointmentResponseDstu2());
136 		retVal.add(daoAuditEventDstu2());
137 		retVal.add(daoBasicDstu2());
138 		retVal.add(daoBinaryDstu2());
139 		retVal.add(daoBodySiteDstu2());
140 		retVal.add(daoBundleDstu2());
141 		retVal.add(daoCarePlanDstu2());
142 		retVal.add(daoClaimDstu2());
143 		retVal.add(daoClaimResponseDstu2());
144 		retVal.add(daoClinicalImpressionDstu2());
145 		retVal.add(daoCommunicationDstu2());
146 		retVal.add(daoCommunicationRequestDstu2());
147 		retVal.add(daoCompositionDstu2());
148 		retVal.add(daoConceptMapDstu2());
149 		retVal.add(daoConditionDstu2());
150 		retVal.add(daoConformanceDstu2());
151 		retVal.add(daoContractDstu2());
152 		retVal.add(daoCoverageDstu2());
153 		retVal.add(daoDataElementDstu2());
154 		retVal.add(daoDetectedIssueDstu2());
155 		retVal.add(daoDeviceDstu2());
156 		retVal.add(daoDeviceComponentDstu2());
157 		retVal.add(daoDeviceMetricDstu2());
158 		retVal.add(daoDeviceUseRequestDstu2());
159 		retVal.add(daoDeviceUseStatementDstu2());
160 		retVal.add(daoDiagnosticOrderDstu2());
161 		retVal.add(daoDiagnosticReportDstu2());
162 		retVal.add(daoDocumentManifestDstu2());
163 		retVal.add(daoDocumentReferenceDstu2());
164 		retVal.add(daoEligibilityRequestDstu2());
165 		retVal.add(daoEligibilityResponseDstu2());
166 		retVal.add(daoEncounterDstu2());
167 		retVal.add(daoEnrollmentRequestDstu2());
168 		retVal.add(daoEnrollmentResponseDstu2());
169 		retVal.add(daoEpisodeOfCareDstu2());
170 		retVal.add(daoExplanationOfBenefitDstu2());
171 		retVal.add(daoFamilyMemberHistoryDstu2());
172 		retVal.add(daoFlagDstu2());
173 		retVal.add(daoGoalDstu2());
174 		retVal.add(daoGroupDstu2());
175 		retVal.add(daoHealthcareServiceDstu2());
176 		retVal.add(daoImagingObjectSelectionDstu2());
177 		retVal.add(daoImagingStudyDstu2());
178 		retVal.add(daoImmunizationDstu2());
179 		retVal.add(daoImmunizationRecommendationDstu2());
180 		retVal.add(daoImplementationGuideDstu2());
181 		retVal.add(daoListResourceDstu2());
182 		retVal.add(daoLocationDstu2());
183 		retVal.add(daoMediaDstu2());
184 		retVal.add(daoMedicationDstu2());
185 		retVal.add(daoMedicationAdministrationDstu2());
186 		retVal.add(daoMedicationDispenseDstu2());
187 		retVal.add(daoMedicationOrderDstu2());
188 		retVal.add(daoMedicationStatementDstu2());
189 		retVal.add(daoMessageHeaderDstu2());
190 		retVal.add(daoNamingSystemDstu2());
191 		retVal.add(daoNutritionOrderDstu2());
192 		retVal.add(daoObservationDstu2());
193 		retVal.add(daoOperationDefinitionDstu2());
194 		retVal.add(daoOperationOutcomeDstu2());
195 		retVal.add(daoOrderDstu2());
196 		retVal.add(daoOrderResponseDstu2());
197 		retVal.add(daoOrganizationDstu2());
198 		retVal.add(daoParametersDstu2());
199 		retVal.add(daoPatientDstu2());
200 		retVal.add(daoPaymentNoticeDstu2());
201 		retVal.add(daoPaymentReconciliationDstu2());
202 		retVal.add(daoPersonDstu2());
203 		retVal.add(daoPractitionerDstu2());
204 		retVal.add(daoProcedureDstu2());
205 		retVal.add(daoProcedureRequestDstu2());
206 		retVal.add(daoProcessRequestDstu2());
207 		retVal.add(daoProcessResponseDstu2());
208 		retVal.add(daoProvenanceDstu2());
209 		retVal.add(daoQuestionnaireDstu2());
210 		retVal.add(daoQuestionnaireResponseDstu2());
211 		retVal.add(daoReferralRequestDstu2());
212 		retVal.add(daoRelatedPersonDstu2());
213 		retVal.add(daoRiskAssessmentDstu2());
214 		retVal.add(daoScheduleDstu2());
215 		retVal.add(daoSearchParameterDstu2());
216 		retVal.add(daoSlotDstu2());
217 		retVal.add(daoSpecimenDstu2());
218 		retVal.add(daoStructureDefinitionDstu2());
219 		retVal.add(daoSubscriptionDstu2());
220 		retVal.add(daoSubstanceDstu2());
221 		retVal.add(daoSupplyDeliveryDstu2());
222 		retVal.add(daoSupplyRequestDstu2());
223 		retVal.add(daoTestScriptDstu2());
224 		retVal.add(daoValueSetDstu2());
225 		retVal.add(daoVisionPrescriptionDstu2());
226 		return retVal;
227 	}
228 
229 	@Bean(name="myAccountDaoDstu2", autowire=Autowire.BY_NAME)
230 	@Lazy
231 	public 
232 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Account>
233 		 daoAccountDstu2() {
234 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Account> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Account>();
235 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Account.class);
236 		retVal.setContext(fhirContextDstu2());
237 		return retVal;
238 	}
239 
240 	@Bean(name="myAccountRpDstu2")
241 	@Lazy
242 	public ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider rpAccountDstu2() {
243 		ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider retVal;
244 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider();
245 		retVal.setContext(fhirContextDstu2());
246 		retVal.setDao(daoAccountDstu2());
247 		return retVal;
248 	}
249 
250 	@Bean(name="myAllergyIntoleranceDaoDstu2", autowire=Autowire.BY_NAME)
251 	@Lazy
252 	public 
253 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance>
254 		 daoAllergyIntoleranceDstu2() {
255 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance>();
256 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance.class);
257 		retVal.setContext(fhirContextDstu2());
258 		return retVal;
259 	}
260 
261 	@Bean(name="myAllergyIntoleranceRpDstu2")
262 	@Lazy
263 	public ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider rpAllergyIntoleranceDstu2() {
264 		ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider retVal;
265 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider();
266 		retVal.setContext(fhirContextDstu2());
267 		retVal.setDao(daoAllergyIntoleranceDstu2());
268 		return retVal;
269 	}
270 
271 	@Bean(name="myAppointmentDaoDstu2", autowire=Autowire.BY_NAME)
272 	@Lazy
273 	public 
274 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Appointment>
275 		 daoAppointmentDstu2() {
276 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Appointment> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Appointment>();
277 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Appointment.class);
278 		retVal.setContext(fhirContextDstu2());
279 		return retVal;
280 	}
281 
282 	@Bean(name="myAppointmentRpDstu2")
283 	@Lazy
284 	public ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider rpAppointmentDstu2() {
285 		ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider retVal;
286 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider();
287 		retVal.setContext(fhirContextDstu2());
288 		retVal.setDao(daoAppointmentDstu2());
289 		return retVal;
290 	}
291 
292 	@Bean(name="myAppointmentResponseDaoDstu2", autowire=Autowire.BY_NAME)
293 	@Lazy
294 	public 
295 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.AppointmentResponse>
296 		 daoAppointmentResponseDstu2() {
297 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.AppointmentResponse> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.AppointmentResponse>();
298 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.AppointmentResponse.class);
299 		retVal.setContext(fhirContextDstu2());
300 		return retVal;
301 	}
302 
303 	@Bean(name="myAppointmentResponseRpDstu2")
304 	@Lazy
305 	public ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider rpAppointmentResponseDstu2() {
306 		ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider retVal;
307 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider();
308 		retVal.setContext(fhirContextDstu2());
309 		retVal.setDao(daoAppointmentResponseDstu2());
310 		return retVal;
311 	}
312 
313 	@Bean(name="myAuditEventDaoDstu2", autowire=Autowire.BY_NAME)
314 	@Lazy
315 	public 
316 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.AuditEvent>
317 		 daoAuditEventDstu2() {
318 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.AuditEvent> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.AuditEvent>();
319 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.AuditEvent.class);
320 		retVal.setContext(fhirContextDstu2());
321 		return retVal;
322 	}
323 
324 	@Bean(name="myAuditEventRpDstu2")
325 	@Lazy
326 	public ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider rpAuditEventDstu2() {
327 		ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider retVal;
328 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider();
329 		retVal.setContext(fhirContextDstu2());
330 		retVal.setDao(daoAuditEventDstu2());
331 		return retVal;
332 	}
333 
334 	@Bean(name="myBasicDaoDstu2", autowire=Autowire.BY_NAME)
335 	@Lazy
336 	public 
337 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Basic>
338 		 daoBasicDstu2() {
339 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Basic> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Basic>();
340 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Basic.class);
341 		retVal.setContext(fhirContextDstu2());
342 		return retVal;
343 	}
344 
345 	@Bean(name="myBasicRpDstu2")
346 	@Lazy
347 	public ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider rpBasicDstu2() {
348 		ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider retVal;
349 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider();
350 		retVal.setContext(fhirContextDstu2());
351 		retVal.setDao(daoBasicDstu2());
352 		return retVal;
353 	}
354 
355 	@Bean(name="myBinaryDaoDstu2", autowire=Autowire.BY_NAME)
356 	@Lazy
357 	public 
358 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Binary>
359 		 daoBinaryDstu2() {
360 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Binary> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Binary>();
361 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Binary.class);
362 		retVal.setContext(fhirContextDstu2());
363 		return retVal;
364 	}
365 
366 	@Bean(name="myBinaryRpDstu2")
367 	@Lazy
368 	public ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider rpBinaryDstu2() {
369 		ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider retVal;
370 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider();
371 		retVal.setContext(fhirContextDstu2());
372 		retVal.setDao(daoBinaryDstu2());
373 		return retVal;
374 	}
375 
376 	@Bean(name="myBodySiteDaoDstu2", autowire=Autowire.BY_NAME)
377 	@Lazy
378 	public 
379 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.BodySite>
380 		 daoBodySiteDstu2() {
381 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.BodySite> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.BodySite>();
382 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.BodySite.class);
383 		retVal.setContext(fhirContextDstu2());
384 		return retVal;
385 	}
386 
387 	@Bean(name="myBodySiteRpDstu2")
388 	@Lazy
389 	public ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider rpBodySiteDstu2() {
390 		ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider retVal;
391 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider();
392 		retVal.setContext(fhirContextDstu2());
393 		retVal.setDao(daoBodySiteDstu2());
394 		return retVal;
395 	}
396 
397 	@Bean(name="myBundleDaoDstu2", autowire=Autowire.BY_NAME)
398 	@Lazy
399 	public 
400 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Bundle>
401 		 daoBundleDstu2() {
402 		ca.uhn.fhir.jpa.dao.FhirResourceDaoBundleDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoBundleDstu2();
403 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Bundle.class);
404 		retVal.setContext(fhirContextDstu2());
405 		return retVal;
406 	}
407 
408 	@Bean(name="myBundleRpDstu2")
409 	@Lazy
410 	public ca.uhn.fhir.jpa.rp.dstu2.BundleResourceProvider rpBundleDstu2() {
411 		ca.uhn.fhir.jpa.rp.dstu2.BundleResourceProvider retVal;
412 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.BundleResourceProvider();
413 		retVal.setContext(fhirContextDstu2());
414 		retVal.setDao(daoBundleDstu2());
415 		return retVal;
416 	}
417 
418 	@Bean(name="myCarePlanDaoDstu2", autowire=Autowire.BY_NAME)
419 	@Lazy
420 	public 
421 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.CarePlan>
422 		 daoCarePlanDstu2() {
423 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.CarePlan> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.CarePlan>();
424 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.CarePlan.class);
425 		retVal.setContext(fhirContextDstu2());
426 		return retVal;
427 	}
428 
429 	@Bean(name="myCarePlanRpDstu2")
430 	@Lazy
431 	public ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider rpCarePlanDstu2() {
432 		ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider retVal;
433 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider();
434 		retVal.setContext(fhirContextDstu2());
435 		retVal.setDao(daoCarePlanDstu2());
436 		return retVal;
437 	}
438 
439 	@Bean(name="myClaimDaoDstu2", autowire=Autowire.BY_NAME)
440 	@Lazy
441 	public 
442 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Claim>
443 		 daoClaimDstu2() {
444 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Claim> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Claim>();
445 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Claim.class);
446 		retVal.setContext(fhirContextDstu2());
447 		return retVal;
448 	}
449 
450 	@Bean(name="myClaimRpDstu2")
451 	@Lazy
452 	public ca.uhn.fhir.jpa.rp.dstu2.ClaimResourceProvider rpClaimDstu2() {
453 		ca.uhn.fhir.jpa.rp.dstu2.ClaimResourceProvider retVal;
454 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ClaimResourceProvider();
455 		retVal.setContext(fhirContextDstu2());
456 		retVal.setDao(daoClaimDstu2());
457 		return retVal;
458 	}
459 
460 	@Bean(name="myClaimResponseDaoDstu2", autowire=Autowire.BY_NAME)
461 	@Lazy
462 	public 
463 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ClaimResponse>
464 		 daoClaimResponseDstu2() {
465 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ClaimResponse> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ClaimResponse>();
466 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ClaimResponse.class);
467 		retVal.setContext(fhirContextDstu2());
468 		return retVal;
469 	}
470 
471 	@Bean(name="myClaimResponseRpDstu2")
472 	@Lazy
473 	public ca.uhn.fhir.jpa.rp.dstu2.ClaimResponseResourceProvider rpClaimResponseDstu2() {
474 		ca.uhn.fhir.jpa.rp.dstu2.ClaimResponseResourceProvider retVal;
475 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ClaimResponseResourceProvider();
476 		retVal.setContext(fhirContextDstu2());
477 		retVal.setDao(daoClaimResponseDstu2());
478 		return retVal;
479 	}
480 
481 	@Bean(name="myClinicalImpressionDaoDstu2", autowire=Autowire.BY_NAME)
482 	@Lazy
483 	public 
484 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ClinicalImpression>
485 		 daoClinicalImpressionDstu2() {
486 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ClinicalImpression> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ClinicalImpression>();
487 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ClinicalImpression.class);
488 		retVal.setContext(fhirContextDstu2());
489 		return retVal;
490 	}
491 
492 	@Bean(name="myClinicalImpressionRpDstu2")
493 	@Lazy
494 	public ca.uhn.fhir.jpa.rp.dstu2.ClinicalImpressionResourceProvider rpClinicalImpressionDstu2() {
495 		ca.uhn.fhir.jpa.rp.dstu2.ClinicalImpressionResourceProvider retVal;
496 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ClinicalImpressionResourceProvider();
497 		retVal.setContext(fhirContextDstu2());
498 		retVal.setDao(daoClinicalImpressionDstu2());
499 		return retVal;
500 	}
501 
502 	@Bean(name="myCommunicationDaoDstu2", autowire=Autowire.BY_NAME)
503 	@Lazy
504 	public 
505 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Communication>
506 		 daoCommunicationDstu2() {
507 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Communication> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Communication>();
508 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Communication.class);
509 		retVal.setContext(fhirContextDstu2());
510 		return retVal;
511 	}
512 
513 	@Bean(name="myCommunicationRpDstu2")
514 	@Lazy
515 	public ca.uhn.fhir.jpa.rp.dstu2.CommunicationResourceProvider rpCommunicationDstu2() {
516 		ca.uhn.fhir.jpa.rp.dstu2.CommunicationResourceProvider retVal;
517 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.CommunicationResourceProvider();
518 		retVal.setContext(fhirContextDstu2());
519 		retVal.setDao(daoCommunicationDstu2());
520 		return retVal;
521 	}
522 
523 	@Bean(name="myCommunicationRequestDaoDstu2", autowire=Autowire.BY_NAME)
524 	@Lazy
525 	public 
526 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.CommunicationRequest>
527 		 daoCommunicationRequestDstu2() {
528 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.CommunicationRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.CommunicationRequest>();
529 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.CommunicationRequest.class);
530 		retVal.setContext(fhirContextDstu2());
531 		return retVal;
532 	}
533 
534 	@Bean(name="myCommunicationRequestRpDstu2")
535 	@Lazy
536 	public ca.uhn.fhir.jpa.rp.dstu2.CommunicationRequestResourceProvider rpCommunicationRequestDstu2() {
537 		ca.uhn.fhir.jpa.rp.dstu2.CommunicationRequestResourceProvider retVal;
538 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.CommunicationRequestResourceProvider();
539 		retVal.setContext(fhirContextDstu2());
540 		retVal.setDao(daoCommunicationRequestDstu2());
541 		return retVal;
542 	}
543 
544 	@Bean(name="myCompositionDaoDstu2", autowire=Autowire.BY_NAME)
545 	@Lazy
546 	public 
547 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Composition>
548 		 daoCompositionDstu2() {
549 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Composition> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Composition>();
550 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Composition.class);
551 		retVal.setContext(fhirContextDstu2());
552 		return retVal;
553 	}
554 
555 	@Bean(name="myCompositionRpDstu2")
556 	@Lazy
557 	public ca.uhn.fhir.jpa.rp.dstu2.CompositionResourceProvider rpCompositionDstu2() {
558 		ca.uhn.fhir.jpa.rp.dstu2.CompositionResourceProvider retVal;
559 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.CompositionResourceProvider();
560 		retVal.setContext(fhirContextDstu2());
561 		retVal.setDao(daoCompositionDstu2());
562 		return retVal;
563 	}
564 
565 	@Bean(name="myConceptMapDaoDstu2", autowire=Autowire.BY_NAME)
566 	@Lazy
567 	public 
568 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ConceptMap>
569 		 daoConceptMapDstu2() {
570 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ConceptMap> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ConceptMap>();
571 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ConceptMap.class);
572 		retVal.setContext(fhirContextDstu2());
573 		return retVal;
574 	}
575 
576 	@Bean(name="myConceptMapRpDstu2")
577 	@Lazy
578 	public ca.uhn.fhir.jpa.rp.dstu2.ConceptMapResourceProvider rpConceptMapDstu2() {
579 		ca.uhn.fhir.jpa.rp.dstu2.ConceptMapResourceProvider retVal;
580 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ConceptMapResourceProvider();
581 		retVal.setContext(fhirContextDstu2());
582 		retVal.setDao(daoConceptMapDstu2());
583 		return retVal;
584 	}
585 
586 	@Bean(name="myConditionDaoDstu2", autowire=Autowire.BY_NAME)
587 	@Lazy
588 	public 
589 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Condition>
590 		 daoConditionDstu2() {
591 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Condition> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Condition>();
592 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Condition.class);
593 		retVal.setContext(fhirContextDstu2());
594 		return retVal;
595 	}
596 
597 	@Bean(name="myConditionRpDstu2")
598 	@Lazy
599 	public ca.uhn.fhir.jpa.rp.dstu2.ConditionResourceProvider rpConditionDstu2() {
600 		ca.uhn.fhir.jpa.rp.dstu2.ConditionResourceProvider retVal;
601 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ConditionResourceProvider();
602 		retVal.setContext(fhirContextDstu2());
603 		retVal.setDao(daoConditionDstu2());
604 		return retVal;
605 	}
606 
607 	@Bean(name="myConformanceDaoDstu2", autowire=Autowire.BY_NAME)
608 	@Lazy
609 	public 
610 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Conformance>
611 		 daoConformanceDstu2() {
612 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Conformance> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Conformance>();
613 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Conformance.class);
614 		retVal.setContext(fhirContextDstu2());
615 		return retVal;
616 	}
617 
618 	@Bean(name="myConformanceRpDstu2")
619 	@Lazy
620 	public ca.uhn.fhir.jpa.rp.dstu2.ConformanceResourceProvider rpConformanceDstu2() {
621 		ca.uhn.fhir.jpa.rp.dstu2.ConformanceResourceProvider retVal;
622 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ConformanceResourceProvider();
623 		retVal.setContext(fhirContextDstu2());
624 		retVal.setDao(daoConformanceDstu2());
625 		return retVal;
626 	}
627 
628 	@Bean(name="myContractDaoDstu2", autowire=Autowire.BY_NAME)
629 	@Lazy
630 	public 
631 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Contract>
632 		 daoContractDstu2() {
633 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Contract> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Contract>();
634 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Contract.class);
635 		retVal.setContext(fhirContextDstu2());
636 		return retVal;
637 	}
638 
639 	@Bean(name="myContractRpDstu2")
640 	@Lazy
641 	public ca.uhn.fhir.jpa.rp.dstu2.ContractResourceProvider rpContractDstu2() {
642 		ca.uhn.fhir.jpa.rp.dstu2.ContractResourceProvider retVal;
643 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ContractResourceProvider();
644 		retVal.setContext(fhirContextDstu2());
645 		retVal.setDao(daoContractDstu2());
646 		return retVal;
647 	}
648 
649 	@Bean(name="myCoverageDaoDstu2", autowire=Autowire.BY_NAME)
650 	@Lazy
651 	public 
652 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Coverage>
653 		 daoCoverageDstu2() {
654 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Coverage> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Coverage>();
655 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Coverage.class);
656 		retVal.setContext(fhirContextDstu2());
657 		return retVal;
658 	}
659 
660 	@Bean(name="myCoverageRpDstu2")
661 	@Lazy
662 	public ca.uhn.fhir.jpa.rp.dstu2.CoverageResourceProvider rpCoverageDstu2() {
663 		ca.uhn.fhir.jpa.rp.dstu2.CoverageResourceProvider retVal;
664 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.CoverageResourceProvider();
665 		retVal.setContext(fhirContextDstu2());
666 		retVal.setDao(daoCoverageDstu2());
667 		return retVal;
668 	}
669 
670 	@Bean(name="myDataElementDaoDstu2", autowire=Autowire.BY_NAME)
671 	@Lazy
672 	public 
673 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DataElement>
674 		 daoDataElementDstu2() {
675 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DataElement> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DataElement>();
676 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DataElement.class);
677 		retVal.setContext(fhirContextDstu2());
678 		return retVal;
679 	}
680 
681 	@Bean(name="myDataElementRpDstu2")
682 	@Lazy
683 	public ca.uhn.fhir.jpa.rp.dstu2.DataElementResourceProvider rpDataElementDstu2() {
684 		ca.uhn.fhir.jpa.rp.dstu2.DataElementResourceProvider retVal;
685 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DataElementResourceProvider();
686 		retVal.setContext(fhirContextDstu2());
687 		retVal.setDao(daoDataElementDstu2());
688 		return retVal;
689 	}
690 
691 	@Bean(name="myDetectedIssueDaoDstu2", autowire=Autowire.BY_NAME)
692 	@Lazy
693 	public 
694 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DetectedIssue>
695 		 daoDetectedIssueDstu2() {
696 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DetectedIssue> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DetectedIssue>();
697 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DetectedIssue.class);
698 		retVal.setContext(fhirContextDstu2());
699 		return retVal;
700 	}
701 
702 	@Bean(name="myDetectedIssueRpDstu2")
703 	@Lazy
704 	public ca.uhn.fhir.jpa.rp.dstu2.DetectedIssueResourceProvider rpDetectedIssueDstu2() {
705 		ca.uhn.fhir.jpa.rp.dstu2.DetectedIssueResourceProvider retVal;
706 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DetectedIssueResourceProvider();
707 		retVal.setContext(fhirContextDstu2());
708 		retVal.setDao(daoDetectedIssueDstu2());
709 		return retVal;
710 	}
711 
712 	@Bean(name="myDeviceDaoDstu2", autowire=Autowire.BY_NAME)
713 	@Lazy
714 	public 
715 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Device>
716 		 daoDeviceDstu2() {
717 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Device> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Device>();
718 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Device.class);
719 		retVal.setContext(fhirContextDstu2());
720 		return retVal;
721 	}
722 
723 	@Bean(name="myDeviceRpDstu2")
724 	@Lazy
725 	public ca.uhn.fhir.jpa.rp.dstu2.DeviceResourceProvider rpDeviceDstu2() {
726 		ca.uhn.fhir.jpa.rp.dstu2.DeviceResourceProvider retVal;
727 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DeviceResourceProvider();
728 		retVal.setContext(fhirContextDstu2());
729 		retVal.setDao(daoDeviceDstu2());
730 		return retVal;
731 	}
732 
733 	@Bean(name="myDeviceComponentDaoDstu2", autowire=Autowire.BY_NAME)
734 	@Lazy
735 	public 
736 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DeviceComponent>
737 		 daoDeviceComponentDstu2() {
738 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceComponent> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceComponent>();
739 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DeviceComponent.class);
740 		retVal.setContext(fhirContextDstu2());
741 		return retVal;
742 	}
743 
744 	@Bean(name="myDeviceComponentRpDstu2")
745 	@Lazy
746 	public ca.uhn.fhir.jpa.rp.dstu2.DeviceComponentResourceProvider rpDeviceComponentDstu2() {
747 		ca.uhn.fhir.jpa.rp.dstu2.DeviceComponentResourceProvider retVal;
748 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DeviceComponentResourceProvider();
749 		retVal.setContext(fhirContextDstu2());
750 		retVal.setDao(daoDeviceComponentDstu2());
751 		return retVal;
752 	}
753 
754 	@Bean(name="myDeviceMetricDaoDstu2", autowire=Autowire.BY_NAME)
755 	@Lazy
756 	public 
757 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DeviceMetric>
758 		 daoDeviceMetricDstu2() {
759 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceMetric> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceMetric>();
760 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DeviceMetric.class);
761 		retVal.setContext(fhirContextDstu2());
762 		return retVal;
763 	}
764 
765 	@Bean(name="myDeviceMetricRpDstu2")
766 	@Lazy
767 	public ca.uhn.fhir.jpa.rp.dstu2.DeviceMetricResourceProvider rpDeviceMetricDstu2() {
768 		ca.uhn.fhir.jpa.rp.dstu2.DeviceMetricResourceProvider retVal;
769 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DeviceMetricResourceProvider();
770 		retVal.setContext(fhirContextDstu2());
771 		retVal.setDao(daoDeviceMetricDstu2());
772 		return retVal;
773 	}
774 
775 	@Bean(name="myDeviceUseRequestDaoDstu2", autowire=Autowire.BY_NAME)
776 	@Lazy
777 	public 
778 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest>
779 		 daoDeviceUseRequestDstu2() {
780 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest>();
781 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest.class);
782 		retVal.setContext(fhirContextDstu2());
783 		return retVal;
784 	}
785 
786 	@Bean(name="myDeviceUseRequestRpDstu2")
787 	@Lazy
788 	public ca.uhn.fhir.jpa.rp.dstu2.DeviceUseRequestResourceProvider rpDeviceUseRequestDstu2() {
789 		ca.uhn.fhir.jpa.rp.dstu2.DeviceUseRequestResourceProvider retVal;
790 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DeviceUseRequestResourceProvider();
791 		retVal.setContext(fhirContextDstu2());
792 		retVal.setDao(daoDeviceUseRequestDstu2());
793 		return retVal;
794 	}
795 
796 	@Bean(name="myDeviceUseStatementDaoDstu2", autowire=Autowire.BY_NAME)
797 	@Lazy
798 	public 
799 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DeviceUseStatement>
800 		 daoDeviceUseStatementDstu2() {
801 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceUseStatement> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DeviceUseStatement>();
802 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DeviceUseStatement.class);
803 		retVal.setContext(fhirContextDstu2());
804 		return retVal;
805 	}
806 
807 	@Bean(name="myDeviceUseStatementRpDstu2")
808 	@Lazy
809 	public ca.uhn.fhir.jpa.rp.dstu2.DeviceUseStatementResourceProvider rpDeviceUseStatementDstu2() {
810 		ca.uhn.fhir.jpa.rp.dstu2.DeviceUseStatementResourceProvider retVal;
811 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DeviceUseStatementResourceProvider();
812 		retVal.setContext(fhirContextDstu2());
813 		retVal.setDao(daoDeviceUseStatementDstu2());
814 		return retVal;
815 	}
816 
817 	@Bean(name="myDiagnosticOrderDaoDstu2", autowire=Autowire.BY_NAME)
818 	@Lazy
819 	public 
820 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder>
821 		 daoDiagnosticOrderDstu2() {
822 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder>();
823 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder.class);
824 		retVal.setContext(fhirContextDstu2());
825 		return retVal;
826 	}
827 
828 	@Bean(name="myDiagnosticOrderRpDstu2")
829 	@Lazy
830 	public ca.uhn.fhir.jpa.rp.dstu2.DiagnosticOrderResourceProvider rpDiagnosticOrderDstu2() {
831 		ca.uhn.fhir.jpa.rp.dstu2.DiagnosticOrderResourceProvider retVal;
832 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DiagnosticOrderResourceProvider();
833 		retVal.setContext(fhirContextDstu2());
834 		retVal.setDao(daoDiagnosticOrderDstu2());
835 		return retVal;
836 	}
837 
838 	@Bean(name="myDiagnosticReportDaoDstu2", autowire=Autowire.BY_NAME)
839 	@Lazy
840 	public 
841 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DiagnosticReport>
842 		 daoDiagnosticReportDstu2() {
843 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DiagnosticReport> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DiagnosticReport>();
844 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DiagnosticReport.class);
845 		retVal.setContext(fhirContextDstu2());
846 		return retVal;
847 	}
848 
849 	@Bean(name="myDiagnosticReportRpDstu2")
850 	@Lazy
851 	public ca.uhn.fhir.jpa.rp.dstu2.DiagnosticReportResourceProvider rpDiagnosticReportDstu2() {
852 		ca.uhn.fhir.jpa.rp.dstu2.DiagnosticReportResourceProvider retVal;
853 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DiagnosticReportResourceProvider();
854 		retVal.setContext(fhirContextDstu2());
855 		retVal.setDao(daoDiagnosticReportDstu2());
856 		return retVal;
857 	}
858 
859 	@Bean(name="myDocumentManifestDaoDstu2", autowire=Autowire.BY_NAME)
860 	@Lazy
861 	public 
862 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DocumentManifest>
863 		 daoDocumentManifestDstu2() {
864 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DocumentManifest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DocumentManifest>();
865 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DocumentManifest.class);
866 		retVal.setContext(fhirContextDstu2());
867 		return retVal;
868 	}
869 
870 	@Bean(name="myDocumentManifestRpDstu2")
871 	@Lazy
872 	public ca.uhn.fhir.jpa.rp.dstu2.DocumentManifestResourceProvider rpDocumentManifestDstu2() {
873 		ca.uhn.fhir.jpa.rp.dstu2.DocumentManifestResourceProvider retVal;
874 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DocumentManifestResourceProvider();
875 		retVal.setContext(fhirContextDstu2());
876 		retVal.setDao(daoDocumentManifestDstu2());
877 		return retVal;
878 	}
879 
880 	@Bean(name="myDocumentReferenceDaoDstu2", autowire=Autowire.BY_NAME)
881 	@Lazy
882 	public 
883 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.DocumentReference>
884 		 daoDocumentReferenceDstu2() {
885 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DocumentReference> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.DocumentReference>();
886 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.DocumentReference.class);
887 		retVal.setContext(fhirContextDstu2());
888 		return retVal;
889 	}
890 
891 	@Bean(name="myDocumentReferenceRpDstu2")
892 	@Lazy
893 	public ca.uhn.fhir.jpa.rp.dstu2.DocumentReferenceResourceProvider rpDocumentReferenceDstu2() {
894 		ca.uhn.fhir.jpa.rp.dstu2.DocumentReferenceResourceProvider retVal;
895 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.DocumentReferenceResourceProvider();
896 		retVal.setContext(fhirContextDstu2());
897 		retVal.setDao(daoDocumentReferenceDstu2());
898 		return retVal;
899 	}
900 
901 	@Bean(name="myEligibilityRequestDaoDstu2", autowire=Autowire.BY_NAME)
902 	@Lazy
903 	public 
904 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.EligibilityRequest>
905 		 daoEligibilityRequestDstu2() {
906 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EligibilityRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EligibilityRequest>();
907 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.EligibilityRequest.class);
908 		retVal.setContext(fhirContextDstu2());
909 		return retVal;
910 	}
911 
912 	@Bean(name="myEligibilityRequestRpDstu2")
913 	@Lazy
914 	public ca.uhn.fhir.jpa.rp.dstu2.EligibilityRequestResourceProvider rpEligibilityRequestDstu2() {
915 		ca.uhn.fhir.jpa.rp.dstu2.EligibilityRequestResourceProvider retVal;
916 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.EligibilityRequestResourceProvider();
917 		retVal.setContext(fhirContextDstu2());
918 		retVal.setDao(daoEligibilityRequestDstu2());
919 		return retVal;
920 	}
921 
922 	@Bean(name="myEligibilityResponseDaoDstu2", autowire=Autowire.BY_NAME)
923 	@Lazy
924 	public 
925 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.EligibilityResponse>
926 		 daoEligibilityResponseDstu2() {
927 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EligibilityResponse> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EligibilityResponse>();
928 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.EligibilityResponse.class);
929 		retVal.setContext(fhirContextDstu2());
930 		return retVal;
931 	}
932 
933 	@Bean(name="myEligibilityResponseRpDstu2")
934 	@Lazy
935 	public ca.uhn.fhir.jpa.rp.dstu2.EligibilityResponseResourceProvider rpEligibilityResponseDstu2() {
936 		ca.uhn.fhir.jpa.rp.dstu2.EligibilityResponseResourceProvider retVal;
937 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.EligibilityResponseResourceProvider();
938 		retVal.setContext(fhirContextDstu2());
939 		retVal.setDao(daoEligibilityResponseDstu2());
940 		return retVal;
941 	}
942 
943 	@Bean(name="myEncounterDaoDstu2", autowire=Autowire.BY_NAME)
944 	@Lazy
945 	public 
946 		IFhirResourceDaoEncounter<ca.uhn.fhir.model.dstu2.resource.Encounter>
947 		 daoEncounterDstu2() {
948 		ca.uhn.fhir.jpa.dao.FhirResourceDaoEncounterDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoEncounterDstu2();
949 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Encounter.class);
950 		retVal.setContext(fhirContextDstu2());
951 		return retVal;
952 	}
953 
954 	@Bean(name="myEncounterRpDstu2")
955 	@Lazy
956 	public ca.uhn.fhir.jpa.rp.dstu2.EncounterResourceProvider rpEncounterDstu2() {
957 		ca.uhn.fhir.jpa.rp.dstu2.EncounterResourceProvider retVal;
958 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.EncounterResourceProvider();
959 		retVal.setContext(fhirContextDstu2());
960 		retVal.setDao(daoEncounterDstu2());
961 		return retVal;
962 	}
963 
964 	@Bean(name="myEnrollmentRequestDaoDstu2", autowire=Autowire.BY_NAME)
965 	@Lazy
966 	public 
967 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest>
968 		 daoEnrollmentRequestDstu2() {
969 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest>();
970 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest.class);
971 		retVal.setContext(fhirContextDstu2());
972 		return retVal;
973 	}
974 
975 	@Bean(name="myEnrollmentRequestRpDstu2")
976 	@Lazy
977 	public ca.uhn.fhir.jpa.rp.dstu2.EnrollmentRequestResourceProvider rpEnrollmentRequestDstu2() {
978 		ca.uhn.fhir.jpa.rp.dstu2.EnrollmentRequestResourceProvider retVal;
979 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.EnrollmentRequestResourceProvider();
980 		retVal.setContext(fhirContextDstu2());
981 		retVal.setDao(daoEnrollmentRequestDstu2());
982 		return retVal;
983 	}
984 
985 	@Bean(name="myEnrollmentResponseDaoDstu2", autowire=Autowire.BY_NAME)
986 	@Lazy
987 	public 
988 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.EnrollmentResponse>
989 		 daoEnrollmentResponseDstu2() {
990 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EnrollmentResponse> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EnrollmentResponse>();
991 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.EnrollmentResponse.class);
992 		retVal.setContext(fhirContextDstu2());
993 		return retVal;
994 	}
995 
996 	@Bean(name="myEnrollmentResponseRpDstu2")
997 	@Lazy
998 	public ca.uhn.fhir.jpa.rp.dstu2.EnrollmentResponseResourceProvider rpEnrollmentResponseDstu2() {
999 		ca.uhn.fhir.jpa.rp.dstu2.EnrollmentResponseResourceProvider retVal;
1000 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.EnrollmentResponseResourceProvider();
1001 		retVal.setContext(fhirContextDstu2());
1002 		retVal.setDao(daoEnrollmentResponseDstu2());
1003 		return retVal;
1004 	}
1005 
1006 	@Bean(name="myEpisodeOfCareDaoDstu2", autowire=Autowire.BY_NAME)
1007 	@Lazy
1008 	public 
1009 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare>
1010 		 daoEpisodeOfCareDstu2() {
1011 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare>();
1012 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare.class);
1013 		retVal.setContext(fhirContextDstu2());
1014 		return retVal;
1015 	}
1016 
1017 	@Bean(name="myEpisodeOfCareRpDstu2")
1018 	@Lazy
1019 	public ca.uhn.fhir.jpa.rp.dstu2.EpisodeOfCareResourceProvider rpEpisodeOfCareDstu2() {
1020 		ca.uhn.fhir.jpa.rp.dstu2.EpisodeOfCareResourceProvider retVal;
1021 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.EpisodeOfCareResourceProvider();
1022 		retVal.setContext(fhirContextDstu2());
1023 		retVal.setDao(daoEpisodeOfCareDstu2());
1024 		return retVal;
1025 	}
1026 
1027 	@Bean(name="myExplanationOfBenefitDaoDstu2", autowire=Autowire.BY_NAME)
1028 	@Lazy
1029 	public 
1030 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ExplanationOfBenefit>
1031 		 daoExplanationOfBenefitDstu2() {
1032 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ExplanationOfBenefit> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ExplanationOfBenefit>();
1033 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ExplanationOfBenefit.class);
1034 		retVal.setContext(fhirContextDstu2());
1035 		return retVal;
1036 	}
1037 
1038 	@Bean(name="myExplanationOfBenefitRpDstu2")
1039 	@Lazy
1040 	public ca.uhn.fhir.jpa.rp.dstu2.ExplanationOfBenefitResourceProvider rpExplanationOfBenefitDstu2() {
1041 		ca.uhn.fhir.jpa.rp.dstu2.ExplanationOfBenefitResourceProvider retVal;
1042 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ExplanationOfBenefitResourceProvider();
1043 		retVal.setContext(fhirContextDstu2());
1044 		retVal.setDao(daoExplanationOfBenefitDstu2());
1045 		return retVal;
1046 	}
1047 
1048 	@Bean(name="myFamilyMemberHistoryDaoDstu2", autowire=Autowire.BY_NAME)
1049 	@Lazy
1050 	public 
1051 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory>
1052 		 daoFamilyMemberHistoryDstu2() {
1053 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory>();
1054 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory.class);
1055 		retVal.setContext(fhirContextDstu2());
1056 		return retVal;
1057 	}
1058 
1059 	@Bean(name="myFamilyMemberHistoryRpDstu2")
1060 	@Lazy
1061 	public ca.uhn.fhir.jpa.rp.dstu2.FamilyMemberHistoryResourceProvider rpFamilyMemberHistoryDstu2() {
1062 		ca.uhn.fhir.jpa.rp.dstu2.FamilyMemberHistoryResourceProvider retVal;
1063 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.FamilyMemberHistoryResourceProvider();
1064 		retVal.setContext(fhirContextDstu2());
1065 		retVal.setDao(daoFamilyMemberHistoryDstu2());
1066 		return retVal;
1067 	}
1068 
1069 	@Bean(name="myFlagDaoDstu2", autowire=Autowire.BY_NAME)
1070 	@Lazy
1071 	public 
1072 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Flag>
1073 		 daoFlagDstu2() {
1074 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Flag> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Flag>();
1075 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Flag.class);
1076 		retVal.setContext(fhirContextDstu2());
1077 		return retVal;
1078 	}
1079 
1080 	@Bean(name="myFlagRpDstu2")
1081 	@Lazy
1082 	public ca.uhn.fhir.jpa.rp.dstu2.FlagResourceProvider rpFlagDstu2() {
1083 		ca.uhn.fhir.jpa.rp.dstu2.FlagResourceProvider retVal;
1084 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.FlagResourceProvider();
1085 		retVal.setContext(fhirContextDstu2());
1086 		retVal.setDao(daoFlagDstu2());
1087 		return retVal;
1088 	}
1089 
1090 	@Bean(name="myGoalDaoDstu2", autowire=Autowire.BY_NAME)
1091 	@Lazy
1092 	public 
1093 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Goal>
1094 		 daoGoalDstu2() {
1095 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Goal> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Goal>();
1096 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Goal.class);
1097 		retVal.setContext(fhirContextDstu2());
1098 		return retVal;
1099 	}
1100 
1101 	@Bean(name="myGoalRpDstu2")
1102 	@Lazy
1103 	public ca.uhn.fhir.jpa.rp.dstu2.GoalResourceProvider rpGoalDstu2() {
1104 		ca.uhn.fhir.jpa.rp.dstu2.GoalResourceProvider retVal;
1105 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.GoalResourceProvider();
1106 		retVal.setContext(fhirContextDstu2());
1107 		retVal.setDao(daoGoalDstu2());
1108 		return retVal;
1109 	}
1110 
1111 	@Bean(name="myGroupDaoDstu2", autowire=Autowire.BY_NAME)
1112 	@Lazy
1113 	public 
1114 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Group>
1115 		 daoGroupDstu2() {
1116 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Group> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Group>();
1117 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Group.class);
1118 		retVal.setContext(fhirContextDstu2());
1119 		return retVal;
1120 	}
1121 
1122 	@Bean(name="myGroupRpDstu2")
1123 	@Lazy
1124 	public ca.uhn.fhir.jpa.rp.dstu2.GroupResourceProvider rpGroupDstu2() {
1125 		ca.uhn.fhir.jpa.rp.dstu2.GroupResourceProvider retVal;
1126 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.GroupResourceProvider();
1127 		retVal.setContext(fhirContextDstu2());
1128 		retVal.setDao(daoGroupDstu2());
1129 		return retVal;
1130 	}
1131 
1132 	@Bean(name="myHealthcareServiceDaoDstu2", autowire=Autowire.BY_NAME)
1133 	@Lazy
1134 	public 
1135 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.HealthcareService>
1136 		 daoHealthcareServiceDstu2() {
1137 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.HealthcareService> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.HealthcareService>();
1138 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.HealthcareService.class);
1139 		retVal.setContext(fhirContextDstu2());
1140 		return retVal;
1141 	}
1142 
1143 	@Bean(name="myHealthcareServiceRpDstu2")
1144 	@Lazy
1145 	public ca.uhn.fhir.jpa.rp.dstu2.HealthcareServiceResourceProvider rpHealthcareServiceDstu2() {
1146 		ca.uhn.fhir.jpa.rp.dstu2.HealthcareServiceResourceProvider retVal;
1147 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.HealthcareServiceResourceProvider();
1148 		retVal.setContext(fhirContextDstu2());
1149 		retVal.setDao(daoHealthcareServiceDstu2());
1150 		return retVal;
1151 	}
1152 
1153 	@Bean(name="myImagingObjectSelectionDaoDstu2", autowire=Autowire.BY_NAME)
1154 	@Lazy
1155 	public 
1156 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection>
1157 		 daoImagingObjectSelectionDstu2() {
1158 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection>();
1159 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection.class);
1160 		retVal.setContext(fhirContextDstu2());
1161 		return retVal;
1162 	}
1163 
1164 	@Bean(name="myImagingObjectSelectionRpDstu2")
1165 	@Lazy
1166 	public ca.uhn.fhir.jpa.rp.dstu2.ImagingObjectSelectionResourceProvider rpImagingObjectSelectionDstu2() {
1167 		ca.uhn.fhir.jpa.rp.dstu2.ImagingObjectSelectionResourceProvider retVal;
1168 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ImagingObjectSelectionResourceProvider();
1169 		retVal.setContext(fhirContextDstu2());
1170 		retVal.setDao(daoImagingObjectSelectionDstu2());
1171 		return retVal;
1172 	}
1173 
1174 	@Bean(name="myImagingStudyDaoDstu2", autowire=Autowire.BY_NAME)
1175 	@Lazy
1176 	public 
1177 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ImagingStudy>
1178 		 daoImagingStudyDstu2() {
1179 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImagingStudy> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImagingStudy>();
1180 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ImagingStudy.class);
1181 		retVal.setContext(fhirContextDstu2());
1182 		return retVal;
1183 	}
1184 
1185 	@Bean(name="myImagingStudyRpDstu2")
1186 	@Lazy
1187 	public ca.uhn.fhir.jpa.rp.dstu2.ImagingStudyResourceProvider rpImagingStudyDstu2() {
1188 		ca.uhn.fhir.jpa.rp.dstu2.ImagingStudyResourceProvider retVal;
1189 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ImagingStudyResourceProvider();
1190 		retVal.setContext(fhirContextDstu2());
1191 		retVal.setDao(daoImagingStudyDstu2());
1192 		return retVal;
1193 	}
1194 
1195 	@Bean(name="myImmunizationDaoDstu2", autowire=Autowire.BY_NAME)
1196 	@Lazy
1197 	public 
1198 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Immunization>
1199 		 daoImmunizationDstu2() {
1200 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Immunization> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Immunization>();
1201 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Immunization.class);
1202 		retVal.setContext(fhirContextDstu2());
1203 		return retVal;
1204 	}
1205 
1206 	@Bean(name="myImmunizationRpDstu2")
1207 	@Lazy
1208 	public ca.uhn.fhir.jpa.rp.dstu2.ImmunizationResourceProvider rpImmunizationDstu2() {
1209 		ca.uhn.fhir.jpa.rp.dstu2.ImmunizationResourceProvider retVal;
1210 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ImmunizationResourceProvider();
1211 		retVal.setContext(fhirContextDstu2());
1212 		retVal.setDao(daoImmunizationDstu2());
1213 		return retVal;
1214 	}
1215 
1216 	@Bean(name="myImmunizationRecommendationDaoDstu2", autowire=Autowire.BY_NAME)
1217 	@Lazy
1218 	public 
1219 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ImmunizationRecommendation>
1220 		 daoImmunizationRecommendationDstu2() {
1221 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImmunizationRecommendation> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImmunizationRecommendation>();
1222 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ImmunizationRecommendation.class);
1223 		retVal.setContext(fhirContextDstu2());
1224 		return retVal;
1225 	}
1226 
1227 	@Bean(name="myImmunizationRecommendationRpDstu2")
1228 	@Lazy
1229 	public ca.uhn.fhir.jpa.rp.dstu2.ImmunizationRecommendationResourceProvider rpImmunizationRecommendationDstu2() {
1230 		ca.uhn.fhir.jpa.rp.dstu2.ImmunizationRecommendationResourceProvider retVal;
1231 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ImmunizationRecommendationResourceProvider();
1232 		retVal.setContext(fhirContextDstu2());
1233 		retVal.setDao(daoImmunizationRecommendationDstu2());
1234 		return retVal;
1235 	}
1236 
1237 	@Bean(name="myImplementationGuideDaoDstu2", autowire=Autowire.BY_NAME)
1238 	@Lazy
1239 	public 
1240 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ImplementationGuide>
1241 		 daoImplementationGuideDstu2() {
1242 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImplementationGuide> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ImplementationGuide>();
1243 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ImplementationGuide.class);
1244 		retVal.setContext(fhirContextDstu2());
1245 		return retVal;
1246 	}
1247 
1248 	@Bean(name="myImplementationGuideRpDstu2")
1249 	@Lazy
1250 	public ca.uhn.fhir.jpa.rp.dstu2.ImplementationGuideResourceProvider rpImplementationGuideDstu2() {
1251 		ca.uhn.fhir.jpa.rp.dstu2.ImplementationGuideResourceProvider retVal;
1252 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ImplementationGuideResourceProvider();
1253 		retVal.setContext(fhirContextDstu2());
1254 		retVal.setDao(daoImplementationGuideDstu2());
1255 		return retVal;
1256 	}
1257 
1258 	@Bean(name="myListDaoDstu2", autowire=Autowire.BY_NAME)
1259 	@Lazy
1260 	public 
1261 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ListResource>
1262 		 daoListResourceDstu2() {
1263 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ListResource> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ListResource>();
1264 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ListResource.class);
1265 		retVal.setContext(fhirContextDstu2());
1266 		return retVal;
1267 	}
1268 
1269 	@Bean(name="myListResourceRpDstu2")
1270 	@Lazy
1271 	public ca.uhn.fhir.jpa.rp.dstu2.ListResourceResourceProvider rpListResourceDstu2() {
1272 		ca.uhn.fhir.jpa.rp.dstu2.ListResourceResourceProvider retVal;
1273 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ListResourceResourceProvider();
1274 		retVal.setContext(fhirContextDstu2());
1275 		retVal.setDao(daoListResourceDstu2());
1276 		return retVal;
1277 	}
1278 
1279 	@Bean(name="myLocationDaoDstu2", autowire=Autowire.BY_NAME)
1280 	@Lazy
1281 	public 
1282 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Location>
1283 		 daoLocationDstu2() {
1284 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Location> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Location>();
1285 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Location.class);
1286 		retVal.setContext(fhirContextDstu2());
1287 		return retVal;
1288 	}
1289 
1290 	@Bean(name="myLocationRpDstu2")
1291 	@Lazy
1292 	public ca.uhn.fhir.jpa.rp.dstu2.LocationResourceProvider rpLocationDstu2() {
1293 		ca.uhn.fhir.jpa.rp.dstu2.LocationResourceProvider retVal;
1294 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.LocationResourceProvider();
1295 		retVal.setContext(fhirContextDstu2());
1296 		retVal.setDao(daoLocationDstu2());
1297 		return retVal;
1298 	}
1299 
1300 	@Bean(name="myMediaDaoDstu2", autowire=Autowire.BY_NAME)
1301 	@Lazy
1302 	public 
1303 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Media>
1304 		 daoMediaDstu2() {
1305 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Media> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Media>();
1306 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Media.class);
1307 		retVal.setContext(fhirContextDstu2());
1308 		return retVal;
1309 	}
1310 
1311 	@Bean(name="myMediaRpDstu2")
1312 	@Lazy
1313 	public ca.uhn.fhir.jpa.rp.dstu2.MediaResourceProvider rpMediaDstu2() {
1314 		ca.uhn.fhir.jpa.rp.dstu2.MediaResourceProvider retVal;
1315 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MediaResourceProvider();
1316 		retVal.setContext(fhirContextDstu2());
1317 		retVal.setDao(daoMediaDstu2());
1318 		return retVal;
1319 	}
1320 
1321 	@Bean(name="myMedicationDaoDstu2", autowire=Autowire.BY_NAME)
1322 	@Lazy
1323 	public 
1324 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Medication>
1325 		 daoMedicationDstu2() {
1326 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Medication> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Medication>();
1327 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Medication.class);
1328 		retVal.setContext(fhirContextDstu2());
1329 		return retVal;
1330 	}
1331 
1332 	@Bean(name="myMedicationRpDstu2")
1333 	@Lazy
1334 	public ca.uhn.fhir.jpa.rp.dstu2.MedicationResourceProvider rpMedicationDstu2() {
1335 		ca.uhn.fhir.jpa.rp.dstu2.MedicationResourceProvider retVal;
1336 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MedicationResourceProvider();
1337 		retVal.setContext(fhirContextDstu2());
1338 		retVal.setDao(daoMedicationDstu2());
1339 		return retVal;
1340 	}
1341 
1342 	@Bean(name="myMedicationAdministrationDaoDstu2", autowire=Autowire.BY_NAME)
1343 	@Lazy
1344 	public 
1345 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.MedicationAdministration>
1346 		 daoMedicationAdministrationDstu2() {
1347 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationAdministration> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationAdministration>();
1348 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.MedicationAdministration.class);
1349 		retVal.setContext(fhirContextDstu2());
1350 		return retVal;
1351 	}
1352 
1353 	@Bean(name="myMedicationAdministrationRpDstu2")
1354 	@Lazy
1355 	public ca.uhn.fhir.jpa.rp.dstu2.MedicationAdministrationResourceProvider rpMedicationAdministrationDstu2() {
1356 		ca.uhn.fhir.jpa.rp.dstu2.MedicationAdministrationResourceProvider retVal;
1357 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MedicationAdministrationResourceProvider();
1358 		retVal.setContext(fhirContextDstu2());
1359 		retVal.setDao(daoMedicationAdministrationDstu2());
1360 		return retVal;
1361 	}
1362 
1363 	@Bean(name="myMedicationDispenseDaoDstu2", autowire=Autowire.BY_NAME)
1364 	@Lazy
1365 	public 
1366 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.MedicationDispense>
1367 		 daoMedicationDispenseDstu2() {
1368 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationDispense> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationDispense>();
1369 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.MedicationDispense.class);
1370 		retVal.setContext(fhirContextDstu2());
1371 		return retVal;
1372 	}
1373 
1374 	@Bean(name="myMedicationDispenseRpDstu2")
1375 	@Lazy
1376 	public ca.uhn.fhir.jpa.rp.dstu2.MedicationDispenseResourceProvider rpMedicationDispenseDstu2() {
1377 		ca.uhn.fhir.jpa.rp.dstu2.MedicationDispenseResourceProvider retVal;
1378 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MedicationDispenseResourceProvider();
1379 		retVal.setContext(fhirContextDstu2());
1380 		retVal.setDao(daoMedicationDispenseDstu2());
1381 		return retVal;
1382 	}
1383 
1384 	@Bean(name="myMedicationOrderDaoDstu2", autowire=Autowire.BY_NAME)
1385 	@Lazy
1386 	public 
1387 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.MedicationOrder>
1388 		 daoMedicationOrderDstu2() {
1389 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationOrder> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationOrder>();
1390 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.MedicationOrder.class);
1391 		retVal.setContext(fhirContextDstu2());
1392 		return retVal;
1393 	}
1394 
1395 	@Bean(name="myMedicationOrderRpDstu2")
1396 	@Lazy
1397 	public ca.uhn.fhir.jpa.rp.dstu2.MedicationOrderResourceProvider rpMedicationOrderDstu2() {
1398 		ca.uhn.fhir.jpa.rp.dstu2.MedicationOrderResourceProvider retVal;
1399 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MedicationOrderResourceProvider();
1400 		retVal.setContext(fhirContextDstu2());
1401 		retVal.setDao(daoMedicationOrderDstu2());
1402 		return retVal;
1403 	}
1404 
1405 	@Bean(name="myMedicationStatementDaoDstu2", autowire=Autowire.BY_NAME)
1406 	@Lazy
1407 	public 
1408 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.MedicationStatement>
1409 		 daoMedicationStatementDstu2() {
1410 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationStatement> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MedicationStatement>();
1411 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.MedicationStatement.class);
1412 		retVal.setContext(fhirContextDstu2());
1413 		return retVal;
1414 	}
1415 
1416 	@Bean(name="myMedicationStatementRpDstu2")
1417 	@Lazy
1418 	public ca.uhn.fhir.jpa.rp.dstu2.MedicationStatementResourceProvider rpMedicationStatementDstu2() {
1419 		ca.uhn.fhir.jpa.rp.dstu2.MedicationStatementResourceProvider retVal;
1420 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MedicationStatementResourceProvider();
1421 		retVal.setContext(fhirContextDstu2());
1422 		retVal.setDao(daoMedicationStatementDstu2());
1423 		return retVal;
1424 	}
1425 
1426 	@Bean(name="myMessageHeaderDaoDstu2", autowire=Autowire.BY_NAME)
1427 	@Lazy
1428 	public 
1429 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.MessageHeader>
1430 		 daoMessageHeaderDstu2() {
1431 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MessageHeader> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.MessageHeader>();
1432 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.MessageHeader.class);
1433 		retVal.setContext(fhirContextDstu2());
1434 		return retVal;
1435 	}
1436 
1437 	@Bean(name="myMessageHeaderRpDstu2")
1438 	@Lazy
1439 	public ca.uhn.fhir.jpa.rp.dstu2.MessageHeaderResourceProvider rpMessageHeaderDstu2() {
1440 		ca.uhn.fhir.jpa.rp.dstu2.MessageHeaderResourceProvider retVal;
1441 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.MessageHeaderResourceProvider();
1442 		retVal.setContext(fhirContextDstu2());
1443 		retVal.setDao(daoMessageHeaderDstu2());
1444 		return retVal;
1445 	}
1446 
1447 	@Bean(name="myNamingSystemDaoDstu2", autowire=Autowire.BY_NAME)
1448 	@Lazy
1449 	public 
1450 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.NamingSystem>
1451 		 daoNamingSystemDstu2() {
1452 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.NamingSystem> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.NamingSystem>();
1453 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.NamingSystem.class);
1454 		retVal.setContext(fhirContextDstu2());
1455 		return retVal;
1456 	}
1457 
1458 	@Bean(name="myNamingSystemRpDstu2")
1459 	@Lazy
1460 	public ca.uhn.fhir.jpa.rp.dstu2.NamingSystemResourceProvider rpNamingSystemDstu2() {
1461 		ca.uhn.fhir.jpa.rp.dstu2.NamingSystemResourceProvider retVal;
1462 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.NamingSystemResourceProvider();
1463 		retVal.setContext(fhirContextDstu2());
1464 		retVal.setDao(daoNamingSystemDstu2());
1465 		return retVal;
1466 	}
1467 
1468 	@Bean(name="myNutritionOrderDaoDstu2", autowire=Autowire.BY_NAME)
1469 	@Lazy
1470 	public 
1471 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.NutritionOrder>
1472 		 daoNutritionOrderDstu2() {
1473 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.NutritionOrder> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.NutritionOrder>();
1474 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.NutritionOrder.class);
1475 		retVal.setContext(fhirContextDstu2());
1476 		return retVal;
1477 	}
1478 
1479 	@Bean(name="myNutritionOrderRpDstu2")
1480 	@Lazy
1481 	public ca.uhn.fhir.jpa.rp.dstu2.NutritionOrderResourceProvider rpNutritionOrderDstu2() {
1482 		ca.uhn.fhir.jpa.rp.dstu2.NutritionOrderResourceProvider retVal;
1483 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.NutritionOrderResourceProvider();
1484 		retVal.setContext(fhirContextDstu2());
1485 		retVal.setDao(daoNutritionOrderDstu2());
1486 		return retVal;
1487 	}
1488 
1489 	@Bean(name="myObservationDaoDstu2", autowire=Autowire.BY_NAME)
1490 	@Lazy
1491 	public 
1492 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Observation>
1493 		 daoObservationDstu2() {
1494 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Observation> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Observation>();
1495 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Observation.class);
1496 		retVal.setContext(fhirContextDstu2());
1497 		return retVal;
1498 	}
1499 
1500 	@Bean(name="myObservationRpDstu2")
1501 	@Lazy
1502 	public ca.uhn.fhir.jpa.rp.dstu2.ObservationResourceProvider rpObservationDstu2() {
1503 		ca.uhn.fhir.jpa.rp.dstu2.ObservationResourceProvider retVal;
1504 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ObservationResourceProvider();
1505 		retVal.setContext(fhirContextDstu2());
1506 		retVal.setDao(daoObservationDstu2());
1507 		return retVal;
1508 	}
1509 
1510 	@Bean(name="myOperationDefinitionDaoDstu2", autowire=Autowire.BY_NAME)
1511 	@Lazy
1512 	public 
1513 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.OperationDefinition>
1514 		 daoOperationDefinitionDstu2() {
1515 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.OperationDefinition> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.OperationDefinition>();
1516 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.OperationDefinition.class);
1517 		retVal.setContext(fhirContextDstu2());
1518 		return retVal;
1519 	}
1520 
1521 	@Bean(name="myOperationDefinitionRpDstu2")
1522 	@Lazy
1523 	public ca.uhn.fhir.jpa.rp.dstu2.OperationDefinitionResourceProvider rpOperationDefinitionDstu2() {
1524 		ca.uhn.fhir.jpa.rp.dstu2.OperationDefinitionResourceProvider retVal;
1525 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.OperationDefinitionResourceProvider();
1526 		retVal.setContext(fhirContextDstu2());
1527 		retVal.setDao(daoOperationDefinitionDstu2());
1528 		return retVal;
1529 	}
1530 
1531 	@Bean(name="myOperationOutcomeDaoDstu2", autowire=Autowire.BY_NAME)
1532 	@Lazy
1533 	public 
1534 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.OperationOutcome>
1535 		 daoOperationOutcomeDstu2() {
1536 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.OperationOutcome> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.OperationOutcome>();
1537 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.OperationOutcome.class);
1538 		retVal.setContext(fhirContextDstu2());
1539 		return retVal;
1540 	}
1541 
1542 	@Bean(name="myOperationOutcomeRpDstu2")
1543 	@Lazy
1544 	public ca.uhn.fhir.jpa.rp.dstu2.OperationOutcomeResourceProvider rpOperationOutcomeDstu2() {
1545 		ca.uhn.fhir.jpa.rp.dstu2.OperationOutcomeResourceProvider retVal;
1546 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.OperationOutcomeResourceProvider();
1547 		retVal.setContext(fhirContextDstu2());
1548 		retVal.setDao(daoOperationOutcomeDstu2());
1549 		return retVal;
1550 	}
1551 
1552 	@Bean(name="myOrderDaoDstu2", autowire=Autowire.BY_NAME)
1553 	@Lazy
1554 	public 
1555 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Order>
1556 		 daoOrderDstu2() {
1557 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Order> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Order>();
1558 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Order.class);
1559 		retVal.setContext(fhirContextDstu2());
1560 		return retVal;
1561 	}
1562 
1563 	@Bean(name="myOrderRpDstu2")
1564 	@Lazy
1565 	public ca.uhn.fhir.jpa.rp.dstu2.OrderResourceProvider rpOrderDstu2() {
1566 		ca.uhn.fhir.jpa.rp.dstu2.OrderResourceProvider retVal;
1567 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.OrderResourceProvider();
1568 		retVal.setContext(fhirContextDstu2());
1569 		retVal.setDao(daoOrderDstu2());
1570 		return retVal;
1571 	}
1572 
1573 	@Bean(name="myOrderResponseDaoDstu2", autowire=Autowire.BY_NAME)
1574 	@Lazy
1575 	public 
1576 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.OrderResponse>
1577 		 daoOrderResponseDstu2() {
1578 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.OrderResponse> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.OrderResponse>();
1579 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.OrderResponse.class);
1580 		retVal.setContext(fhirContextDstu2());
1581 		return retVal;
1582 	}
1583 
1584 	@Bean(name="myOrderResponseRpDstu2")
1585 	@Lazy
1586 	public ca.uhn.fhir.jpa.rp.dstu2.OrderResponseResourceProvider rpOrderResponseDstu2() {
1587 		ca.uhn.fhir.jpa.rp.dstu2.OrderResponseResourceProvider retVal;
1588 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.OrderResponseResourceProvider();
1589 		retVal.setContext(fhirContextDstu2());
1590 		retVal.setDao(daoOrderResponseDstu2());
1591 		return retVal;
1592 	}
1593 
1594 	@Bean(name="myOrganizationDaoDstu2", autowire=Autowire.BY_NAME)
1595 	@Lazy
1596 	public 
1597 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Organization>
1598 		 daoOrganizationDstu2() {
1599 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Organization> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Organization>();
1600 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Organization.class);
1601 		retVal.setContext(fhirContextDstu2());
1602 		return retVal;
1603 	}
1604 
1605 	@Bean(name="myOrganizationRpDstu2")
1606 	@Lazy
1607 	public ca.uhn.fhir.jpa.rp.dstu2.OrganizationResourceProvider rpOrganizationDstu2() {
1608 		ca.uhn.fhir.jpa.rp.dstu2.OrganizationResourceProvider retVal;
1609 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.OrganizationResourceProvider();
1610 		retVal.setContext(fhirContextDstu2());
1611 		retVal.setDao(daoOrganizationDstu2());
1612 		return retVal;
1613 	}
1614 
1615 	@Bean(name="myParametersDaoDstu2", autowire=Autowire.BY_NAME)
1616 	@Lazy
1617 	public 
1618 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Parameters>
1619 		 daoParametersDstu2() {
1620 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Parameters> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Parameters>();
1621 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Parameters.class);
1622 		retVal.setContext(fhirContextDstu2());
1623 		return retVal;
1624 	}
1625 
1626 	@Bean(name="myParametersRpDstu2")
1627 	@Lazy
1628 	public ca.uhn.fhir.jpa.rp.dstu2.ParametersResourceProvider rpParametersDstu2() {
1629 		ca.uhn.fhir.jpa.rp.dstu2.ParametersResourceProvider retVal;
1630 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ParametersResourceProvider();
1631 		retVal.setContext(fhirContextDstu2());
1632 		retVal.setDao(daoParametersDstu2());
1633 		return retVal;
1634 	}
1635 
1636 	@Bean(name="myPatientDaoDstu2", autowire=Autowire.BY_NAME)
1637 	@Lazy
1638 	public 
1639 		IFhirResourceDaoPatient<ca.uhn.fhir.model.dstu2.resource.Patient>
1640 		 daoPatientDstu2() {
1641 		ca.uhn.fhir.jpa.dao.FhirResourceDaoPatientDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoPatientDstu2();
1642 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Patient.class);
1643 		retVal.setContext(fhirContextDstu2());
1644 		return retVal;
1645 	}
1646 
1647 	@Bean(name="myPatientRpDstu2")
1648 	@Lazy
1649 	public ca.uhn.fhir.jpa.rp.dstu2.PatientResourceProvider rpPatientDstu2() {
1650 		ca.uhn.fhir.jpa.rp.dstu2.PatientResourceProvider retVal;
1651 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.PatientResourceProvider();
1652 		retVal.setContext(fhirContextDstu2());
1653 		retVal.setDao(daoPatientDstu2());
1654 		return retVal;
1655 	}
1656 
1657 	@Bean(name="myPaymentNoticeDaoDstu2", autowire=Autowire.BY_NAME)
1658 	@Lazy
1659 	public 
1660 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.PaymentNotice>
1661 		 daoPaymentNoticeDstu2() {
1662 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.PaymentNotice> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.PaymentNotice>();
1663 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.PaymentNotice.class);
1664 		retVal.setContext(fhirContextDstu2());
1665 		return retVal;
1666 	}
1667 
1668 	@Bean(name="myPaymentNoticeRpDstu2")
1669 	@Lazy
1670 	public ca.uhn.fhir.jpa.rp.dstu2.PaymentNoticeResourceProvider rpPaymentNoticeDstu2() {
1671 		ca.uhn.fhir.jpa.rp.dstu2.PaymentNoticeResourceProvider retVal;
1672 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.PaymentNoticeResourceProvider();
1673 		retVal.setContext(fhirContextDstu2());
1674 		retVal.setDao(daoPaymentNoticeDstu2());
1675 		return retVal;
1676 	}
1677 
1678 	@Bean(name="myPaymentReconciliationDaoDstu2", autowire=Autowire.BY_NAME)
1679 	@Lazy
1680 	public 
1681 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.PaymentReconciliation>
1682 		 daoPaymentReconciliationDstu2() {
1683 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.PaymentReconciliation> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.PaymentReconciliation>();
1684 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.PaymentReconciliation.class);
1685 		retVal.setContext(fhirContextDstu2());
1686 		return retVal;
1687 	}
1688 
1689 	@Bean(name="myPaymentReconciliationRpDstu2")
1690 	@Lazy
1691 	public ca.uhn.fhir.jpa.rp.dstu2.PaymentReconciliationResourceProvider rpPaymentReconciliationDstu2() {
1692 		ca.uhn.fhir.jpa.rp.dstu2.PaymentReconciliationResourceProvider retVal;
1693 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.PaymentReconciliationResourceProvider();
1694 		retVal.setContext(fhirContextDstu2());
1695 		retVal.setDao(daoPaymentReconciliationDstu2());
1696 		return retVal;
1697 	}
1698 
1699 	@Bean(name="myPersonDaoDstu2", autowire=Autowire.BY_NAME)
1700 	@Lazy
1701 	public 
1702 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Person>
1703 		 daoPersonDstu2() {
1704 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Person> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Person>();
1705 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Person.class);
1706 		retVal.setContext(fhirContextDstu2());
1707 		return retVal;
1708 	}
1709 
1710 	@Bean(name="myPersonRpDstu2")
1711 	@Lazy
1712 	public ca.uhn.fhir.jpa.rp.dstu2.PersonResourceProvider rpPersonDstu2() {
1713 		ca.uhn.fhir.jpa.rp.dstu2.PersonResourceProvider retVal;
1714 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.PersonResourceProvider();
1715 		retVal.setContext(fhirContextDstu2());
1716 		retVal.setDao(daoPersonDstu2());
1717 		return retVal;
1718 	}
1719 
1720 	@Bean(name="myPractitionerDaoDstu2", autowire=Autowire.BY_NAME)
1721 	@Lazy
1722 	public 
1723 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Practitioner>
1724 		 daoPractitionerDstu2() {
1725 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Practitioner> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Practitioner>();
1726 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Practitioner.class);
1727 		retVal.setContext(fhirContextDstu2());
1728 		return retVal;
1729 	}
1730 
1731 	@Bean(name="myPractitionerRpDstu2")
1732 	@Lazy
1733 	public ca.uhn.fhir.jpa.rp.dstu2.PractitionerResourceProvider rpPractitionerDstu2() {
1734 		ca.uhn.fhir.jpa.rp.dstu2.PractitionerResourceProvider retVal;
1735 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.PractitionerResourceProvider();
1736 		retVal.setContext(fhirContextDstu2());
1737 		retVal.setDao(daoPractitionerDstu2());
1738 		return retVal;
1739 	}
1740 
1741 	@Bean(name="myProcedureDaoDstu2", autowire=Autowire.BY_NAME)
1742 	@Lazy
1743 	public 
1744 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Procedure>
1745 		 daoProcedureDstu2() {
1746 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Procedure> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Procedure>();
1747 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Procedure.class);
1748 		retVal.setContext(fhirContextDstu2());
1749 		return retVal;
1750 	}
1751 
1752 	@Bean(name="myProcedureRpDstu2")
1753 	@Lazy
1754 	public ca.uhn.fhir.jpa.rp.dstu2.ProcedureResourceProvider rpProcedureDstu2() {
1755 		ca.uhn.fhir.jpa.rp.dstu2.ProcedureResourceProvider retVal;
1756 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ProcedureResourceProvider();
1757 		retVal.setContext(fhirContextDstu2());
1758 		retVal.setDao(daoProcedureDstu2());
1759 		return retVal;
1760 	}
1761 
1762 	@Bean(name="myProcedureRequestDaoDstu2", autowire=Autowire.BY_NAME)
1763 	@Lazy
1764 	public 
1765 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ProcedureRequest>
1766 		 daoProcedureRequestDstu2() {
1767 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ProcedureRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ProcedureRequest>();
1768 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ProcedureRequest.class);
1769 		retVal.setContext(fhirContextDstu2());
1770 		return retVal;
1771 	}
1772 
1773 	@Bean(name="myProcedureRequestRpDstu2")
1774 	@Lazy
1775 	public ca.uhn.fhir.jpa.rp.dstu2.ProcedureRequestResourceProvider rpProcedureRequestDstu2() {
1776 		ca.uhn.fhir.jpa.rp.dstu2.ProcedureRequestResourceProvider retVal;
1777 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ProcedureRequestResourceProvider();
1778 		retVal.setContext(fhirContextDstu2());
1779 		retVal.setDao(daoProcedureRequestDstu2());
1780 		return retVal;
1781 	}
1782 
1783 	@Bean(name="myProcessRequestDaoDstu2", autowire=Autowire.BY_NAME)
1784 	@Lazy
1785 	public 
1786 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ProcessRequest>
1787 		 daoProcessRequestDstu2() {
1788 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ProcessRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ProcessRequest>();
1789 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ProcessRequest.class);
1790 		retVal.setContext(fhirContextDstu2());
1791 		return retVal;
1792 	}
1793 
1794 	@Bean(name="myProcessRequestRpDstu2")
1795 	@Lazy
1796 	public ca.uhn.fhir.jpa.rp.dstu2.ProcessRequestResourceProvider rpProcessRequestDstu2() {
1797 		ca.uhn.fhir.jpa.rp.dstu2.ProcessRequestResourceProvider retVal;
1798 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ProcessRequestResourceProvider();
1799 		retVal.setContext(fhirContextDstu2());
1800 		retVal.setDao(daoProcessRequestDstu2());
1801 		return retVal;
1802 	}
1803 
1804 	@Bean(name="myProcessResponseDaoDstu2", autowire=Autowire.BY_NAME)
1805 	@Lazy
1806 	public 
1807 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ProcessResponse>
1808 		 daoProcessResponseDstu2() {
1809 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ProcessResponse> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ProcessResponse>();
1810 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ProcessResponse.class);
1811 		retVal.setContext(fhirContextDstu2());
1812 		return retVal;
1813 	}
1814 
1815 	@Bean(name="myProcessResponseRpDstu2")
1816 	@Lazy
1817 	public ca.uhn.fhir.jpa.rp.dstu2.ProcessResponseResourceProvider rpProcessResponseDstu2() {
1818 		ca.uhn.fhir.jpa.rp.dstu2.ProcessResponseResourceProvider retVal;
1819 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ProcessResponseResourceProvider();
1820 		retVal.setContext(fhirContextDstu2());
1821 		retVal.setDao(daoProcessResponseDstu2());
1822 		return retVal;
1823 	}
1824 
1825 	@Bean(name="myProvenanceDaoDstu2", autowire=Autowire.BY_NAME)
1826 	@Lazy
1827 	public 
1828 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Provenance>
1829 		 daoProvenanceDstu2() {
1830 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Provenance> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Provenance>();
1831 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Provenance.class);
1832 		retVal.setContext(fhirContextDstu2());
1833 		return retVal;
1834 	}
1835 
1836 	@Bean(name="myProvenanceRpDstu2")
1837 	@Lazy
1838 	public ca.uhn.fhir.jpa.rp.dstu2.ProvenanceResourceProvider rpProvenanceDstu2() {
1839 		ca.uhn.fhir.jpa.rp.dstu2.ProvenanceResourceProvider retVal;
1840 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ProvenanceResourceProvider();
1841 		retVal.setContext(fhirContextDstu2());
1842 		retVal.setDao(daoProvenanceDstu2());
1843 		return retVal;
1844 	}
1845 
1846 	@Bean(name="myQuestionnaireDaoDstu2", autowire=Autowire.BY_NAME)
1847 	@Lazy
1848 	public 
1849 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Questionnaire>
1850 		 daoQuestionnaireDstu2() {
1851 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Questionnaire> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Questionnaire>();
1852 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Questionnaire.class);
1853 		retVal.setContext(fhirContextDstu2());
1854 		return retVal;
1855 	}
1856 
1857 	@Bean(name="myQuestionnaireRpDstu2")
1858 	@Lazy
1859 	public ca.uhn.fhir.jpa.rp.dstu2.QuestionnaireResourceProvider rpQuestionnaireDstu2() {
1860 		ca.uhn.fhir.jpa.rp.dstu2.QuestionnaireResourceProvider retVal;
1861 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.QuestionnaireResourceProvider();
1862 		retVal.setContext(fhirContextDstu2());
1863 		retVal.setDao(daoQuestionnaireDstu2());
1864 		return retVal;
1865 	}
1866 
1867 	@Bean(name="myQuestionnaireResponseDaoDstu2", autowire=Autowire.BY_NAME)
1868 	@Lazy
1869 	public 
1870 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse>
1871 		 daoQuestionnaireResponseDstu2() {
1872 		ca.uhn.fhir.jpa.dao.FhirResourceDaoQuestionnaireResponseDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoQuestionnaireResponseDstu2();
1873 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse.class);
1874 		retVal.setContext(fhirContextDstu2());
1875 		return retVal;
1876 	}
1877 
1878 	@Bean(name="myQuestionnaireResponseRpDstu2")
1879 	@Lazy
1880 	public ca.uhn.fhir.jpa.rp.dstu2.QuestionnaireResponseResourceProvider rpQuestionnaireResponseDstu2() {
1881 		ca.uhn.fhir.jpa.rp.dstu2.QuestionnaireResponseResourceProvider retVal;
1882 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.QuestionnaireResponseResourceProvider();
1883 		retVal.setContext(fhirContextDstu2());
1884 		retVal.setDao(daoQuestionnaireResponseDstu2());
1885 		return retVal;
1886 	}
1887 
1888 	@Bean(name="myReferralRequestDaoDstu2", autowire=Autowire.BY_NAME)
1889 	@Lazy
1890 	public 
1891 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.ReferralRequest>
1892 		 daoReferralRequestDstu2() {
1893 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ReferralRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.ReferralRequest>();
1894 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ReferralRequest.class);
1895 		retVal.setContext(fhirContextDstu2());
1896 		return retVal;
1897 	}
1898 
1899 	@Bean(name="myReferralRequestRpDstu2")
1900 	@Lazy
1901 	public ca.uhn.fhir.jpa.rp.dstu2.ReferralRequestResourceProvider rpReferralRequestDstu2() {
1902 		ca.uhn.fhir.jpa.rp.dstu2.ReferralRequestResourceProvider retVal;
1903 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ReferralRequestResourceProvider();
1904 		retVal.setContext(fhirContextDstu2());
1905 		retVal.setDao(daoReferralRequestDstu2());
1906 		return retVal;
1907 	}
1908 
1909 	@Bean(name="myRelatedPersonDaoDstu2", autowire=Autowire.BY_NAME)
1910 	@Lazy
1911 	public 
1912 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.RelatedPerson>
1913 		 daoRelatedPersonDstu2() {
1914 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.RelatedPerson> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.RelatedPerson>();
1915 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.RelatedPerson.class);
1916 		retVal.setContext(fhirContextDstu2());
1917 		return retVal;
1918 	}
1919 
1920 	@Bean(name="myRelatedPersonRpDstu2")
1921 	@Lazy
1922 	public ca.uhn.fhir.jpa.rp.dstu2.RelatedPersonResourceProvider rpRelatedPersonDstu2() {
1923 		ca.uhn.fhir.jpa.rp.dstu2.RelatedPersonResourceProvider retVal;
1924 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.RelatedPersonResourceProvider();
1925 		retVal.setContext(fhirContextDstu2());
1926 		retVal.setDao(daoRelatedPersonDstu2());
1927 		return retVal;
1928 	}
1929 
1930 	@Bean(name="myRiskAssessmentDaoDstu2", autowire=Autowire.BY_NAME)
1931 	@Lazy
1932 	public 
1933 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.RiskAssessment>
1934 		 daoRiskAssessmentDstu2() {
1935 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.RiskAssessment> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.RiskAssessment>();
1936 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.RiskAssessment.class);
1937 		retVal.setContext(fhirContextDstu2());
1938 		return retVal;
1939 	}
1940 
1941 	@Bean(name="myRiskAssessmentRpDstu2")
1942 	@Lazy
1943 	public ca.uhn.fhir.jpa.rp.dstu2.RiskAssessmentResourceProvider rpRiskAssessmentDstu2() {
1944 		ca.uhn.fhir.jpa.rp.dstu2.RiskAssessmentResourceProvider retVal;
1945 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.RiskAssessmentResourceProvider();
1946 		retVal.setContext(fhirContextDstu2());
1947 		retVal.setDao(daoRiskAssessmentDstu2());
1948 		return retVal;
1949 	}
1950 
1951 	@Bean(name="myScheduleDaoDstu2", autowire=Autowire.BY_NAME)
1952 	@Lazy
1953 	public 
1954 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Schedule>
1955 		 daoScheduleDstu2() {
1956 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Schedule> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Schedule>();
1957 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Schedule.class);
1958 		retVal.setContext(fhirContextDstu2());
1959 		return retVal;
1960 	}
1961 
1962 	@Bean(name="myScheduleRpDstu2")
1963 	@Lazy
1964 	public ca.uhn.fhir.jpa.rp.dstu2.ScheduleResourceProvider rpScheduleDstu2() {
1965 		ca.uhn.fhir.jpa.rp.dstu2.ScheduleResourceProvider retVal;
1966 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ScheduleResourceProvider();
1967 		retVal.setContext(fhirContextDstu2());
1968 		retVal.setDao(daoScheduleDstu2());
1969 		return retVal;
1970 	}
1971 
1972 	@Bean(name="mySearchParameterDaoDstu2", autowire=Autowire.BY_NAME)
1973 	@Lazy
1974 	public 
1975 		IFhirResourceDaoSearchParameter<ca.uhn.fhir.model.dstu2.resource.SearchParameter>
1976 		 daoSearchParameterDstu2() {
1977 		ca.uhn.fhir.jpa.dao.FhirResourceDaoSearchParameterDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoSearchParameterDstu2();
1978 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.SearchParameter.class);
1979 		retVal.setContext(fhirContextDstu2());
1980 		return retVal;
1981 	}
1982 
1983 	@Bean(name="mySearchParameterRpDstu2")
1984 	@Lazy
1985 	public ca.uhn.fhir.jpa.rp.dstu2.SearchParameterResourceProvider rpSearchParameterDstu2() {
1986 		ca.uhn.fhir.jpa.rp.dstu2.SearchParameterResourceProvider retVal;
1987 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SearchParameterResourceProvider();
1988 		retVal.setContext(fhirContextDstu2());
1989 		retVal.setDao(daoSearchParameterDstu2());
1990 		return retVal;
1991 	}
1992 
1993 	@Bean(name="mySlotDaoDstu2", autowire=Autowire.BY_NAME)
1994 	@Lazy
1995 	public 
1996 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Slot>
1997 		 daoSlotDstu2() {
1998 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Slot> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Slot>();
1999 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Slot.class);
2000 		retVal.setContext(fhirContextDstu2());
2001 		return retVal;
2002 	}
2003 
2004 	@Bean(name="mySlotRpDstu2")
2005 	@Lazy
2006 	public ca.uhn.fhir.jpa.rp.dstu2.SlotResourceProvider rpSlotDstu2() {
2007 		ca.uhn.fhir.jpa.rp.dstu2.SlotResourceProvider retVal;
2008 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SlotResourceProvider();
2009 		retVal.setContext(fhirContextDstu2());
2010 		retVal.setDao(daoSlotDstu2());
2011 		return retVal;
2012 	}
2013 
2014 	@Bean(name="mySpecimenDaoDstu2", autowire=Autowire.BY_NAME)
2015 	@Lazy
2016 	public 
2017 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Specimen>
2018 		 daoSpecimenDstu2() {
2019 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Specimen> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Specimen>();
2020 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Specimen.class);
2021 		retVal.setContext(fhirContextDstu2());
2022 		return retVal;
2023 	}
2024 
2025 	@Bean(name="mySpecimenRpDstu2")
2026 	@Lazy
2027 	public ca.uhn.fhir.jpa.rp.dstu2.SpecimenResourceProvider rpSpecimenDstu2() {
2028 		ca.uhn.fhir.jpa.rp.dstu2.SpecimenResourceProvider retVal;
2029 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SpecimenResourceProvider();
2030 		retVal.setContext(fhirContextDstu2());
2031 		retVal.setDao(daoSpecimenDstu2());
2032 		return retVal;
2033 	}
2034 
2035 	@Bean(name="myStructureDefinitionDaoDstu2", autowire=Autowire.BY_NAME)
2036 	@Lazy
2037 	public 
2038 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.StructureDefinition>
2039 		 daoStructureDefinitionDstu2() {
2040 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.StructureDefinition> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.StructureDefinition>();
2041 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.StructureDefinition.class);
2042 		retVal.setContext(fhirContextDstu2());
2043 		return retVal;
2044 	}
2045 
2046 	@Bean(name="myStructureDefinitionRpDstu2")
2047 	@Lazy
2048 	public ca.uhn.fhir.jpa.rp.dstu2.StructureDefinitionResourceProvider rpStructureDefinitionDstu2() {
2049 		ca.uhn.fhir.jpa.rp.dstu2.StructureDefinitionResourceProvider retVal;
2050 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.StructureDefinitionResourceProvider();
2051 		retVal.setContext(fhirContextDstu2());
2052 		retVal.setDao(daoStructureDefinitionDstu2());
2053 		return retVal;
2054 	}
2055 
2056 	@Bean(name="mySubscriptionDaoDstu2", autowire=Autowire.BY_NAME)
2057 	@Lazy
2058 	public 
2059 		IFhirResourceDaoSubscription<ca.uhn.fhir.model.dstu2.resource.Subscription>
2060 		 daoSubscriptionDstu2() {
2061 		ca.uhn.fhir.jpa.dao.FhirResourceDaoSubscriptionDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoSubscriptionDstu2();
2062 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Subscription.class);
2063 		retVal.setContext(fhirContextDstu2());
2064 		return retVal;
2065 	}
2066 
2067 	@Bean(name="mySubscriptionRpDstu2")
2068 	@Lazy
2069 	public ca.uhn.fhir.jpa.rp.dstu2.SubscriptionResourceProvider rpSubscriptionDstu2() {
2070 		ca.uhn.fhir.jpa.rp.dstu2.SubscriptionResourceProvider retVal;
2071 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SubscriptionResourceProvider();
2072 		retVal.setContext(fhirContextDstu2());
2073 		retVal.setDao(daoSubscriptionDstu2());
2074 		return retVal;
2075 	}
2076 
2077 	@Bean(name="mySubstanceDaoDstu2", autowire=Autowire.BY_NAME)
2078 	@Lazy
2079 	public 
2080 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.Substance>
2081 		 daoSubstanceDstu2() {
2082 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Substance> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.Substance>();
2083 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.Substance.class);
2084 		retVal.setContext(fhirContextDstu2());
2085 		return retVal;
2086 	}
2087 
2088 	@Bean(name="mySubstanceRpDstu2")
2089 	@Lazy
2090 	public ca.uhn.fhir.jpa.rp.dstu2.SubstanceResourceProvider rpSubstanceDstu2() {
2091 		ca.uhn.fhir.jpa.rp.dstu2.SubstanceResourceProvider retVal;
2092 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SubstanceResourceProvider();
2093 		retVal.setContext(fhirContextDstu2());
2094 		retVal.setDao(daoSubstanceDstu2());
2095 		return retVal;
2096 	}
2097 
2098 	@Bean(name="mySupplyDeliveryDaoDstu2", autowire=Autowire.BY_NAME)
2099 	@Lazy
2100 	public 
2101 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.SupplyDelivery>
2102 		 daoSupplyDeliveryDstu2() {
2103 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.SupplyDelivery> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.SupplyDelivery>();
2104 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.SupplyDelivery.class);
2105 		retVal.setContext(fhirContextDstu2());
2106 		return retVal;
2107 	}
2108 
2109 	@Bean(name="mySupplyDeliveryRpDstu2")
2110 	@Lazy
2111 	public ca.uhn.fhir.jpa.rp.dstu2.SupplyDeliveryResourceProvider rpSupplyDeliveryDstu2() {
2112 		ca.uhn.fhir.jpa.rp.dstu2.SupplyDeliveryResourceProvider retVal;
2113 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SupplyDeliveryResourceProvider();
2114 		retVal.setContext(fhirContextDstu2());
2115 		retVal.setDao(daoSupplyDeliveryDstu2());
2116 		return retVal;
2117 	}
2118 
2119 	@Bean(name="mySupplyRequestDaoDstu2", autowire=Autowire.BY_NAME)
2120 	@Lazy
2121 	public 
2122 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.SupplyRequest>
2123 		 daoSupplyRequestDstu2() {
2124 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.SupplyRequest> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.SupplyRequest>();
2125 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.SupplyRequest.class);
2126 		retVal.setContext(fhirContextDstu2());
2127 		return retVal;
2128 	}
2129 
2130 	@Bean(name="mySupplyRequestRpDstu2")
2131 	@Lazy
2132 	public ca.uhn.fhir.jpa.rp.dstu2.SupplyRequestResourceProvider rpSupplyRequestDstu2() {
2133 		ca.uhn.fhir.jpa.rp.dstu2.SupplyRequestResourceProvider retVal;
2134 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.SupplyRequestResourceProvider();
2135 		retVal.setContext(fhirContextDstu2());
2136 		retVal.setDao(daoSupplyRequestDstu2());
2137 		return retVal;
2138 	}
2139 
2140 	@Bean(name="myTestScriptDaoDstu2", autowire=Autowire.BY_NAME)
2141 	@Lazy
2142 	public 
2143 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.TestScript>
2144 		 daoTestScriptDstu2() {
2145 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.TestScript> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.TestScript>();
2146 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.TestScript.class);
2147 		retVal.setContext(fhirContextDstu2());
2148 		return retVal;
2149 	}
2150 
2151 	@Bean(name="myTestScriptRpDstu2")
2152 	@Lazy
2153 	public ca.uhn.fhir.jpa.rp.dstu2.TestScriptResourceProvider rpTestScriptDstu2() {
2154 		ca.uhn.fhir.jpa.rp.dstu2.TestScriptResourceProvider retVal;
2155 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.TestScriptResourceProvider();
2156 		retVal.setContext(fhirContextDstu2());
2157 		retVal.setDao(daoTestScriptDstu2());
2158 		return retVal;
2159 	}
2160 
2161 	@Bean(name="myValueSetDaoDstu2", autowire=Autowire.BY_NAME)
2162 	@Lazy
2163 	public 
2164 		IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet, ca.uhn.fhir.model.dstu2.composite.CodingDt, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
2165 		 daoValueSetDstu2() {
2166 		ca.uhn.fhir.jpa.dao.FhirResourceDaoValueSetDstu2 retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoValueSetDstu2();
2167 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.ValueSet.class);
2168 		retVal.setContext(fhirContextDstu2());
2169 		return retVal;
2170 	}
2171 
2172 	@Bean(name="myValueSetRpDstu2")
2173 	@Lazy
2174 	public ca.uhn.fhir.jpa.rp.dstu2.ValueSetResourceProvider rpValueSetDstu2() {
2175 		ca.uhn.fhir.jpa.rp.dstu2.ValueSetResourceProvider retVal;
2176 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.ValueSetResourceProvider();
2177 		retVal.setContext(fhirContextDstu2());
2178 		retVal.setDao(daoValueSetDstu2());
2179 		return retVal;
2180 	}
2181 
2182 	@Bean(name="myVisionPrescriptionDaoDstu2", autowire=Autowire.BY_NAME)
2183 	@Lazy
2184 	public 
2185 		IFhirResourceDao<ca.uhn.fhir.model.dstu2.resource.VisionPrescription>
2186 		 daoVisionPrescriptionDstu2() {
2187 		ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.VisionPrescription> retVal = new ca.uhn.fhir.jpa.dao.FhirResourceDaoDstu2<ca.uhn.fhir.model.dstu2.resource.VisionPrescription>();
2188 		retVal.setResourceType(ca.uhn.fhir.model.dstu2.resource.VisionPrescription.class);
2189 		retVal.setContext(fhirContextDstu2());
2190 		return retVal;
2191 	}
2192 
2193 	@Bean(name="myVisionPrescriptionRpDstu2")
2194 	@Lazy
2195 	public ca.uhn.fhir.jpa.rp.dstu2.VisionPrescriptionResourceProvider rpVisionPrescriptionDstu2() {
2196 		ca.uhn.fhir.jpa.rp.dstu2.VisionPrescriptionResourceProvider retVal;
2197 		retVal = new ca.uhn.fhir.jpa.rp.dstu2.VisionPrescriptionResourceProvider();
2198 		retVal.setContext(fhirContextDstu2());
2199 		retVal.setDao(daoVisionPrescriptionDstu2());
2200 		return retVal;
2201 	}
2202 
2203 
2204 
2205 
2206 	
2207 	
2208 }