giveAccessTo abstract method

Future<HealthcareElement> giveAccessTo(
  1. HealthcareElement healthcareElement,
  2. String delegatedTo
)

Give access to another dataOwner to the healthcareElement

Parameters:

Data owner id can be either a:

  • healthcarePartyId,
  • patientId
  • deviceId

Implementation

Future<HealthcareElement> giveAccessTo(HealthcareElement healthcareElement, String delegatedTo);