Class: Google::Apis::HealthcareV1::PatientScope
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::PatientScope
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb
Overview
Apply consents given by a list of patients.
Instance Attribute Summary collapse
-
#patient_ids ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PatientScope
constructor
A new instance of PatientScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PatientScope
Returns a new instance of PatientScope.
4713 4714 4715 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#patient_ids ⇒ Array<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
4711 4712 4713 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4711 def patient_ids @patient_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4718 4719 4720 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4718 def update!(**args) @patient_ids = args[:patient_ids] if args.key?(:patient_ids) end |