本文整理汇总了PHP中get_specimen_name_by_id函数的典型用法代码示例。如果您正苦于以下问题:PHP get_specimen_name_by_id函数的具体用法?PHP get_specimen_name_by_id怎么用?PHP get_specimen_name_by_id使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_specimen_name_by_id函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: array
$record_list[] = $value;
$data_list = array();
}
foreach ($record_list as $record_set) {
$value = $record_set;
$test = $value[0];
$specimen = $value[1];
$id = $test->testTypeId;
$clinical_data = get_clinical_data_by_id($test->testTypeId);
?>
<?php
if ($report_config->useSpecimenName == 1) {
echo "<h3>";
echo LangUtil::$generalTerms['TYPE'] . " - ";
echo get_specimen_name_by_id($specimen->specimenTypeId) . "</h3>";
}
if ($report_config->useTestName == 1) {
echo "<h3>";
echo LangUtil::$generalTerms['TEST'] . " - ";
echo get_test_name_by_id($test->testTypeId) . "</h3>";
}
if ($report_config->useSpecimenAddlId != 0) {
echo LangUtil::$generalTerms['SPECIMEN_ID'] . " - ";
echo $specimen->getAuxId();
echo "<br>";
}
if ($clinical_data != '') {
$data_list[$id] = $clinical_data;
}
if ($report_config->useDailyNum == 1 && $daily_number_same === false) {
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:reports_testhistory2.php
示例2: get_specimen_name_by_id
}
if ($report_config->useSpecimenAddlId == 1) {
echo "<td>";
$specimen->getAuxId();
echo "</td>";
}
if ($report_config->useDailyNum == 1) {
?>
<td><?php
echo $specimen->getDailyNumFull();
?>
</td>
<?php
}
if ($report_config->useSpecimenName == 1) {
echo "<td>" . get_specimen_name_by_id($specimen->specimenTypeId) . "</td>";
}
if ($report_config->usePatientName == 1) {
?>
<td><?php
echo $patient->name;
?>
</td>
<?php
}
if ($report_config->useAge == 1) {
?>
<td><?php
echo $patient->getAgeNumber();
?>
</td>
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:worksheet.php
示例3: getReportResultsForm
public function getReportResultsForm($form_name, $form_id)
{
$specimen_list = Specimen::getUnreported();
if($specimen_list == null || count($specimen_list) == 0)
return;
?>
<table class='tablesorter'>
<thead>
<tr valign='top'>
<?php
if($_SESSION['pid'] != 0)
{
?>
<th><?php echo LangUtil::$generalTerms['PATIENT_ID']; ?></th>
<?php
}
if($_SESSION['dnum'] != 0)
{
?>
<th><?php echo LangUtil::$generalTerms['PATIENT_DAILYNUM']; ?></th>
<?php
}
if($_SESSION['s_addl'] != 0)
{
?>
<th><?php echo LangUtil::$generalTerms['SPECIMEN_ID']; ?></th>
<?php
}
?>
<th><?php echo LangUtil::$generalTerms['PATIENT_NAME']; ?></th>
<th><?php echo LangUtil::$generalTerms['SPECIMEN_TYPE']; ?></th>
<th><?php echo LangUtil::$generalTerms['C_DATE']; ?></th>
<th><?php echo LangUtil::$generalTerms['TESTS']; ?></th>
<th><?php echo LangUtil::$generalTerms['REPORT_TO']; ?></th>
<th>
<?php echo LangUtil::$generalTerms['REPORTED']; ?>?
<input type='checkbox' name='check_all' id='check_all' onclick='checkoruncheckall();'>
</input>
</th>
</tr>
</thead>
<tbody>
<?php
foreach($specimen_list as $specimen)
{
$test_list = get_tests_by_specimen_id($specimen->specimenId);
$patient = Patient::getById($specimen->patientId);
?>
<tr valign='top'>
<input type='hidden' name='sid[]' value='<?php echo $specimen->specimenId; ?>'></input>
<?php
if($_SESSION['pid'] != 0)
{
?>
<td><?php echo $specimen->getSurrogateId(); ?></td>
<?php
}
if($_SESSION['dnum'] != 0)
{
?>
<td><?php $specimen->getDailyNum(); ?></td>
<?php
}
if($_SESSION['s_addl'] != 0)
{
?>
<td><?php $specimen->getAuxId(); ?></td>
<?php
}
?>
<td><?php echo $patient->getName(); ?></td>
<td><?php echo get_specimen_name_by_id($specimen->specimenTypeId); ?></td>
<td><?php echo DateLib::mysqlToString($specimen->dateCollected)." ".$specimen->timeCollected; ?></td>
<td>
<?php
foreach($test_list as $test)
{
echo get_test_name_by_id($test->testTypeId);
echo "<br>";
}
?>
</td>
<td><?php echo $specimen->getReportTo(); ?></td>
<td>
<center>
<input type='checkbox' class='report_flag' name='mark_<?php echo $specimen->specimenId; ?>'></input>
</center>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<?php
}
开发者ID:jfurlong,项目名称:BLIS,代码行数:96,代码来源:page_elemsdff.php
示例4: get_specimen_name_by_id
if ($specimen == null) {
echo "<span class='error_string'>" . LangUtil::$generalTerms['SPECIMEN_ID'] . " " . $specimen_id . " " . LangUtil::$generalTerms['MSG_NOTFOUND'] . ".</span>";
return;
}
if ($specimen->statusCodeId == Specimen::$STATUS_DONE) {
?>
<div class='sidetip_nopos' style='width:350px;'>
<?php
echo LangUtil::$pageTerms['MSG_ALREADYENTERED'] . "- ";
if ($_SESSION['sid'] != 0) {
echo "<br>";
echo LangUtil::$generalTerms['SPECIMEN_ID'] . ": ";
echo $specimen->getAuxId();
}
echo "<br>";
echo LangUtil::$generalTerms['SPECIMEN_TYPE'] . ": " . get_specimen_name_by_id($specimen->specimenTypeId);
echo "<br>";
//if($_SESSION['pnamehide'] == 0)
if ($_SESSION['user_level'] == $LIS_TECH_SHOWPNAME) {
echo LangUtil::$generalTerms['PATIENT'] . ": {$patient->name} ({$patient->sex} " . $patient->getAgeNumber() . ") <br>";
} else {
echo LangUtil::$generalTerms['GENDER'] . "/" . LangUtil::$generalTerms['AGE'] . ": {$patient->sex} /" . $patient->getAgeNumber() . "<br>";
}
?>
<br><a href='specimen_info.php?sid=<?php
echo $specimen->specimenId;
?>
'> <?php
echo LangUtil::$generalTerms['DETAILS'];
?>
»</a>
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:specimen_form_fetch.php
示例5: get_lab_config_specimen_types
echo "<th ></th>";
}
?>
<tr>
</thead>
<tbody>
<?php
# Fetching specimen IDs but keeping the variables similar to reports_testcount_grouped.php
$test_type_list = get_lab_config_specimen_types($lab_config->id);
//$test_type_list = get_lab_config_test_types($lab_config->id); // to get test type ids
$saved_db = DbUtil::switchToLabConfig($lab_config->id);
$tests_done_list = array();
$tests_list = array();
$summ = 0;
foreach ($test_type_list as $test_type_id) {
$test_name = get_specimen_name_by_id($test_type_id);
echo "<tr valign='top'>";
echo "<td>";
echo $test_name;
echo "</td>";
if ($byGender == 1) {
echo "<td>";
echo "M";
echo "<br>";
echo "F";
echo "</td>";
}
# Group by age set to true: Fetch age slots from DB
if ($byAge == 1) {
$age_slot_list = decodeAgeGroups($configArray['age_groups']);
$count_male_t_total = 0;
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:reports_specimencount_grouped.php
注:本文中的get_specimen_name_by_id函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论