bradymiller/openemr — comment on commit a0e572611acefc0b26d3eca4ffa6950880f00c47
File: interface/patient_file/encounter/forms.php line 297
By bradymiller:

So, for example, also need a :
( ($auth_notes && $iter['user'] == $_SESSION['authUser']) && ($interval <$enc_lock || $enc_lock ==0))
and so on...