validateOnly property

bool? validateOnly
getter/setter pair

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.

Optional.

Implementation

core.bool? validateOnly;