If the user has the appropriate permissions, the fields Select Doctor and Select Clinic will appear.
However, when the registration is performed by a user with the doctor role, the doctor’s name and clinic are automatically inserted into the patient’s record.