Interface Targets


public interface Targets
Specifies a list of communication targets for FHIR Task resources.
See Also:
  • Method Details

    • getEntries

      List<Target> getEntries()
      Returns:
      not null
    • removeByEndpointIdentifierValue

      Targets removeByEndpointIdentifierValue(Target target)
      Removes targets base on the given Targets endpoint identifier value.
      Parameters:
      target -
      Returns:
      new Targets object
      See Also:
    • removeByEndpointIdentifierValue

      Targets removeByEndpointIdentifierValue(String targetEndpointIdentifierValue)
      Removes targets base on the given endpoint identifier value.
      Parameters:
      targetEndpointIdentifierValue -
      Returns:
      new Targets object
    • removeAllByEndpointIdentifierValue

      Targets removeAllByEndpointIdentifierValue(Collection<String> targetEndpointIdentifierValues)
      Removes targets base on the given endpoint identifier values.
      Parameters:
      targetEndpointIdentifierValues -
      Returns:
      new Targets object
    • isEmpty

      boolean isEmpty()
      Returns:
      true if the entries list is empty
    • size

      int size()
      Returns:
      number of target entries
    • getFirst

      Optional<Target> getFirst()
      Returns:
      Optional with the first element of the target entries, or Optional.empty() if isEmpty()