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