Health Company Position: Senior Back-End Developer assignment Welcome to the SwiftPdf Eligibility and Registration Flow developer exam. In this exam, you will be tasked with designing and implementing the eligibility and registration flow for new users who are coming from a B2B source and want to set up a SwiftPdf account. The goal is to create a simple and effective process that maximizes the chances of user registration and usage of the app while ensuring eligibility control for B2B companies. Task 1: User Eligibility Verification Scenario: SwiftPdf has received a file containing a list of millions of eligible users (name, email, phone, ID, etc.). Your task is to implement the eligibility process. Requirements: 1. Design a data structure to store the eligible user data (name, email, phone, ID, etc.). 2. Create script that load the file and store to the Db according to the design structure, each record should have a unique key. Task 2: User Identity Verification Form Scenario: Users who got an email to the enrollment landing page will fill out a form to verify their identity against the eligible DB design structure above. Requirements: 1. Design a user identity verification form with fields for name, email, phone, and any additional required information. 2. Implement client-side and server-side validation for form inputs. 3. Upon successful validation, proceed to the eligibility verification step “Task 3”. 4. If the validation fails, display appropriate error messages. Task 3: Eligibility Verification Result Scenario: After successful user identity verification, the user's eligibility needs to be determined. Requirements: 1. Implement logic to compare the user's provided information with the eligible user data. 2. If the user is eligible, display a summary page showing the devices they can receive from SwiftPdf you can see a device list available on our website see link. 3. If the user is not eligible, display a message instructing them to contact their employer/payer/plan. 142 West 57th Street 8th Floor, New York, NY 10019 SwiftPdfhealth.com Task 4: Eligible User Confirmation and Notification Scenario: Eligible users should receive email confirmation and notifications about their eligibility identification succeeded and the list of products their eligible for. Requirements: 1. Design an email template for notifying eligible users about their eligibility and devices. 2. Integrate email sending functionality to notify users about their eligibility. Task 5: B2B Eligibility Management report 1. Scenario: B2B companies need to have a statistics reports over which users are eligible and enrolled, enrolled user is a user who passed the eligibility identification “succeeded Task 2” Requirements: 2. Create daily report that display 1. Total number of eligible users from the eligible user data. 2. Total number of users who have completed the enrollment process from the enrolled user data. 3. Calculate the enrollment percentage as (Enrolled Users / Total Eligible Users) * 100