FEATURES
Monitoring real-time health conditions
Hospitals can Monitor the health parameters like temperature, heart rate, pulse rate and oxygen saturation level of the patient convenient way.
Getting direct guidance from the hospital
Paramedic can get the direct guidance from the hospital via chat feature in the mobile application.
Choose nearest available hospital
Through the mobile application it automatically suggests an available hospital for the patient.But if patient or guardian wants to choose another hospital that's also possible the mobile app
Location tracking of the ambulance
Once a hopital connected with a particular ambulance(patient) hospital can observe the current location of the ambulance via a map in their web application and can get an idea about its reaching time
Summary report to the hospital
Hospital can download patient's report which contains his personal and health details.Hospital can download it as a pdf
SOLUTION ARCHITECTURE
TECHNOLOGY STACK
- The technologies we used for build up our system is as follows.
- For the cloud server system AWS IoT Core has been used which allows clients to publish and subscribe messages related to different topics.
- There're main 3 categories as the clients. namely; Hardware device which programmed using Arduino IDE & C++, Web application and Mobile Application which are created using Flutter.
- All these 3 clients use MQTT protocol to communicate with the thing in IoT core and in there these messages are handled by MQTT message broker
- Web application and mobile application retrieve data from database which created using Amazon DynamoDB through two gateways which implemented using Amazon API Gateway which consists of a collection of REST APIs
- HTTP protocol is used in this process and relevant functions are implemented inside AWS Lambda to retrieve data from Amazon Dynamo DB
Database
- In this system two main information has to be stored.
- User Credential details which are usefull when login to the web application and the mobile application.
- Information about Hospitals which are useful when suggesting nearest hospitals and connecting with them.
- Mainly 3 AWS services are useful in the data retrieving & storing process in the database.
- For the Database Amazon Dynamo DB which is fully managed, serverless, key-value NoSQL databasehas been used. It consists of built-in security, continuous backups, automated multi-Region replication, in-memory caching, and data import and export tools.
- Functions to aceess the database are implemented inside AWS Lambda which lets to run code for virtually any type of application or backend service without managing a server.
- To create and RESTful APIs which enables real-time two-way communication applications Amazon API Gateway is used. (Here REST APIs act as the front door for applications to access data, business logic, or functionality from the backend services)
SECURITY CONSIDERATION
- User credentials for both the end users (hospitals, medical officers)
- Connection to the app is authorized by the device
- MQTT - Authentication - AWS certificates
- MQTT - Authorization - AWS Policies
- HTTP - Authentication - AWS certificates
- HTTP - Authorization - AWS Roles
- Both are end-to-end encrypted
HARDWARE
CIRCUIT DIAGRAM
CAD MODEL
Front view
Inside the device
Back view
actual device
UI Design
Mobile Application
Login page
Patient's details
Hospital selection
Health parameters
Messaging
Desktop Application
Login page
Hospital dashboard with patient cards
Patients' summary report
Transfer requests
Details of a selected patient
Admin page
Project Demonstration
TESTING
Software Testing
What was tested ? | How was it tested? | Test Results |
---|---|---|
REST APIs | Tested for responses for GET, PUT, DELETE requests to the end point APIs | |
Web application functionalities | Checking proper rendering of real time data on the on the UI & user logins for authentorization & authentication , functionality of widgets | |
Mobile application functionalities | Checking for proper rendering of real time data on the on the UI & functionality of widgets and user inputs |
Hardware Testing
What was tested ? | How was it tested? | Test Results |
---|---|---|
MAX30100 | Measure relevant health parameters from a real person & compared with values from dedicated devices | |
DS18B20 | Measured temperature of a real person and compared with the valuesgot from dedicated devices | |
NEO6MV2 | Measure longitude,lattitude, altitude of a moving vehicle & compared with values from dedicated devices |
BUDGET
Item | Quantity | Price |
---|---|---|
NodeMCU ESP8266 CP2102 | 1 | 2000 |
Temperature Sensor DS18B20 | 1 | 480 |
Heart rate & Oxygen sat. level sensor MAX30100 | 1 | 900 |
GPS Modem NEO6MV2 | 1 | 1700 |
128*64 Oled mini display 0.96 inch | 1 | 870 |
Female to female jumper wires(40pcs) | 1 | 220 |
Push button, Switch | 1 | 80 |
Copper board (5cm*7cm) | 1 | 250 |
4.7k Ohm resistor, LED strips | 2 | 250 |
Outer cover & Other | - | 5250 |
Total | 12000 |