Package ca.uhn.fhir.rest.server.provider
Class BaseLastNProvider
java.lang.Object
ca.uhn.fhir.rest.server.provider.BaseLastNProvider
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
Constructor Details
-
BaseLastNProvider
public BaseLastNProvider()
-
-
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
-