Repository navigation
Patient Guide
Complete guide for patients using HealthFirst Hospital Management System.
- Getting Started
- Patient Dashboard
- Booking Appointments
- Medical Records
- Prescriptions
- Online Pharmacy
- Billing & Payments
- Profile Management
Step 1: Registration
- Visit:
http://localhost:8080/register - Fill in registration form:
Personal Information:
├── First Name: John
├── Last Name: Smith
├── Date of Birth: 1980-05-15
├── Gender: Male
└── Blood Type: O+ (optional)
Contact Information:
├── Email: john.smith@email.com
├── Phone: +1-555-0123
└── Address: 123 Main St, City, State, ZIP
Account Details:
├── Username: johnsmith
└── Password: ********
(Confirm): ********
Emergency Contact:
├── Name: Jane Smith
├── Relationship: Spouse
└── Phone: +1-555-0456
- Click "Register"
- Check email for verification link
- Click link to activate account
Step 2: First Login
URL: http://localhost:8080/login
Username: johnsmith
Password: ********
→ Redirected to Patient Dashboard
URL: http://localhost:8080/patient/dashboard
┌─────────────────────────────────────────┐
│ Welcome, John Smith! │
├─────────────────────────────────────────┤
│ 📅 Upcoming Appointments (2) │
│ ├─ Oct 25, 09:00 AM - Dr. Sarah Wilson │
│ └─ Nov 05, 02:00 PM - Dr. John Carter │
│ │
│ 📋 Recent Medical Records (3) │
│ 💊 Active Prescriptions (2) │
│ 💰 Pending Invoices: $250.00 │
│ │
│ Quick Actions: │
│ [Book Appointment] [Order Medicine] │
│ [View Records] [Pay Bills] │
└─────────────────────────────────────────┘
Your Health at a Glance:
├── Last Visit: 2025-10-15
├── Next Appointment: 2025-10-25
├── Active Medications: 3
├── Chronic Conditions: 2
│ ├─ Hypertension
│ └─ Type 2 Diabetes
└── Allergies: Penicillin
Navigation: Dashboard → Appointments → Book New
Step 1: Select Specialization
Choose Department:
○ Cardiology
○ Dermatology
○ Endocrinology
○ General Medicine
○ Neurology
○ Orthopedics
○ Pediatrics
○ Psychiatry
Step 2: Select Doctor
Available Doctors in Cardiology:
┌─────────────────────────────────────────┐
│ Dr. Sarah Wilson │
│ ⭐⭐⭐⭐⭐ 4.8/5.0 (124 reviews) │
│ Experience: 10 years │
│ Languages: English, Spanish │
│ Consultation Fee: $150 │
│ [Select Doctor] │
└─────────────────────────────────────────┘
┌─────────────────────────────────────────┐
│ Dr. Michael Chen │
│ ⭐⭐⭐⭐⭐ 4.9/5.0 (98 reviews) │
│ Experience: 15 years │
│ Languages: English, Mandarin │
│ Consultation Fee: $175 │
│ [Select Doctor] │
└─────────────────────────────────────────┘
Step 3: Select Date & Time
Calendar View:
October 2025
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Available Time Slots for Oct 25:
□ 09:00 AM - 09:30 AM
□ 09:30 AM - 10:00 AM
☑ 10:00 AM - 10:30 AM (Selected)
□ 10:30 AM - 11:00 AM
□ 11:00 AM - 11:30 AM
Step 4: Appointment Details
Appointment Type:
○ First Visit
○ Follow-up
○ Consultation
○ Emergency
Reason for Visit:
_________________________________________
Example: Regular checkup and blood pressure monitoring
Additional Notes (optional):
_________________________________________
Step 5: Confirmation
Appointment Summary:
├── Doctor: Dr. Sarah Wilson (Cardiology)
├── Date: October 25, 2025
├── Time: 10:00 AM - 10:30 AM
├── Type: Follow-up
├── Fee: $150
└── Location: Room 204, 2nd Floor
☑ I agree to the cancellation policy
(24 hours notice required)
[Confirm Booking] [Back]
Step 6: Confirmation Received
✓ Appointment Booked Successfully!
Confirmation sent to: john.smith@email.com
Appointment Details:
Booking ID: APT-2025-1024-001
Doctor: Dr. Sarah Wilson
Date: October 25, 2025
Time: 10:00 AM
[Add to Calendar] [View Appointment]
Navigation: Dashboard → My Appointments
Appointment List:
┌─────────────────────────────────────────┐
│ Upcoming Appointments │
├─────────────────────────────────────────┤
│ Oct 25, 2025 | 10:00 AM │
│ Dr. Sarah Wilson - Cardiology │
│ Type: Follow-up │
│ [View] [Reschedule] [Cancel] │
├─────────────────────────────────────────┤
│ Nov 05, 2025 | 02:00 PM │
│ Dr. John Carter - General Medicine │
│ Type: Consultation │
│ [View] [Reschedule] [Cancel] │
└─────────────────────────────────────────┘
┌─────────────────────────────────────────┐
│ Past Appointments │
├─────────────────────────────────────────┤
│ Oct 15, 2025 | Dr. Sarah Wilson │
│ Status: Completed │
│ [View Details] [View Medical Record] │
└─────────────────────────────────────────┘
Steps:
1. Click "Reschedule" on appointment
2. Select new date and time
3. Reason for rescheduling (optional)
4. Confirm changes
5. Email confirmation sent
Steps:
1. Click "Cancel" on appointment
2. Select cancellation reason:
○ Personal emergency
○ Conflict with work
○ Feeling better
○ Doctor recommendation
○ Other
3. Add note (optional)
4. Confirm cancellation
⚠️ Cancellation Policy:
- Free cancellation: 24+ hours before
- Late cancellation: 50% fee
- No-show: Full consultation fee
Navigation: Dashboard → Medical Records
Records List:
┌─────────────────────────────────────────┐
│ Your Medical Records │
├─────────────────────────────────────────┤
│ [2025-10-15] Regular Checkup │
│ Dr. Sarah Wilson - Cardiology │
│ Diagnosis: Hypertension - controlled │
│ [View Full Record] [Download PDF] │
├─────────────────────────────────────────┤
│ [2025-09-10] Follow-up Visit │
│ Dr. Sarah Wilson - Cardiology │
│ Diagnosis: Hypertension │
│ [View Full Record] [Download PDF] │
└─────────────────────────────────────────┘
Click to view full record:
Medical Record #MR-2025-1015-001
Patient: John Smith
Date: October 15, 2025
Doctor: Dr. Sarah Wilson (Cardiology)
Vital Signs:
├── Height: 175 cm
├── Weight: 80 kg
├── BMI: 26.1 (Overweight)
├── Blood Pressure: 128/82 mmHg
├── Heart Rate: 72 bpm
├── Temperature: 98.6°F
└── Oxygen Saturation: 98%
Chief Complaint:
Follow-up for hypertension management
Physical Examination:
General: Well-appearing, in no acute distress
Cardiovascular: Regular rate and rhythm, no murmurs
Respiratory: Clear to auscultation bilaterally
Abdomen: Soft, non-tender
Diagnosis:
Primary: Essential Hypertension (ICD-10: I10)
Secondary: None
Treatment Plan:
- Continue Lisinopril 10mg once daily
- Monitor blood pressure at home daily
- Low sodium diet (<2000mg/day)
- Regular exercise (30 min, 5x/week)
- Follow-up in 6 weeks
Prescriptions:
See linked prescription: RX-2025-1015-001
Next Visit:
November 26, 2025 at 10:00 AM
[Download PDF] [Print] [Share with Doctor]
Download Options:
○ Single Record (PDF)
○ All Records (ZIP)
○ Date Range (PDF)
○ By Doctor (PDF)
Privacy Notice:
These records are confidential and protected
under HIPAA regulations.
[Download]
With Another Healthcare Provider:
1. Select record(s) to share
2. Enter recipient information:
Doctor Name: Dr. Emily Brown
Email: emily.brown@clinic.com
Hospital: City General Hospital
3. Add message (optional)
4. Set expiration: [7 days ▼]
5. [Send Securely]
✓ Secure link sent to recipient
✓ You'll be notified when viewed
Navigation: Dashboard → Prescriptions
Active Prescriptions:
┌─────────────────────────────────────────┐
│ Current Medications │
├─────────────────────────────────────────┤
│ Lisinopril 10mg │
│ ├─ Prescribed: 2025-10-15 │
│ ├─ By: Dr. Sarah Wilson │
│ ├─ Dosage: 1 tablet once daily │
│ ├─ Quantity: 30 tablets │
│ ├─ Refills: 2 remaining │
│ └─ Expires: 2025-11-15 │
│ [View Details] [Request Refill] [Order] │
├─────────────────────────────────────────┤
│ Metformin 500mg │
│ ├─ Prescribed: 2025-09-10 │
│ ├─ By: Dr. John Carter │
│ ├─ Dosage: 1 tablet twice daily │
│ ├─ Quantity: 60 tablets │
│ ├─ Refills: 3 remaining │
│ └─ Expires: 2025-10-10 │
│ [View Details] [Request Refill] [Order] │
└─────────────────────────────────────────┘
Prescription #RX-2025-1015-001
Medication: Lisinopril
├── Generic Name: Lisinopril
├── Brand Name: Prinivil, Zestril
├── Strength: 10 mg
├── Form: Tablet
└── Class: ACE Inhibitor
Dosage Instructions:
├── Dosage: 1 tablet
├── Frequency: Once daily
├── Route: Oral
├── Time: Morning
└── With/Without Food: Either
Duration: 30 days
Quantity Prescribed: 30 tablets
Refills Authorized: 2
Special Instructions:
"Take in the morning with a glass of water.
Monitor blood pressure daily."
Warnings:
⚠️ May cause dizziness
⚠️ Avoid potassium supplements
⚠️ Report persistent dry cough
Prescribing Doctor:
Dr. Sarah Wilson
Cardiology Department
License: MED-12345
Issued: October 15, 2025
Valid Until: November 15, 2025
[Download PDF] [Order from Pharmacy]
Steps:
1. Select prescription
2. Click "Request Refill"
3. Verify information:
Medicine: Lisinopril 10mg
Refills Available: 2
Pharmacy: Hospital Pharmacy
4. Add pickup preference:
○ Pickup at pharmacy
○ Home delivery
5. [Submit Request]
✓ Refill request sent to pharmacy
✓ You'll be notified when ready
✓ Estimated ready time: 2 hours
For External Prescriptions:
1. Click "Upload Prescription"
2. Take photo or select file:
[📷 Take Photo] [📁 Choose File]
3. Add details:
Prescribed by: Dr. Smith
Date: 2025-10-20
Notes: External prescription
4. [Upload]
✓ Prescription submitted for verification
✓ Pharmacist will review within 24 hours
Navigation: Dashboard → Pharmacy
Medicine Catalog:
┌─────────────────────────────────────────┐
│ Search: [_____________] 🔍 │
│ │
│ Categories: │
│ ○ All Medicines │
│ ○ Pain Relief │
│ ○ Cold & Flu │
│ ○ Digestive Health │
│ ○ Vitamins & Supplements │
│ ○ First Aid │
└─────────────────────────────────────────┘
┌──────────────┬──────────────┬──────────┐
│ Paracetamol │ Ibuprofen │ Aspirin │
│ 500mg │ 200mg │ 75mg │
│ $5.99 │ $7.99 │ $4.99 │
│ [Add to Cart]│ [Add to Cart]│[Add Cart]│
└──────────────┴──────────────┴──────────┘
Paracetamol 500mg
★★★★☆ 4.5/5.0 (89 reviews)
Price: $5.99 (Pack of 20 tablets)
Description:
Effective pain reliever and fever reducer.
Used for headaches, muscle aches, arthritis,
backaches, toothaches, colds, and fevers.
Dosage:
Adults: 1-2 tablets every 4-6 hours
Maximum: 8 tablets in 24 hours
Warnings:
⚠️ Do not exceed recommended dose
⚠️ Avoid alcohol while taking
⚠️ Consult doctor if pregnant
In Stock: 150 units
Manufacturer: PharmaCorp
Expiry: March 2026
Quantity: [1 ▼]
[Add to Cart] [Add to Wishlist]
┌─────────────────────────────────────────┐
│ Your Cart (3 items) │
├─────────────────────────────────────────┤
│ Paracetamol 500mg │
│ Qty: 2 | $5.99 each | $11.98 │
│ [Update] [Remove] │
├─────────────────────────────────────────┤
│ Ibuprofen 200mg │
│ Qty: 1 | $7.99 each | $7.99 │
│ [Update] [Remove] │
├─────────────────────────────────────────┤
│ Vitamin C 1000mg │
│ Qty: 1 | $12.99 each | $12.99 │
│ [Update] [Remove] │
├─────────────────────────────────────────┤
│ Subtotal: $32.96 │
│ Shipping: $5.00 │
│ Tax: $3.30 │
├─────────────────────────────────────────┤
│ Total: $41.26 │
└─────────────────────────────────────────┘
[Continue Shopping] [Proceed to Checkout]
Step 1: Delivery Information
Delivery Address:
○ Use registered address:
123 Main St, City, State, 12345
○ Use different address:
Street: ___________________________
City: _____________________________
State: ____________________________
ZIP: ______________________________
Contact Number: +1-555-0123
Delivery Preference:
○ Standard Delivery (3-5 days) - $5.00
○ Express Delivery (1-2 days) - $10.00
○ Same Day Delivery - $15.00
Step 2: Payment
Payment Method:
○ Credit/Debit Card
Card Number: ____ ____ ____ ____
Exp Date: MM/YY CVV: ___
○ PayPal
[Login with PayPal]
○ Pay on Delivery (Cash)
Step 3: Order Confirmation
✓ Order Placed Successfully!
Order #ORD-2025-1024-001
Order Summary:
├── Paracetamol 500mg x2: $11.98
├── Ibuprofen 200mg x1: $7.99
└── Vitamin C 1000mg x1: $12.99
Subtotal: $32.96
Shipping: $5.00
Tax: $3.30
Total: $41.26
Delivery to:
123 Main St, City, State, 12345
Estimated Delivery:
October 27-29, 2025
[Track Order] [Download Invoice]
Order #ORD-2025-1024-001
Status: In Transit 📦
┌─────────────────────────────────────────┐
│ ✓ Order Placed │
│ October 24, 2025 - 02:30 PM │
├─────────────────────────────────────────┤
│ ✓ Payment Confirmed │
│ October 24, 2025 - 02:35 PM │
├─────────────────────────────────────────┤
│ ✓ Order Packed │
│ October 24, 2025 - 04:00 PM │
├─────────────────────────────────────────┤
│ ● Out for Delivery │
│ October 25, 2025 - 09:00 AM │
├─────────────────────────────────────────┤
│ ○ Delivered │
│ Estimated: October 25, 2025 │
└─────────────────────────────────────────┘
Tracking Number: TRK-2025-1024-001
Delivery Partner: FastShip Express
[Contact Support] [Download Invoice]
Navigation: Dashboard → Billing
Invoice List:
┌─────────────────────────────────────────┐
│ Pending Invoices │
├─────────────────────────────────────────┤
│ INV-2025-1015-001 │
│ Date: October 15, 2025 │
│ Description: Consultation - Dr. Wilson │
│ Amount: $150.00 │
│ Due Date: October 30, 2025 │
│ [View] [Pay Now] │
├─────────────────────────────────────────┤
│ INV-2025-1020-002 │
│ Date: October 20, 2025 │
│ Description: Pharmacy Order │
│ Amount: $100.00 │
│ Due Date: November 05, 2025 │
│ [View] [Pay Now] │
└─────────────────────────────────────────┘
Total Outstanding: $250.00
┌─────────────────────────────────────────┐
│ Paid Invoices │
├─────────────────────────────────────────┤
│ INV-2025-0910-001 │
│ Paid: September 12, 2025 │
│ Amount: $150.00 │
│ [View Receipt] │
└─────────────────────────────────────────┘
Invoice #INV-2025-1015-001
Bill To:
John Smith
123 Main St
City, State, 12345
Phone: +1-555-0123
Invoice Date: October 15, 2025
Due Date: October 30, 2025
Description:
├── Consultation Fee - Dr. Sarah Wilson
│ Cardiology Department
│ Date: October 15, 2025
│ Duration: 30 minutes
│ Amount: $150.00
Subtotal: $150.00
Tax (10%): $15.00
Total: $165.00
Amount Paid: $0.00
Balance Due: $165.00
Payment Methods:
[Credit Card] [Bank Transfer] [Payment Plan]
[Download PDF] [Print]
Payment Options:
Card Payment
Amount to Pay: $165.00
Card Information:
Card Number: ____ ____ ____ ____
Card Holder: _____________________
Expiry Date: MM / YY
CVV: ___
☑ Save card for future payments
[Pay $165.00]
Bank Transfer
Amount: $165.00
Bank Account Details:
Bank Name: First National Bank
Account Name: HealthFirst Hospital
Account Number: 1234567890
Routing Number: 021000021
Reference: INV-2025-1015-001
Instructions:
1. Transfer amount to above account
2. Upload payment proof below
3. Wait for verification (1-2 business days)
Upload Proof:
[Choose File] [📷 Take Photo]
[Submit Payment Proof]
Payment Plan Setup
Invoice Amount: $165.00
Choose Plan Duration:
○ 3 months - $55.00/month
○ 6 months - $27.50/month
○ 12 months - $13.75/month
First Payment: Immediate
Subsequent Payments: Monthly (auto-debit)
Payment Method:
Card ending in ****1234
☑ I agree to the payment plan terms
[Setup Payment Plan]
Transaction History
┌─────────────────────────────────────────┐
│ [2025-09-12] Payment Received │
│ Invoice: INV-2025-0910-001 │
│ Amount: $150.00 │
│ Method: Credit Card (****1234) │
│ Status: ✓ Completed │
│ [View Receipt] │
├─────────────────────────────────────────┤
│ [2025-08-15] Payment Received │
│ Invoice: INV-2025-0810-001 │
│ Amount: $175.00 │
│ Method: Bank Transfer │
│ Status: ✓ Completed │
│ [View Receipt] │
└─────────────────────────────────────────┘
Total Paid (This Year): $1,850.00
Average Monthly: $185.00
Payment Receipt #REC-2025-0912-001
Date: September 12, 2025
Time: 02:45 PM
Paid by: John Smith
Patient ID: PAT-00123
Invoice: INV-2025-0910-001
Description: Consultation - Dr. Sarah Wilson
Amount Paid: $150.00
Payment Method: Credit Card (****1234)
Transaction ID: TXN-2025-0912-456789
Status: PAID ✓
Thank you for your payment!
[Download PDF] [Email Receipt]
Navigation: Profile Icon → My Profile
Personal Information:
├── Name: John Smith
├── Date of Birth: May 15, 1980 (45 years)
├── Gender: Male
├── Blood Type: O+
├── Email: john.smith@email.com
├── Phone: +1-555-0123
└── Address: 123 Main St, City, State, 12345
Emergency Contact:
├── Name: Jane Smith
├── Relationship: Spouse
└── Phone: +1-555-0456
Medical Information:
├── Allergies: Penicillin
├── Chronic Conditions:
│ ├─ Hypertension
│ └─ Type 2 Diabetes
├── Previous Surgeries:
│ └─ Appendectomy (2015)
└── Family History:
├─ Heart Disease (Father)
└─ Diabetes (Mother)
Insurance Information:
├── Provider: Blue Cross Blue Shield
├── Policy Number: BCBS-123456
├── Group Number: GRP-789
└── Valid Until: December 31, 2025
Editable Fields:
Contact Information:
├── Email: [john.smith@email.com]
├── Phone: [+1-555-0123]
└── Address: [123 Main St, City, State]
Emergency Contact:
├── Name: [Jane Smith]
├── Relationship: [Spouse ▼]
└── Phone: [+1-555-0456]
Medical History:
├── Allergies: [Add/Remove]
├── Chronic Conditions: [Add/Remove]
└── Previous Surgeries: [Add/Remove]
Privacy Settings:
☑ Share medical records with doctors
☑ Receive appointment reminders
☐ Receive promotional emails
☑ Enable SMS notifications
[Save Changes] [Cancel]
My Documents:
┌─────────────────────────────────────────┐
│ Insurance Card │
│ [Front.jpg] [Back.jpg] │
│ Uploaded: 2025-01-15 │
│ [View] [Replace] [Delete] │
├─────────────────────────────────────────┤
│ Previous Medical Reports │
│ [Report_2024.pdf] │
│ Uploaded: 2025-03-20 │
│ [View] [Replace] [Delete] │
└─────────────────────────────────────────┘
[Upload New Document]
Document Types:
- Insurance Cards
- Previous Medical Reports
- Lab Results
- Prescriptions
- Other
Max file size: 10MB
Accepted formats: PDF, JPG, PNG
Change Password
Current Password: ________
New Password: ________
Confirm New Password: ________
Password Requirements:
✓ At least 8 characters
✗ At least one uppercase letter
✓ At least one number
✗ At least one special character
[Update Password]
Notification Settings:
Email Notifications:
☑ Appointment reminders (24 hours before)
☑ Appointment confirmations
☑ Prescription ready notifications
☑ Invoice and payment reminders
☑ Lab results available
☐ Health tips and newsletters
☐ Promotional offers
SMS Notifications:
☑ Appointment reminders
☑ Appointment changes/cancellations
☐ Prescription refill reminders
☐ Payment due reminders
Push Notifications:
☑ All notifications
○ Important only
○ None
[Save Preferences]
My Health Dashboard
Blood Pressure Log:
Date | Systolic | Diastolic | Notes
-----------|----------|-----------|-------------
2025-10-24 | 128 | 82 | Morning
2025-10-23 | 130 | 85 | Evening
2025-10-22 | 125 | 80 | Morning
[Add New Reading] [View Chart]
Blood Glucose Log:
Date | Reading | Time | Notes
-----------|----------|-----------|-------------
2025-10-24 | 110 | Fasting | Before breakfast
2025-10-23 | 140 | After meal| 2 hours post-lunch
[Add New Reading] [View Chart]
Weight Log:
Date | Weight | BMI | Notes
-----------|----------|-----------|-------------
2025-10-24 | 80 kg | 26.1 | -
2025-10-17 | 81 kg | 26.4 | Weekly check
[Add New Reading] [View Chart]
My Health Goals:
Active Goals:
✓ Reduce blood pressure to <120/80
Progress: 128/82 (80% achieved)
Target Date: December 31, 2025
✓ Lose 5 kg
Progress: Lost 1 kg (20% achieved)
Target Date: March 31, 2026
○ Exercise 30 minutes daily
Progress: 4 days this week
Target: 5-7 days per week
[Add New Goal]
Common Questions:
How do I book an appointment?
- Go to Dashboard → Appointments → Book New
- Select specialization and doctor
- Choose date and time
- Fill in appointment details
- Confirm booking
How can I cancel an appointment?
Navigate to My Appointments, click Cancel on the appointment, select reason, and confirm. Free cancellation available 24+ hours before appointment.
How do I pay my bills?
Go to Billing → Select invoice → Pay Now. You can pay via credit card, bank transfer, or setup