patient-functions add