-
Notifications
You must be signed in to change notification settings - Fork 31
/
multi-extension-search.html
743 lines (677 loc) · 38.2 KB
/
multi-extension-search.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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
<!DOCTYPE html>
<html>
<head>
<title>SNOMED International Browser</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="cache-control" content="no-cache">
<meta name="viewport" content="width=device-width">
<meta name="description" content="SNOMED International SNOMED CT Browser">
<meta name="author" content="SNOMED International">
<script src="internal-libs/snomed-interaction-components.min.js?version=3.41.0-SNAPSHOT-${BUILD_NUMBER}"></script>
<script type="text/javascript" src="internal-libs/node_modules/snomed-ecl-builder/output/ecl-builder.js"></script>
<link rel="stylesheet" type="text/css" href="css/external.css">
<style>
.modal.fade .modal-dialog {
margin-top: 60px;
}
</style>
<script>
function changeFavicon(iconPrefix) {
var link;
link = document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = iconPrefix + '-favicon.png';
document.getElementsByTagName('head')[0].appendChild(link);
}
function getIconPrefixFromEnv() {
const env = window.location.hostname.split(/[.]/)[0];
let prefix;
if (env === 'local') {
prefix = 'loc';
}
else if (env.startsWith('dev-')) {
prefix = 'dev';
}
else if (env.startsWith('uat-')) {
prefix = 'uat';
}
else if (env.startsWith('training-')) {
prefix = 'trn';
}
else {
prefix = 'prd';
}
return prefix;
}
changeFavicon(getIconPrefixFromEnv());
</script>
<script type="text/javascript">
function getCookie(c_name) {
if (document.cookie.length > 0) {
var c_start = document.cookie.indexOf(c_name + "=");
if (c_start != -1) {
c_start = c_start + c_name.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end == -1) {
c_end = document.cookie.length;
}
return unescape(document.cookie.substring(c_start, c_end));
}
}
return "";
}
function createCookie(name, value, days) {
var expires;
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toGMTString();
} else {
expires = "";
}
document.cookie = name + "=" + value + expires + "; path=/";
}
function createCookieIfNotAcceptLicense() {
$("#accept-license-button-modal").unbind();
$("#accept-license-button-modal").click(function() {
createCookie("licenseCookie", "true", 2);
});
options.acceptLicense = getCookie("licenseCookie") == "true";
if (!options.acceptLicense) {
$('#license-modal').modal('show');
}
}
var defaultConceptId = 404684003;
var loadedLanguages = [];
var options = {
serverUrl: "",
queryServerUrl: "",
queryBranch: "",
edition: "",
release: "",
showIds: false,
hideNotAcceptable: true,
displayInactiveDescriptions: false,
displaySynonyms: true,
selectedView: "inferred",
displayChildren: false,
languages: ["en"],
languagesArray: {
'en': 'English'
},
defaultLanguage: 'en',
closeButton: false,
collapseButton: false,
linkerButton: true,
subscribersMarker: false,
searchLang: "english",
diagrammingMarkupEnabled: false,
highlightByEffectiveTime: "false",
/* New setting for multi Extenstion search */
multiExtensionSearch: true,
hideConceptShareLink: true,
disableHistoryStateChange: true
};
options.updateReleaseSwitcher = function(branch, conceptId) {
options.edition = branch;
defaultConceptId = conceptId;
for (let i = 0; i < options.releases.items.length; ++i) {
let release = options.releases.items[i];
if (typeof release.latestVersion !== "undefined" && (release.latestVersion.branchPath === options.edition || release.branchPath === options.edition)) {
$("#editionLabel").html(release.name + " " + release.latestVersion.version);
if (options.multiExtensionSearch) {
options.edition = release.latestVersion.branchPath;
}
break;
}
}
};
options.setDefaultConceptId = function(conceptId) {
defaultConceptId = conceptId;
};
function determineServer() {
var selectedLanguageAndFlag = getSelectedLanguageAndFlag(options.defaultLanguage);
switchLanguage(selectedLanguageAndFlag.selectedLanguage, selectedLanguageAndFlag.selectedFlag, false);
var getCodeSystems = function() {
var dfd = $.Deferred();
$.getJSON("/snowstorm/snomed-ct/codesystems", function(result) {
}).done(function(result) {
options.serverUrl = "/snowstorm/snomed-ct";
options.queryServerUrl = "/snowstorm/snomed-ct";
options.releases = result;
dfd.resolve();
}).fail(function() {
dfd.resolve();
});
return dfd.promise();
};
var getConfig = function() {
var dfd = $.Deferred();
$.ajax({
url: 'config.json',
async: false,
cache: false,
contentType:'application/json; charset=utf-8',
dataType: 'json',
success: function(data, status) {
countryIcons = data.countryIcons;
options.languageNameOfLangRefset = data.languageRefsetShortname;
dfd.resolve();
}
});
return dfd.promise();
}
$.when(getCodeSystems(), getConfig()).then(function() {
$('#edition-selector').css('display', 'block');
start();
});
}
function start() {
$(function() {
$.extend($.fn.disableTextSelect = function() {
return this.each(function() {
$(this).mousedown(function() {
return false;
});
});
});
$('.noSelect').disableTextSelect(); //No text selection on elements with a class of 'noSelect'
});
// hide any open popovers when the anywhere else in the body is clicked
$('body').on('mouseup', function (e) {
$("div[class$='-popover'],div[class*='-popover ']").each(function () {
if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0 && $(this).hasClass("in")) {
$.each($(this).attr('class').split(/\s+/), function(i, name) {
if (name.indexOf('-popover') > -1) {
$('#' + name.substr(0, name.indexOf('-popover'))).popover('hide');
}
});
}
});
});
createCookieIfNotAcceptLicense();
componentsRegistry = [];
postal.unsubscribeFor();
setDefaultEdition();
switchToFullHeight();
renderReleaseSwitcher();
}
function getSelectedLanguageAndFlag(ui_language) {
var language = '';
var flag = '';
if (ui_language == "en") {
language = 'en_US';
flag = '/browser/img/flags/us.png';
} else if (ui_language == "es") {
language = 'es';
flag = '/browser/img/flags/es.png';
} else if (ui_language == "sv") {
language = 'sv';
flag = '/browser/img/flags/se.png';
} else if (ui_language == "da") {
language = 'da';
flag = '/browser/img/flags/dk.png';
} else if (ui_language == "pt") {
language = 'pt';
flag = '/browser/img/flags/pt.png';
} else {
language = 'en_US';
flag = '/browser/img/flags/us.png';
}
return {
'selectedLanguage': language,
'selectedFlag': flag
};
}
function setDefaultEdition() {
if (options.releases && options.releases.items) {
for (let i = 0; i < options.releases.items.length; ++i) {
let release = options.releases.items[i];
if (typeof release.latestVersion !== "undefined") {
options.edition = release.latestVersion.branchPath;
break;
}
}
}
}
function renderReleaseSwitcher() {
if (options.releases && options.releases.items) {
var $releaseSwitcher = $('#releaseSwitcher');
for (let i = 0; i < options.releases.items.length; ++i) {
let release = options.releases.items[i];
if (typeof release.latestVersion !== "undefined") {
var $li = $('<li>')
var $a = $('<a>').attr("shortName", release.shortName).append(release.name + " " + release.latestVersion.version);
$a.attr("href", "javascript:void(0);");
$a.on("click", function() {
var parsedLanguages = "";
for (var language in release.languages) {
parsedLanguages = parsedLanguages + language + ',';
}
parsedLanguages = parsedLanguages.slice(0, -1);
options.languages = parsedLanguages;
options.edition = release.latestVersion.branchPath;
options.languageObject = release.languages;
$("#editionLabel").html(release.name + " " + release.latestVersion.version);
let ui_language = release.defaultLanguageCode ? release.defaultLanguageCode : parsedLanguages.substr(0, 2);
options.defaultLanguage = parsedLanguages.substr(0, 2);
var selectedLanguageAndFlag = getSelectedLanguageAndFlag(ui_language);
if (defaultConceptId) {
xhr = $.getJSON(options.serverUrl + "/" + options.edition + "/concepts/" + defaultConceptId, function(result) {
reloadCurrentPerspective();
switchLanguage(selectedLanguageAndFlag.selectedLanguage, selectedLanguageAndFlag.selectedFlag, false);
}).done(function(result) {
}).fail(function() {
defaultConceptId = 404684003;
reloadCurrentPerspective();
switchLanguage(selectedLanguageAndFlag.selectedLanguage, selectedLanguageAndFlag.selectedFlag, false);
});
}
else {
reloadCurrentPerspective();
switchLanguage(selectedLanguageAndFlag.selectedLanguage, selectedLanguageAndFlag.selectedFlag, false);
}
});
$li.append($a);
$releaseSwitcher.append($li);
// set default selection for release
if (options.edition && release.latestVersion.branchPath === options.edition) {
$("#editionLabel").html(release.name + " " + release.latestVersion.version);
}
}
}
}
}
var spa = null;
var fav = null;
var cdPanel1 = null;
function switchToFullHeight() {
postal.unsubscribeFor();
if (typeof componentsRegistry != "undefined") {
$.each(componentsRegistry, function(i, field) {
field = null;
});
componentsRegistry = [];
}
options.subscribersMarker = false;
options.linkerButton = false;
$("#full-height-perspective").css({
"display": "block"
});
spa = new searchPanel(document.getElementById("fh-search_canvas"), options);
fav = new favoritePanel(document.getElementById("fh-favorites_canvas"), options);
cdPanel1 = new conceptDetails(document.getElementById("fh-cd1_canvas"), defaultConceptId, options);
cdPanel1.subscribe(spa);
cdPanel1.subscribe(fav);
cdPanel1.setupCanvas();
loadLanguageRefsets().then(function(languageRefsets) {
cdPanel1.setLangugeRefsets(languageRefsets);
});
if (window.screen.width > 1500) {
$('#spliter-fh').split({
orientation: 'vertical',
limit: 20,
position: '30%'
});
} else {
$('#spliter-fh').split({
orientation: 'vertical',
limit: 20,
position: '40%'
});
}
$.each(componentsRegistry, function(i, field) {
if (field.loadMarkers)
field.loadMarkers();
});
}
function reloadCurrentPerspective() {
postal.unsubscribeFor();
if (typeof componentsRegistry != "undefined") {
$.each(componentsRegistry, function(i, field) {
field = null;
});
componentsRegistry = [];
}
cdPanel1 = new conceptDetails(document.getElementById("fh-cd1_canvas"), defaultConceptId, options);
cdPanel1.subscribe(spa);
cdPanel1.subscribe(fav);
cdPanel1.setupCanvas();
loadLanguageRefsets().then(function(languageRefsets) {
cdPanel1.setLangugeRefsets(languageRefsets);
});
$.each(componentsRegistry, function(i, field) {
if (field.loadMarkers)
field.loadMarkers();
});
}
function loadLanguageRefsets () {
var dfd = $.Deferred();
var branch = options.edition;
if(options.release.length > 0 && options.release !== 'None'){
branch = branch + "/" + options.release;
};
$.ajaxSetup({
headers : {
'Accept-Language': options.languages
}
});
$.getJSON(options.serverUrl + "/browser/" + branch + "/members?active=true&limit=1", function(result) {
}).done(function(result) {
var languageRefsets = [];
Object.keys(result.referenceSets).forEach(function(key) {
if (result.referenceSets[key].referenceSetType && result.referenceSets[key].referenceSetType.id === '900000000000506000') {
languageRefsets.push(result.referenceSets[key]);
}
});
languageRefsets.sort(function(a, b) {
if (a.conceptId === '900000000000509007'){
return -1;
}
if (b.conceptId === '900000000000509007'){
return 1;
}
return a.fsn.term.localeCompare(b.fsn.term);
});
dfd.resolve(languageRefsets);
}).fail(function() {
dfd.resolve([]);
});
return dfd.promise();
}
async function switchLanguage(language, flagPng, fade) {
$("#nav-selected-flag").html('<img src="' + flagPng + '">');
$("#nav-selected-flag-modal").html('<img src="' + flagPng + '">');
jQuery.i18n.properties({
name: 'Languages',
path: '/browser/i18n/',
mode: 'both',
language: language,
cache: loadedLanguages.includes(language) ? true : false
});
$(".i18n").each(function(index) {
var translation = jQuery.i18n.prop($(this).attr('data-i18n-id'));
if (translation != "[" + $(this).attr('data-i18n-id') + "]") {
if (fade) {
$(this).fadeOut("slow", function() {
$(this).html(translation);
$(this).fadeIn("slow");
});
} else {
$(this).html(translation);
}
} else {
console.log($(this).attr('data-i18n-id') + " = " + $(this).html());
}
});
var i18n_search_placeholder = jQuery.i18n.prop('i18n_search_placeholder');
if (fade) {
$('#fh-search_canvas-searchBox').fadeOut("slow", function() {
$('#fh-search_canvas-searchBox').attr('placeholder',i18n_search_placeholder);
$('#fh-search_canvas-searchBox').fadeIn("slow");
});
} else {
$('#fh-search_canvas-searchBox').attr('placeholder',i18n_search_placeholder);
}
$("#navBarBrand").tooltip().tooltip('destroy');
$("#navBarBrand").tooltip({
placement: 'bottom',
trigger: 'hover',
title: i18n_go_back_home,
animation: true,
delay: 1000
});
// Cache language files
if (!loadedLanguages.includes(language)) {
jQuery.i18n.properties({
name: 'Languages',
path: '/browser/i18n/',
mode: 'both',
language: language,
cache: true
});
loadedLanguages.push(language);
}
}
</script>
<style>
.ribbon {
background-color: #a00;
overflow: hidden;
white-space: nowrap;
position: absolute;
left: -47px;
top: 22px;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.ribbon span {
border: 1px solid #faa;
color: #fff;
display: block;
font: bold 100% 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 1px 0;
padding: 3px 70px;
text-align: center;
text-decoration: none;
}
.navbar-brand {
margin-top: 4px;
}
.navbar .navbar-btn {
margin-left: 10px;
}
</style>
</head>
<body onLoad="determineServer();" style="height: 100%; display: block;">
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div>
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header" id="header-nav">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="javascript:void(0);" onclick="window.location.href='/';" id="navBarBrand">
<strong>
SNOMED CT Browser</strong></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" style="padding-left: 20px; padding-right: 20px;">
<ul class="nav navbar-nav navbar-right">
<li class="navbar-btn" id="edition-selector" style="display: none">
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">
<span class="i18n" data-i18n-id="i18n_release">Release</span>: <span id="editionLabel"></span> <span class="caret"></span>
</button>
<ul class="dropdown-menu" id="releaseSwitcher" role="menu">
</ul>
</li>
<li class="navbar-btn feedback-button">
<button type="button" class="btn btn-info" onclick="FreshWidget.show();
return false;">
<span class="i18n" data-i18n-id="i18n_feedback">Feedback</span>
</button>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="i18n" data-i18n-id="i18n_about">Help</span> <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="http://snomed.org/snomedtools-privacy" target=_blank>SNOMED International Privacy Policy</a></li>
<li class="divider"></li>
<li><a href="https://github.com/IHTSDO/sct-browser-frontend" target="_blank"><span class="i18n" data-i18n-id="i18n_github">See the code on GitHub</span></a></li>
<li class="divider"></li>
<li><a href="https://www.snomed.org/snomed-ct/software-tools" target="_blank">SNOMED International Tooling</a></li>
<li><a href="http://www.snomed.org" target="_blank">SNOMED International</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="nav-selected-flag"></span> <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="javascript:void(0);" onclick="switchLanguage('en_US', '/browser/img/flags/us.png', true);"><img src="/browser/img/flags/us.png" /> English</a>
</li>
<li>
<a href="javascript:void(0);" onclick="switchLanguage('es', '/browser/img/flags/es.png', true);"><img src="/browser/img/flags/es.png" /> Español</a>
</li>
<li>
<a href="javascript:void(0);" onclick="switchLanguage('sv', '/browser/img/flags/se.png', true);"><img src="/browser/img/flags/se.png" /> Swedish</a>
</li>
<li>
<a href="javascript:void(0);" onclick="switchLanguage('da', '/browser/img/flags/dk.png', true);"><img src="/browser/img/flags/dk.png" /> Dansk</a>
</li>
<li>
<a href="javascript:void(0);" onclick="switchLanguage('pt', '/browser/img/flags/pt.png', true);"><img src="/browser/img/flags/pt.png" /> Português</a>
</li>
<li class="divider"></li>
<li style="margin: 5px;"><em><span class="i18n text-muted small" data-i18n-id="i18n_translation_warning">This option only applies to the Browser. Terminology language depends on the selected edition.</span></em></li>
</ul>
</li>
<li>
<p class="pull-right">
<a href="http://www.snomed.org" target="_blank"><img class="pull-right visible-lg" src="/browser/img/snomed-logo.png" style="width:110px;" alt="SNOMED International delivering SNOMED, the global clinical terminology" />
</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div id="alert-section">
</div>
<div class="container-fluid" style="height: 100%">
<!-- Full Perspective -->
<div id="full-height-perspective" class="bperspective">
<div id="spliter-fh" class="row" style="width:100%; height: 91%; position: absolute;">
<div class="a panel panel-default" id="fh-tabs-pane" style="border-radius: 0px;">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="fh-tabs">
<li class="active"><a href="#fh-search_canvas" data-toggle="tab"><span class="i18n" data-i18n-id="i18n_search">Search</span></a></li>
<li id="fh-favorites_canvas-li"><a href="#fh-favorites_canvas" data-toggle="tab"><span class="i18n" data-i18n-id="i18n_favorites">Favorites</span></a></li>
</ul>
<div class="tab-content" id="left-nav-tabs">
<div class="tab-pane active" id="fh-search_canvas" style="padding: 0px;margin: 0;"></div>
<div class="tab-pane" id="fh-favorites_canvas" style="padding: 0px;margin: 0;"></div>
</div>
</div>
<div class="a panel panel-default" id="fh-tabs-pane2" style="border-radius: 0px;">
<ul class="nav nav-tabs" id="fh-tabs2">
<li class="active"><a href="#fh-cd1_canvas-pane" data-toggle="tab"><span class="i18n" data-i18n-id="i18n_concept_details">Concept Details</span></a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="fh-cd1_canvas-pane" style="padding: 0px;margin: 0;">
<div class="col-md-12" id="fh-cd1_canvas" style="padding: 0px;margin: 0;"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- License agreement modal -->
<div class="modal fade" id="license-modal" data-backdrop="static">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"><span class="i18n" data-i18n-id="i18n_licence_agreement">SNOMED International SNOMED CT Browser License Agreement</span></h4>
</div>
<div class="modal-body">
<p><span class="i18n" data-i18n-id="i18n_licence_agreement_1">In order to use the SNOMED International SNOMED CT Browser, please accept the following license agreement</span>:</p>
<div style="height: 300px; overflow: auto; margin: 20px; border: 1px solid; padding: 10px;">
<p><span class="i18n" data-i18n-id="i18n_licence_agreement_2"><strong>SNOMED International SNOMED CT Browser</strong> includes SNOMED Clinical Terms® (SNOMED CT®) which is used by permission of SNOMED International. All rights reserved. SNOMED CT® was originally created by the College of American Pathologists.</span>
<span class="i18n" data-i18n-id="i18n_licence_agreement_3">“SNOMED”, “SNOMED CT” and “SNOMED Clinical Terms” are registered trademarks of the SNOMED International (<a href="http://www.snomed.org">www.snomed.org</a>).</span></p>
<p><span class="i18n" data-i18n-id="i18n_licence_agreement_4">Use of SNOMED CT in <strong>SNOMED International SNOMED CT Browser</strong> is governed by the conditions of the following SNOMED CT license issued by the SNOMED International</span>:</p>
<p style="margin-left: 20px;">1. <span class="i18n" data-i18n-id="i18n_licence_agreement_5">The meaning of the terms “Affiliate”, or “Data Analysis System”, “Data Creation System”, “Derivative”, “End User”, “Extension”, “Member”, “Non-Member Territory”, “SNOMED CT” and “SNOMED CT Content” are as defined in the SNOMED International Affiliate License Agreement (see www.snomed.org/license.pdf)</span>.</p>
<p style="margin-left: 20px;">2. <span class="i18n" data-i18n-id="i18n_licence_agreement_6">Information about Affiliate Licensing is available at <a href="http://snomed.org/license-affiliate">http://snomed.org/license-affiliate</a>. Individuals or organizations wishing to register as SNOMED International Affiliates can register at <a href="https://mlds.ihtsdotools.org">mlds.ihtsdotools.org</a>, subject to acceptance of the Affiliate License Agreement (see <a href="http://snomed.org/license-affiliate">http://snomed.org/license-affiliate)</a></span>.</p>
<p style="margin-left: 20px;">3. <span class="i18n" data-i18n-id="i18n_licence_agreement_7">The current list of SNOMED International Member Territories can be viewed at <a href="http://www.snomed.org/members">www.snomed.org/members</a>. Countries not included in that list are “Non-Member Territories”</span>.</p>
<p style="margin-left: 20px;">4. <span class="i18n" data-i18n-id="i18n_licence_agreement_8">End Users, that do not hold an SNOMED International Affiliate License, may access SNOMED CT® using <strong>SNOMED International SNOMED CT Browser</strong> subject to acceptance of and adherence to the following sub-license limitations</span>:</p>
<p style="margin-left: 40px;">a) <span class="i18n" data-i18n-id="i18n_licence_agreement_9">The sub-licensee is only permitted to access SNOMED CT® using this software (or service) for the purpose of exploring and evaluating the terminology</span>.</p>
<p style="margin-left: 40px;">b) <span class="i18n" data-i18n-id="i18n_licence_agreement_10">The sub-licensee is not permitted the use of this software as part of a system that constitutes a SNOMED CT “Data Creation System” or “Data Analysis System”, as defined in the SNOMED International Affiliate License. This means that the sub-licensee must not use <strong>SNOMED International SNOMED CT Browser</strong> to add or copy SNOMED CT identifiers into any type of record system, database or document</span>.</p>
<p style="margin-left: 40px;">c) <span class="i18n" data-i18n-id="i18n_licence_agreement_11">The sub-licensee is not permitted to translate or modify SNOMED CT Content or Derivatives</span>.</p>
<p style="margin-left: 40px;">d) <span class="i18n" data-i18n-id="i18n_licence_agreement_12">The sub-licensee is not permitted to distribute or share SNOMED CT Content or Derivatives</span>.</p>
<p style="margin-left: 20px;">5. <span class="i18n" data-i18n-id="i18n_licence_agreement_13">SNOMED International Affiliates may use <strong>SNOMED International SNOMED CT Browser</strong> as part of a “Data Creation System” or “Data Analysis System” subject to the following conditions</span>:</p>
<p style="margin-left: 40px;">a) <span class="i18n" data-i18n-id="i18n_licence_agreement_14">The SNOMED International Affiliate, using <strong>SNOMED International SNOMED CT Browser</strong> must accept full responsibility for any reporting and fees due for use or deployment of such a system in a Non-Member Territory</span>.</p>
<p style="margin-left: 40px;">b) <span class="i18n" data-i18n-id="i18n_licence_agreement_15">The SNOMED International Affiliate must not use <strong>SNOMED International SNOMED CT Browser</strong> to access or interact with SNOMED CT in any way that is not permitted by the Affiliate License Agreement</span>.</p>
<p style="margin-left: 40px;">c) <span class="i18n" data-i18n-id="i18n_licence_agreement_16">In the event of termination of the Affiliate License Agreement, the use of <strong>SNOMED International SNOMED CT Browser</strong> will be subject to the End User limitations noted in 4</span>.</p>
</div>
</div>
<div class="modal-footer">
<a href="http://www.snomed.org" class="btn btn-danger"><span class="i18n" data-i18n-id="i18n_reject">Reject</span></a>
<button id="accept-license-button-modal" type="button" class="btn btn-success" data-dismiss="modal"><span class="i18n" data-i18n-id="i18n_accept">Accept</span></button>
<div class="btn-group dropup pull-left">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span id="nav-selected-flag-modal"></span> <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li class="pull-left">
<a href="javascript:void(0);" onclick="switchLanguage('en_US', '/browser/img/flags/us.png', true);"><img src="/browser/img/flags/us.png" /> English</a>
</li>
<li class="pull-left">
<a href="javascript:void(0);" onclick="switchLanguage('es', '/browser/img/flags/es.png', true);"><img src="/browser/img/flags/es.png" /> Español</a>
</li>
<li class="pull-left">
<a href="javascript:void(0);" onclick="switchLanguage('da', '/browser/img/flags/dk.png', true);"><img src="/browser/img/flags/dk.png" /> Dansk</a>
</li>
<li class="pull-left">
<a href="javascript:void(0);" onclick="switchLanguage('pt', '/browser/img/flags/pt.png', true);"><img src="/browser/img/flags/pt.png" /> Português</a>
</li>
<li class="pull-left">
<a href="javascript:void(0);" onclick="switchLanguage('se', '/browser/img/flags/se.png', true);"><img src="/browser/img/flags/se.png" /> Svenska</a>
</li>
</ul>
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- Using Freshdesk Widget for feedback -->
<script type="text/javascript" src="https://s3.amazonaws.com/assets.freshdesk.com/widget/freshwidget.js"></script>
<script type="text/javascript">
FreshWidget.init("", {
"queryString": "&widgetType=popup&formTitle=SNOMED+CT+Browser+Feedback&submitTitle=Send+Feedback&submitThanks=Thank+you+for+your+feedback&captcha=yes&searchArea=no",
"utf8": "✓",
"backgroundImage": "https://s3.amazonaws.com/assets.freshdesk.com/widget/help-button.png",
"widgetType": "popup",
"buttonType": "image",
"buttonText": "Support",
"buttonColor": "white",
"buttonBg": "#00aadd",
"alignment": "1",
"offset": "-1500px",
"submitThanks": "Thank you for your feedback",
"formHeight": "500px",
"captcha": "yes",
"url": "https://ihtsdo.freshdesk.com"
});
</script>
<script type="text/javascript">
var $buoop = {};
$buoop.ol = window.onload;
window.onload = function() {
try {
if ($buoop.ol)
$buoop.ol();
} catch (e) {}
var e = document.createElement("script");
e.setAttribute("type", "text/javascript");
e.setAttribute("src", "//browser-update.org/update.js");
document.body.appendChild(e);
}
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MFCMKEHSYB"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MFCMKEHSYB');
</script>
</body>
</html>