Class BaseLastNProvider

java.lang.Object
ca.uhn.fhir.rest.server.provider.BaseLastNProvider

public abstract class BaseLastNProvider extends Object
This class implements the Observation $lastn operation.

It is does not implement the actual storage logic for this operation, but can be subclassed to provide this functionality.

Since:
4.1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.instance.model.api.IBaseBundle
    lastN(ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseReference theSubject, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCategories, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCodes, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theMax)
     
    protected abstract org.hl7.fhir.instance.model.api.IBaseBundle
    processLastN(org.hl7.fhir.instance.model.api.IBaseReference theSubject, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCategories, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCodes, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theMax)
    Subclasses should implement this method

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • lastN

      public org.hl7.fhir.instance.model.api.IBaseBundle lastN(ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseReference theSubject, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCategories, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCodes, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theMax)
    • processLastN

      protected abstract org.hl7.fhir.instance.model.api.IBaseBundle processLastN(org.hl7.fhir.instance.model.api.IBaseReference theSubject, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCategories, List<org.hl7.fhir.instance.model.api.IBaseCoding> theCodes, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theMax)
      Subclasses should implement this method