-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhpi.html
229 lines (161 loc) · 6.9 KB
/
hpi.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/" />
<meta charset="UTF-8">
<script src="js/libs/jquery-1.9.0.min.js"></script>
<script src="js/libs/angular.min1-5.js"></script>
<script src="js/libs/ui-bootstrap-tpls-2.0.1.min.js"></script>
<script src="js/libs/firebase.js"></script>
<script src="js/libs/angularfire.min.js"></script>
<script src="js/libs/moment.min.js"></script>
<script src="js/libs/jstree.min.js"></script>
<script src="js/libs/angular-sanitize.js"></script>
<script src="js/libs/showdown.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
<link rel="stylesheet" type="text/css" href="css/jsTreeStyle.css"/>
<link rel="stylesheet" type="text/css" href="css/jsTreeThemes/proton/style.css"/>
<link rel="stylesheet" type="text/css" href="css/vis.min.css"/>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js"></script>
<!--
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script>
-->
<script src="https://pc035860.github.io/angular-highlightjs/angular-highlightjs.min.js"></script>
<title>HPI</title>
<script>
angular.module("sampleApp",['ui.bootstrap','ngStorage','firebase',"ngSanitize",'hljs']).config(function($locationProvider) {
// enable html5Mode for pushstate ('#'-less URLs)
$locationProvider.html5Mode(true);
$locationProvider.hashPrefix('!');
});
angular.module("sampleApp").constant("moment", moment);
angular.module("sampleApp").config(['$compileProvider', function ($compileProvider) {
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|blob):/);
//$compileProvider.aHrefSanitizationWhitelist(/^\s*(|blob|):/);
}]);
</script>
<style>
.reference {
color: #00A000;
}
.isExtension {
color: #4183c4;
border-bottom: 1px dotted #000;
}
.isModifierExtension {
color: red;
border-bottom: 1px dotted #000;
}
.isModifierBackground {
background-color: lightcoral;
}
.error {
}
.iframeClass {
width: 100%;
height : 800px;
}
.doc table,th,td {
vertical-align: top;
border: 1px solid grey;
padding: 8px;
}
.hljs {
display: inline-block;
overflow: auto;
background: white;
color: #839496;
-webkit-text-size-adjust: none;
}
</style>
<script src="js/libs/ngStorage.min.js"></script>
<script src="js/modalDialogSvc.js"></script>
<script src="js/nhipCtrl.js"></script>
<script src="js/nhipSvc.js"></script>
<script src="js/logicalModelSvc.js"></script>
<script src="js/qualityCtrl.js"></script>
<script src="js/appConfigSvc.js"></script>
<script src="resourceBuilder/rbServices.js"></script>
<script src="js/filters.js"></script>
<script src="js/modellerFilters.js"></script>
<script src="js/taskSvc.js"></script>
<script src="js/appConfigSvc.js"></script>
<script src="js/v2ToFhirSvc.js"></script>
<script src="resourceBuilder/vsBrowser.js"></script>
<script src="js/libs/vis.min.js"></script>
<script src="js/sendComment.js"></script>
<script src="node_modules/highlight.js/lib/highlight.js"></script>
<!--
<script src="js/profileCreatorSvc.js"></script>
<script src="js/resourceCreatorSvc.js"></script>
<script src="js/resourceSvc.js"></script>
-->
</head>
<body style="padding: 8px;padding-top: 80px">
<div ng-app="sampleApp" ng-controller="nhipCtrl" class="container-fluid" ng-cloak>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="col-md-7">
<a class="navbar-brand" href="#">New Zealand HPI & NHI FHIR Draft Implementation Guide</a>
</div>
<div class="col-md-2">
<!--
<div class="navbar-text">
<div class="btn-group" ng-click="selectIG(input.igCode)">
<label class="btn btn-default" ng-model="input.igCode" uib-btn-radio="'nzRegistry'">Identity</label>
<label class="btn btn-default" ng-model="input.igCode" uib-btn-radio="'nhip'">Clinical</label>
</div>
</div>
-->
</div>
<div class="col-md-1 col-sm-1">
<div class="navbar-text">
<img ng-show="showWaiting" src="css/ajax_loader_blue_32.gif"/>
</div>
</div>
<div class="col-md-2">
<img class="pull-right" style="max-width:40%; height:auto; padding:8px" src="content/nhip/mohlogo.svg"/>
</div>
</nav>
<div class="panel panel-info">
This app has been deprecated. The HPI Implementation guide can be found <a href="http://build.fhir.org/ig/HL7NZ/hpi/branches/master/index.html">here</a>
</div>
<div class="pull-right">
<input type="checkbox" ng-model="clinicalView"
ng-change="setClinicalView(clinicalView)"
uib-popover="Clinical view hides technical tabs to de-clutter the display"
popover-placement="left"
popover-trigger="'mouseenter'"
> Clinical View
</div>
<uib-tabset ng-if="showTabsInView" active="activeTabIndex">
<uib-tab ng-repeat = "tab in tabs" >
<uib-tab-heading>{{tab.title}}</uib-tab-heading>
<br/>
<p ng-if="tab.contents" ng-bind-html="tab.contents | markDown"></p>
<ng-include src="tab.includeUrl"></ng-include>
</uib-tab>
<uib-tab ng-if="tabs.length > 0 && ! clinicalView" heading="Downloads">
<p>Download of all artifacts - Profiles, Extension Definitions, Terminology</p>
CapabilityStatement
</uib-tab>
<uib-tab ng-if="tabs.length > 0" heading = 'Help'>
<p ng-bind-html="help.IGHelp | markDown"></p>
<h3>External links</h3>
<a target="_blank" href="https://docs.google.com/document/d/1DQA6EDBJNG2Qq3Agwn_qRKWWwpKyHpQ-TAlsz-1QXIg/edit?usp=sharing">
Reviewer notes (opens in a separate tab)
</a>
<!--
<iframe
src="https://docs.google.com/document/d/1DQA6EDBJNG2Qq3Agwn_qRKWWwpKyHpQ-TAlsz-1QXIg/edit?usp=sharing"
class="iframeClass">
</iframe>
-->
</uib-tab>
</uib-tabset>
<vs-browser trigger="showVSBrowserDialog" hidesearch="true"
vs-selected="vsSelected"></vs-browser>
</div>
</body>
</html>