Interface StartTaskUpdater


public interface StartTaskUpdater
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    addOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion, org.hl7.fhir.r4.model.Type outputValue)
    Adds an output parameter to the start task, updates the Task on the DSF FHIR server and updates the process variable.
    void
    addOutput(org.hl7.fhir.r4.model.Coding outputType, org.hl7.fhir.r4.model.Type outputValue)
    Adds an output parameter to the start task, updates the Task on the DSF FHIR server and updates the process variable.
    default Optional<org.hl7.fhir.r4.model.Task.TaskOutputComponent>
    getOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion)
     
    Optional<org.hl7.fhir.r4.model.Task.TaskOutputComponent>
    getOutput(org.hl7.fhir.r4.model.Coding outputType)
     
    default boolean
    hasOuput(org.hl7.fhir.r4.model.Coding outputType)
     
    default void
    modifyOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion, org.hl7.fhir.r4.model.Type outputValue)
    Set the given outputValue for an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
    void
    modifyOutput(org.hl7.fhir.r4.model.Coding outputType, org.hl7.fhir.r4.model.Type outputValue)
    Set the given outputValue for an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
    default void
    removeOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion)
    Removes an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
    void
    removeOutput(org.hl7.fhir.r4.model.Coding outputType)
    Removes an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
  • Method Details

    • addOutput

      void addOutput(org.hl7.fhir.r4.model.Coding outputType, org.hl7.fhir.r4.model.Type outputValue) throws jakarta.ws.rs.WebApplicationException
      Adds an output parameter to the start task, updates the Task on the DSF FHIR server and updates the process variable.
      Parameters:
      outputType - not null, must have system, code and version
      outputValue - may be null
      Throws:
      jakarta.ws.rs.WebApplicationException - if start task can not be update at the DSF FHIR server
      IllegalArgumentException - if system, code or version of the given outputType is blank
    • addOutput

      default void addOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion, org.hl7.fhir.r4.model.Type outputValue) throws jakarta.ws.rs.WebApplicationException
      Adds an output parameter to the start task, updates the Task on the DSF FHIR server and updates the process variable.
      Parameters:
      outputTypeSystem - not null, not blank
      outputTypeCode - not null, not blank
      outputTypeVersion - not null, not blank
      outputValue - may be null
      Throws:
      jakarta.ws.rs.WebApplicationException - if start task can not be update at the DSF FHIR server
      IllegalArgumentException - if outputTypeSystem, outputTypeCode or outputTypeVersion is blank
    • getOutput

      Optional<org.hl7.fhir.r4.model.Task.TaskOutputComponent> getOutput(org.hl7.fhir.r4.model.Coding outputType)
      Parameters:
      outputType - not null, must have system and code and version
      Returns:
      Output with the given outputType from the start task if present
    • getOutput

      default Optional<org.hl7.fhir.r4.model.Task.TaskOutputComponent> getOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion)
      Parameters:
      outputTypeSystem - not null, not blank
      outputTypeCode - not null, not blank
      outputTypeVersion - not null, not blank
      Returns:
      Output with the given outputType from the start task if present
      Throws:
      IllegalArgumentException - if outputTypeSystem, outputTypeCode or outputTypeVersion is blank
    • hasOuput

      default boolean hasOuput(org.hl7.fhir.r4.model.Coding outputType)
      Parameters:
      outputType - not null, must have system and code and version
      Returns:
      true if the start task has output parameter with the given outputType
    • modifyOutput

      default void modifyOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion, org.hl7.fhir.r4.model.Type outputValue) throws jakarta.ws.rs.WebApplicationException
      Set the given outputValue for an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
      Parameters:
      outputTypeSystem - not null, not blank
      outputTypeCode - not null, not blank
      outputTypeVersion - not null, not blank
      outputValue - may be null
      Throws:
      jakarta.ws.rs.WebApplicationException - if start task can not be update at the DSF FHIR server
      IllegalArgumentException - if the start task has no output parameter with the given outputType parameters or if outputTypeSystem, outputTypeCode or outputTypeVersion is blank
    • modifyOutput

      void modifyOutput(org.hl7.fhir.r4.model.Coding outputType, org.hl7.fhir.r4.model.Type outputValue) throws jakarta.ws.rs.WebApplicationException
      Set the given outputValue for an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
      Parameters:
      outputType - not null, must have system, code and version
      outputValue - may be null
      Throws:
      jakarta.ws.rs.WebApplicationException - if start task can not be update at the DSF FHIR server
      IllegalArgumentException - if the start task has no output parameter with the given outputType or if system, code or version of the given outputType is blank
    • removeOutput

      void removeOutput(org.hl7.fhir.r4.model.Coding outputType) throws jakarta.ws.rs.WebApplicationException
      Removes an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
      Parameters:
      outputType - not null, must have system and code and version
      Throws:
      jakarta.ws.rs.WebApplicationException - if start task can not be update at the DSF FHIR server
      IllegalArgumentException - if the start task has no output parameter with the given outputType or if system, code or version of the given outputType is blank
    • removeOutput

      default void removeOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion) throws jakarta.ws.rs.WebApplicationException
      Removes an output parameter of the start task with the given outputType, updates the Task on the DSF FHIR server and updates the process variable.
      Parameters:
      outputTypeSystem - not null, not blank
      outputTypeCode - not null, not blank
      outputTypeVersion - not null, not blank
      Throws:
      jakarta.ws.rs.WebApplicationException - if start task can not be update at the DSF FHIR server
      IllegalArgumentException - if the start task has no output parameter with the given outputType or if system, code or version of the given outputType is blank