Consultation Process Overview
The consultation process starts with creating the consultation and ends when the consultation is fulfilled/answered by a doctor.
The flow of the consultation is as follows:
- Creating the consultation with a question, user ID, and selected medium (
chat,voip, orvideo) - Initiating the socket to listen to events and handle status updates
- Handling the in-progress consultation depending on the consultation medium
- Viewing the recommendation made by the doctor after the consultation
- Downloading the prescription when the recommendation is provided by the doctor
We already explained how consultations are created in the Consultations section. The next step is to handle the socket connection, which is covered in the Socket Handling guide.