123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>TODO supply a title</title>
- {include file="../application/manage/view/commons/headers.html" }
- <script >
-
- // 保存信息
- function save(){
- var data=$("#myform").serialize();
- $.ajax({
- url:"/manage/exam/save",
- data:data,type:"get",
- success:function(rs){
- if(rs=="update_ok"){
- alert("更新成功!");
- }else{
- alert("保存失败!");
- }
- },error:function(e,e1,e2){
- alert(e2);
- }
- });
- }
-
- $(function(){
- $("#imgFrame").height($(window).height()-100)
- })
-
-
- </script>
-
- </head>
- <body>
- <div id="tt" class="easyui-tabs" style="width:100%;height:auto;">
- <div title="检查影像" style="padding:20px;display:none;">
- <iframe id="imgFrame" src="http://47.104.4.5:3000/{if isset($exam) && !empty($exam.study_id) }{$exam.study_id}{/if}" width="100%" height="100%" ></iframe>
-
- </div>
- <div title="检查内容" data-options="closable:true" style="overflow:auto;padding:20px;display:none;">
- <form id="myform" action="" method="get" ><input name="id" type="hidden" value="{if isset($exam) }{$exam.id}{/if}" />
- <table class="editform" width="99%" border="0" style="margin: 5px auto;" cellpadding="1" cellspacing="1" >
- <tr>
- <th width="105" height="38" align="right" >属性 </th>
- <th width="40%" >信息</th>
- <th width="105" height="38" align="right" >属性 </th>
- <th width="40%" >信息</th>
- </tr>
- <tr>
- <th height="32" align="right" >患者:</th>
- <td>
- <input name="patient_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.patient_id}{/if}" />
- {if isset($exam) && isset($exam.patient_id_name) }{$exam.patient_id_name}{/if}
- </td>
- <th height="32" align="right" >病历号:</th>
- <td>
- <input name="patient_num" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.patient_num}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查科室:</th>
- <td>
- <input name="dept_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.dept_id}{/if}" />
- {if isset($exam) && isset($exam.dept_id_name) }{$exam.dept_id_name}{/if}
- <br />(执行科室)
- </td>
- <th height="32" align="right" >科室检查号:</th>
- <td>
- <input name="accession_num" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.accession_num}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查类型:</th>
- <td>
- <input name="exam_class" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.exam_class}{/if}" />
- {if isset($exam) && isset($exam.exam_class_name) }{$exam.exam_class_name}{/if}
- </td>
- <th height="32" align="right" >检查子类:</th>
- <td>
- <input name="exam_sub_class" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.exam_sub_class}{/if}" />
- {if isset($exam) && isset($exam.exam_sub_class_name) }{$exam.exam_sub_class_name}{/if}
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查项目:</th>
- <td>
- <input name="exam_project" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.exam_project}{/if}" />
- {if isset($exam) && isset($exam.exam_project_name) }{$exam.exam_project_name}{/if}
- </td>
- <th height="32" align="right" >检查日期:</th>
- <td>
- <input name="exam_datetime" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.exam_datetime}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查设备:</th>
- <td>
- <input name="device" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.device}{/if}" />
- {if isset($exam) && isset($exam.device_name) }{$exam.device_name}{/if}
- </td>
- <th height="32" align="right" >检查部位:</th>
- <td>
- <input name="body_part" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.body_part}{/if}" />
- {if isset($exam) && isset($exam.body_part_name) }{$exam.body_part_name}{/if}
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >住院号:</th>
- <td>
- <input name="hopitalized_no" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.hopitalized_no}{/if}" />
- </td>
- <th height="32" align="right" >床位号:</th>
- <td>
- <input name="bed_no" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.bed_no}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >送诊科室:</th>
- <td>
- <input name="clin_dept_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.clin_dept_id}{/if}" />
- {if isset($exam) && isset($exam.clin_dept_id_name) }{$exam.clin_dept_id_name}{/if}
- </td>
- <th height="32" align="right" >技师:</th>
- <td>
- <input name="technician" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.technician}{/if}" />
- {if isset($exam) && isset($exam.technician_name) }{$exam.technician_name}{/if}
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查费用:</th>
- <td>
- <input name="charge" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.charge}{/if}" />
- </td>
- <th height="32" align="right" >实际费用:</th>
- <td>
- <input name="cost" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.cost}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查方法:</th>
- <td>
- <input name="exam_method" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.exam_method}{/if}" />
- </td>
- <th height="32" align="right" >送诊医生:</th>
- <td>
- <input name="clin_doctors" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.clin_doctors}{/if}" />
- {if isset($exam) && isset($exam.clin_doctors_name) }{$exam.clin_doctors_name}{/if}
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >主诉:</th>
- <td>
- <input name="illness_desc" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.illness_desc}{/if}" />
- </td>
- <th height="32" align="right" >体征:</th>
- <td>
- <input name="phys_sign" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.phys_sign}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >临床诊断:</th>
- <td>
- <input name="clin_diag" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.clin_diag}{/if}" />
- </td>
- <th height="32" align="right" >临床症状:</th>
- <td>
- <input name="clin_symp" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.clin_symp}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >医院:</th>
- <td>
- <input name="institution_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.institution_id}{/if}" />
- {if isset($exam) && isset($exam.institution_id_name) }{$exam.institution_id_name}{/if}
- </td>
- <th height="32" align="right" >病人来源:</th>
- <td>
- <input name="patient_source" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.patient_source}{/if}" />(1门诊 2住院 3外来)
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >申请时间:</th>
- <td>
- <input name="req_datetime" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.req_datetime}{/if}" />
- </td>
- <th height="32" align="right" >申请医生:</th>
- <td>
- <input name="req_doctor" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.req_doctor}{/if}" />
- {if isset($exam) && isset($exam.req_doctor_name) }{$exam.req_doctor_name}{/if}
- <br />
- (医生id)
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >登记人员:</th>
- <td>
- <input name="register" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($exam) }{$exam.register}{/if}" />
- {if isset($exam) && isset($exam.register_name) }{$exam.register_name}{/if}
- </td>
- <th height="32" align="right" >注册登记时间:</th>
- <td>
- <input name="register_datetime" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.register_datetime}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >诊断状态:</th>
- <td>
- <input name="exam_status" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.exam_status}{/if}" /><br />
- (1、登记 2、开始检查3、检查完毕 4、申请 5、驳回 6、接收、7、初步报告 8、审核报告 9、确诊)
- </td>
- <th height="32" align="right" >支付状态:</th>
- <td>
- <input name="pay_status" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.pay_status}{/if}" />(支付状态)
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >studyuid:</th>
- <td>
- <input name="studyuid" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) && !empty($exam.studyuid) }{$exam.studyuid}{/if}" />(studykey)
- </td>
- <th height="32" align="right" >联系方式:</th>
- <td>
- <input name="phone" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.phone}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >其他说明:</th>
- <td colspan="3" >
- <textarea name="remark" class="easyui-textbox" data-options="multiline:true" cols="55" rows="3" style="width:90%;height:60px;" >{if isset($exam) }{$exam.remark}{/if}</textarea>
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >创建时间:</th>
- <td>
- <input name="exam_status" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($exam) }{$exam.exam_status}{/if}" />(数据的创建时间)
- </td>
- <th height="32" align="right" >记录状态:</th>
- <td>
- <input type="radio" name="status" id="status_1" value="1" {if isset($exam) && $exam.status=="1" } checked="checked" {/if} ><label for="status_1" >可用</label>
- <input type="radio" name="status" id="status_2" value="0" {if isset($exam) && $exam.status=="0" } checked="checked" {/if} ><label for="status_2" >不可用</label>
- <br />(数据的可用状态)
- </td>
- </tr>
- <tr>
- <th height="32" > </th>
- <td colspan="3" >
- <a type="button" class="easyui-linkbutton" data-options="iconCls:'icon-save'" icon="icon-save" onclick="save()" >保存</a>
- </td>
- </tr>
- <tr >
- <th height="32" > </th>
- <td colspan="3" >
-
- </td>
- </tr>
- </table>
- </form>
- </div>
- <div title="报告内容" data-options="iconCls:'icon-reload',closable:true" style="padding:20px;display:none;">
- <table class="editform" width="99%" border="0" style="margin: 5px auto;" cellpadding="1" cellspacing="1" >
- <tr>
- <th width="105" height="38" align="right" >属性 </th>
- <th width="40%" >信息</th>
- <th width="105" height="38" align="right" >属性 </th>
- <th width="40%" >信息</th>
- </tr>
- <tr>
- <th height="32" align="right" >报告ID:</th>
- <td>
- <input name="report_id" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.id}{/if}" />
- </td>
- <th height="32" align="right" >报告时间:</th>
- <td>
- <input name="report_datetime" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.report_datetime}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >检查所见:</th>
- <td>
- {if isset($report) }{$report.impression}{/if}
- </td>
- <th height="32" align="right" >意见建议:</th>
- <td>
- {if isset($report) }{$report.description}{/if}
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >缩略图地址:</th>
- <td>
- <input name="img_url" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.img_url}{/if}" />
- </td>
- <th height="32" align="right" >二维码:</th>
- <td>
- <input name="qr_code" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.qr_code}{/if}" />(网址)
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >建档时间:</th>
- <td cols="3" >
- <input name="createdAt" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.createdAt}{/if}" />
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >报告医生:</th>
- <td>
- <input name="report_doctor_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($report) }{$report.report_doctor_id}{/if}" />
- {if isset($report) && isset($report.report_doctor_id_name) }{$report.report_doctor_id_name}{/if}
- </td>
- <th height="32" align="right" >审核医生:</th>
- <td>
- <input name="review_doctor_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($report) }{$report.review_doctor_id}{/if}" />
- {if isset($report) && isset($report.review_doctor_id_name) }{$report.review_doctor_id_name}{/if}
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >确认医生:</th>
- <td>
- <input name="confirm_doctor_id" type="text" class="easyui-textbox" size="15" style="width:200px;" value="{if isset($report) }{$report.confirm_doctor_id}{/if}" />
- {if isset($report) && isset($report.confirm_doctor_id_name) }{$report.confirm_doctor_id_name}{/if}
- </td>
- <th height="32" align="right" >报告结果:</th>
- <td>
- <input name="report_result" id="report_result_0" type="radio" {if isset($report) && isset($report.report_result) && $report.report_result=="0" }checked="checked"{/if} />阴性
- <input name="report_result" id="report_result_1" type="radio" {if isset($report) && isset($report.report_result) && $report.report_result=="1" }checked="checked"{/if} />阳性
- </td>
- </tr>
- <tr>
- <th height="32" align="right" >审核时间:</th>
- <td>
- <input name="review_datetime" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.review_datetime}{/if}" />
- </td>
- <th height="32" align="right" >确认时间:</th>
- <td>
- <input name="confirm_datetime" type="text" class="easyui-textbox" style="width:300px;" size="35" value="{if isset($report) }{$report.confirm_datetime}{/if}" />
- </td>
- </tr>
- </table>
- </div>
- <div title="报告历史" data-options="iconCls:'icon-reload',closable:true" style="padding:20px;display:none;">
- {if isset($report_record) && $report_record neq null}
- <table width="90%" align="center" border="0" >
- <tr>
- <th>序号</th>
- <th>操作类型</th>
- <th>检查所见</th>
- <th>意见建议</th>
- <th>操作医生</th>
- <th>时间</th>
- </tr>
- {foreach $report_record as $key=>$val}
- <tr>
- <td>{$key+1}</td>
- <td>{$val["type"]}</td>
- <td>{$val["impression"]}</td>
- <td>{$val["description"]}</td>
- <td>{$val["doctor_id_name"]}({$val["doctor_id"]})</td>
- <td>{$val["createdAt"]}</td>
- </tr>
- {/foreach}
- </table>
- {/if}
- </div>
- </div>
-
- </body>
- </html>
|