pub struct ExampleScenarioProcessStepOperationBuilder { /* private fields */ }
Expand description
Builder for ExampleScenarioProcessStepOperation
.
Implementations§
Source§impl ExampleScenarioProcessStepOperationBuilder
impl ExampleScenarioProcessStepOperationBuilder
Sourcepub fn id(self, value: String) -> ExampleScenarioProcessStepOperationBuilder
pub fn id(self, value: String) -> ExampleScenarioProcessStepOperationBuilder
Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Sourcepub fn extension(
self,
value: Vec<Extension>,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn extension( self, value: Vec<Extension>, ) -> ExampleScenarioProcessStepOperationBuilder
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Sourcepub fn modifier_extension(
self,
value: Vec<Extension>,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn modifier_extension( self, value: Vec<Extension>, ) -> ExampleScenarioProcessStepOperationBuilder
Extensions that cannot be ignored even if unrecognized
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element’s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Sourcepub fn type(self, value: Coding) -> ExampleScenarioProcessStepOperationBuilder
pub fn type(self, value: Coding) -> ExampleScenarioProcessStepOperationBuilder
Sourcepub fn type_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn type_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn title(self, value: String) -> ExampleScenarioProcessStepOperationBuilder
pub fn title(self, value: String) -> ExampleScenarioProcessStepOperationBuilder
Label for step
A short descriptive label the step to be used in tables or diagrams.
Sourcepub fn title_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn title_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn initiator(
self,
value: String,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn initiator( self, value: String, ) -> ExampleScenarioProcessStepOperationBuilder
Who starts the operation
The system that invokes the action/transmits the data.
This must either be the ‘key’ of one of the actors defined in this scenario or the special keyword ‘OTHER’ if the initiator is not one of the actors defined for the scenario. (Multiple references to ‘OTHER’ don’t necessarily indicate the same actor.)
Sourcepub fn initiator_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn initiator_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn receiver(
self,
value: String,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn receiver( self, value: String, ) -> ExampleScenarioProcessStepOperationBuilder
Who receives the operation
The system on which the action is invoked/receives the data.
This must either be the ‘key’ of one of the actors defined in this scenario or the special keyword ‘OTHER’ if the receiver is not one of the actors defined for the scenario. (Multiple references to ‘OTHER’ don’t necessarily indicate the same actor.) In some cases, receiver could be same as sender if representing a local operation
Sourcepub fn receiver_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn receiver_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn description(
self,
value: String,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn description( self, value: String, ) -> ExampleScenarioProcessStepOperationBuilder
Human-friendly description of the operation
An explanation of what the operation represents and what it does.
This should contain information not already present in the process step. It’s more of a description of what the operation in general does - if not already evident from the operation.type
Sourcepub fn description_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn description_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn initiator_active(
self,
value: bool,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn initiator_active( self, value: bool, ) -> ExampleScenarioProcessStepOperationBuilder
Initiator stays active?
If false, the initiator is deactivated right after the operation.
De-activation of an actor means they have no further role until such time as they are the recipient of an operation.
Sourcepub fn initiator_active_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn initiator_active_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn receiver_active(
self,
value: bool,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn receiver_active( self, value: bool, ) -> ExampleScenarioProcessStepOperationBuilder
Receiver stays active?
If false, the receiver is deactivated right after the operation.
De-activation of an actor means they have no further role until such time as they are the recipient of an operation.
Sourcepub fn receiver_active_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn receiver_active_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn request(
self,
value: ExampleScenarioInstanceContainedInstance,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn request( self, value: ExampleScenarioInstanceContainedInstance, ) -> ExampleScenarioProcessStepOperationBuilder
Instance transmitted on invocation
A reference to the instance that is transmitted from requester to receiver as part of the invocation of the operation.
Sourcepub fn request_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn request_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn response(
self,
value: ExampleScenarioInstanceContainedInstance,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn response( self, value: ExampleScenarioInstanceContainedInstance, ) -> ExampleScenarioProcessStepOperationBuilder
Instance transmitted on invocation response
A reference to the instance that is transmitted from receiver to requester as part of the operation’s synchronous response (if any).
Sourcepub fn response_ext(
self,
value: FieldExtension,
) -> ExampleScenarioProcessStepOperationBuilder
pub fn response_ext( self, value: FieldExtension, ) -> ExampleScenarioProcessStepOperationBuilder
Extension field.
Sourcepub fn build(self) -> Result<ExampleScenarioProcessStepOperation, BuilderError>
pub fn build(self) -> Result<ExampleScenarioProcessStepOperation, BuilderError>
Builds a new ExampleScenarioProcessStepOperation
.
§Errors
If a required field has not been initialized.