Class: Google::Apis::HealthcareV1beta1::PatientScope

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb

Overview

Apply consents given by a list of patients.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PatientScope

Returns a new instance of PatientScope.



5964
5965
5966
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5964

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#patient_idsArray<String>

Optional. The list of patient IDs whose Consent resources will be enforced. At most 10,000 patients can be specified. An empty list is equivalent to all patients (meaning the entire FHIR store). Corresponds to the JSON property patientIds

Returns:

  • (Array<String>)


5962
5963
5964
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5962

def patient_ids
  @patient_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5969
5970
5971
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5969

def update!(**args)
  @patient_ids = args[:patient_ids] if args.key?(:patient_ids)
end