本文整理汇总了PHP中show_patient_data函数的典型用法代码示例。如果您正苦于以下问题:PHP show_patient_data函数的具体用法?PHP show_patient_data怎么用?PHP show_patient_data使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了show_patient_data函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Print_PatientCode_form
}
?>
<?php
if (!isset($_GET['code']) || $_GET['code'] == "") {
Print_PatientCode_form("hcv_antiiikes.php");
die;
} else {
check_patient($_GET['code']);
check_hcv_coinfection($_GET['code']);
}
?>
<FORM id="antiiikes_form" name="antiiikes_form" action="hcv_antiiikes_insert.php" method="GET" onsubmit="return check_data();">
<?php
show_patient_data($_GET['code']);
?>
<a href="hcv_show_antiiikes_data.php?code=<?php
echo $_GET['code'];
?>
">
Προβολή Καταχωρημένων Θεραπειών
</a>
<?php
echo "<input type=hidden name='code' value='" . $_GET['code'] . "' />";
?>
<P> Συμπληρώστε όλα τα φάρμακα που έχει λάβει ο ασθενής
</P>
<TABLE width=1050>
<TR>
示例2: PrintMenu
<?php
PrintMenu();
?>
<P> </P>
<P> </P>
<?php
$dbconnection = cohortdb_connect($cohort_db_server, $cohort_db_username, $cohort_db_password);
$db_selected = mysql_select_db($cohort_db_name, $dbconnection);
if (!$db_selected) {
die('Can\'t use ' . $cohort_db_name . ' : ' . mysql_error());
}
$patient_code = $_GET['code'];
check_patient($patient_code);
show_patient_data($patient_code);
// Load Reasons for discontinuation (Antiretrovial Treatment) and Medicines (Antiretrovial Treatment)
$medicine_query = "SELECT ID,Name,Category FROM medicines";
$results = execute_query($medicine_query);
$num = mysql_num_rows($results);
for ($i = 0; $i < $num; $i++) {
$row = mysql_fetch_assoc($results);
$medicine_array[$i]['id'] = $row['ID'];
$medicine_array[$i]['name'] = $row['Name'];
$medicine_array[$i]['category'] = $row['Category'];
}
$reasons_query = "SELECT * FROM antiretro_reasons";
$results = execute_query($reasons_query);
$num = mysql_num_rows($results);
for ($i = 0; $i < $num; $i++) {
$row = mysql_fetch_assoc($results);