findDataOwnerId method
Implementation
String findDataOwnerId() {
final id = this.healthcarePartyId ?? this.patientId ?? this.deviceId;
if (id == null) {
throw FormatException("At least one of healthcarePartyId, patientId, deviceId must be defined on user");
}
return id;
}