Interface StartTaskUpdater
public interface StartTaskUpdater
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion, org.hl7.fhir.r4.model.Type outputValue) Adds an output parameter to the start task, updates theTaskon the DSF FHIR server and updates the process variable.voidaddOutput(org.hl7.fhir.r4.model.Coding outputType, org.hl7.fhir.r4.model.Type outputValue) Adds an output parameter to the start task, updates theTaskon the DSF FHIR server and updates the process variable.default Optional<org.hl7.fhir.r4.model.Task.TaskOutputComponent> Optional<org.hl7.fhir.r4.model.Task.TaskOutputComponent> getOutput(org.hl7.fhir.r4.model.Coding outputType) default booleanhasOuput(org.hl7.fhir.r4.model.Coding outputType) default voidmodifyOutput(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 theTaskon the DSF FHIR server and updates the process variable.voidmodifyOutput(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 theTaskon the DSF FHIR server and updates the process variable.default voidremoveOutput(String outputTypeSystem, String outputTypeCode, String outputTypeVersion) Removes an output parameter of the start task with the given outputType, updates theTaskon the DSF FHIR server and updates the process variable.voidremoveOutput(org.hl7.fhir.r4.model.Coding outputType) Removes an output parameter of the start task with the given outputType, updates theTaskon 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 theTaskon the DSF FHIR server and updates the process variable.- Parameters:
outputType- notnull, must have system, code and versionoutputValue- may benull- Throws:
jakarta.ws.rs.WebApplicationException- if start task can not be update at the DSF FHIR serverIllegalArgumentException- 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 theTaskon the DSF FHIR server and updates the process variable.- Parameters:
outputTypeSystem- notnull, not blankoutputTypeCode- notnull, not blankoutputTypeVersion- notnull, not blankoutputValue- may benull- Throws:
jakarta.ws.rs.WebApplicationException- if start task can not be update at the DSF FHIR serverIllegalArgumentException- 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- notnull, 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- notnull, not blankoutputTypeCode- notnull, not blankoutputTypeVersion- notnull, 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- notnull, must have system and code and version- Returns:
trueif 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 theTaskon the DSF FHIR server and updates the process variable.- Parameters:
outputTypeSystem- notnull, not blankoutputTypeCode- notnull, not blankoutputTypeVersion- notnull, not blankoutputValue- may benull- Throws:
jakarta.ws.rs.WebApplicationException- if start task can not be update at the DSF FHIR serverIllegalArgumentException- 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 theTaskon the DSF FHIR server and updates the process variable.- Parameters:
outputType- notnull, must have system, code and versionoutputValue- may benull- Throws:
jakarta.ws.rs.WebApplicationException- if start task can not be update at the DSF FHIR serverIllegalArgumentException- 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 theTaskon the DSF FHIR server and updates the process variable.- Parameters:
outputType- notnull, must have system and code and version- Throws:
jakarta.ws.rs.WebApplicationException- if start task can not be update at the DSF FHIR serverIllegalArgumentException- 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 theTaskon the DSF FHIR server and updates the process variable.- Parameters:
outputTypeSystem- notnull, not blankoutputTypeCode- notnull, not blankoutputTypeVersion- notnull, not blank- Throws:
jakarta.ws.rs.WebApplicationException- if start task can not be update at the DSF FHIR serverIllegalArgumentException- if the start task has no output parameter with the given outputType or if system, code or version of the given outputType is blank
-