Inspiration
There have been numerous cases of oxygen emergency during an ambulance trip from one place to other. Absence of enough oxygen or ventilation within the ambulance may lead to patient’s death. To tackle this problem, our team created a web application for ambulance. Working for a social cause inspired us to build this project.
What it does
This web application displays information about all the available hospitals near the current location of ambulance and contacts with those hospitals to check the availability of ambulance. If the hospital with required amount of oxygen is located, the application displays the route to that hospital.
How we built it
The map centered around the cordinates of current location was rendered. The request for fetching information of hospitals within 1km radius around co-ordinates is fetched and are marked on the map in callback function. The details like ratings, name, phone number, co-ordinates are gathered. After trigerring the click event, these details are displayed on the website. Meanwhile in backend, the flask application renders the HTML page. When the user wants to know about the status of the oxygen availability of a particular hospital, the phone number is passed through the URL through the POST request. The flask application recieves the POST request and sends SMS to that hospital's phone number with the help of Twillio API.
Challenges we ran into
We had many challanges in deployment. The programmable SMS sending was also a challanging task.
Accomplishments that we're proud of
We developed the idea and executed it.
What we learned
We learned about many technologies while working on this project. We learned to make use of various Google Maps API and integrating them into a web application.
What's next for Real time Ambulance aid for solving oxygen emergency
The application could be made more user friendly by use of 3D Maps.
Built With
- api
- css3
- flask
- google-directions
- google-maps
- html5
- javascript
- ngrok
- python
- rest-api
Log in or sign up for Devpost to join the conversation.