Patient Registration Form Submission Process
Form Submission Workflow
Form Completion
Patient completes and submits registration form
Database Storage
Form data is stored in secure database
Email Notification
Staff receives email alert
Staff Processing
Staff processes form in admin dashboard
Detailed Process
- Form Submission: When a patient completes and submits the registration form, the system validates all required fields.
- File Processing: Any uploaded files (insurance cards, ID, signature) are securely stored on the server with unique filenames.
- Database Storage: The form submission is stored in the FormSubmission table with a status of "submitted".
- Clinic Routing: Based on the selected clinic location, the notification is routed to the appropriate staff:
- Harlingen Clinic: front desk staff at kcastaneda@riograndemedicine.com and vravalos@riograndemedicine.com
- Weslaco Clinic: front desk staff at weslaco@riograndemedicine.com
- Default fallback: frontdesk@riograndemedicine.com
- Email Notification: Staff receives an email with basic patient information and a link to view the complete submission.
- Staff Dashboard: Authorized staff can access all submissions through the admin dashboard where they can review, print, and process forms.
- Patient Confirmation: The patient is directed to a thank you page and can print a copy of their submission for their records.
Technical Implementation
The form submission process is handled by the form_submit()
function in routes/main.py
. This function:
- Validates the submission data
- Creates a record in the FormSubmission table
- Sends email notifications to the appropriate staff
- Manages file uploads and signature storage
- Provides confirmation to the patient
All form submissions are secured with proper authentication and data validation to ensure patient privacy and data integrity.
Security Measures
The form submission system implements several security measures:
- HIPAA Compliance: All patient data is handled according to HIPAA guidelines
- Secure Storage: Form data is stored in an encrypted database
- Access Controls: Only authorized staff can access submitted forms
- Secure File Handling: Uploaded files are validated and stored securely
- Audit Trail: All form access and processing actions are logged