-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathips_main.html
109 lines (101 loc) · 4.36 KB
/
ips_main.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/squirrelly.min.js"></script>
<!-- IPS Specific Custom CSS-->
<link rel="stylesheet" href="assets/css/custom.css">
<!-- IPS Rendering -->
<script type="text/javascript" src="assets/js/renderIPS.js"></script>
<!-- IPS Testing. Remove this if you're using elsewhere -->
<script type="text/javascript" src="assets/js/test.js"></script>
<title>IPS Viewer</title>
</head>
<body style="margin: 10px;">
<!-- IPS Default Header for Connectathons -->
<!-- Removing header id element will remove header -->
<div id="header">
</div>
<!-- IPS Patient Summary Viewer -->
<!-- Note that you should be cautious in removing dropdowns since -->
<!-- IPS documents have both machine-processable FHIR resources and Narrative HTML -->
<div>
<h2>Patient Summary Viewer
<div class="dropdown" style="display:inline">
<button class="btn btn-secondary dropdown-toggle" id="mode" type="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Display FHIR Entries
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a id="FhirDropdown" class="dropdown-item">
Display FHIR Resource Entries
</a>
<a id= "NarrativeDropdown" class="dropdown-item">
Display Narrative from Composition
</a>
</div>
<div class="message" id="renderMessage" style="display: none;">
This summary includes machine readable content outside of supported sections. Those are shown using narrative
</div>
</div>
</h2>
</div>
<div style="margin:40px;">
<div class="row">
<div class="row col-md-12">
<div class="col-md-12 output data" id="Patient"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="Composition"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="Allergies"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="Problems"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="Medications"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="Immunizations"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="Observations"></div>
</div>
<div class="row col-md-12">
<div class="col-md-12 output data" id="AdvanceDirectives"></div>
</div>
<!-- Note that any section not listed above will be shown in OtherSections-->
<div class="row col-md-12" id="OtherSections">
<!-- Other Sections are dynamically created as needed -->
</div>
</div>
</div>
</div>
<!-- IPS Default Footer for Connectathons -->
<!-- Removing footer id element will remove footer -->
<!-- Code is maintained under APACHE-2 License. See https://github.com/jddamore/IPSviewer -->
<footer>
<div id="footer">
</div>
<button id="test" class="btn" style="color:white;background-color: white;">Test</button>
<div id="testlog" class="data"></div>
</footer>
</body>
</html>