pub struct TaskRestrictionBuilder { /* private fields */ }
Expand description
Builder for TaskRestriction
.
Implementations§
Source§impl TaskRestrictionBuilder
impl TaskRestrictionBuilder
Sourcepub fn id(self, value: String) -> TaskRestrictionBuilder
pub fn id(self, value: String) -> TaskRestrictionBuilder
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>) -> TaskRestrictionBuilder
pub fn extension(self, value: Vec<Extension>) -> TaskRestrictionBuilder
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>) -> TaskRestrictionBuilder
pub fn modifier_extension(self, value: Vec<Extension>) -> TaskRestrictionBuilder
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 repetitions(self, value: NonZero<u32>) -> TaskRestrictionBuilder
pub fn repetitions(self, value: NonZero<u32>) -> TaskRestrictionBuilder
How many times to repeat
Indicates the number of times the requested action should occur.
Sourcepub fn repetitions_ext(self, value: FieldExtension) -> TaskRestrictionBuilder
pub fn repetitions_ext(self, value: FieldExtension) -> TaskRestrictionBuilder
Extension field.
Sourcepub fn period(self, value: Period) -> TaskRestrictionBuilder
pub fn period(self, value: Period) -> TaskRestrictionBuilder
When fulfillment is sought
The time-period for which fulfillment is sought. This must fall within the overall time period authorized in the referenced request. E.g. ServiceRequest.occurance[x].
This is distinct from Task.executionPeriod. ExecutionPeriod indicates when the task needs to be initiated, while Task.restriction.period specifies the subset of the overall authorization that this period covers. For example, a MedicationRequest with an overall effective period of 1 year might have a Task whose restriction.period is 2 months (i.e. satisfy 2 months of medication therapy), while the execution period might be ‘between now and 5 days from now’ - i.e. If you say yes to this, then you’re agreeing to supply medication for that 2 month period within the next 5 days.
Note that period.high is the due date representing the time by which the task should be completed.
Sourcepub fn period_ext(self, value: FieldExtension) -> TaskRestrictionBuilder
pub fn period_ext(self, value: FieldExtension) -> TaskRestrictionBuilder
Extension field.
Sourcepub fn recipient(self, value: Vec<Option<Reference>>) -> TaskRestrictionBuilder
pub fn recipient(self, value: Vec<Option<Reference>>) -> TaskRestrictionBuilder
For whom is fulfillment sought?
For requests that are targeted to more than one potential recipient/target, to identify who is fulfillment is sought for.
Sourcepub fn recipient_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> TaskRestrictionBuilder
pub fn recipient_ext( self, value: Vec<Option<FieldExtension>>, ) -> TaskRestrictionBuilder
Extension field.