138 lines
5.4 KiB
PHP
138 lines
5.4 KiB
PHP
<?php
|
|
|
|
global $thumb,$session_uniqid;
|
|
|
|
$session_uniqid = "1997";
|
|
|
|
|
|
?><html>
|
|
<head>
|
|
<meta charset='utf-8'/>
|
|
<title><?php echo XOCP_BANNER_TITLE; ?></title>
|
|
<meta name='description' content='<?php echo XOCP_BANNER_TITLE;?>'>
|
|
<meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no'>
|
|
<link rel='shortcut icon' type='image/png' href='images/logo.png' sizes='16x16 32x32 64x64'>
|
|
<!--Best display for mobile devices-->
|
|
<meta http-equiv='cleartype' content='on'>
|
|
<meta name='MobileOptimized' content='320'>
|
|
<meta name='HandheldFriendly' content='True'>
|
|
<meta name='apple-mobile-web-app-capable' content='yes'>
|
|
<link rel='stylesheet' type='text/css' href='styles/main.css?serial=<?php echo $session_uniqid; ?>'/>
|
|
<link rel='stylesheet' type='text/css' href='styles/inline.css?serial=<?php echo $session_uniqid; ?>'/>
|
|
<link rel='stylesheet' type='text/css' href='styles/flatpickr.min.css'/>
|
|
<script type='text/javascript' src='scripts/flatpickr.min.js'></script>
|
|
<script type='text/javascript' src='scripts/main.js?serial=<?php echo $session_uniqid; ?>'></script>
|
|
<style>
|
|
.flatpickr-calendar {
|
|
/*background:#1f2428;*/
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class='header header-big'>
|
|
<a class='brand pull-left'>
|
|
<div class='clearfix'>
|
|
<div class='logo-text'>
|
|
<?php echo XOCP_BANNER_TITLE; ?>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<div class="studyListToolbar clearfix">
|
|
<div class="header pull-left">Study List</div>
|
|
<div class="studyCount pull-right"></div>
|
|
<div class="pull-right">
|
|
<div class="studylistToolbar">
|
|
<!-- <div class="addNewStudy btn-file">
|
|
<label for="btnImport"><i class="fa fa-plus"></i> Import study</label>
|
|
<input id="btnImport" class="js-import-files" type="file" webkitdirectory="" directory="" multiple=""/>
|
|
</div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- div class="theadBackground">
|
|
</div -->
|
|
<div id="studyListContainer">
|
|
<table id="tblStudyList" class="studylistResult table noselect">
|
|
<thead>
|
|
<tr>
|
|
<th class="patientName">
|
|
<div id="_patientName" class="sortingCell">
|
|
<span>Patient Name</span>
|
|
<i class="fa fa-fw sort-dir"> </i>
|
|
</div>
|
|
<input type="text" class="form-control studylist-search" id="patientName">
|
|
</th>
|
|
<th class="patientId">
|
|
<div id="_patientId" class="sortingCell">
|
|
<span>MRN</span>
|
|
<i class="fa fa-fw sort-dir"> </i>
|
|
</div>
|
|
<input type="text" class="form-control studylist-search" id="patientId">
|
|
</th>
|
|
<th class="accessionNumber">
|
|
<div id="_accessionNumber" class="sortingCell">
|
|
<span>Accession #</span>
|
|
<i class="fa fa-fw sort-dir"> </i>
|
|
</div>
|
|
<input type="text" class="form-control studylist-search" id="accessionNumber">
|
|
</th>
|
|
<th class="studyDate">
|
|
<div id="_studyDate" class="sortingCell">
|
|
<span>Study Date</span>
|
|
<i class="fa fa-fw sort-dir fa-sort-down"> </i>
|
|
</div>
|
|
<input type="text" class="form-control studylist-search" name="daterange" id="studyDate">
|
|
</th>
|
|
<th class="modalities">
|
|
<div id="_modalities" class="sortingCell">
|
|
<span>Modality</span>
|
|
<i class="fa fa-fw sort-dir"> </i>
|
|
</div>
|
|
<input type="text" class="form-control studylist-search" id="modality">
|
|
</th>
|
|
<th class="studyDescription">
|
|
<div id="_studyDescription" class="sortingCell">
|
|
<span>Study Description</span>
|
|
<i class="fa fa-fw sort-dir"> </i>
|
|
</div>
|
|
<input type="text" class="form-control studylist-search" id="studyDescription">
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="studyListData" style='font-size:0.9em;'>
|
|
<tr id='trloading' class="studylistStudy noselect load-study" style="-webkit-user-select: none; -webkit-user-drag: none;">
|
|
<td colspan='6' style='text-align:center;'>Loading... <i class='fa fa-spin fa-circle-o-notch fa-fw'></i></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
<script type="text/javascript">
|
|
|
|
var server = '<?php echo XOCP_SERVER.XOCP_SERVER_SUBDIR; ?>';
|
|
var qStudyDate0 = '';
|
|
var qStudyDate1 = '';
|
|
var qPatientName = '';
|
|
var qPatientID = '';
|
|
var qAccessionNumber = '';
|
|
var qModality = '';
|
|
var qStudyDescription = '';
|
|
var inputfields = document.getElementsByClassName('studylist-search');
|
|
var sc = document.getElementsByClassName('sortingCell');
|
|
|
|
document.addEventListener('DOMContentLoaded', function(event) {
|
|
|
|
|
|
init_study_list();
|
|
|
|
loadTemplate('template/studylist.html?serial=17',function(el) {
|
|
studylist_template = el;
|
|
load_study_list();
|
|
});
|
|
|
|
|
|
});
|
|
</script>
|
|
</body></html>
|