Fraxtal Health Passport
Tagline
Secure, Decentralized Health Records with Tokenized Access Control
Overview
Fraxtal Health Passport is a consumer app built on Fraxtal offchain for secure, decentralized health records. It integrates with Fraxtal mainnet for tokenized access control and payments for health services. This healthcare patient management application allows patients to register, book, and manage their appointments with doctors, featuring administrative tools for scheduling, confirming, and canceling appointments, along with SMS notifications, all built using Next.js.
Features
Patient Registration
- Register as a Patient: Users can easily sign up and create a personal profile as a patient.
Appointment Booking and Management
- Book a New Appointment with Doctor: Patients can schedule appointments with doctors at their convenience and can book multiple appointments.
- Manage Appointments on Admin Side: Administrators can efficiently view and handle all scheduled appointments.
- Confirm/Schedule Appointment from Admin Side: Admins can confirm and set appointment times to ensure they are properly scheduled.
- Cancel Appointment from Admin Side: Administrators have the ability to cancel any appointment as needed.
Notifications
- Send SMS on Appointment Confirmation: Patients receive SMS notifications to confirm their appointment details.
Responsiveness
- Complete Responsiveness: The application works seamlessly on all device types and screen sizes.
Performance Tracking
- Manage and Track Application Performance Using Sentry: The application uses Sentry to monitor and track its performance and detect any errors.
Getting Started
Prerequisites
- Node.js
- Next.js
- Fraxtal mainnet access
- Sentry account
Installation
Clone the Repository
git clone https://github.com/yourusername/fraxtal-health-passport.git cd fraxtal-health-passport
Install Dependencies
npm install
Configure Environment Variables
- Create a
.env.local
file in the root directory. - Add the necessary environment variables as per the
.env.example
file.
- Create a
Start the Development Server
npm run dev
Build for Production
npm run build npm start
Usage
Registering as a Patient
- Navigate to the registration page.
- Fill in the required personal details.
- Submit the form to create your patient profile.
Booking an Appointment
- Log in to your patient profile.
- Navigate to the 'Book Appointment' section.
- Select a doctor and available time slot.
- Confirm and book your appointment.
Managing Appointments (Admin)
- Log in as an admin.
- Navigate to the 'Manage Appointments' section.
- View, confirm, reschedule, or cancel appointments as necessary.
- Send SMS notifications to patients for confirmation.
Fraxtal Health Passport - Empowering Patients with Decentralized Healthcare Solutions.