public function getInjectionSide()
{
$left = false;
$right = false;
if ($this->hasLeft()) {
if (!$this->left_no_treatment) {
$left = true;
}
}
if ($this->hasRight()) {
if (!$this->right_no_treatment) {
$right = true;
}
}
if ($left) {
if ($right) {
return \Eye::BOTH;
} else {
return \Eye::LEFT;
}
} elseif ($right) {
return \Eye::RIGHT;
}
return;
}