0216.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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['记录者'] && data['记录者'].length > 0">
  9. <li><label>记&nbsp;&nbsp;录&nbsp;&nbsp;者:</label><span ms-text="data['记录者']"></span></li>
  10. </ul>
  11. <ul class="os-base-info" ms-if="data['记录时间'] && data['记录时间'].length > 0">
  12. <li><label>记录时间:</label><span ms-text="data['记录时间'] | date('yyyy-MM-dd HH:mm:ss')"></span></li>
  13. </ul>
  14. </li>
  15. </ul>
  16. <ul class="info-list-t">
  17. <li style="padding-left: 10px;">
  18. <h3 class="os-tit-o"><i class="icon i-dia-basis"></i><span class="os-t-o-name">手术具体信息</span></h3>
  19. </li>
  20. <li class="il-t-item" ms-if="data['手术操作名称'] && data['手术操作名称'].length > 0">
  21. <h4 class="os-tit-th">手术操作名称:</h4>
  22. <p ms-text="data['手术操作名称']"></p>
  23. </li>
  24. <li class="il-t-item" ms-if="data['手术时间'] && data['手术时间'].length > 0">
  25. <h4 class="os-tit-t">手术时间:</h4>
  26. <p ms-text="data['手术时间'] | date('yyyy-MM-dd HH:mm:ss')"></p>
  27. </li>
  28. <li class="il-t-item" ms-if="data['手术编码'] && data['手术编码'].length > 0">
  29. <h4 class="os-tit-t">手术编码:</h4>
  30. <p ms-text="data['手术编码']"></p>
  31. </li>
  32. <li class="il-t-item" ms-if="data['术前诊断'] && data['术前诊断'].length > 0">
  33. <h4 class="os-tit-t">术前诊断:</h4>
  34. <p ms-text="data['术前诊断']"></p>
  35. </li>
  36. <li class="il-t-item" ms-if="data['诊断ICD10'] && data['诊断ICD10'].length > 0">
  37. <h4 class="os-tit-t">诊断ICD10:</h4>
  38. <p ms-text="data['诊断ICD10']"></p>
  39. </li>
  40. <li class="il-t-item" ms-if="data['术中诊断'] && data['术中诊断'].length > 0">
  41. <h4 class="os-tit-t">术中诊断:</h4>
  42. <p ms-text="data['术中诊断']"></p>
  43. </li>
  44. <li class="il-t-item" ms-if="data['麻醉方法'] && data['麻醉方法'].length > 0">
  45. <h4 class="os-tit-t">麻醉方法:</h4>
  46. <p ms-text="data['麻醉方法']"></p>
  47. </li>
  48. <li class="il-t-item" ms-if="data['手术经过'] && data['手术经过'].length > 0">
  49. <h4 class="os-tit-t">手术经过:</h4>
  50. <p ms-text="data['手术经过']"></p>
  51. </li>
  52. </ul>
  53. <ul class="info-list">
  54. <li class="il-item">
  55. <h3 class="os-tit-o"><i class="icon i-doc-info"></i><span class="os-t-o-name">手术人员</span></h3>
  56. <ul class="os-base-info" ms-if="(data['手术医师'] || data['麻醉医师']) && (data['手术医师'].length > 0 || data['麻醉医师'].length > 0)">
  57. <li><label>手术医师:</label><span ms-text="data['手术医师']"></span></li>
  58. <li><label>麻醉医师:</label><span ms-text="data['麻醉医师']"></span></li>
  59. </ul>
  60. <ul class="os-base-info" ms-if="(data['Ⅰ助'] || data['Ⅱ助']) && (data['Ⅰ助'].length > 0 || data['Ⅱ助'].length > 0)">
  61. <li><label>Ⅰ助:</label><span ms-text="data['Ⅰ助']"></span></li>
  62. <li><label>Ⅱ助:</label><span ms-text="data['Ⅱ助']"></span></li>
  63. </ul>
  64. </li>
  65. </ul>
  66. <p class="p-bottom">详情内容以医院出具纸质病例为准</p>
  67. </div>
  68. <script>
  69. function dsXmlToJson0216_2(xmlStr) {
  70. var $xmlDom = $(xmlStr),
  71. $nodes = {
  72. } ;
  73. var resultData = [];
  74. return {
  75. data:{
  76. "记录者": $xmlDom.find('author name').text(),
  77. "记录时间": $xmlDom.find('author time').text(),
  78. "手术医师": $xmlDom.find('surgeon name').text(),
  79. "Ⅰ助": $xmlDom.find('assistant1 name').text(),
  80. "Ⅱ助": $xmlDom.find('assistant2 name').text(),
  81. "麻醉医师": $xmlDom.find('anesthesiologist name').text(),
  82. "手术操作名称": $xmlDom.find('component section entry operation').text(),
  83. "手术时间": $xmlDom.find('component section entry time').text(),
  84. "手术编码": $xmlDom.find('component section entry operation').attr('code'),
  85. "术前诊断": $xmlDom.find('component section entry preDiagnosis').text(),
  86. "诊断ICD10": $xmlDom.find('component section entry preDiagnosis').attr('code'),
  87. "术中诊断": $xmlDom.find('component section entry midDiagnosis').text(),
  88. "诊断ICD10": $xmlDom.find('component section entry midDiagnosis').attr('code'),
  89. "麻醉方法": $xmlDom.find('component section entry anesthesia').text(),
  90. "手术经过": $xmlDom.find('component section entry operationCourse').text()
  91. }
  92. }
  93. }
  94. function dsXmlToJson0216_1(xmlStr) {
  95. var $xmlDom = $(xmlStr),
  96. $nodes = {
  97. } ;
  98. var resultData = [];
  99. return {
  100. data:{
  101. "记录者": $xmlDom.find('author name').text(),
  102. "记录时间": $xmlDom.find('author time').text(),
  103. "手术医师": $xmlDom.find('surgeon name').text(),
  104. "Ⅰ助": $xmlDom.find('assistant1 name').text(),
  105. "Ⅱ助": $xmlDom.find('assistant2 name').text(),
  106. "麻醉医师": $xmlDom.find('anesthesiologist name').text(),
  107. "手术操作名称": $xmlDom.find('component section entry operation').text(),
  108. "手术时间": $xmlDom.find('component section entry time').text(),
  109. "手术编码": $xmlDom.find('component section entry operation').attr('code'),
  110. "术前诊断": $xmlDom.find('component section entry preDiagnosis').text(),
  111. "诊断ICD10": $xmlDom.find('component section entry preDiagnosis').attr('code'),
  112. "术中诊断": $xmlDom.find('component section entry midDiagnosis').text(),
  113. "诊断ICD10": $xmlDom.find('component section entry midDiagnosis').attr('code'),
  114. "麻醉方法": $xmlDom.find('component section entry anesthesia').text(),
  115. "手术经过": $xmlDom.find('component section entry operationCourse').text()
  116. }
  117. }
  118. }
  119. </script>