0213.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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['姓名'].length > 0 || data['性别'].length > 0">
  9. <li ms-if="data['姓名'].length > 0"><label>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:</label><span ms-text="data['姓名']"></span></li>
  10. <li ms-if="data['性别'].length > 0"><label>性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别:</label><span ms-text="data['性别']"></span></li>
  11. </ul>
  12. <ul class="os-base-info" ms-if="data['民族'].length > 0 || data['婚姻'].length > 0">
  13. <li ms-if="data['民族'].length > 0"><label>民&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;族:</label><span ms-text="data['民族']"></span></li>
  14. <li ms-if="data['婚姻'].length > 0"><label>婚姻状况:</label><span ms-text="data['婚姻']"></span></li>
  15. </ul>
  16. <ul class="os-base-info" ms-if="data['入院时间'].length > 0">
  17. <li><label>入院日期:</label><span ms-text="data['入院时间'] | date('yyyy-MM-dd')"></span></li>
  18. </ul>
  19. <ul class="os-base-info" ms-if="data['入院时间'].length > 0">
  20. <li><label>出院日期:</label><span ms-text="data['出院时间'] | date('yyyy-MM-dd')"></span></li>
  21. </ul>
  22. <ul class="os-base-info" ms-if="data['住院天数'].length > 0">
  23. <li><label>住院天数:</label><span ms-text="data['住院天数']"></span></li>
  24. </ul>
  25. <ul class="os-base-info" ms-if="data['床号'].length > 0 || data['住院号'].length > 0">
  26. <li ms-if="data['床号'].length > 0"><label>床&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</label><span ms-text="data['床号']"></span></li>
  27. <li ms-if="data['住院号'].length > 0"><label>住&nbsp;&nbsp;院&nbsp;&nbsp;号::</label><span ms-text="data['住院号']"></span></li>
  28. </ul>
  29. <ul class="os-base-info" ms-if="data['科室'].length > 0">
  30. <li><label>科室/医院:</label><span ms-text="data['科室']"></span></li>
  31. </ul>
  32. </li>
  33. </ul>
  34. <ul class="info-list-t">
  35. <li style="padding-left: 10px;">
  36. <h3 class="os-tit-o"><i class="icon i-hos-sum"></i><span class="os-t-o-name">具体内容</span></h3>
  37. </li>
  38. <li class="il-t-item" ms-if="data['入院情况'].length > 0">
  39. <h4 class="os-tit-th">入院情况:</h4>
  40. <p ms-text="data['入院情况']"></p>
  41. </li>
  42. <li class="il-t-item" ms-if="data['入院诊断'].length > 0">
  43. <h4 class="os-tit-t">入院诊断:</h4>
  44. <p ms-text="data['入院诊断']"></p>
  45. </li>
  46. <li class="il-t-item" ms-if="data['出院诊断']">
  47. <h4 class="os-tit-t">出院诊断:</h4>
  48. <p ms-text="data['出院诊断']"></p>
  49. </li>
  50. <li class="il-t-item" ms-if="data['诊疗经过'].length > 0">
  51. <h4 class="os-tit-t">诊疗经过:</h4>
  52. <p ms-text="data['诊疗经过']"></p>
  53. </li>
  54. <li class="il-t-item" ms-if="data['出院情况'].length > 0">
  55. <h4 class="os-tit-t">出院情况:</h4>
  56. <p ms-text="data['出院情况']"></p>
  57. </li>
  58. <li class="il-t-item" ms-if="data['出院医嘱'].length > 0">
  59. <h4 class="os-tit-t">出院医嘱:</h4>
  60. <p ms-text="data['出院医嘱']"></p>
  61. </li>
  62. <li class="il-t-item" ms-if="data['治疗结果'].length > 0">
  63. <h4 class="os-tit-t">治疗结果:</h4>
  64. <p ms-text="data['治疗结果']"></p>
  65. </li>
  66. <li class="il-t-item" ms-if="data['住院医师'].length > 0">
  67. <h4 class="os-tit-t">住院医师:</h4>
  68. <p ms-text="data['住院医师']"></p>
  69. </li>
  70. <li class="il-t-item" ms-if="data['主治医师'].length > 0">
  71. <h4 class="os-tit-t">主治医师:</h4>
  72. <p ms-text="data['主治医师']"></p>
  73. </li>
  74. <li class="il-t-item" ms-if="data['时间'].length > 0">
  75. <h4 class="os-tit-t">时间:</h4>
  76. <p ms-text="data['时间'] | date('yyyy-MM-dd HH:mm:ss')"></p>
  77. </li>
  78. </ul>
  79. <p class="p-bottom">详情内容以医院出具纸质病例为准</p>
  80. </div>
  81. <script>
  82. function dsXmlToJson0213_2(xmlStr) {
  83. var $xmlDom = $(xmlStr),
  84. $nodes = {
  85. } ;
  86. var resultData = [];
  87. return {
  88. data:{
  89. "科室": $xmlDom.find('component section entry inDept').text(),
  90. "床号": $xmlDom.find('component section entry bed').text(),
  91. "住院号": "",
  92. "姓名": $xmlDom.find('recordTarget patient name').text(),
  93. "性别": $xmlDom.find('recordTarget patient sex').text(),
  94. "民族": $xmlDom.find('recordTarget nation').text(),
  95. "婚姻": $xmlDom.find('recordTarget marriage').text(),
  96. "入院时间": $xmlDom.find('component section entry inTime').attr('value'),
  97. "出院时间": $xmlDom.find('component section entry outTime').attr('value'),
  98. "住院天数": $xmlDom.find('component section entry inHospitalDay').text(),
  99. "入院情况": $xmlDom.find('component section entry inCondition').text(),
  100. "入院诊断": $xmlDom.find('component section entry inDiagnosis').text(),
  101. "出院诊断": $xmlDom.find('component section entry outDiagnosis').text(),
  102. "诊疗经过": $xmlDom.find('component section entry remedialCourse').text(),
  103. "出院情况": $xmlDom.find('component section entry outCondition').text(),
  104. "出院医嘱": $xmlDom.find('component section entry outOrder').text(),
  105. "治疗结果": $xmlDom.find('component section entry remedialResult').text(),
  106. "住院医师": $xmlDom.find('residentDoctor name').text(),
  107. "主治医师": $xmlDom.find('inChargeDoctor name').text(),
  108. "时间": $xmlDom.find('inChargeDoctor time').attr('value')
  109. }
  110. }
  111. }
  112. function dsXmlToJson0213_1(xmlStr) {
  113. var $xmlDom = $(xmlStr),
  114. $nodes = {
  115. } ;
  116. var resultData = [];
  117. return {
  118. data:{
  119. "科室": $xmlDom.find('component section entry inDept').text(),
  120. "床号": $xmlDom.find('component section entry bed').text(),
  121. "住院号": "",
  122. "姓名": $xmlDom.find('recordTarget patient name').text(),
  123. "性别": $xmlDom.find('recordTarget patient sex').text(),
  124. "民族": $xmlDom.find('recordTarget nation').text(),
  125. "婚姻": $xmlDom.find('recordTarget marriage').text(),
  126. "入院时间": $xmlDom.find('component section entry inTime').attr('value'),
  127. "出院时间": $xmlDom.find('component section entry outTime').attr('value'),
  128. "住院天数": $xmlDom.find('component section entry inHospitalDay').text(),
  129. "入院情况": $xmlDom.find('component section entry inCondition').text(),
  130. "入院诊断": $xmlDom.find('component section entry inDiagnosis').text(),
  131. "出院诊断": $xmlDom.find('component section entry outDiagnosis').text(),
  132. "诊疗经过": $xmlDom.find('component section entry remedialCourse').text(),
  133. "出院情况": $xmlDom.find('component section entry outCondition').text(),
  134. "出院医嘱": $xmlDom.find('component section entry outOrder').text(),
  135. "治疗结果": $xmlDom.find('component section entry remedialResult').text(),
  136. "住院医师": $xmlDom.find('residentDoctor name').text(),
  137. "主治医师": $xmlDom.find('inChargeDoctor name').text(),
  138. "时间": $xmlDom.find('inChargeDoctor time').attr('value')
  139. }
  140. }
  141. }
  142. </script>