pub struct ApplyConsentsRequest {
pub patient_scope: Option<PatientScope>,
pub time_range: Option<TimeRange>,
pub validate_only: Option<bool>,
}
Expand description
Request to apply the Consent resources for the specified FHIR store.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§patient_scope: Option<PatientScope>
Optional. Scope down to a list of patients.
time_range: Option<TimeRange>
Optional. Scope down to patients whose most recent consent changes are in the time range. Can only be used with a versioning store (i.e. when disable_resource_versioning is set to false).
validate_only: Option<bool>
Optional. If true, the method only validates Consent resources to make sure they are supported. When the operation completes, ApplyConsentsResponse is returned where consent_apply_success
and consent_apply_failure
indicate supported and unsupported (or invalid) Consent resources, respectively. Otherwise, the method propagates the aggregate consensual information to the patient’s resources. Upon success, affected_resources
in the ApplyConsentsResponse indicates the number of resources that may have consensual access changed.
Trait Implementations§
Source§impl Clone for ApplyConsentsRequest
impl Clone for ApplyConsentsRequest
Source§fn clone(&self) -> ApplyConsentsRequest
fn clone(&self) -> ApplyConsentsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ApplyConsentsRequest
impl Debug for ApplyConsentsRequest
Source§impl Default for ApplyConsentsRequest
impl Default for ApplyConsentsRequest
Source§fn default() -> ApplyConsentsRequest
fn default() -> ApplyConsentsRequest
Source§impl<'de> Deserialize<'de> for ApplyConsentsRequest
impl<'de> Deserialize<'de> for ApplyConsentsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ApplyConsentsRequest
impl Serialize for ApplyConsentsRequest
impl RequestValue for ApplyConsentsRequest
Auto Trait Implementations§
impl Freeze for ApplyConsentsRequest
impl RefUnwindSafe for ApplyConsentsRequest
impl Send for ApplyConsentsRequest
impl Sync for ApplyConsentsRequest
impl Unpin for ApplyConsentsRequest
impl UnwindSafe for ApplyConsentsRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more