0131.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!--
  2. 检查详情
  3. -->
  4. <div class="os-main">
  5. <ul class="info-list">
  6. <li class="il-item">
  7. <h3 class="os-tit-o"><i class="icon i-ess-info"></i><span class="os-t-o-name">基本信息</span></h3>
  8. <ul class="os-base-info" ms-if="data['检查名称']">
  9. <li><label>检查名称:</label><span ms-text="data['检查名称']"></span></li>
  10. </ul>
  11. <ul class="os-base-info" ms-if="data['检查类型'] || data['检查部位']">
  12. <li ms-if="data['检查类型']"><label>类&#x3000;&#x3000;型:</label><span ms-text="data['检查类型']"></span></li>
  13. <li ms-if="data['检查部位']"><label>部&#x3000;&#x3000;位:</label><span ms-text="data['检查部位']"></span></li>
  14. </ul>
  15. <ul class="os-base-info" ms-if="data['报告日期']">
  16. <li><label>报告时间:</label><span ms-text="data['报告日期']"></span></li>
  17. </ul>
  18. <ul class="os-base-info" ms-if="data['医院']">
  19. <li><label>医&#x3000;&#x3000;院:</label><span ms-text="data['医院']"></span></li>
  20. </ul>
  21. </li>
  22. <li class="il-item">
  23. </li>
  24. </ul>
  25. <ul class="info-list-t">
  26. <h3 class="os-tit-o"><i class="icon i-ins-res"></i><span class="os-t-o-name">检查结果</span></h3>
  27. <li class="il-t-item jiancha-mt">
  28. <h4 class="os-tit-th">临床诊断:</h4>
  29. <p ms-text="data['临床诊断']"></p>
  30. </li>
  31. <li class="il-t-item jiancha-mt" ms-if="data['病情描述']">
  32. <h4 class="os-tit-t">病情描述:</h4>
  33. <p ms-text="data['病情描述']"></p>
  34. </li>
  35. <li class="il-t-item jiancha-mt" ms-if="data['影像所见']">
  36. <h4 class="os-tit-t">影像所见:</h4>
  37. <p ms-text="data['影像所见']"></p>
  38. </li>
  39. <li class="il-t-item jiancha-mt" ms-if="data['是否异常'] || data['影像结论']">
  40. <h4 class="os-tit-t">影像结论:</h4>
  41. <p class="ying-pb">是否异常:<span ms-text="data['是否异常']"></span></p>
  42. <p class="ying-pb" ms-if="data['影像结论']" ms-text="data['影像结论']"></p>
  43. </li>
  44. <!--<li class="il-t-item">
  45. <h4 class="os-tit-t">影像图片:</h4>
  46. <ul class="i-i-list">
  47. <li class="i-i-l-item"><img src="" alt=""></li>
  48. </ul>
  49. </li>-->
  50. </ul>
  51. <ul class="info-list-t">
  52. <h3 class="os-tit-o"><i class="icon i-inspectors"></i><span class="os-t-o-name">检查人员</span></h3>
  53. <li class="il-t-item pl0">
  54. <ul class="os-base-info" ms-if="data['执行时间']">
  55. <li><label>检查时间:</label><span ms-text="data['执行时间']"></span></li>
  56. </ul>
  57. <ul class="os-base-info" ms-if="data['申请科室'] || data['申请医生']">
  58. <li ms-if="data['申请科室']"><label>申请科室:</label><span ms-text="data['申请科室']"></span></li>
  59. <li ms-if="data['申请医生']"><label>申请医生:</label><span ms-text="data['申请医生']"></span></li>
  60. </ul>
  61. <ul class="os-base-info" ms-if="data['执行科室'] || data['执行医生']">
  62. <li ms-if="data['执行科室']"><label>执行科室:</label><span ms-text="data['执行科室']"></span></li>
  63. <li ms-if="data['执行医生']"><label>执行医生:</label><span ms-text="data['执行医生']"></span></li>
  64. </ul>
  65. </li>
  66. </ul>
  67. <p class="p-bottom">详情内容以医院出具纸质病例为准</p>
  68. </div>
  69. <script>
  70. function dsXmlToJson0131_2(xmlStr) {
  71. var $xmlDom = $(xmlStr),
  72. $nodes = {
  73. "检查项目": $xmlDom.find('component section')
  74. }
  75. return {
  76. data:{
  77. "医院": $xmlDom.find('org').text(),
  78. "申请医生": $xmlDom.find('participant name').text(),
  79. "申请科室": $xmlDom.find('participant dept').text(),
  80. "报告日期": $xmlDom.find('author time').text(),
  81. "检查名称": $nodes["检查项目"].attr('examname'),
  82. "检查部位": $nodes["检查项目"].attr('bodypartname'),
  83. "执行科室": $nodes["检查项目"].find('recognition entry performer assignedentity').text(),
  84. "执行医生": $nodes["检查项目"].find('recognition entry performer name').text(),
  85. "执行时间": $nodes["检查项目"].find('recognition entry performer time').text(),
  86. "临床诊断": $nodes["检查项目"].find('entry clinicdiagnosis').text(),
  87. "病情描述": $nodes["检查项目"].find('entry patientcondition').text(),
  88. "影像所见": $nodes["检查项目"].find('entry description').text(),
  89. "是否异常": function(){
  90. var state = $nodes["检查项目"].find('entry isabnormal').text().toUpperCase().trim();
  91. if(state == 'Y' || state == 'TRUE'){ state = '异常'}
  92. if(state == 'N' || state == 'FALSE'){ state = '正常'}
  93. return state;
  94. }()
  95. }
  96. }
  97. }
  98. function dsXmlToJson0131_1(xmlStr) {
  99. var $xmlDom = $(xmlStr),
  100. $nodes = {
  101. "检查项目": $xmlDom.find('component section')
  102. }
  103. return {
  104. data:{
  105. "医院": $xmlDom.find('org').text(),
  106. "申请医生": $xmlDom.find('participant name').text(),
  107. "申请科室": $xmlDom.find('participant dept').text(),
  108. "报告日期": $xmlDom.find('author time').text(),
  109. "检查名称": $nodes["检查项目"].attr('examname'),
  110. "检查部位": $nodes["检查项目"].attr('bodypartname'),
  111. "执行科室": $nodes["检查项目"].find('recognition entry performer assignedentity').text(),
  112. "执行医生": $nodes["检查项目"].find('recognition entry performer name').text(),
  113. "执行时间": $nodes["检查项目"].find('recognition entry performer time').text(),
  114. "临床诊断": $nodes["检查项目"].find('entry clinicdiagnosis').text(),
  115. "病情描述": $nodes["检查项目"].find('entry patientcondition').text(),
  116. "影像所见": $nodes["检查项目"].find('entry description').text(),
  117. "是否异常": function(){
  118. var state = $nodes["检查项目"].find('entry isabnormal').text().toUpperCase().trim();
  119. if(state == 'Y' || state == 'TRUE'){ state = '异常'}
  120. if(state == 'N' || state == 'FALSE'){ state = '正常'}
  121. return state;
  122. }()
  123. }
  124. }
  125. }
  126. </script>