-
Notifications
You must be signed in to change notification settings - Fork 75
/
index.html
88 lines (82 loc) · 2.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!--
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>Simulated Hospital</title>
<link rel="stylesheet" href="stylesheets/slider.css" />
<link rel="stylesheet" href="stylesheets/main.css" />
<link rel="stylesheet" href="stylesheets/starter.css" />
</head>
<body>
<div id="header"><h1>SIMULATED HOSPITAL</h1></div>
<div class="section">
<div class="section-title">
<h2>New Pathways Per Hour</h2>
</div>
<div class="slider-section card">
<div id="pathways" class="range" data-path="pathwayRate"></div>
<div class="section-info">
<div class="info-icon">
<i class="fas fa-info-circle"></i>
</div>
<div class="info-text">
The slider controls the number of pathways started per hour. Each pathway contains multiple events which generate messages.<br>
You can also control the pathways started per hour with the following command:
<div class="cmd">
curl -XPOST <i>THIS-PAGE-ADDRESS</i>/pathwayRate -d 'value=200'
</div>
</div>
</div>
</div>
</div>
<div class="section-space">
</div>
<div class="section">
<div class="section-title">
<h2>Run A Pathway or Send A Message</h2>
</div>
<div class="card">
<table>
<tr>
<td>
<div id="pathway-starter" data-path="pathwayStarter"></div>
</td>
<td valign="top">
<div class="section-info">
<div class="info-icon">
<i class="fas fa-info-circle"></i>
</div>
<div class="info-text">
You can enter the following:<br>
<ul>
<li>A HL7v2 message with each segment in a new line, or</li>
<li>The name of a pathway such as <b>aki_scenario_1</b> or</li>
<li>The name of a pathway plus the MRN of a patient, for instance <b>aki_scenario_1: 1234567890</b> or</li>
<li>The name of a pathway plus the first and last name of a patient, for instance <b>aki_scenario_1: Tina Turner</b> or</li>
<li>The full pathway in the yml format.</li>
</ul>
See the documentation for more information on this text box and how to write pathways.
</div>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="section-space">
</div>
<script src="https://ajax.googleapis.com/ajax/libs/d3js/4.13.0/d3.min.js"></script>
<script src="scripts/slider.js"></script>
<script src="scripts/starter.js"></script>
</body>
</html>