Class JpaResourceDaoObservation<T extends org.hl7.fhir.instance.model.api.IBaseResource>

All Implemented Interfaces:
IDao, IFhirResourceDao<T>, IFhirResourceDaoObservation<T>, IJpaDao<T>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class JpaResourceDaoObservation<T extends org.hl7.fhir.instance.model.api.IBaseResource> extends BaseHapiFhirResourceDao<T> implements IFhirResourceDaoObservation<T>
  • Field Details

    • myEntityManager

      protected javax.persistence.EntityManager myEntityManager
  • Constructor Details

  • Method Details

    • observationsLastN

      public ca.uhn.fhir.rest.api.server.IBundleProvider observationsLastN(SearchParameterMap theSearchParameterMap, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, javax.servlet.http.HttpServletResponse theServletResponse)
      Specified by:
      observationsLastN in interface IFhirResourceDaoObservation<T extends org.hl7.fhir.instance.model.api.IBaseResource>
    • updateEntity

      public ResourceTable updateEntity(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, IBasePersistedResource theEntity, Date theDeletedTimestampOrNull, boolean thePerformIndexing, boolean theUpdateVersion, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theForceUpdate, boolean theCreateNewHistoryEntry)
      Specified by:
      updateEntity in interface IJpaDao<T extends org.hl7.fhir.instance.model.api.IBaseResource>
      Overrides:
      updateEntity in class BaseHapiFhirDao<T extends org.hl7.fhir.instance.model.api.IBaseResource>
    • updateObservationEntity

      protected ResourceTable updateObservationEntity(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, IBasePersistedResource theEntity, Date theDeletedTimestampOrNull, boolean thePerformIndexing, boolean theUpdateVersion, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theForceUpdate, boolean theCreateNewHistoryEntry)
    • updateSearchParamsForLastn

      protected void updateSearchParamsForLastn(SearchParameterMap theSearchParameterMap, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)