Conversations
This feature deals on real-time communication, which is an essential feature of many health-tech software applications, as it allows healthcare professionals to communicate with their patients in real-time. In this API, communication takes the form of chats. With this feature, if a patient is experiencing a health emergency, a healthcare provider can use real-time communication to provide guidance and support.
On how this feature works, a conversation room is created between a patient and the medical provider assigned to them once done by a consultant. A conversation room is also created between the patient and the consultant. This helps in enabling one-on-one private conversations. Messages sent in the rooms are encrpyted and stored in the MongoDB database for privacy and protection against identity theft.
This feature was built with scalabilty in mind, where users can be connected to multiple websocket servers and at the same time communicate with each other in real-time. This was implemented with Socket.IO and Redis technologies.
Both parties involved in the conversation will have to be authenticated.
Last updated