123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <!--
- 检查详情
- -->
- <div class="os-main">
- <ul class="info-list">
- <li class="il-item">
- <h3 class="os-tit-o"><i class="icon i-ess-info"></i><span class="os-t-o-name">基本信息</span></h3>
- <ul class="os-base-info" ms-if="data['检查名称']">
- <li><label>检查名称:</label><span ms-text="data['检查名称']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['检查类型'] || data['检查部位']">
- <li ms-if="data['检查类型']"><label>类  型:</label><span ms-text="data['检查类型']"></span></li>
- <li ms-if="data['检查部位']"><label>部  位:</label><span ms-text="data['检查部位']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['报告日期']">
- <li><label>报告时间:</label><span ms-text="data['报告日期']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['医院']">
- <li><label>医  院:</label><span ms-text="data['医院']"></span></li>
- </ul>
- </li>
- <li class="il-item">
- </li>
- </ul>
- <ul class="info-list-t">
- <h3 class="os-tit-o"><i class="icon i-ins-res"></i><span class="os-t-o-name">检查结果</span></h3>
- <li class="il-t-item jiancha-mt">
- <h4 class="os-tit-th">临床诊断:</h4>
- <p ms-text="data['临床诊断']"></p>
- </li>
- <li class="il-t-item jiancha-mt" ms-if="data['病情描述']">
- <h4 class="os-tit-t">病情描述:</h4>
- <p ms-text="data['病情描述']"></p>
- </li>
- <li class="il-t-item jiancha-mt" ms-if="data['影像所见']">
- <h4 class="os-tit-t">影像所见:</h4>
- <p ms-text="data['影像所见']"></p>
- </li>
- <li class="il-t-item jiancha-mt" ms-if="data['是否异常'] || data['影像结论']">
- <h4 class="os-tit-t">影像结论:</h4>
- <p class="ying-pb">是否异常:<span ms-text="data['是否异常']"></span></p>
- <p class="ying-pb" ms-if="data['影像结论']" ms-text="data['影像结论']"></p>
- </li>
- <!--<li class="il-t-item">
- <h4 class="os-tit-t">影像图片:</h4>
- <ul class="i-i-list">
- <li class="i-i-l-item"><img src="" alt=""></li>
- </ul>
- </li>-->
- </ul>
- <ul class="info-list-t">
- <h3 class="os-tit-o"><i class="icon i-inspectors"></i><span class="os-t-o-name">检查人员</span></h3>
- <li class="il-t-item pl0">
- <ul class="os-base-info" ms-if="data['执行时间']">
- <li><label>检查时间:</label><span ms-text="data['执行时间']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['申请科室'] || data['申请医生']">
- <li ms-if="data['申请科室']"><label>申请科室:</label><span ms-text="data['申请科室']"></span></li>
- <li ms-if="data['申请医生']"><label>申请医生:</label><span ms-text="data['申请医生']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['执行科室'] || data['执行医生']">
- <li ms-if="data['执行科室']"><label>执行科室:</label><span ms-text="data['执行科室']"></span></li>
- <li ms-if="data['执行医生']"><label>执行医生:</label><span ms-text="data['执行医生']"></span></li>
- </ul>
- </li>
- </ul>
- <p class="p-bottom">详情内容以医院出具纸质病例为准</p>
- </div>
- <script>
- function dsXmlToJson0231_2(xmlStr) {
- var $xmlDom = $(xmlStr),
- $nodes = {
- "检查项目": $xmlDom.find('component section')
- }
-
- return {
- data:{
- "医院": $xmlDom.find('org').text(),
- "申请医生": $xmlDom.find('participant name').text(),
- "申请科室": $xmlDom.find('participant dept').text(),
- "报告日期": $xmlDom.find('author time').text(),
- "检查名称": $nodes["检查项目"].attr('examname'),
- "检查部位": $nodes["检查项目"].attr('bodypartname'),
- "执行科室": $nodes["检查项目"].find('recognition entry performer assignedentity').text(),
- "执行医生": $nodes["检查项目"].find('recognition entry performer name').text(),
- "执行时间": $nodes["检查项目"].find('recognition entry performer time').text(),
- "临床诊断": $nodes["检查项目"].find('entry clinicdiagnosis').text(),
- "病情描述": $nodes["检查项目"].find('entry patientcondition').text(),
- "影像所见": $nodes["检查项目"].find('entry description').text(),
- "是否异常": function(){
- var state = $nodes["检查项目"].find('entry isabnormal').text().toUpperCase().trim();
- if(state == 'Y' || state == 'TRUE'){ state = '异常'}
- if(state == 'N' || state == 'FALSE'){ state = '正常'}
- return state;
- }()
- }
- }
- }
- function dsXmlToJson0231_1(xmlStr) {
- var $xmlDom = $(xmlStr),
- $nodes = {
- "检查项目": $xmlDom.find('component section')
- }
-
- return {
- data:{
- "医院": $xmlDom.find('org').text(),
- "申请医生": $xmlDom.find('participant name').text(),
- "申请科室": $xmlDom.find('participant dept').text(),
- "报告日期": $xmlDom.find('author time').text(),
- "检查名称": $nodes["检查项目"].attr('examname'),
- "检查部位": $nodes["检查项目"].attr('bodypartname'),
- "执行科室": $nodes["检查项目"].find('recognition entry performer assignedentity').text(),
- "执行医生": $nodes["检查项目"].find('recognition entry performer name').text(),
- "执行时间": $nodes["检查项目"].find('recognition entry performer time').text(),
- "临床诊断": $nodes["检查项目"].find('entry clinicdiagnosis').text(),
- "病情描述": $nodes["检查项目"].find('entry patientcondition').text(),
- "影像所见": $nodes["检查项目"].find('entry description').text(),
- "是否异常": function(){
- var state = $nodes["检查项目"].find('entry isabnormal').text().toUpperCase().trim();
- if(state == 'Y' || state == 'TRUE'){ state = '异常'}
- if(state == 'N' || state == 'FALSE'){ state = '正常'}
- return state;
- }()
- }
- }
- }
- </script>
|