Node.js application for virtual appointments with doctors. Uses Circuit Node.js SDK and the Circuit Guest Access feature with its WebRTC capability. Client app built with vue.js and socket.io.
Clone or download
Roger Urscheler
Roger Urscheler set auto reconnect
Latest commit 6a294e5 Oct 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public vue reference change Oct 19, 2018
.gitignore first commit Mar 2, 2017
README.md update readme Oct 19, 2018
appointments.js first commit Mar 2, 2017
appointments.json New doctor Mar 14, 2017
circuit.js Renamed circuit-node-sdk to circuit -sdk Jul 31, 2017
config.json.template set auto reconnect Oct 19, 2018
package.json Renamed circuit-node-sdk to circuit -sdk Jul 31, 2017
patient.js Clean up code Mar 14, 2017
patientState.js Clean up code Mar 14, 2017
server.js Add disconnect option Mar 15, 2017

README.md

Virtual Patient Clinic

Patients get a url for virtual appointment with which they are connected to the clinic operator. The clinic operator sees all patients with their doctor to be seen and can then connect a patient to the doctor.

Prior to connecting a patient to a doctor the communication is done via socket.io, without Circuit involvement. Once the operator connects the patient with a doctor, the patient make use of Circuit's guest feature. A bot is monitoring the calls which is how the operators console is kept up to date.

Future enhancements:

  • Socket.io messaging between operator and patient, prior to connecting to doctor
  • Provide patient dial in number in addition to url
  • Circuit integration into the operator console so that operator can easily communicate with doctors

Live demo

https://virtual-patient-clinic.appspot.com/

Virtual Patient Clinic

Getting Started

Rename config.json.template to config.json and add your bot credentials. Edit appointments.json with your appointments. In real life this would pull from the clinic database.

Install the app

    git clone https://github.com/circuit/virtual-patient-clinic.git
    cd virtual-patient-clinic
    cp config.json.template config.json
    // Add your bot credentials to config.json
    // Edit appointments.json with userId of your doctors
    npm install
    node server.js
    // Open browsers at http://localhost:3000 and http://localhost:3000/operator