The Health Emergency Response System is a comprehensive health monitoring and emergency response solution that integrates IoT-based health monitoring, real-time data prediction, and blockchain technology. This system ensures timely medical assistance in cases of abnormal heart activity.
- Real-Time Heartbeat Monitoring: Continuously tracks heartbeat data using an Arduino-based IoT cardiometer.
- Abnormal Heartbeat Alerts: Automatically detects irregular heartbeat patterns and signals the nearest ambulance via blockchain.
- Data Prediction: Provides predictive analytics on health data using Streamlit.
- Blockchain Integration: Ensures secure communication with ambulance services in emergencies.
- Responsive Web Interface: Displays real-time data and predictions through a React-based interface.
- Frontend: React.js
- Backend: Node.js & Express.js
- Real-Time Data Prediction: Streamlit
- Blockchain: For secure communication with emergency services
- IoT Device: Arduino-based cardiometer for heartbeat monitoring
- IoT Device: An Arduino-based cardiometer monitors the patient's heartbeat, especially during sleep, and sends data to the web server.
- Web Server: Processes incoming data, performs predictive analytics with Streamlit, and checks for abnormal patterns.
- Blockchain: Upon detecting anomalies, the system sends a secure alert to the nearest ambulance service via blockchain technology.
- Web Interface: Displays real-time heartbeat data, predictive insights, and emergency alerts to the user.
To set up and run the project locally, follow these steps:
- Node.js: For running frontend and backend JavaScript code.
- npm: Comes with Node.js; used for managing dependencies.
- Python 3.8+: Required for Streamlit.
- pip: For installing Python packages.
- Git: For cloning the repository.
- IoT Device Setup: Ensure your Arduino-based cardiometer is configured to monitor and transmit heartbeat data.
- Blockchain Network Access: Access to a blockchain network for secure communication with ambulance services.
-
Clone the Repository:
git clone https://github.com/your-username/health-monitoring-system.git
-
Navigate to the Project Directory:
cd health-monitoring-system -
Install Frontend Dependencies:
npm install
-
Set Up Backend and Streamlit:
- Navigate to the backend folder.
- Install Python dependencies:
pip install -r requirements.txt
-
Run the Application:
- Start the backend server:
npm run server
- Start the frontend:
npm run dev
- Start the Streamlit app:
streamlit run app.py
- Start the backend server:
Access the application at:
http://localhost:3000- Monitor Heartbeat: View real-time heartbeat data from the IoT cardiometer on the web interface.
- View Predictions: Access the data prediction section to see insights and trends based on the monitored heartbeat data.
- Emergency Response: In case of abnormal heartbeat detection, the system will automatically alert the nearest available ambulance through blockchain for prompt medical attention.
This project is licensed under the MIT License. See the LICENSE file for more details.