prescription-detail.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>续方详情</title>
  7. <meta name="keywords" content="">
  8. <meta name="description" content="">
  9. <link rel="shortcut icon" href="favicon.ico">
  10. <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  11. <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  12. <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
  13. <link rel="stylesheet" type="text/css" href="js/plugins/artDialog/6.0.5/css/ui-dialog.min.css"/>
  14. <link href="css/animate.min.css" rel="stylesheet">
  15. <link href="css/style.css?v=4.1.0" rel="stylesheet">
  16. <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
  17. <style>
  18. table td { padding-top: 5px; padding-bottom: 5px; }
  19. .ibox-content { padding-left: 0; padding-bottom: 0; }
  20. .ibox { margin-bottom: 0; }
  21. #adjustReason { padding: 0; }
  22. #adjustReason li.active {
  23. background-color: #12b7f5;
  24. color: #fff;
  25. }
  26. #adjustReason li{
  27. cursor: pointer;
  28. }
  29. .wordCount {
  30. position:absolute;
  31. bottom: 5px;
  32. right: 15px;
  33. }
  34. #disagreeAudit, #agreeAudit { display: none; }
  35. .modal-sm{width:40%;}
  36. </style>
  37. </head>
  38. <body class="white-bg plr10">
  39. <div id="main"></div>
  40. <!-- 处方信息含有胰岛素提醒弹窗 -->
  41. <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog">
  42. <div class="modal-dialog modal-sm" role="document">
  43. <div class="modal-content">
  44. <div class="modal-header">
  45. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  46. <span aria-hidden="true">&times;</span>
  47. </button>
  48. <h4 class="modal-title">
  49. 系统提示
  50. </h4>
  51. </div>
  52. <div class="modal-body">
  53. <div style="text-align: left;">
  54. <div style="font-size: 16px;">
  55. 此续方包含“胰岛素”类药品,“胰岛素”类药品需冷链,请确认是否继续开具?
  56. </div>
  57. <div style="color: #f00;font-size: 14px;margin-top: 10px;">
  58. 提示:“胰岛素”类药品建议居民前往社区药房自取
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <script id="detailTmpl" type="text/html">
  66. <div class="ibox">
  67. <div class="mt15">
  68. <p class="c-333 c-f16 mb5">原处方记录</p>
  69. </div>
  70. <div class="ibox-content">
  71. <table class="c-wp100 c-999">
  72. <tr>
  73. <td>开方时间:{{primary.createTime}}</td>
  74. <td>开方医生:{{primary.doctorName}}</td>
  75. </tr>
  76. <tr>
  77. <td>剩余药品可用天数:{{# setRestTime(prescription.minDrugDay,prescription.presCreateTime)}}</td>
  78. <td>医院/科室:{{prescription.hospitalName}} / {{prescription.deptName}}</td>
  79. </tr>
  80. </table>
  81. </div>
  82. </div>
  83. <div class="ibox">
  84. <div class="mt15">
  85. <p class="c-333 c-f16 mb5">居民信息</p>
  86. </div>
  87. <div class="ibox-content">
  88. <table class="c-wp100 c-999">
  89. <tr>
  90. <td>续方居民:{{patient.name}}</td>
  91. <td>医保卡号:{{patient.ssc}}</td>
  92. <td>身份证号:{{patient.idcard | idcardWidthStar}}</td>
  93. </tr>
  94. </table>
  95. </div>
  96. </div>
  97. <div class="ibox mb5">
  98. <div class="mt15">
  99. <p class="c-333 c-f16 mb5">临床诊断</p>
  100. </div>
  101. <div class="ibox-content">
  102. <table class="c-wp100 c-999">
  103. <tr>
  104. <td>诊断结果:<span class="c-333">{{diagnosisNames}}</span></td>
  105. </tr>
  106. </table>
  107. </div>
  108. </div>
  109. <div class="ibox">
  110. <div class="mt15">
  111. <p class="c-333 c-f16 mb5">RP
  112. {{if prescriptionAdjust && prescriptionAdjust.id }}
  113. <span class="fr c-f14 c-12b7f5">已调整</span>
  114. {{/if}}
  115. </p>
  116. </div>
  117. <div class="ibox-content">
  118. <table ble class="c-wp100 c-999">
  119. {{each prescriptionInfo as p i}}
  120. <tr>
  121. <td class="c-333">{{p.drugName}}</td>
  122. <td>用法: <span class="c-333 mr10">{{p.usageName}}</span><span class="c-333 mr10">{{p.physicDose ? '每次'+p.physicDose+p.physicDoseUnitName : ''}}</span><span class="c-333">{{p.drugRateName}}</span></td>
  123. <td>总量:<span class="c-333">{{p.num}}{{p.drugNumUnitName}}</span></td>
  124. <td>规格:<span class="c-333">{{p.drugFormat}}</span></td>
  125. </tr>
  126. {{/each}}
  127. </table>
  128. {{if prescriptionAdjust && prescriptionAdjust.id }}
  129. <p class="c-999 mt10">调整原因:{{prescriptionAdjust.reason || '-'}}</p>
  130. {{/if}}
  131. </div>
  132. </div>
  133. <div class="ibox mb5">
  134. <div class="mt15">
  135. <p class="c-333 c-f16 mb5">续方信息</p>
  136. </div>
  137. <div class="ibox-content">
  138. {{if prescription.status == '31' }}
  139. <table class="c-wp100 c-999">
  140. <tr>
  141. <td>续方状态:<span class="c-333">{{ prescription.status | setStatus}}</span></td>
  142. <td>失败时间:<span class="c-333">{{prescription.prescribeTime || ''}}</span></td>
  143. </tr>
  144. <tr>
  145. <td colspan="2">续方说明:<span class="c-333">{{prescription.reason}}</span></td>
  146. </tr>
  147. <tr>
  148. <td colspan="2">失败原因:<span class="c-333">{{prescription.prescribeReason}}</span></td>
  149. </tr>
  150. </table>
  151. {{else}}
  152. <table class="c-wp100 c-999">
  153. <tr>
  154. <td>续方状态:<span class="c-333">{{ prescription.status | setStatus }}</span></td>
  155. </tr>
  156. <tr>
  157. <td>续方说明:<span class="c-333">{{prescription.reason}}</span></td>
  158. </tr>
  159. </table>
  160. {{/if}}
  161. </div>
  162. </div>
  163. <!--
  164. prescription.status 2、3 为线下调整,应屏蔽,31为开方失败,可以继续审核
  165. -->
  166. {{if isLeader && ((prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10 ) || (prescription.status == 31)) }}
  167. <div id="presctiptionAudit" class="ibox mb5">
  168. <div class="mt15">
  169. <p class="c-333 c-f16 mb5">续方审核</p>
  170. </div>
  171. <div class="ibox-content">
  172. <form class="form-horizontal">
  173. <div class="form-group">
  174. <label class="col-sm-3 control-label c-w100">审核结果:</label>
  175. <div class="col-sm-8 c-w270">
  176. <select id="auditResultSel" class="form-control" name="auditResultSel">
  177. <option>请选择审核结果</option>
  178. <option value="1">审核通过</option>
  179. <option value="2">审核不通过</option>
  180. </select>
  181. </div>
  182. </div>
  183. <div id="agreeAudit">
  184. <div class="form-group">
  185. <label class="col-sm-3 control-label c-w100" >诊查费用:</label>
  186. <div class="col-sm-8 c-w270">
  187. <select id="feeSel" class="form-control" name="feeSel">
  188. <option value="">请按医生级别选择诊查费用</option>
  189. {{each feeRes as fee i}}
  190. <option value="{{fee.registerType}} {{fee.registerFee}}">{{fee.registerTypeName}} {{fee.registerFee?fee.registerFee+'元': '0元'}}</option>
  191. {{/each}}
  192. </select>
  193. </div>
  194. </div>
  195. <div class="form-group">
  196. <label class="col-sm-3 control-label c-w100">开方科室:</label>
  197. <div class="col-sm-8 c-w270">
  198. <select id="deptSel" class="form-control" name="deptSel">
  199. {{if depts.length == 1}}
  200. <option value="{{depts[0].deptCode}}">{{depts[0].deptName}}</option>
  201. {{else}}
  202. <option>请选择你所在的科室</option>
  203. {{each depts as dept i}}
  204. <option value="{{dept.deptCode}}">{{dept.deptName}}</option>
  205. {{/each}}
  206. {{/if}}
  207. </select>
  208. </div>
  209. </div>
  210. <div class="form-group">
  211. <label class="col-sm-3 control-label c-w100" >审方密码:</label>
  212. <div class="col-sm-8" >
  213. {{if isAuthentication}}
  214. <input id="reviewPassword" type="password" placeholder="请输入审方密码" class="form-control" style="width: 240px;">
  215. {{else}}
  216. <div class="pt7 c-f96565">审方密码:您暂未申请CA认证,请先在i健康APP上完成CA认证,认证路径:我的——设置——CA认证</div>
  217. {{/if}}
  218. </div>
  219. </div>
  220. </div>
  221. <div id="disagreeAudit">
  222. <table style="width: 80%">
  223. <tr>
  224. <td class="c-w100 pt10 c-vat">
  225. 不通过原因:
  226. </td>
  227. <td>
  228. <ul id="adjustReason" class="clearfix">
  229. {{each reasonTypes as r i}}
  230. <li data-code="{{r.code}}" class="fl c-b-c12b7f5 c-border c-12b7f5 ptb5 plr20 c-b-r20 mt10 mr10">
  231. {{r.value}}
  232. </li>
  233. {{/each}}
  234. </ul>
  235. <div class="pr">
  236. <textarea id="disagreeReason" class="c-wp100 mt10 c-h100 ptb10 plr10" calcWorld="200"></textarea>
  237. <span class="c-999 wordCount">0/200</span>
  238. </div>
  239. </td>
  240. </tr>
  241. </table>
  242. </div>
  243. </form>
  244. </div>
  245. </div>
  246. {{else if reviewed && reviewed.id}}
  247. <div class="ibox mb5">
  248. <div class="mt15">
  249. <p class="c-333 c-f16 mb5">审核记录</p>
  250. </div>
  251. <div class="ibox-content">
  252. <table class="c-wp100 c-999">
  253. <tr>
  254. <td>申请时间:<span class="c-333">{{reviewed.createTime}}</span></td>
  255. <td>审核医生:<span class="c-333">{{reviewed.doctorName}}</span></td>
  256. </tr>
  257. <tr>
  258. <td>审核机构:<span class="c-333">{{reviewed.hospitalName}}</span></td>
  259. <td>审核时间:<span class="c-333">{{reviewed.reviewedTime}}</span></td>
  260. </tr>
  261. <tr>
  262. <td>审核结果:<span class="c-333">{{# setReview(reviewed.status)}}</span></td>
  263. <td>{{ reviewed.reason ? '原因:<span class="c-333">' + reviewed.reason + '</span>' : ''}}</td>
  264. </tr>
  265. </table>
  266. </div>
  267. </div>
  268. {{/if}}
  269. <div class="c-tac mb20 mt20">
  270. {{if isLeader && ((prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10) || (prescription.status == 31)) }}
  271. <button id="reviewBtn" type="button" class="btn btn-w-m btn-success mlr20">确认</button>
  272. {{/if}}
  273. {{if (prescription.status == 0 || prescription.status == 31)&& prescription.status != 2 && prescription.status != 3 && isLeader }}
  274. <button id="editBtn" type="button" class="btn btn-w-m btn-primary mlr20">调整处方</button>
  275. {{/if}}
  276. <button id="backBtn" type="button" class="btn btn-w-m btn-danger mlr20">返回</button>
  277. </div>
  278. </script>
  279. <script src="js/jquery.min.js?v=2.1.4"></script>
  280. <script src="js/bootstrap.min.js?v=3.3.6"></script>
  281. <script src="js/content.min.js?v=1.0.0"></script>
  282. <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
  283. <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  284. <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  285. <script src="js/plugins/toastr/toastr.min.js"></script>
  286. <script src="js/plugins/pace/pace.min.js"></script>
  287. <script src="js/plugins/artDialog/6.0.5/js/dialog-plus.min.js" type="text/javascript" charset="utf-8"></script>
  288. <script src="js/es6-promise.js"></script>
  289. <script src="js/underscore.js"></script>
  290. <script src="js/api-service.js"></script>
  291. <script src="js/prescription-detail-api.js"></script>
  292. <script src="js/util.js"></script>
  293. <script src="js/template.js"></script>
  294. <script src="js/buz/prescription-detail.js"></script>
  295. </body>
  296. </html>