RequestOrchestrationActionBuilder

Struct RequestOrchestrationActionBuilder 

Source
pub struct RequestOrchestrationActionBuilder { /* private fields */ }
Expand description

Implementations§

Source§

impl RequestOrchestrationActionBuilder

Source

pub fn id(self, value: String) -> RequestOrchestrationActionBuilder

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.

Source

pub fn extension( self, value: Vec<Extension>, ) -> RequestOrchestrationActionBuilder

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.

Source

pub fn modifier_extension( self, value: Vec<Extension>, ) -> RequestOrchestrationActionBuilder

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.

Pointer to specific item from the PlanDefinition

The linkId of the action from the PlanDefinition that corresponds to this action in the RequestOrchestration resource.

Extension field.

Source

pub fn prefix(self, value: String) -> RequestOrchestrationActionBuilder

User-visible prefix for the action (e.g. 1. or A.)

A user-visible prefix for the action. For example a section or item numbering such as 1. or A.

Source

pub fn prefix_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn title(self, value: String) -> RequestOrchestrationActionBuilder

User-visible title

The title of the action displayed to a user.

Source

pub fn title_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn description(self, value: String) -> RequestOrchestrationActionBuilder

Short description of the action

A short description of the action used to provide a summary to display to the user.

Source

pub fn description_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn text_equivalent(self, value: String) -> RequestOrchestrationActionBuilder

Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system

A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.

Source

pub fn text_equivalent_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn priority( self, value: RequestPriority, ) -> RequestOrchestrationActionBuilder

RequestPriority; routine | urgent | asap | stat

Indicates how quickly the action should be addressed with respect to other actions.

Source

pub fn priority_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn code( self, value: Vec<Option<CodeableConcept>>, ) -> RequestOrchestrationActionBuilder

ActionCode; Code representing the meaning of the action or sub-actions

A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a section of a documentation template.

Source

pub fn code_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn documentation( self, value: Vec<Option<RelatedArtifact>>, ) -> RequestOrchestrationActionBuilder

Supporting documentation for the intended performer of the action

Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.

Source

pub fn documentation_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn goal( self, value: Vec<Option<Reference>>, ) -> RequestOrchestrationActionBuilder

What goals

Goals that are intended to be achieved by following the requests in this action.

Source

pub fn goal_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn condition( self, value: Vec<Option<RequestOrchestrationActionCondition>>, ) -> RequestOrchestrationActionBuilder

Whether or not the action is applicable

An expression that describes applicability criteria, or start/stop conditions for the action.

When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all of the conditions are true.

Source

pub fn condition_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn input( self, value: Vec<Option<RequestOrchestrationActionInput>>, ) -> RequestOrchestrationActionBuilder

Input data requirements

Defines input data requirements for the action.

Source

pub fn input_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn output( self, value: Vec<Option<RequestOrchestrationActionOutput>>, ) -> RequestOrchestrationActionBuilder

Output data definition

Defines the outputs of the action, if any.

Source

pub fn output_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn related_action( self, value: Vec<Option<RequestOrchestrationActionRelatedAction>>, ) -> RequestOrchestrationActionBuilder

Relationship to another action

A relationship to another action such as “before” or “30-60 minutes after start of”.

Source

pub fn related_action_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn timing( self, value: RequestOrchestrationActionTiming, ) -> RequestOrchestrationActionBuilder

When the action should take place

An optional value describing when the action should be performed.

The intent of the timing element is to provide timing for when the action should be performed. The timing may be absolute (specified as a dateTime or Period) or relative (specified as an Age, Duration, or Range), or it may be a more complex, potentially repeating timing specified using Timing.

Source

pub fn timing_ext( self, value: RequestOrchestrationActionTimingExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn location( self, value: CodeableReference, ) -> RequestOrchestrationActionBuilder

Where it should happen

Identifies the facility where the action will occur; e.g. home, hospital, specific clinic, etc.

May reference a specific clinical location or may just identify a type of location.

Source

pub fn location_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn participant( self, value: Vec<Option<RequestOrchestrationActionParticipant>>, ) -> RequestOrchestrationActionBuilder

Who should perform the action

The participant that should perform or be responsible for this action.

Because request orchestrations represent potential options for performing activities, some specific participants may still be unknown, so this element allows for both definitional participants (in the same way they are specified in ActivityDefinition and PlanDefinition resources) as well as identifying specific participants when they are known.

Source

pub fn participant_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn type(self, value: CodeableConcept) -> RequestOrchestrationActionBuilder

ActionType; create | update | remove | fire-event

The type of action to perform (create, update, remove).

Source

pub fn type_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn grouping_behavior( self, value: ActionGroupingBehavior, ) -> RequestOrchestrationActionBuilder

ActionGroupingBehavior; visual-group | logical-group | sentence-group

Defines the grouping behavior for the action and its children.

Source

pub fn grouping_behavior_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn selection_behavior( self, value: ActionSelectionBehavior, ) -> RequestOrchestrationActionBuilder

ActionSelectionBehavior; any | all | all-or-none | exactly-one | at-most-one | one-or-more

Defines the selection behavior for the action and its children.

Source

pub fn selection_behavior_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn required_behavior( self, value: ActionRequiredBehavior, ) -> RequestOrchestrationActionBuilder

ActionRequiredBehavior; must | could | must-unless-documented

Defines expectations around whether an action is required.

Source

pub fn required_behavior_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn precheck_behavior( self, value: ActionPrecheckBehavior, ) -> RequestOrchestrationActionBuilder

ActionPrecheckBehavior; yes | no

Defines whether the action should usually be preselected.

Source

pub fn precheck_behavior_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn cardinality_behavior( self, value: ActionCardinalityBehavior, ) -> RequestOrchestrationActionBuilder

ActionCardinalityBehavior; single | multiple

Defines whether the action can be selected multiple times.

Source

pub fn cardinality_behavior_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn resource(self, value: Reference) -> RequestOrchestrationActionBuilder

The target of the action

The resource that is the target of the action (e.g. CommunicationRequest).

The target resource SHALL be a Request resource with a Request.intent set to “option”.

Source

pub fn resource_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn definition( self, value: RequestOrchestrationActionDefinition, ) -> RequestOrchestrationActionBuilder

Description of the activity to be performed

A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.

Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically.

Source

pub fn definition_ext( self, value: RequestOrchestrationActionDefinitionExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn transform(self, value: String) -> RequestOrchestrationActionBuilder

Transform to apply the template

A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.

Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform.

Source

pub fn transform_ext( self, value: FieldExtension, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn dynamic_value( self, value: Vec<Option<RequestOrchestrationActionDynamicValue>>, ) -> RequestOrchestrationActionBuilder

Dynamic aspects of the definition

Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient’s weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.

Dynamic values are applied in the order in which they are defined in the RequestOrchestration resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform.

Source

pub fn dynamic_value_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn action( self, value: Vec<Option<RequestOrchestrationAction>>, ) -> RequestOrchestrationActionBuilder

Sub action

Sub actions.

Source

pub fn action_ext( self, value: Vec<Option<FieldExtension>>, ) -> RequestOrchestrationActionBuilder

Extension field.

Source

pub fn build(self) -> Result<RequestOrchestrationAction, BuilderError>

Builds a new RequestOrchestrationAction.

§Errors

If a required field has not been initialized.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more