0212.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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">
  9. <li><label>入院日期:</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. <ul class="os-base-info" ms-if="data['床号'].length > 0 || data['住院号'].length > 0">
  15. <li ms-if="data['床号'].length > 0"><label>床&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</label><span ms-text="data['床号']"></span></li>
  16. <li ms-if="data['住院号'].length > 0"><label>住&nbsp;&nbsp;院&nbsp;&nbsp;号::</label><span ms-text="data['住院号']"></span></li>
  17. </ul>
  18. <ul class="os-base-info" ms-if="data['科室'].length > 0">
  19. <li><label>科室/医院:</label><span ms-text="data['科室']"></span></li>
  20. </ul>
  21. </li>
  22. </ul>
  23. <ul class="info-list-t">
  24. <li style="padding-left: 10px;">
  25. <h3 class="os-tit-o"><i class="icon i-hos-sum"></i><span class="os-t-o-name">入院详情</span></h3>
  26. </li>
  27. <li class="il-t-item" ms-if="data['主诉'].length > 0">
  28. <h4 class="os-tit-th">主诉:</h4>
  29. <p ms-text="data['主诉']"></p>
  30. </li>
  31. <li class="il-t-item" ms-if="data['入院情况'].length > 0">
  32. <h4 class="os-tit-t">入院情况:</h4>
  33. <p ms-text="data['入院情况']"></p>
  34. </li>
  35. <li class="il-t-item" ms-if="data['入院诊断'].length > 0">
  36. <h4 class="os-tit-t">入院诊断:</h4>
  37. <p ms-text="data['入院诊断']"></p>
  38. </li>
  39. <li class="il-t-item">
  40. <h4 class="os-tit-t">体格检查:</h4>
  41. <p>
  42. <span ms-if="data['体温'].length > 0">体温:<span ms-text="data['体温']"></span>℃、</span>
  43. <span ms-if="data['脉搏'].length > 0">脉搏:<span ms-text="data['脉搏']"></span>次/分、</span>
  44. <span ms-if="data['呼吸'].length > 0">呼吸:<span ms-text="data['呼吸']"></span>次/分</span>
  45. </p>
  46. <p>
  47. <span ms-if="data['体温'].length > 0">心率:<span ms-text="data['体温']"></span>次/分、</span>
  48. <span ms-if="data['血压'].length > 0">血压:<span ms-text="data['血压']"></span>mmhg</span>
  49. </p>
  50. <p ms-if="data['一般状况'].length > 0">
  51. <span>一般状况:<span ms-text="data['一般状况']"></span></span>
  52. </p>
  53. <p ms-if="data['皮肤黏膜'].length > 0">
  54. <span>皮肤黏膜:<span ms-text="data['皮肤黏膜']"></span></span>
  55. </p>
  56. <p ms-if="data['淋巴结'].length > 0">
  57. <span>淋巴结:<span ms-text="data['淋巴结']"></span></span>
  58. </p>
  59. <p ms-if="data['头部'].length > 0">
  60. <span>头部:<span ms-text="data['头部']"></span></span>
  61. </p>
  62. <p ms-if="data['颈部'].length > 0">
  63. <span>颈部:<span ms-text="data['颈部']"></span></span>
  64. </p>
  65. <p ms-if="data['胸部'].length > 0">
  66. <span>胸部:<span ms-text="data['胸部']"></span></span>
  67. </p>
  68. <p ms-if="data['肺'].length > 0">
  69. <span>肺:<span ms-text="data['肺']"></span></span>
  70. </p>
  71. <p ms-if="data['周围血管'].length > 0">
  72. <span>周围血管:<span ms-text="data['周围血管']"></span></span>
  73. </p>
  74. <p ms-if="data['腹部'].length > 0">
  75. <span>腹部:<span ms-text="data['腹部']"></span></span>
  76. </p>
  77. <p ms-if="data['生殖器'].length > 0">
  78. <span>生殖器:<span ms-text="data['生殖器']"></span></span>
  79. </p>
  80. <p ms-if="data['肛门直肠'].length > 0">
  81. <span>肛门直肠:<span ms-text="data['肛门直肠']"></span></span>
  82. </p>
  83. <p ms-if="data['颈椎四肢'].length > 0">
  84. <span>颈椎四肢:<span ms-text="data['颈椎四肢']"></span></span>
  85. </p>
  86. <p ms-if="data['神经系统'].length > 0">
  87. <span>神经系统:<span ms-text="data['神经系统']"></span></span>
  88. </p>
  89. </li>
  90. </ul>
  91. <ul class="info-list-t">
  92. <li style="padding-left: 10px;">
  93. <h3 class="os-tit-o"><i class="icon i-dia-basis"></i><span class="os-t-o-name">患者病史</span></h3>
  94. </li>
  95. <li class="il-t-item" ms-if="data['过敏史'] && data['过敏史'].length > 0">
  96. <h4 class="os-tit-th">过敏史:</h4>
  97. <p ms-text="data['过敏史']"></p>
  98. </li>
  99. <li class="il-t-item" ms-if="data['现病史'] && data['现病史'].length > 0">
  100. <h4 class="os-tit-t">现病史:</h4>
  101. <p ms-text="data['现病史']"></p>
  102. </li>
  103. <li class="il-t-item" ms-if="data['个人史'] && data['个人史'].length > 0">
  104. <h4 class="os-tit-t">个人史:</h4>
  105. <p ms-text="data['个人史']"></p>
  106. </li>
  107. <li class="il-t-item" ms-if="data['既往史'] && data['既往史'].length > 0">
  108. <h4 class="os-tit-t">既往史:</h4>
  109. <p ms-text="data['既往史']"></p>
  110. </li>
  111. <li class="il-t-item" ms-if="data['婚育史'] && data['婚育史'].length > 0">
  112. <h4 class="os-tit-t">婚育史:</h4>
  113. <p ms-text="data['婚育史']"></p>
  114. </li>
  115. <li class="il-t-item" ms-if="data['月经史'] && data['月经史'].length > 0">
  116. <h4 class="os-tit-t">月经史:</h4>
  117. <p ms-text="data['月经史']"></p>
  118. </li>
  119. <li class="il-t-item" ms-if="data['家族史'] && data['家族史'].length > 0">
  120. <h4 class="os-tit-t">家族史:</h4>
  121. <p ms-text="data['家族史']"></p>
  122. </li>
  123. </ul>
  124. <p class="p-bottom">详情内容以医院出具纸质病例为准</p>
  125. </div>
  126. <script>
  127. function dsXmlToJson0212_2(xmlStr) {
  128. var $xmlDom = $(xmlStr),
  129. $nodes = {
  130. } ;
  131. var resultData = [];
  132. return {
  133. data:{
  134. "科室": $xmlDom.find('component section entry inDept').text(),
  135. "床号": $xmlDom.find('component section entry bed').text(),
  136. "住院号": "",
  137. "姓名": $xmlDom.find('recordTarget patient name').text(),
  138. "性别": $xmlDom.find('recordTarget patient sex').text(),
  139. "出生日期": $xmlDom.find('recordTarget patient birthDate').text(),
  140. "婚姻": $xmlDom.find('recordTarget marriage').text(),
  141. "民族": $xmlDom.find('recordTarget nation').text(),
  142. "职业": $xmlDom.find('recordTarget patient work ').text(),
  143. "入院时间": $xmlDom.find('component section entry inTime').attr('value'),
  144. "出院时间": $xmlDom.find('component section entry outTime').attr('value'),
  145. "主诉": $xmlDom.find('component section entry cc').text(),
  146. "入院情况": $xmlDom.find('component section entry inCondition').text(),
  147. "入院诊断": $xmlDom.find('component section entry inDiagnosis').text(),
  148. "既往史": $xmlDom.find('component section entry diseaseHistory').text(),
  149. "个人史": $xmlDom.find('component section entry personalHistory').text(),
  150. "婚育史": $xmlDom.find('component section entry marriageHistory').text(),
  151. "月经史": $xmlDom.find('component section entry mensesHistory').text(),
  152. "家族史": $xmlDom.find('component section entry familyHistory').text(),
  153. "体温": $xmlDom.find('component section entry physicalExam temperature').text(),
  154. "脉搏": $xmlDom.find('component section entry physicalExam pulse').text(),
  155. "呼吸": $xmlDom.find('component section entry physicalExam respiration').text(),
  156. "血压": $xmlDom.find('component section entry physicalExam diastolicPressure').text()+'--'+$xmlDom.find('component section entry physicalExam systolicPressure').text(),
  157. "一般状况": $xmlDom.find('component section entry physicalExam status').text(),
  158. "皮肤黏膜": $xmlDom.find('component section entry physicalExam skin').text(),
  159. "淋巴结": $xmlDom.find('component section entry physicalExam lymph').text(),
  160. "头部": $xmlDom.find('component section entry physicalExam head').text(),
  161. "颈部": $xmlDom.find('component section entry physicalExam neck').text(),
  162. "胸部": $xmlDom.find('component section entry physicalExam chest').text(),
  163. "肺": $xmlDom.find('component section entry physicalExam lung').text(),
  164. "心": $xmlDom.find('component section entry physicalExam heart').text(),
  165. "周围血管": $xmlDom.find('component section entry physicalExam peripheralVessels').text(),
  166. "腹部": $xmlDom.find('component section entry physicalExam abdomen').text(),
  167. "生殖器": $xmlDom.find('component section entry physicalExam genitalia').text(),
  168. "肛门直肠": $xmlDom.find('component section entry physicalExam anus').text(),
  169. "颈椎四肢": $xmlDom.find('component section entry physicalExam acantha').text(),
  170. "神经系统": $xmlDom.find('component section entry physicalExam neural').text()
  171. }
  172. }
  173. }
  174. function dsXmlToJson0212_1(xmlStr) {
  175. var $xmlDom = $(xmlStr),
  176. $nodes = {
  177. } ;
  178. var resultData = [];
  179. return {
  180. data:{
  181. "科室": $xmlDom.find('component section entry inDept').text(),
  182. "床号": $xmlDom.find('component section entry bed').text(),
  183. "住院号": "",
  184. "姓名": $xmlDom.find('recordTarget patient name').text(),
  185. "性别": $xmlDom.find('recordTarget patient sex').text(),
  186. "出生日期": $xmlDom.find('recordTarget patient birthDate').text(),
  187. "婚姻": $xmlDom.find('recordTarget marriage').text(),
  188. "民族": $xmlDom.find('recordTarget nation').text(),
  189. "职业": $xmlDom.find('recordTarget patient work ').text(),
  190. "入院时间": $xmlDom.find('component section entry inTime').attr('value'),
  191. "出院时间": $xmlDom.find('component section entry outTime').attr('value'),
  192. "主诉": $xmlDom.find('component section entry cc').text(),
  193. "入院情况": $xmlDom.find('component section entry inCondition').text(),
  194. "入院诊断": $xmlDom.find('component section entry inDiagnosis').text(),
  195. "既往史": $xmlDom.find('component section entry diseaseHistory').text(),
  196. "个人史": $xmlDom.find('component section entry personalHistory').text(),
  197. "婚育史": $xmlDom.find('component section entry marriageHistory').text(),
  198. "月经史": $xmlDom.find('component section entry mensesHistory').text(),
  199. "家族史": $xmlDom.find('component section entry familyHistory').text(),
  200. "体温": $xmlDom.find('component section entry physicalExam temperature').text(),
  201. "脉搏": $xmlDom.find('component section entry physicalExam pulse').text(),
  202. "呼吸": $xmlDom.find('component section entry physicalExam respiration').text(),
  203. "血压": $xmlDom.find('component section entry physicalExam diastolicPressure').text()+'--'+$xmlDom.find('component section entry physicalExam systolicPressure').text(),
  204. "一般状况": $xmlDom.find('component section entry physicalExam status').text(),
  205. "皮肤黏膜": $xmlDom.find('component section entry physicalExam skin').text(),
  206. "淋巴结": $xmlDom.find('component section entry physicalExam lymph').text(),
  207. "头部": $xmlDom.find('component section entry physicalExam head').text(),
  208. "颈部": $xmlDom.find('component section entry physicalExam neck').text(),
  209. "胸部": $xmlDom.find('component section entry physicalExam chest').text(),
  210. "肺": $xmlDom.find('component section entry physicalExam lung').text(),
  211. "心": $xmlDom.find('component section entry physicalExam heart').text(),
  212. "周围血管": $xmlDom.find('component section entry physicalExam peripheralVessels').text(),
  213. "腹部": $xmlDom.find('component section entry physicalExam abdomen').text(),
  214. "生殖器": $xmlDom.find('component section entry physicalExam genitalia').text(),
  215. "肛门直肠": $xmlDom.find('component section entry physicalExam anus').text(),
  216. "颈椎四肢": $xmlDom.find('component section entry physicalExam acantha').text(),
  217. "神经系统": $xmlDom.find('component section entry physicalExam neural').text()
  218. }
  219. }
  220. }
  221. </script>