patient_id variable added to dashboard pages