Esempio n. 1
0
<?php 
if (false == ($firstThread instanceof Proposal))
{
    include(dirname(__FILE__).'/_patientinfo.php');
}
else
{ ?>
<h3 class="case_xq_title">服务申请</h3>
<div class="sick_info">
    <div class="sick_title">患者信息</div>
    <dl class="sick_info_con" style="width:60%">
        <dt><img src="http://i1.hdfimg.com/touch/images/case_img3.png" /></dt>
        <dd><span>患者:</span><font class="patient_name"><?=$userPrivateName?></font></dd>
        <dd><span>性别:</span><?=patient::getPatientSex($ref->patient->sex)?></dd>
        <dd><span>年龄:</span><?=XDateTime::isDate($ref->patient->birthday) ? $ref->patient->getPatientAge() : $ref->patient->age?></dd>
    </dl>
</div>
<h4 class="case_xq_list_title">病情资料</h4>
<div class="condition_data">
<?php 
$bingliSet = $firstThread->getBingLiSet(); 
$patient = $firstThread->patient;
include dirname(__FILE__).'/../../common_inc/'.'_binglidtos.php';
?>
</div>

<?php 
} ?>
<script type="text/javascript">
$(document).ready(function(){
    $(".post_content div").each(function(){
    <p class="mr_title1 pa_info f18">患者信息
<?php 
    if ($ref->isVip()) {
        ?>
        <img class="vm ml5" src="http://i1.hdfimg.com/doctorzone/images/doc_at.png"/>
<?php 
    }
    ?>
    </p>
    <ul class="pa_friend flow_patient">
        <li>姓名:<?php 
    echo $ref->patient->name;
    ?>
</li>
        <li>性别:<?php 
    echo patient::getPatientSex($ref->patient->sex);
    ?>
</li>
<?php 
    if (XDateTime::isDate($ref->patient->birthday) && $ref->patient->getPatientAge()) {
        echo "<li>年龄:" . $ref->patient->getPatientAge() . "</li>";
    } else {
        if ($ref->patient->age) {
            echo "<li>年龄:" . $ref->patient->age . "</li>";
        } else {
            echo "";
        }
    }
    ?>
        <li>所在省市: <?php 
    echo $ref->patient->province;