Skip to content

Commit

Permalink
New doctor
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Urscheler committed Mar 14, 2017
1 parent 59a0446 commit ca51499
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
12 changes: 6 additions & 6 deletions appointments.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
"firstName": "Theo",
"lastName": "Leslie",
"doctor": {
"name": "Dr. Bobby Smith",
"userId": "99dfc91b-999d-4840-9c49-df344fb07fc5"
"name": "Dr. Nick",
"userId": "688ef111-c182-41da-89dc-d032f8ce1119"
}
}, {
"id": "101",
"firstName": "Karin",
"lastName": "Heidelberg",
"doctor": {
"name": "Dr. Bobby Smith",
"userId": "99dfc91b-999d-4840-9c49-df344fb07fc5"
"name": "Dr. Nick",
"userId": "688ef111-c182-41da-89dc-d032f8ce1119"
}
}, {
"id": "102",
"firstName": "Sebastian",
"lastName": "Vettel",
"doctor": {
"name": "Dr. Bobby Smith",
"userId": "99dfc91b-999d-4840-9c49-df344fb07fc5"
"name": "Dr. Nick",
"userId": "688ef111-c182-41da-89dc-d032f8ce1119"
}
}, {
"id": "103",
Expand Down
13 changes: 11 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@
<p>The estimated waiting time is {{info.wait}} minutes at which time you will be connected to the doctor.</p>
</div>
<div v-else>
<p>Login as one of the patients.</p>
<p>For example <a v-bind:href="patientExampleUrl">{{patientExampleUrl}}</a>.</p>
<h2>Circuit Virtual Private Clinic Demo</h2>
<p>This demo shows virtual clinic where patients consult doctors via a browser. Patients get their appointments via email with a link to enter the waiting room.
The clinic administrator (or doctors themselves) can view the waiting list and connect the patient with the doctor.</p>
<p>Source code of this demo is available on <a href="https://github.com/circuit/virtual-patient-clinic">github</a>.</p>
<br>
<h3>How to use the demo</h3>
<p>Login as doctor to the regular Circuit client at <a href="https://circuitsandbox.net">https://circuitsandbox.net</a> as <i>doctor.nick@mailinator.com</i> with password <i>Nick.123!</i></p>
<p>On another browser tab view the <a href="/operator">waiting list</a>.</p>
<p>On another browser tab open a patient: <a href="/?id=100">Patient 100</a>, <a href="/?id=101">Patient 101</a>, <a href="/?id=102">Patient 102</a>, <a href="/?id=103">Patient 103</a></p>
<p>Then connect a patient to his/her doctor using 'connect' button on the waiting list.</p>
<p>A new conversation is automatically created for this consultation. Start the call on that new conversation using the doctors Circuit client.</p>
</div>
</div>

Expand Down
3 changes: 1 addition & 2 deletions public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ let app = new Vue({
el: '#app',
data: {
info: {},
id: null,
patientExampleUrl: location.origin + '?id=100',
id: null
},
created: function() {
let params = getParams(window.location.search);
Expand Down

0 comments on commit ca51499

Please sign in to comment.