giveAccessTo abstract method

Future<DataSample> giveAccessTo(
  1. DataSample dataSample,
  2. String delegatedTo
)

Give access to another dataOwner to the DataSample

Parameters:

  • DataSample dataSample to give access to delegateTo
  • String delegatedTo: dataOwnerId to give access to

Data owner id can be either a:

  • healthcarePartyId,
  • patientId
  • deviceId

Implementation

Future<DataSample> giveAccessTo(DataSample dataSample, String delegatedTo);