Created on 11th July 2021
•
Getting a patient admitted to a hospital has always been a complex and time demanding process, which we cannot sometimes afford, incase, the patient
s condition is critical, especially in this current pandemic situation that we
re in. So, 5 of us, from Jadavpur University, have devised a solution, which lets us reserve a bed, right from our home. Users have to book a form, provide mandatory details, and will then be prompted with a unique ID, incase beds are available. The ID can be used to get the patient admitted, without any further hassles. Ours is a prototype, which can be implemented by hospitals on their respective servers. We have come up with the web and app solutions for the same.Website:- One of the difficulties faced during building this project were displaying no. of beds available . It was overcomed by fetching an array of objects of the patient details from the database and using the length property .
App:-Implementing a realtime database using Firebase Firestore was a challenge , also implementing appropriate methods for real time updation was a challenge. Creating a presentable ui using material design norms was also tough.Getting realtime updates was accomplished by using onCompleteListener() insted of onSnapshotListener() ,which returns multiple instances.
Using Kotlin Coroutines made things easier.