Class MultiResourceResult


  • public class MultiResourceResult
    extends java.lang.Object
    A Result wrapper for FHIR interactions that can return multiple resources. Instances are immutable and can be constructed via new MultiResourceResult.Builder<T>().
    • Method Detail

      • isSuccess

        public boolean isSuccess()
        Whether or not the interaction was successful
        Returns:
        whether the interaction was successful
      • getResourceResults

        public java.util.List<ResourceResult<? extends Resource>> getResourceResults()
        The resource results returned from the interaction
        Returns:
        An unmodifiable list containing immutable objects of type ResourceResult
      • getOutcome

        public OperationOutcome getOutcome()
        An OperationOutcome that represents the outcome of the interaction
        Returns:
        An immutable object of type OperationOutcome