@Bean(name="myResourceDaosDstu2") public List<IFhirResourceDao<?>> resourceDaosDstu2() { List<IFhirResourceDao<?>> retVal = new ArrayList<IFhirResourceDao<?>>(); if (isSupported("Account")) { retVal.add(daoAccountDstu2()); if (isSupported("AllergyIntolerance")) { retVal.add(daoAllergyIntoleranceDstu2()); if (isSupported("Appointment")) { retVal.add(daoAppointmentDstu2()); if (isSupported("AppointmentResponse")) { retVal.add(daoAppointmentResponseDstu2()); if (isSupported("AuditEvent")) { retVal.add(daoAuditEventDstu2()); if (isSupported("Basic")) { retVal.add(daoBasicDstu2()); if (isSupported("Binary")) { retVal.add(daoBinaryDstu2()); if (isSupported("BodySite")) { retVal.add(daoBodySiteDstu2()); if (isSupported("Bundle")) { retVal.add(daoBundleDstu2());
@Bean(name="myCarePlanRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider rpCarePlanDstu2() { ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoCarePlanDstu2()); return retVal; }
@Bean(name="myAccountRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider rpAccountDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAccountDstu2()); return retVal; }
@Bean(name="myAppointmentRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider rpAppointmentDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAppointmentDstu2()); return retVal; }
@Bean(name="myBinaryRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider rpBinaryDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBinaryDstu2()); return retVal; }
@Bean(name="myAuditEventRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider rpAuditEventDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAuditEventDstu2()); return retVal; }
@Bean(name="myAllergyIntoleranceRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider rpAllergyIntoleranceDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAllergyIntoleranceDstu2()); return retVal; }
@Bean(name="myAppointmentResponseRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider rpAppointmentResponseDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAppointmentResponseDstu2()); return retVal; }
@Bean(name="myBasicRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider rpBasicDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBasicDstu2()); return retVal; }
@Bean(name="myBodySiteRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider rpBodySiteDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBodySiteDstu2()); return retVal; }
@Bean(name="myBundleRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BundleResourceProvider rpBundleDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BundleResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BundleResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBundleDstu2()); return retVal; }
@Bean(name="myCarePlanRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider rpCarePlanDstu2() { ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.CarePlanResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoCarePlanDstu2()); return retVal; }
@Bean(name="myAccountRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider rpAccountDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AccountResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAccountDstu2()); return retVal; }
@Bean(name="myAppointmentRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider rpAppointmentDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AppointmentResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAppointmentDstu2()); return retVal; }
@Bean(name="myBinaryRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider rpBinaryDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BinaryResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBinaryDstu2()); return retVal; }
@Bean(name="myAuditEventRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider rpAuditEventDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AuditEventResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAuditEventDstu2()); return retVal; }
@Bean(name="myAllergyIntoleranceRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider rpAllergyIntoleranceDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AllergyIntoleranceResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAllergyIntoleranceDstu2()); return retVal; }
@Bean(name="myAppointmentResponseRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider rpAppointmentResponseDstu2() { ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.AppointmentResponseResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoAppointmentResponseDstu2()); return retVal; }
@Bean(name="myBasicRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider rpBasicDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BasicResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBasicDstu2()); return retVal; }
@Bean(name="myBodySiteRpDstu2") @Lazy public ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider rpBodySiteDstu2() { ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider retVal; retVal = new ca.uhn.fhir.jpa.rp.dstu2.BodySiteResourceProvider(); retVal.setContext(fhirContextDstu2()); retVal.setDao(daoBodySiteDstu2()); return retVal; }