Content
if (user.role DOCTOR 1 (user. specialization "CARDIOLOGY" allowedRecordTypes. includes (patientRecord. type) (user. role NURSE I user. role MEDICALASSISTANT) )) Hello future me. I’m so sorry. I really hoped you never have to see this authorization code again. But here we are. How’s mom? return true;