Using VB.net and while making a WindowsForms app, follow the following instructions:
The hospital needs an emergency room application to manage patient registration and control the waiting list, based on the priority of the emergency and the patient's age. The medical team depends on the application to organize the appointments in a clear and efficient manner. The challenge is to develop an application in Visual Basic .NET, with a login screen and a main screen for patient registration. The application must validate user access through an array containing login data (username and password). Only previously registered users will be able to access the application. After logging in, the patient's data must be entered into the waiting list, following priority rules. In addition, the application must allow the next patient in the queue to be seen and removed from the list. Application Details
1. Login Screen:
The application must allow access only to the following registered users:

USERNAME PASSWORD
Teilor Golunski teilor.g 123!@#
Mônica Prior monica.p hjnaotemaula
Cícero Nicodem cicero.n botafogo100titulo
The application must use an array to store login data.
When trying to access the application, the user must receive feedback messages if the
login is successful or not.
2. Main Screen (Patient Registration):
It must contain fields for entering patient data: Name, CPF, Date of Birth, Health Plan, Doctor, Status.
The Health Plan field must contain three options in RadioButton format:
Health On Demand
Top Saúde
Convênio João de Deus
The Doctor field must be a ComboBox that fills in the doctors according to the chosen plan.
Available Doctors:

MEDICAL PLAN
Health On Demand

Mel Gibson
Tom Hanks
Anelina Jolie

Top Saúde

Scarlett Johansson
Sylvester Stallone
Julia Roberts
João de Deus Puff Daddy Health Insurance
Jeffrey Epstein
The Status field should have two options: Normal and Urgent.
The application should automatically calculate the patient's age based on the Date of Birth.

3. Queue Control:
The queue will be organized in a ListView that will display: Patient's Name, CPF, Age
(calculated by the application), Health Insurance, Doctor and Status.
Patients with Urgent Situation or age over 60 will have priority in the queue and
will be placed at the top.

4. The Main Screen should contain Action Buttons:
Register: Inserts the patient in the queue.
Cancel: Clears the form data.
Attend Next Patient: Removes the patient at the top of the list and displays a message confirming the appointment. 5. Validation and Modules: All login and registration fields are mandatory and must be validated. The application must have a module called "Format" to centralize subroutines and functions for form validation and cleaning. A module called "Functions" must centralize the function for calculating the patient's age, receiving the date of birth as input and returning the age. 6. Feedback Messages: The application must provide feedback messages to the user for each action, such as success or failure in registering, validating, or attending patients. Suggested Screens: RESULTS AND DELIVERIES 1. Login Screen: The application must contain an initial login screen that allows the authentication of three previously registered users, as specified above. Login validation must be done based on an array that stores the username and password combinations. Feedback messages must be displayed after the login attempt, indicating whether the login was successful or if the credentials are incorrect. 2. Main Screen: The main screen must contain a form with the fields mentioned above for patient registration: The Health Plan options must fill the ComboBox with the names of the specific doctors. All fields must be mandatory and the application must validate the completion before allowing registration. 3. ListView for Appointment Queue: The application must display a ListView to manage the appointment queue. The appointment queue must follow the priority rule: patients over 60 years of age or with an "Urgent" status must appear at the top of the list. 4. Buttons for Registration and Service Management: "Register" button: When clicking this button, the patient must be added to the appointment queue following the priority rules (over 60 years of age or urgent). If any field is blank, the application should display an error message informing what is missing. "Cancel" button: Clears the form fields, allowing the user to start a new registration. "Serve Next Patient" button: Removes the first patient from the queue (the one with the highest priority, according to the rules) and displays a confirmation message. 5. Field Validation: All login fields must be validated before authentication is performed. All fields on the registration form must be validated to ensure that there are no empty fields before the registration is completed is inserted in the ListView.
The application must provide clear feedback messages to the user in case of
error or success in validation.
6. Age Calculation Function:

The application must have a module called "Functions" that contains a subroutine/function dedicated to calculating the patient's age, based on the date of
birth provided.
The function must receive the date of birth as a parameter, calculate the current age and
return the value to be displayed in the ListView.
7. Module for Centralizing Subroutines/Functions:
The application must have a module called "Format" that centralizes the form validation
subroutines (to check if all fields have been filled out) and form clearing (to clear all fields at once when the "Cancel"
button is pressed).
This module must be well structured and separated to facilitate code maintenance
and project organization.
8. Feedback Messages for Actions Performed:
For each user action (login, registration, validation, patient care), the
application must display appropriate feedback messages, informing the success or failure of the
operation.