Example #1
0
}
if (count($test_type_list) == 0 && $is_blank === false) {
    # No tests exist in this lab onfiguration for the chosen lab section
    echo LangUtil::$pageTerms['MSG_PENDINGNOTFOUND'];
    return;
}
foreach ($test_type_list as $test_type) {
    ###########
    $report_config = $lab_config->getWorkSheetConfig($test_type_id);
    $test_name = $test_type->getName();
    echo LangUtil::$generalTerms['TEST_TYPE'];
    ?>
: <?php 
    echo $test_name;
    $measure_list = $test_type->getMeasures();
    $test_list = get_pending_tests_by_type($test_type->testTypeId);
    if (count($test_list) == 0 && $is_blank === false) {
        echo "<br><br>" . LangUtil::$pageTerms['TIPS_NOSPECIMENSTOTEST'];
        return;
    }
    ?>
<br><br>
<table id='worksheet_<?php 
    echo $test_type_id;
    ?>
' class='print_border report_content_table draggable' style='width:900px'>
	<thead>
		<tr valign='top'>
			<?php 
    if ($report_config->usePatientId == 1) {
        ?>
Example #2
0
    echo $lab_config->getSiteName();
    ?>
</td>
		</tr>
		<tr>
			<td><?php 
    echo LangUtil::$generalTerms['TEST_TYPE'];
    ?>
</td>
			<td><?php 
    echo get_test_name_by_id($test_type_id);
    ?>
</td>
		</tr>
		<?php 
    $pending_tests = get_pending_tests_by_type($test_type_id);
    ?>
		<tr>
			<td><?php 
    echo LangUtil::$generalTerms['PENDING_RESULTS'];
    ?>
</td>
			<td><?php 
    echo count($pending_tests);
    ?>
</td>
		</tr>
	</table>
	<br>
	<?php 
    if (count($pending_tests) != 0) {