giveAccessTo abstract method

Future<Patient> giveAccessTo(
  1. Patient patient,
  2. String delegatedTo
)

Give access to another dataOwner to the patient

Parameters:

  • Patient patient to giveAccessTo delegateTo
  • String delegatedTo: dataOwnerId to giveAccessTo

Data owner id can be either a:

  • healthcarePartyId,
  • patientId
  • deviceId

Implementation

Future<Patient> giveAccessTo(Patient patient, String delegatedTo);