Class 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
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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
    • Method Detail

      • 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