The registration processor (e.g. register.php) is used to capture three required parameters that the i2b2 PM cell needs in order to register a user via web services. Specifically, a user registration form at your institution should capture at least three required fields: username, email, and fullname. See the Registration Form UI page for details on capturing and submitting these parameters to the registration processor.
You can follow the example Logic Workflow to construct your user registration process at your institution. Included below are example PHP functions that will help you get started.
- i2b2_get_role($user_name, $project_id)
- i2b2_set_user($user_name, $full_name, $email, $status, $password)
- i2b2_set_role($user_name, $role, $project_id)
- i2b2_set_user_param($user_name, $param_name, $param_type, $param_value)