当前位置: 首页>>代码示例>>PHP>>正文


PHP Patient::getReportedByRegDateRange方法代码示例

本文整理汇总了PHP中Patient::getReportedByRegDateRange方法的典型用法代码示例。如果您正苦于以下问题:PHP Patient::getReportedByRegDateRange方法的具体用法?PHP Patient::getReportedByRegDateRange怎么用?PHP Patient::getReportedByRegDateRange使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Patient的用法示例。


在下文中一共展示了Patient::getReportedByRegDateRange方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: PageElems

$page_elems = new PageElems();
$script_elems = new ScriptElems();
$script_elems->enableJquery();
$script_elems->enableTableSorter();
$script_elems->enableDragTable();
$date_from = $_REQUEST['yf'] . "-" . $_REQUEST['mf'] . "-" . $_REQUEST['df'];
$date_to = $_REQUEST['yt'] . "-" . $_REQUEST['mt'] . "-" . $_REQUEST['dt'];
$lab_config_id = $_REQUEST['l'];
$lab_section = $_REQUEST['labsec'];
$uiinfo = "from=" . $date_from . "&to=" . $date_to;
putUILog('daily_log_patients', $uiinfo, basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$lab_config = get_lab_config_by_id($lab_config_id);
$saved_db = DbUtil::switchToLabConfig($lab_config_id);
//$patient_list = Patient::getByAddDate($date_from);
//$patient_list = Patient::getByAddDateRange($date_from, $date_to);
$patient_list = Patient::getReportedByRegDateRange($date_from, $date_to, $lab_section);
$patient_list_U = Patient::getUnReportedByRegDateRange($date_from, $date_to, $lab_section);
$lab_section_name = getTestCatName_by_cat_id($lab_config_id, $lab_section);
//$patient_list = Patient::getByRegDateRange($date_from, $date_to);
DbUtil::switchRestore($saved_db);
$report_id = $REPORT_ID_ARRAY['reports_dailypatients.php'];
$report_config = $lab_config->getReportConfig($report_id);
$margin_list = $report_config->margins;
$user = get_user_by_id($_SESSION['user_id']);
for ($i = 0; $i < count($margin_list); $i++) {
    $margin_list[$i] = $SCREEN_WIDTH * $margin_list[$i] / 100;
}
?>
<script type='text/javascript'>
function export_as_word(div_id)
{
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:reports_dailypatients.php

示例2: PageElems

include "includes/script_elems.php";
include "includes/page_elems.php";
LangUtil::setPageId("reports");
$page_elems = new PageElems();
$script_elems = new ScriptElems();
$script_elems->enableJquery();
$script_elems->enableTableSorter();
$script_elems->enableDragTable();
$date_from = $_REQUEST['yf'] . "-" . $_REQUEST['mf'] . "-" . $_REQUEST['df'];
$date_to = $_REQUEST['yt'] . "-" . $_REQUEST['mt'] . "-" . $_REQUEST['dt'];
$lab_config_id = $_REQUEST['l'];
$lab_config = get_lab_config_by_id($lab_config_id);
$saved_db = DbUtil::switchToLabConfig($lab_config_id);
//$patient_list = Patient::getByAddDate($date_from);
//$patient_list = Patient::getByAddDateRange($date_from, $date_to);
$patient_list = Patient::getReportedByRegDateRange($date_from, $date_to);
$patient_list_U = Patient::getUnReportedByRegDateRange($date_from, $date_to);
//$patient_list = Patient::getByRegDateRange($date_from, $date_to);
DbUtil::switchRestore($saved_db);
$report_id = $REPORT_ID_ARRAY['reports_dailypatients.php'];
$report_config = $lab_config->getReportConfig($report_id);
$margin_list = $report_config->margins;
for ($i = 0; $i < count($margin_list); $i++) {
    $margin_list[$i] = $SCREEN_WIDTH * $margin_list[$i] / 100;
}
?>
<script type='text/javascript'>
function export_as_word(div_id)
{
	var content = $('#'+div_id).html();
	$('#word_data').attr("value", content);
开发者ID:nchopra,项目名称:C4G-BLIS,代码行数:31,代码来源:reports_dailypatients.php


注:本文中的Patient::getReportedByRegDateRange方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。