Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

DialysisPrescription.vue 36KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="DetailsTit">
  4. <span>{{ title }}</span>
  5. </h2>
  6. <div class="plate">
  7. <ul>
  8. <li v-if="isShow('透析模式')">
  9. <label>透析模式 : </label>
  10. <span class="content">{{ dialysis_mode }} </span>
  11. </li>
  12. <li v-if="isShow('置换量') && (dialysis_mode == 'HDF' || dialysis_mode == 'HF' || dialysis_mode =='HDF+HP')">
  13. <label>置换量 : </label>
  14. <span class="content">{{
  15. replacement_total != "0" ? replacement_total : ""
  16. }}</span>
  17. <span v-if="this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 40" class="unit">{{ replacement_total != "0" ? "L" : "" }}</span>
  18. <span v-if="this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 40" class="unit">{{ replacement_total != "0" ? "ml" : "" }}</span>
  19. </li>
  20. <li v-if="isShow('置换速度')">
  21. <label>置换速度 : </label>
  22. <span class="content">{{displace_speed }}</span>
  23. <span class="unit">ml/min</span>
  24. </li>
  25. <li v-if="isShow('透析液配方')">
  26. <label>透析液配方 : </label>
  27. <span class="content">{{ dialysate_formulation }}</span>
  28. </li>
  29. <li v-if="isShow('透析液温度')">
  30. <label>透析液温度 : </label>
  31. <span class="content">{{
  32. dialysate_temperature != "0" ? dialysate_temperature : ""
  33. }}</span>
  34. <span class="unit">{{
  35. dialysate_temperature != "0" ? "℃" : ""
  36. }}</span>
  37. </li>
  38. <li v-if="isShow('抗凝剂')">
  39. <label>抗凝剂 : </label>
  40. <span class="content">{{ anticoagulant }}</span>
  41. </li>
  42. <li v-if="isShow('抗凝剂商品名称') && this.$store.getters.xt_user.template_info.template_id != 24">
  43. <label>抗凝剂商品名称 : </label>
  44. <span class="content">{{ antioxidant_commodity_name }}</span>
  45. </li>
  46. <li v-if=" isShow('总量') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
  47. <label>总量: </label>
  48. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
  49. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45">
  50. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
  51. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  52. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 )">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  53. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  54. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  55. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  56. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_zongliang != "0" ? "ml" : "" }}</span>
  57. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  58. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  59. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  60. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  61. </span>
  62. <span v-else>
  63. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  64. <span class="unit" v-else>{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  65. </span>
  66. </li>
  67. <li v-if="isShow('透析器/灌流器')">
  68. <label>透析器/灌流器 : </label>
  69. <span class="content">{{ dialyzer_perfusion_apparatus }}</span>
  70. <span class="unit"></span>
  71. </li>
  72. <li v-if="isShow('透析器')">
  73. <label>透析器 : </label>
  74. <span class="content">{{ dialysis_dialyszers }}</span>
  75. <span class="unit"></span>
  76. </li>
  77. <li v-if="isShow('灌流器')">
  78. <label>灌流器 : </label>
  79. <span class="content">{{ dialysis_irrigation }}</span>
  80. <span class="unit"></span>
  81. </li>
  82. <li v-if="isShow('透析前使用特殊药物')">
  83. <label>透析前使用特殊药物: </label>
  84. <span class="content">{{ special_medicine }}</span>
  85. <span class="unit"></span>
  86. </li>
  87. <li v-if="isShow('体液过多其他症状')">
  88. <label>体液过多其他症状 : </label>
  89. <span class="content">{{ body_fluid_other }}</span>
  90. <span class="unit"></span>
  91. </li>
  92. </ul>
  93. <ul>
  94. <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id != 10290">
  95. <label>目标超滤量 : </label>
  96. <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
  97. <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 46 && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555 && this.$store.getters.xt_user.template_info.org_id != 10345 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10395" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
  98. <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10395" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
  99. </li>
  100. <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
  101. <label>目标超滤量 : </label>
  102. <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
  103. <span class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
  104. </li>
  105. <!-- <li v-if="isShow('葡萄糖')">
  106. <label>葡萄糖 : </label>
  107. <span class="content">{{ glucose != "0" ? glucose : "" }}</span>
  108. <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
  109. </li> -->
  110. <li v-if="isShow('钾')">
  111. <label>钾 : </label>
  112. <span class="content">{{ kalium != "0" ? kalium : "" }}</span>
  113. <span class="unit">{{ kalium != "0" ? "mmol/L" : "" }}</span>
  114. </li>
  115. <li v-if="isShow('血流量')">
  116. <label>血流量 : </label>
  117. <span class="content">{{
  118. blood_flow_volume != "0" ? blood_flow_volume : ""
  119. }}</span>
  120. <span class="unit">{{
  121. blood_flow_volume != "0" ? "ml/min" : ""
  122. }}</span>
  123. </li>
  124. <li v-if=" isShow('首剂') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
  125. <label>首剂 : </label>
  126. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
  127. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
  128. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
  129. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  130. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  131. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  132. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  133. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
  134. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  135. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span >
  136. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  137. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  138. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  139. </span>
  140. <span v-else>
  141. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  142. <span class="unit" v-else>{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  143. </span>
  144. </li>
  145. <li v-if="isShow('钙')">
  146. <label>钙: </label>
  147. <span class="content">{{ calcium != "0" ? calcium : "" }}</span>
  148. <span class="unit">{{ calcium != "0" ? "mmol/L" : "" }}</span>
  149. </li>
  150. <li v-if="isShow('体液过多症状')">
  151. <label>体液过多症状 : </label>
  152. <span class="content">{{ body_fluid }}</span>
  153. <span class="unit"></span>
  154. </li>
  155. <li v-if="isShow('透析前使用其他特殊药物')">
  156. <label>透析前使用其他特殊药物: </label>
  157. <span class="content">{{ special_medicine_other }}</span>
  158. <span class="unit"></span>
  159. </li>
  160. <li
  161. v-if="
  162. isShow('钙名称') &&
  163. getValueStr('anticoagulant', 'anticoagulant') == 5
  164. "
  165. >
  166. <label>钙名称: </label>
  167. <span class="content">{{
  168. getValueStr(
  169. "anticoagulant_gaimingcheng",
  170. "anticoagulant_gaimingcheng"
  171. )
  172. }}</span>
  173. </li>
  174. <!-- <li v-if="isShow('血流量')">-->
  175. <!-- <label>血流量 : </label>-->
  176. <!-- <span class="content">{{-->
  177. <!-- blood_flow_volume != "0" ? blood_flow_volume : ""-->
  178. <!-- }}</span>-->
  179. <!-- <span class="unit">{{-->
  180. <!-- blood_flow_volume != "0" ? "ml/min" : ""-->
  181. <!-- }}</span>-->
  182. <!-- </li>-->
  183. </ul>
  184. <ul>
  185. <li v-if="isShow('钠')">
  186. <label>钠 : </label>
  187. <span class="content">{{ sodium != "0" ? sodium : "" }}</span>
  188. <span class="unit">{{ sodium != "0" ? "mmol/L" : "" }}</span>
  189. </li>
  190. <li v-if="isShow('透析时长')">
  191. <label>透析时长 : </label>
  192. <span class="content">{{
  193. dialysis_duration != "0" ? dialysis_duration : ""
  194. }}</span>
  195. </li>
  196. <li v-if="isShow('碳酸氢盐')">
  197. <label>碳酸氢盐 : </label>
  198. <span class="content">{{
  199. bicarbonate != "0" ? bicarbonate : ""
  200. }}</span>
  201. <span class="unit">{{ bicarbonate != "0" ? "mmol/L" : "" }}</span>
  202. </li>
  203. <li v-if="isShow('透析液流量')">
  204. <label>透析液流量 : </label>
  205. <span class="content">{{
  206. dialysate_flow != "0" ? dialysate_flow : ""
  207. }}</span>
  208. <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
  209. </li>
  210. <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
  211. <label>维持 : </label>
  212. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
  213. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
  214. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
  215. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  216. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  217. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  218. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  219. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  220. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_weichi != "0" ? "ml/h" : "" }}</span>
  221. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  222. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  223. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  224. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  225. </span>
  226. <span v-else>
  227. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  228. <span class="unit" v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  229. </span>
  230. </li>
  231. <li
  232. v-if="
  233. isShow('钙剂量') &&
  234. getValueStr('anticoagulant', 'anticoagulant') == 5
  235. "
  236. >
  237. <label>钙剂量: </label>
  238. <span class="content">{{
  239. getValueStr("anticoagulant_gaijiliang", "anticoagulant_gaijiliang")
  240. }}</span>
  241. <span
  242. class="unit"
  243. v-if="getValueStr('anticoagulant', 'anticoagulant') == 5"
  244. >{{ "ml" }}</span
  245. >
  246. </li>
  247. <li v-if="isShow('实际超滤量')">
  248. <label>实际超滤量: </label>
  249. <span class="content">{{
  250. ultrafiltration != "0" ? ultrafiltration : ""
  251. }}</span>
  252. <span class="unit">{{ ultrafiltration != "0" ? "L" : "" }}</span>
  253. </li>
  254. <li v-if="isShow('电导度')">
  255. <label>电导度 : </label>
  256. <span class="content">{{
  257. conductivity != "0" ? conductivity : ""
  258. }}</span>
  259. <span class="unit">{{ conductivity != "0" ? "mS/m" : "" }}</span>
  260. </li>
  261. <li v-if="isShow('置换液') && dialysis_mode == 'HDF'">
  262. <label
  263. v-if="this.$store.getters.xt_user.template_info.template_id != 6"
  264. >置换液:
  265. </label>
  266. <label
  267. v-if="this.$store.getters.xt_user.template_info.template_id == 6"
  268. >置换方式:
  269. </label>
  270. <span class="content">{{
  271. displace_liqui != "0" ? displace_liqui : ""
  272. }}</span>
  273. <span v-if="this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29" class="unit">{{ displace_liqui != "0" ? "L" : "" }}</span>
  274. <span v-if="this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29" class="unit">{{ displace_liqui != "0" ? "ml" : "" }}</span>
  275. </li>
  276. <li v-if="isShow('血管通路')">
  277. <label>血管通路: </label>
  278. <span class="content">{{ blood_access }}</span>
  279. <span class="unit"></span>
  280. </li>
  281. <li v-if="isShow('目标KT/V')">
  282. <label>目标KT/V: </label>
  283. <span class="content">{{ target_ktv != "0" ? target_ktv : "" }}</span>
  284. </li>
  285. <li v-if="isShow('目标KT/V')">
  286. <label>目标KT/V: </label>
  287. <span class="content">{{ target_ktv != "0" ? target_ktv : "" }}</span>
  288. </li>
  289. <li v-if="isShow('抗凝提前停止')">
  290. <label>抗凝提前停止 : </label>
  291. <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour > 0 && this.prescription.anticoagulant_stop_time_min > 0 ">{{this.prescription.anticoagulant_stop_time_hour }}小时{{this.prescription.anticoagulant_stop_time_min }}分钟</span>
  292. <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour > 0 && this.prescription.anticoagulant_stop_time_min == 0 ">{{this.prescription.anticoagulant_stop_time_hour }}小时</span>
  293. <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min > 0 ">{{this.prescription.anticoagulant_stop_time_min }}分钟</span>
  294. <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
  295. <span class="unit"></span>
  296. </li>
  297. <li v-if="isShow('病情')">
  298. <label>病情: </label>
  299. <span class="content">{{getIllness(this.prescription.illness)}}</span>
  300. </li>
  301. <li v-if="isShow('葡萄糖')">
  302. <label>葡萄糖: </label>
  303. <span class="content">{{this.prescription.amylaceum}}</span>
  304. </li>
  305. <li v-if="isShow('单超时长')">
  306. <label>单超时长(h): </label>
  307. <span class="content">{{this.prescription.single_time}}</span>
  308. </li>
  309. <li v-if="isShow('单超脱水')">
  310. <label>单超脱水(L): </label>
  311. <span class="content">{{this.prescription.single_water}}</span>
  312. </li>
  313. <li v-if="isShow('置换流量')">
  314. <label>置换流量(L/h): </label>
  315. <span class="content">{{this.prescription.replacement_flow}}</span>
  316. </li>
  317. <li v-if="isShow('血浆分离器')">
  318. <label>血浆分离器: </label>
  319. <span class="content">{{this.prescription.plasma_separator}}</span>
  320. </li>
  321. <li v-if="isShow('胆红素吸附柱')">
  322. <label>胆红素吸附柱: </label>
  323. <span class="content">{{this.prescription.bilirubin_adsorption_column}}</span>
  324. </li>
  325. <li v-if="isShow('吸氧')">
  326. <label>吸氧:</label>
  327. <span class="content">
  328. <span v-if="this.prescription.oxygen_uptake == 1">需</span>
  329. <span v-if="this.prescription.oxygen_uptake == 2">无</span>
  330. </span>
  331. </li>
  332. <li v-if="isShow('吸氧')">
  333. <label>吸氧流量(L/分):</label>
  334. <span class="content">
  335. <span>{{this.prescription.oxygen_flow}}</span>
  336. </span>
  337. </li>
  338. <li v-if="isShow('吸氧')">
  339. <label>吸氧时长(h):</label>
  340. <span class="content">
  341. <span>{{this.prescription.oxygen_time}}</span>
  342. </span>
  343. </li>
  344. <li v-if="isShow('最大超滤率')">
  345. <label>最大超滤率(ml/h):</label>
  346. <span class="content">
  347. <span>{{this.prescription.max_ultrafiltration_rate}}</span>
  348. </span>
  349. </li>
  350. </ul>
  351. </div>
  352. <div style="color:#34495e;margin: 12px 100px 0 100px;">备注: <span style="color:#409eff;">{{ note }}</span></div>
  353. </div>
  354. </template>
  355. <script>
  356. import { getDataConfig } from '@/utils/data'
  357. import store from '@/store'
  358. export default {
  359. name: 'DialysisPrescription',
  360. data() {
  361. return {
  362. title: '透析处方',
  363. perfusion_apparatus_map: {},
  364. dialysateFormulationMap: {},
  365. blood_access_part: [],
  366. blood_access_part_opera: []
  367. }
  368. },
  369. props: {
  370. prescription: {
  371. type: Object
  372. },
  373. solution: {
  374. type: Object
  375. },
  376. device_number_map: {
  377. type: Object
  378. },
  379. preparestock:{
  380. type:Array
  381. }
  382. },
  383. computed: {
  384. note: function () {
  385. // console.log("世界人民呃232323223232323323223",this.prescription)
  386. return this.getValueStr('remark', 'remark')
  387. },
  388. target_ultrafiltration: function() {
  389. var v = this.getValueStr(
  390. 'target_ultrafiltration',
  391. 'target_ultrafiltration'
  392. )
  393. return v.length == 0 ? '0' : v
  394. },
  395. dialysis_mode: function() {
  396. var mode = this.getValueStr('mode_id', 'mode_id')
  397. if (mode.length == 0) {
  398. return ''
  399. }
  400. if (this.$store.getters.treatment_mode[mode] != undefined) {
  401. return this.$store.getters.treatment_mode[mode].name
  402. }
  403. return ''
  404. },
  405. perfusion_apparatus: function() {
  406. var v = this.getValueStr('perfusion_apparatus', 'perfusion_apparatus')
  407. if (v.length == 0) {
  408. return ''
  409. }
  410. if (this.perfusion_apparatus_map[v] != undefined) {
  411. return this.perfusion_apparatus_map[v].name
  412. }
  413. return ''
  414. },
  415. displace_liqui: function() {
  416. var v = this.getValueStr('displace_liqui', 'displace_liqui')
  417. return v.length == 0 ? '0' : v
  418. },
  419. anticoagulant_shouji: function() {
  420. var v = this.getValueStr('anticoagulant_shouji', 'anticoagulant_shouji')
  421. return v.length == 0 ? '0' : v
  422. },
  423. kalium: function() {
  424. var v = this.getValueStr('kalium', 'kalium')
  425. return v.length == 0 ? '0' : v
  426. },
  427. replacement_total: function() {
  428. var v = this.getValueStr('replacement_total', 'replacement_total')
  429. return v.length == 0 ? '0' : v
  430. },
  431. bicarbonate: function() {
  432. var v = this.getValueStr('bicarbonate', 'bicarbonate')
  433. return v.length == 0 ? '0' : v
  434. },
  435. dialysate_flow: function() {
  436. var v = this.getValueStr('dialysate_flow', 'dialysate_flow')
  437. return v.length == 0 ? '0' : v
  438. },
  439. dialysis_duration: function() {
  440. var dialysis_duration_hour = this.getValueStr(
  441. 'dialysis_duration_hour',
  442. 'dialysis_duration_hour'
  443. )
  444. var dialysis_duration_minute = this.getValueStr(
  445. 'dialysis_duration_minute',
  446. 'dialysis_duration_minute'
  447. )
  448. if (
  449. dialysis_duration_hour.length == 0 &&
  450. dialysis_duration_minute.length == 0
  451. ) {
  452. return '0'
  453. } else {
  454. var time =
  455. dialysis_duration_hour + 'h' + dialysis_duration_minute + 'min'
  456. return time.length == 0 ? '0' : time
  457. }
  458. },
  459. blood_flow_volume: function() {
  460. var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
  461. return v.length == 0 ? '0' : v
  462. },
  463. replacement_way: function() {
  464. return this.getValueStr('replacement_way', 'replacement_way')
  465. },
  466. anticoagulant_weichi: function() {
  467. var v = this.getValueStr('anticoagulant_weichi', 'anticoagulant_weichi')
  468. return v.length == 0 ? '0' : v
  469. },
  470. sodium: function() {
  471. var v = this.getValueStr('sodium', 'sodium')
  472. return v.length == 0 ? '0' : v
  473. },
  474. glucose: function() {
  475. var v = this.getValueStr('glucose', 'glucose')
  476. return v.length == 0 ? '0' : v
  477. },
  478. dialysate_temperature: function() {
  479. var v = this.getValueStr(
  480. 'dialysate_temperature',
  481. 'dialysate_temperature'
  482. )
  483. return v.length == 0 ? '0' : v
  484. },
  485. dialyzer: function() {
  486. var v = this.getValueStr('dialyzer', 'hemodialysis_machine')
  487. if (v.length == 0) {
  488. return ''
  489. }
  490. if (this.device_number_map[v] != undefined) {
  491. return this.device_number_map[v].name
  492. }
  493. return ''
  494. },
  495. dialysate_formulation: function() {
  496. var v = this.getValueStr(
  497. 'dialysate_formulation',
  498. 'dialysate_formulation'
  499. )
  500. if (v.length == 0) {
  501. return ''
  502. }
  503. if (v in this.dialysateFormulationMap) {
  504. return this.dialysateFormulationMap[v].name
  505. }
  506. return ''
  507. },
  508. prescription_dewatering: function() {
  509. var v = this.getValueStr('prescription_dewatering', 'dewater')
  510. return v.length == 0 ? '0' : v
  511. },
  512. anticoagulant: function() {
  513. var v = this.getValueStr('anticoagulant', 'anticoagulant')
  514. if (v.length == 0) {
  515. return ''
  516. }
  517. if (this.$store.getters.anticoagulants_confit[v] != undefined) {
  518. return this.$store.getters.anticoagulants_confit[v].name
  519. }
  520. return ''
  521. },
  522. anticoagulant_zongliang: function() {
  523. var v = this.getValueStr(
  524. 'anticoagulant_zongliang',
  525. 'anticoagulant_zongliang'
  526. )
  527. return v.length == 0 ? '0' : v
  528. },
  529. calcium: function() {
  530. var v = this.getValueStr('calcium', 'calcium')
  531. return v.length == 0 ? '0' : v
  532. },
  533. conductivity: function() {
  534. var v = this.getValueStr('conductivity', 'conductivity')
  535. return v.length == 0 ? '0' : v
  536. },
  537. dialyzer_perfusion_apparatus: function() {
  538. return this.getValueStr(
  539. 'dialyzer_perfusion_apparatus',
  540. 'dialyzer_perfusion_apparatus'
  541. )
  542. },
  543. dialysis_dialyszers:function(){
  544. var str = this.getValueStr('dialysis_dialyszers','dialysis_dialyszers')
  545. console.log("str",str)
  546. var arr = str.split(",")
  547. if (arr.length >0) {
  548. for(let i=0;i<arr.length;i++){
  549. for(let j=0;j<this.preparestock.length;j++){
  550. if(arr[i] == this.preparestock[j].specification_name){
  551. if(this.preparestock[j].commdity_code!=""){
  552. arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
  553. }
  554. }
  555. }
  556. }
  557. }
  558. console.log("arr00000",arr)
  559. var strs = arr.join(',')
  560. console.log("strs",strs)
  561. return strs
  562. },
  563. dialysis_irrigation:function(){
  564. var str = this.getValueStr('dialysis_irrigation','dialysis_irrigation')
  565. console.log("str",str)
  566. var arr = str.split(",")
  567. if (arr.length >0) {
  568. for(let i=0;i<arr.length;i++){
  569. for(let j=0;j<this.preparestock.length;j++){
  570. if(arr[i] == this.preparestock[j].specification_name){
  571. if(this.preparestock[j].commdity_code!=""){
  572. arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
  573. }
  574. }
  575. }
  576. }
  577. }
  578. console.log("arr00000",arr)
  579. var strs = arr.join(',')
  580. console.log("strs",strs)
  581. return strs
  582. // return this.getValueStr('dialysis_irrigation','dialysis_irrigation')
  583. },
  584. body_fluid: function() {
  585. var id = this.getValueStr('body_fluid', 'body_fluid')
  586. if (id == 0) {
  587. return ''
  588. }
  589. var bodyFluidOptions = this.$store.getters.body_fluid
  590. for (let i = 0; i < bodyFluidOptions.length; i++) {
  591. if (bodyFluidOptions[i].id == id) {
  592. return bodyFluidOptions[i].name
  593. }
  594. }
  595. },
  596. special_medicine: function() {
  597. var id = this.getValueStr('special_medicine', 'special_medicine')
  598. if (id == 0) {
  599. return ''
  600. }
  601. var special_medicine = this.$store.getters.special_medicine
  602. for (let i = 0; i < special_medicine.length; i++) {
  603. if (special_medicine[i].id == id) {
  604. return special_medicine[i].name
  605. }
  606. }
  607. },
  608. special_medicine_other: function() {
  609. return this.getValueStr(
  610. 'special_medicine_other',
  611. 'special_medicine_other'
  612. )
  613. },
  614. blood_access: function() {
  615. var id = this.getValueStr('blood_access', 'blood_access')
  616. console.log('id', id)
  617. if (id == 0) {
  618. return ''
  619. }
  620. // var blood_access = this.$store.getters.blood_access_internal_fistula;
  621. var blood_access = getDataConfig('hemodialysis', 'vascular_access_desc')
  622. for (let i = 0; i < blood_access.length; i++) {
  623. if (blood_access[i].id == id) {
  624. return blood_access[i].name
  625. }
  626. }
  627. },
  628. displace_liqui: function() {
  629. var id = this.getValueStr('displace_liqui_part', 'displace_liqui_part')
  630. var displace_liqui_value = this.getValueStr(
  631. 'displace_liqui_value',
  632. 'displace_liqui_value'
  633. )
  634. var displace_liqui_part = ''
  635. var displace_liqui = this.$store.getters.displace_liqui
  636. for (let i = 0; i < displace_liqui.length; i++) {
  637. if (displace_liqui[i].id == id) {
  638. displace_liqui_part = displace_liqui[i].name
  639. }
  640. }
  641. return displace_liqui_part + displace_liqui_value
  642. },
  643. ultrafiltration: function() {
  644. var v = this.getValueStr('ultrafiltration', 'ultrafiltration')
  645. return v.length == 0 ? '0' : v
  646. },
  647. body_fluid_other: function() {
  648. return this.getValueStr('body_fluid_other', 'body_fluid_others')
  649. },
  650. target_ktv: function() {
  651. var v = this.getValueStr('target_ktv', 'target_ktv')
  652. return v.length == 0 ? '0' : v
  653. },
  654. antioxidant_commodity_name:function(){
  655. return this.getValueStr('antioxidant_commodity_name','antioxidant_commodity_name')
  656. },
  657. displace_speed:function(){
  658. return this.getValueStr('displace_speed','displace_speed')
  659. },
  660. },
  661. created() {
  662. var perfusion_apparatus = this.$store.getters.perfusion_apparatus
  663. var map = {}
  664. for (let index = 0; index < perfusion_apparatus.length; index++) {
  665. const p = perfusion_apparatus[index]
  666. map[p.id] = p
  667. }
  668. this.perfusion_apparatus_map = map
  669. var dialysateFormulationOptions = getDataConfig(
  670. 'hemodialysis',
  671. 'dialysate_formulation'
  672. )
  673. for (var index in dialysateFormulationOptions) {
  674. this.dialysateFormulationMap[dialysateFormulationOptions[index].id] =
  675. dialysateFormulationOptions[index]
  676. }
  677. },
  678. methods: {
  679. getValueStr(pkey, skey) {
  680. if (
  681. (this.prescription == null || this.prescription.id == '') &&
  682. (this.solution == null || this.solution.id == '')
  683. ) {
  684. return ''
  685. } else if (this.prescription != null && this.prescription.id != '') {
  686. if (this.prescription[pkey] == null || this.prescription[pkey] == undefined) {
  687. return ''
  688. }
  689. return this.prescription[pkey] + ''
  690. } else {
  691. if (this.solution[skey] == null || this.solution[skey] == undefined) {
  692. return ''
  693. }
  694. return this.solution[skey] + ''
  695. }
  696. },
  697. isShow(name) {
  698. var filedList = store.getters.xt_user.fileds
  699. for (let i = 0; i < filedList.length; i++) {
  700. if (
  701. filedList[i].module == 1 &&
  702. filedList[i].filed_name_cn == name &&
  703. filedList[i].is_show == 1
  704. ) {
  705. return true
  706. }
  707. }
  708. return false
  709. },
  710. getIllness(id){
  711. var illnessList = getDataConfig('hemodialysis','illness')
  712. var name = ""
  713. for(let i=0;i<illnessList.length;i++){
  714. if(id == illnessList[i].id){
  715. name = illnessList[i].name
  716. }
  717. }
  718. return name
  719. }
  720. }
  721. }
  722. </script>
  723. <style rel="stylesheet/scss" lang="scss" scoped></style>