giveAccessTo abstract method
Give access to another dataOwner to the patient
Parameters:
Patient
patient to giveAccessTodelegateTo
- String delegatedTo: dataOwnerId to giveAccessTo
Data owner id can be either a:
- healthcarePartyId,
- patientId
- deviceId
Implementation
Future<Patient> giveAccessTo(Patient patient, String delegatedTo);