A freelancer created a GP Surgery Admin Account. When you log into a GP Surgery admin account (Admin GP Surgery Login -
Username and Password: DemoGPSurgery ) and create a doctor it doesn't have the "Select your surgery" so the doctor is unavailable to the GP Surgery admin account until a main admin (Main Admin Account -
Password: testadmin13 ) adds the GP Surgery to the doctor. I need the GP Surgery to be selected during creating the doctors account.
Also if you login to the GP Surgery admin account and try to book an appointment for a patient ("Make an Appointment") it says an error message after selecting a doctor. If you login to the main admin account (testadmin) you'll see how this works for that account, i need this to work for the GP Surgery admin account also.
Lastly, with that make an appointment script in the admin panel, it searches for patients to make the appointment for but it searches for user names, i need it to search for NHS Number (which has been changed from Website to NHS Number in the admin panel vocabulary) as the doctors won't know the patients usernames.