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

DialysisPrescription.vue 50KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024
  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('置换速度')&& this.$store.getters.xt_user.template_info.org_id!=10375">
  21. <label>置换速度 : </label>
  22. <span class="content">{{displace_speed }}</span>
  23. <span class="unit">L/h</span>
  24. </li>
  25. <li v-if="isShow('置换速度') && this.$store.getters.xt_user.template_info.org_id == 10375">
  26. <label>置换速度 : </label>
  27. <span class="content">{{displace_speed }}</span>
  28. <span class="unit">L/h</span>
  29. </li>
  30. <li v-if="isShow('透析液配方')">
  31. <label>透析液配方 : </label>
  32. <span class="content">{{ dialysate_formulation }}</span>
  33. </li>
  34. <li v-if="isShow('透析液温度')">
  35. <label>透析液温度 : </label>
  36. <span class="content">{{
  37. dialysate_temperature != "0" ? dialysate_temperature : ""
  38. }}</span>
  39. <span class="unit">{{
  40. dialysate_temperature != "0" ? "℃" : ""
  41. }}</span>
  42. </li>
  43. <li v-if="isShow('抗凝剂')">
  44. <label>抗凝剂 : </label>
  45. <span class="content">{{ anticoagulant }}</span>
  46. </li>
  47. <li v-if="isShow('抗凝剂商品名称') && this.$store.getters.xt_user.template_info.template_id != 24">
  48. <label>抗凝剂商品名称 : </label>
  49. <span class="content">{{ antioxidant_commodity_name }}</span>
  50. </li>
  51. <li v-if=" isShow('总量') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
  52. <label>总量: </label>
  53. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
  54. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45">
  55. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
  56. <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 && this.$store.getters.xt_user.template_info.template_id != 65">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  57. <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 || this.$store.getters.xt_user.template_info.template_id== 65)">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  58. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >
  59. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
  60. {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
  61. </span>
  62. <span v-else>
  63. {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
  64. </span>
  65. </span>
  66. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  67. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
  68. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
  69. {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
  70. </span>
  71. <span v-else>
  72. {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
  73. </span>
  74. </span>
  75. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  76. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_zongliang != "0" ? "ml" : "" }}</span>
  77. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">
  78. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
  79. {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
  80. </span>
  81. <span v-else>
  82. {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
  83. </span>
  84. </span>
  85. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">
  86. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
  87. {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
  88. </span>
  89. <span v-else>
  90. {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
  91. </span>
  92. </span>
  93. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  94. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  95. </span>
  96. <span v-else>
  97. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">
  98. {{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
  99. <span class="unit" v-else>{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
  100. </span>
  101. </li>
  102. <li v-if="isShow('透析器/灌流器')">
  103. <label>透析器/灌流器 : </label>
  104. <span class="content">{{ dialyzer_perfusion_apparatus }}</span>
  105. <span class="unit"></span>
  106. </li>
  107. <li v-if="isShow('透析器')">
  108. <label>透析器 : </label>
  109. <span class="content">{{ dialysis_dialyszers }}</span>
  110. <span class="unit"></span>
  111. </li>
  112. <li v-if="isShow('灌流器')">
  113. <label>灌流器 : </label>
  114. <span class="content">{{ dialysis_irrigation }}</span>
  115. <span class="unit"></span>
  116. </li>
  117. <li v-if="isShow('滤过器')">
  118. <label>滤过器 : </label>
  119. <span class="content">{{ dialysis_strainer }}</span>
  120. <span class="unit"></span>
  121. </li>
  122. <li v-if="isShow('透析前使用特殊药物')">
  123. <label>透析前使用特殊药物: </label>
  124. <span class="content">{{ special_medicine }}</span>
  125. <span class="unit"></span>
  126. </li>
  127. <li v-if="isShow('体液过多其他症状')">
  128. <label>体液过多其他症状 : </label>
  129. <span class="content">{{ body_fluid_other }}</span>
  130. <span class="unit"></span>
  131. </li>
  132. </ul>
  133. <ul>
  134. <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id != 10290">
  135. <label>目标超滤量 : </label>
  136. <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
  137. <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 && this.$store.getters.xt_user.template_info.template_id!=60 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 10441 && this.$store.getters.xt_user.template_info.org_id != 10445 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10460" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
  138. <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 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id==10441 || this.$store.getters.xt_user.template_info.org_id==10445 || this.$store.getters.xt_user.template_info.org_id == 9829 || this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471 || this.$store.getters.xt_user.template_info.org_id == 10460" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
  139. </li>
  140. <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
  141. <label>目标超滤量 : </label>
  142. <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
  143. <span class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
  144. </li>
  145. <!-- <li v-if="isShow('葡萄糖')">
  146. <label>葡萄糖 : </label>
  147. <span class="content">{{ glucose != "0" ? glucose : "" }}</span>
  148. <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
  149. </li> -->
  150. <li v-if="isShow('处方脱水量')">
  151. <label>处方脱水量 : </label>
  152. <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
  153. <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
  154. </li>
  155. <li v-if="isShow('钾')">
  156. <label>钾 : </label>
  157. <span class="content">{{ kalium != "0" ? kalium : "" }}</span>
  158. <span class="unit">{{ kalium != "0" ? "mmol/L" : "" }}</span>
  159. </li>
  160. <li v-if="isShow('血流量')">
  161. <label>血流量 : </label>
  162. <span class="content">{{
  163. blood_flow_volume != "0" ? blood_flow_volume : ""
  164. }}</span>
  165. <span class="unit">{{
  166. blood_flow_volume != "0" ? "ml/min" : ""
  167. }}</span>
  168. </li>
  169. <li v-if=" isShow('首剂') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
  170. <label>首剂 : </label>
  171. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
  172. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
  173. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
  174. <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.template_id != 65 && this.$store.getters.xt_user.template_info.template_id!=0">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  175. <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.template_id == 65 || this.$store.getters.xt_user.template_info.template_id == 0)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  176. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
  177. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  178. {{ anticoagulant_shouji != "0" ? "mg" : "" }}
  179. </span>
  180. <span v-else> {{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  181. </span>
  182. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  183. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
  184. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  185. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >
  186. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  187. {{ anticoagulant_shouji != "0" ? "mg" : "" }}
  188. </span>
  189. <span v-else> {{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  190. </span >
  191. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >
  192. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  193. {{ anticoagulant_shouji != "0" ? "mg" : "" }}
  194. </span>
  195. <span v-else> {{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  196. </span>
  197. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  198. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  199. </span>
  200. <span v-else>
  201. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
  202. <span class="unit" v-else>{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
  203. </span>
  204. </li>
  205. <li v-if="isShow('钙')">
  206. <label>钙: </label>
  207. <span class="content">{{ calcium != "0" ? calcium : "" }}</span>
  208. <span class="unit">{{ calcium != "0" ? "mmol/L" : "" }}</span>
  209. </li>
  210. <li v-if="isShow('体液过多症状')">
  211. <label>体液过多症状 : </label>
  212. <span class="content">{{ body_fluid }}</span>
  213. <span class="unit"></span>
  214. </li>
  215. <li v-if="isShow('透析前使用其他特殊药物')">
  216. <label>透析前使用其他特殊药物: </label>
  217. <span class="content">{{ special_medicine_other }}</span>
  218. <span class="unit"></span>
  219. </li>
  220. <li
  221. v-if="
  222. isShow('钙名称') &&
  223. getValueStr('anticoagulant', 'anticoagulant') == 5
  224. "
  225. >
  226. <label>钙名称: </label>
  227. <span class="content">{{
  228. getValueStr(
  229. "anticoagulant_gaimingcheng",
  230. "anticoagulant_gaimingcheng"
  231. )
  232. }}</span>
  233. </li>
  234. <!-- <li v-if="isShow('血流量')">-->
  235. <!-- <label>血流量 : </label>-->
  236. <!-- <span class="content">{{-->
  237. <!-- blood_flow_volume != "0" ? blood_flow_volume : ""-->
  238. <!-- }}</span>-->
  239. <!-- <span class="unit">{{-->
  240. <!-- blood_flow_volume != "0" ? "ml/min" : ""-->
  241. <!-- }}</span>-->
  242. <!-- </li>-->
  243. </ul>
  244. <ul>
  245. <li v-if="isShow('钠')">
  246. <label>钠 : </label>
  247. <span class="content">{{ sodium != "0" ? sodium : "" }}</span>
  248. <span class="unit">{{ sodium != "0" ? "mmol/L" : "" }}</span>
  249. </li>
  250. <li v-if="isShow('透析时长')">
  251. <label>透析时长 : </label>
  252. <span class="content">{{
  253. dialysis_duration != "0" ? dialysis_duration : ""
  254. }}</span>
  255. </li>
  256. <li v-if="isShow('碳酸氢盐')">
  257. <label>碳酸氢盐 : </label>
  258. <span class="content">{{
  259. bicarbonate != "0" ? bicarbonate : ""
  260. }}</span>
  261. <span class="unit">{{ bicarbonate != "0" ? "mmol/L" : "" }}</span>
  262. </li>
  263. <li v-if="isShow('透析液流量')">
  264. <label>透析液流量 : </label>
  265. <span class="content">{{
  266. dialysate_flow != "0" ? dialysate_flow : ""
  267. }}</span>
  268. <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
  269. </li>
  270. <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
  271. <label>维持 : </label>
  272. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
  273. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
  274. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
  275. <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.template_id != 65 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  276. <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.template_id == 65)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  277. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
  278. <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
  279. {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
  280. </span>
  281. <span v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  282. </span>
  283. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  284. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  285. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_weichi != "0" ? "ml/h" : "" }}</span>
  286. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">
  287. <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
  288. {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
  289. </span>
  290. <span v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  291. </span>
  292. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">
  293. <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
  294. {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
  295. </span>
  296. <span v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  297. </span>
  298. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  299. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  300. </span>
  301. <span v-else>
  302. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
  303. <span class="unit" v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
  304. </span>
  305. </li>
  306. <li
  307. v-if="
  308. isShow('钙剂量') &&
  309. getValueStr('anticoagulant', 'anticoagulant') == 5
  310. "
  311. >
  312. <label>钙剂量: </label>
  313. <span class="content">{{
  314. getValueStr("anticoagulant_gaijiliang", "anticoagulant_gaijiliang")
  315. }}</span>
  316. <span
  317. class="unit"
  318. v-if="getValueStr('anticoagulant', 'anticoagulant') == 5"
  319. >{{ "ml" }}</span
  320. >
  321. </li>
  322. <li v-if="isShow('实际超滤量')">
  323. <label>实际超滤量: </label>
  324. <span class="content">{{
  325. ultrafiltration != "0" ? ultrafiltration : ""
  326. }}</span>
  327. <span class="unit">{{ ultrafiltration != "0" ? "L" : "" }}</span>
  328. </li>
  329. <li v-if="isShow('电导度')">
  330. <label>电导度 : </label>
  331. <span class="content">{{
  332. conductivity != "0" ? conductivity : ""
  333. }}</span>
  334. <span class="unit">{{ conductivity != "0" ? "mS/m" : "" }}</span>
  335. </li>
  336. <li v-if="isShow('置换液') && dialysis_mode == 'HDF'">
  337. <label
  338. v-if="this.$store.getters.xt_user.template_info.template_id != 6"
  339. >置换液:
  340. </label>
  341. <label
  342. v-if="this.$store.getters.xt_user.template_info.template_id == 6"
  343. >置换方式:
  344. </label>
  345. <span class="content">{{
  346. displace_liqui != "0" ? displace_liqui : ""
  347. }}</span>
  348. <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>
  349. <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>
  350. </li>
  351. <li v-if="isShow('血管通路')">
  352. <label>血管通路: </label>
  353. <span class="content">{{ blood_access }}</span>
  354. <span class="unit"></span>
  355. </li>
  356. <li v-if="isShow('目标KT/V')">
  357. <label>目标KT/V: </label>
  358. <span class="content">{{ target_ktv != "0" ? target_ktv : "" }}</span>
  359. </li>
  360. <li v-if="isShow('目标KT/V')">
  361. <label>目标KT/V: </label>
  362. <span class="content">{{ target_ktv != "0" ? target_ktv : "" }}</span>
  363. </li>
  364. <li v-if="isShow('抗凝提前停止')">
  365. <label>抗凝提前停止 : </label>
  366. <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>
  367. <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>
  368. <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>
  369. <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
  370. <span class="unit"></span>
  371. </li>
  372. <li v-if="isShow('病情')">
  373. <label>病情: </label>
  374. <span class="content">{{getIllness(this.prescription.illness)}}</span>
  375. </li>
  376. <li v-if="isShow('葡萄糖')">
  377. <label>葡萄糖: </label>
  378. <span class="content">{{this.prescription.amylaceum}}</span>
  379. </li>
  380. <li v-if="isShow('单超时长')">
  381. <label>单超时长(h): </label>
  382. <span class="content">{{this.prescription.single_time}}</span>
  383. </li>
  384. <li v-if="isShow('单超脱水')">
  385. <label>单超脱水(ml): </label>
  386. <span class="content">{{this.prescription.single_water}}</span>
  387. </li>
  388. <li v-if="isShow('置换流量') && this.$store.getters.xt_user.template_info.org_id!=10340">
  389. <label>置换流量(L/h): </label>
  390. <span class="content">{{this.prescription.replacement_flow}}</span>
  391. </li>
  392. <li v-if="isShow('置换流量') && this.$store.getters.xt_user.template_info.org_id==10340">
  393. <label>置换流量(ml/min): </label>
  394. <span class="content">{{this.prescription.replacement_flow}}</span>
  395. </li>
  396. <li v-if="isShow('血浆分离器')">
  397. <label>血浆分离器: </label>
  398. <span class="content">{{this.prescription.plasma_separator}}</span>
  399. </li>
  400. <li v-if="isShow('胆红素吸附柱')">
  401. <label>胆红素吸附柱: </label>
  402. <span class="content">{{this.prescription.bilirubin_adsorption_column}}</span>
  403. </li>
  404. <li v-if="isShow('吸氧')">
  405. <label>吸氧:</label>
  406. <span class="content">
  407. <span v-if="this.prescription.oxygen_uptake == 1">需</span>
  408. <span v-if="this.prescription.oxygen_uptake == 2">无</span>
  409. </span>
  410. </li>
  411. <li v-if="isShow('吸氧')">
  412. <label>吸氧流量(L/分):</label>
  413. <span class="content">
  414. <span>{{this.prescription.oxygen_flow}}</span>
  415. </span>
  416. </li>
  417. <li v-if="isShow('吸氧')">
  418. <label>吸氧时长(h):</label>
  419. <span class="content">
  420. <span>{{this.prescription.oxygen_time}}</span>
  421. </span>
  422. </li>
  423. <li v-if="isShow('最大超滤率')">
  424. <label>最大超滤率(ml/h):</label>
  425. <span class="content">
  426. <span>{{this.prescription.max_ultrafiltration_rate}}</span>
  427. </span>
  428. </li>
  429. <li v-if="isShow('曲线脱水')">
  430. <label>曲线脱水(ml): </label>
  431. <span class="content">{{this.prescription.drhy_water}}</span>
  432. </li>
  433. <li v-if="isShow('带水上机')">
  434. <label>带水上机: </label>
  435. <span class="content">{{this.prescription.water_machine}}</span>
  436. </li>
  437. <li v-if=" isShow('追加肝素量')" >
  438. <label>追加肝素量 : </label>
  439. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ add_amount != "0" ? add_amount : "" }}</span>
  440. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
  441. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
  442. <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 ">{{ add_amount != "0" ? "iu" : "" }}</span>
  443. <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)" >{{ add_amount != "0" ? "mg" : "" }}</span>
  444. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
  445. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  446. {{ add_amount != "0" ? "mg" : "" }}
  447. </span>
  448. <span v-else> {{ add_amount != "0" ? "iu" : "" }}</span>
  449. </span>
  450. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ add_amount != "0" ? "mg" : "" }}</span>
  451. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ add_amount != "0" ? "mg" : "" }}</span >
  452. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ add_amount != "0" ? "mg" : "" }}</span>
  453. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >
  454. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  455. {{ add_amount != "0" ? "mg" : "" }}
  456. </span>
  457. <span v-else> {{ add_amount != "0" ? "iu" : "" }}</span>
  458. </span >
  459. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >
  460. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  461. {{ add_amount != "0" ? "mg" : "" }}
  462. </span>
  463. <span v-else> {{ add_amount != "0" ? "iu" : "" }}</span>
  464. </span>
  465. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ add_amount != "0" ? "iu" : "" }}</span>
  466. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ add_amount != "0" ? "iu" : "" }}</span>
  467. </span>
  468. <span v-else>
  469. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ add_amount != "0" ? "mg" : "" }}</span>
  470. <span class="unit" v-else>{{ add_amount != "0" ? "iu" : "" }}</span>
  471. </span>
  472. </li>
  473. <li v-if=" isShow('减肝素量')" >
  474. <label>减肝素量 : </label>
  475. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ reduce_amount != "0" ? reduce_amount : "" }}</span>
  476. <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
  477. <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
  478. <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 ">{{ reduce_amount != "0" ? "iu" : "" }}</span>
  479. <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)" >{{ reduce_amount != "0" ? "mg" : "" }}</span>
  480. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
  481. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  482. {{ reduce_amount != "0" ? "mg" : "" }}
  483. </span>
  484. <span v-else> {{ reduce_amount != "0" ? "iu" : "" }}</span>
  485. </span>
  486. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ reduce_amount != "0" ? "mg" : "" }}</span>
  487. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ reduce_amount != "0" ? "mg" : "" }}</span >
  488. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ reduce_amount != "0" ? "mg" : "" }}</span>
  489. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >
  490. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  491. {{ reduce_amount != "0" ? "mg" : "" }}
  492. </span>
  493. <span v-else> {{ reduce_amount != "0" ? "iu" : "" }}</span>
  494. </span >
  495. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >
  496. <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
  497. {{ reduce_amount != "0" ? "mg" : "" }}
  498. </span>
  499. <span v-else> {{ reduce_amount != "0" ? "iu" : "" }}</span>
  500. </span>
  501. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ reduce_amount != "0" ? "iu" : "" }}</span>
  502. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ reduce_amount != "0" ? "iu" : "" }}</span>
  503. </span>
  504. <span v-else>
  505. <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ reduce_amount != "0" ? "mg" : "" }}</span>
  506. <span class="unit" v-else>{{ reduce_amount != "0" ? "iu" : "" }}</span>
  507. </span>
  508. </li>
  509. <li v-if="isShow('开药数量')">
  510. <label>开药数量(支): </label>
  511. <span class="content">{{this.prescription.prescribing_number}}</span>
  512. </li>
  513. <li v-if="isShow('处方钠')">
  514. <label>处方钠: </label>
  515. <span class="content">{{this.prescription.prescription_sodium}}</span>
  516. </li>
  517. <li v-if="isShow('开始钠')">
  518. <label>开始钠: </label>
  519. <span class="content">{{this.prescription.start_sodium}}</span>
  520. </li>
  521. <li v-if="isShow('钠曲线')">
  522. <label>钠曲线: </label>
  523. <span class="content">{{this.prescription.sodium_curve}}</span>
  524. </li>
  525. <li v-if="isShow('开始钠')">
  526. <label>开始钠: </label>
  527. <span class="content">{{this.prescription.start_sodium}}</span>
  528. </li>
  529. <li v-if="isShow('透析液流速')">
  530. <label>透析液流速(ml/h): </label>
  531. <span class="content">{{this.prescription.dialysis_fluid_flow}}</span>
  532. </li>
  533. <li v-if="isShow('碳酸氢钠流速')">
  534. <label>碳酸氢钠流速(ml/h): </label>
  535. <span class="content">{{this.prescription.sodium_bicarbonate_flow}}</span>
  536. </li>
  537. <li v-if="isShow('病情处理')">
  538. <label>病情处理: </label>
  539. <span class="content">{{this.prescription.treatment_remark}}</span>
  540. </li>
  541. <li v-if="isShow('加糖')">
  542. <label>加糖: </label>
  543. <span class="content">{{this.prescription.chaptalization}}</span>
  544. </li>
  545. </ul>
  546. </div>
  547. <div style="color:#34495e;margin: 12px 100px 0 100px;" v-if="isShow('透析备注')">透析备注: <span style="color:#409eff;">{{this.prescription.dialysis_remark}}</span></div>
  548. <div style="color:#34495e;margin: 12px 100px 0 100px;">备注: <span style="color:#409eff;">{{ note }}</span></div>
  549. </div>
  550. </template>
  551. <script>
  552. import { getDataConfig } from '@/utils/data'
  553. import store from '@/store'
  554. export default {
  555. name: 'DialysisPrescription',
  556. data() {
  557. return {
  558. title: '透析处方',
  559. perfusion_apparatus_map: {},
  560. dialysateFormulationMap: {},
  561. blood_access_part: [],
  562. blood_access_part_opera: []
  563. }
  564. },
  565. props: {
  566. prescription: {
  567. type: Object
  568. },
  569. solution: {
  570. type: Object
  571. },
  572. device_number_map: {
  573. type: Object
  574. },
  575. preparestock:{
  576. type:Array
  577. }
  578. },
  579. computed: {
  580. note: function () {
  581. // console.log("世界人民呃232323223232323323223",this.prescription)
  582. return this.getValueStr('remark', 'remark')
  583. },
  584. target_ultrafiltration: function() {
  585. var v = this.getValueStr(
  586. 'target_ultrafiltration',
  587. 'target_ultrafiltration'
  588. )
  589. return v.length == 0 ? '0' : v
  590. },
  591. dialysis_mode: function() {
  592. var mode = this.getValueStr('mode_id', 'mode_id')
  593. if (mode.length == 0) {
  594. return ''
  595. }
  596. if (this.$store.getters.treatment_mode[mode] != undefined) {
  597. return this.$store.getters.treatment_mode[mode].name
  598. }
  599. return ''
  600. },
  601. perfusion_apparatus: function() {
  602. var v = this.getValueStr('perfusion_apparatus', 'perfusion_apparatus')
  603. if (v.length == 0) {
  604. return ''
  605. }
  606. if (this.perfusion_apparatus_map[v] != undefined) {
  607. return this.perfusion_apparatus_map[v].name
  608. }
  609. return ''
  610. },
  611. displace_liqui: function() {
  612. var v = this.getValueStr('displace_liqui', 'displace_liqui')
  613. return v.length == 0 ? '0' : v
  614. },
  615. anticoagulant_shouji: function() {
  616. var v = this.getValueStr('anticoagulant_shouji', 'anticoagulant_shouji')
  617. return v.length == 0 ? '0' : v
  618. },
  619. kalium: function() {
  620. var v = this.getValueStr('kalium', 'kalium')
  621. return v.length == 0 ? '0' : v
  622. },
  623. replacement_total: function() {
  624. var v = this.getValueStr('replacement_total', 'replacement_total')
  625. return v.length == 0 ? '0' : v
  626. },
  627. bicarbonate: function() {
  628. var v = this.getValueStr('bicarbonate', 'bicarbonate')
  629. return v.length == 0 ? '0' : v
  630. },
  631. dialysate_flow: function() {
  632. var v = this.getValueStr('dialysate_flow', 'dialysate_flow')
  633. return v.length == 0 ? '0' : v
  634. },
  635. dialysis_duration: function() {
  636. var dialysis_duration_hour = this.getValueStr(
  637. 'dialysis_duration_hour',
  638. 'dialysis_duration_hour'
  639. )
  640. var dialysis_duration_minute = this.getValueStr(
  641. 'dialysis_duration_minute',
  642. 'dialysis_duration_minute'
  643. )
  644. if (
  645. dialysis_duration_hour.length == 0 &&
  646. dialysis_duration_minute.length == 0
  647. ) {
  648. return '0'
  649. } else {
  650. var time =
  651. dialysis_duration_hour + 'h' + dialysis_duration_minute + 'min'
  652. return time.length == 0 ? '0' : time
  653. }
  654. },
  655. blood_flow_volume: function() {
  656. var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
  657. return v.length == 0 ? '0' : v
  658. },
  659. replacement_way: function() {
  660. return this.getValueStr('replacement_way', 'replacement_way')
  661. },
  662. anticoagulant_weichi: function() {
  663. var v = this.getValueStr('anticoagulant_weichi', 'anticoagulant_weichi')
  664. return v.length == 0 ? '0' : v
  665. },
  666. sodium: function() {
  667. var v = this.getValueStr('sodium', 'sodium')
  668. return v.length == 0 ? '0' : v
  669. },
  670. glucose: function() {
  671. var v = this.getValueStr('glucose', 'glucose')
  672. return v.length == 0 ? '0' : v
  673. },
  674. dialysate_temperature: function() {
  675. var v = this.getValueStr(
  676. 'dialysate_temperature',
  677. 'dialysate_temperature'
  678. )
  679. return v.length == 0 ? '0' : v
  680. },
  681. dialyzer: function() {
  682. var v = this.getValueStr('dialyzer', 'hemodialysis_machine')
  683. if (v.length == 0) {
  684. return ''
  685. }
  686. if (this.device_number_map[v] != undefined) {
  687. return this.device_number_map[v].name
  688. }
  689. return ''
  690. },
  691. dialysate_formulation: function() {
  692. var v = this.getValueStr(
  693. 'dialysate_formulation',
  694. 'dialysate_formulation'
  695. )
  696. if (v.length == 0) {
  697. return ''
  698. }
  699. if (v in this.dialysateFormulationMap) {
  700. return this.dialysateFormulationMap[v].name
  701. }
  702. return ''
  703. },
  704. prescription_dewatering: function() {
  705. var v = this.getValueStr('prescription_dewatering', 'dewater')
  706. return v.length == 0 ? '0' : v
  707. },
  708. anticoagulant: function() {
  709. var v = this.getValueStr('anticoagulant', 'anticoagulant')
  710. if (v.length == 0) {
  711. return ''
  712. }
  713. if (this.$store.getters.anticoagulants_confit[v] != undefined) {
  714. return this.$store.getters.anticoagulants_confit[v].name
  715. }
  716. return ''
  717. },
  718. anticoagulant_zongliang: function() {
  719. var v = this.getValueStr(
  720. 'anticoagulant_zongliang',
  721. 'anticoagulant_zongliang'
  722. )
  723. return v.length == 0 ? '0' : v
  724. },
  725. calcium: function() {
  726. var v = this.getValueStr('calcium', 'calcium')
  727. return v.length == 0 ? '0' : v
  728. },
  729. conductivity: function() {
  730. var v = this.getValueStr('conductivity', 'conductivity')
  731. return v.length == 0 ? '0' : v
  732. },
  733. dialyzer_perfusion_apparatus: function() {
  734. return this.getValueStr(
  735. 'dialyzer_perfusion_apparatus',
  736. 'dialyzer_perfusion_apparatus'
  737. )
  738. },
  739. dialysis_dialyszers:function(){
  740. var str = this.getValueStr('dialysis_dialyszers','dialysis_dialyszers')
  741. console.log("str",str)
  742. var arr = str.split(",")
  743. if (arr.length >0) {
  744. for(let i=0;i<arr.length;i++){
  745. for(let j=0;j<this.preparestock.length;j++){
  746. if(arr[i] == this.preparestock[j].specification_name){
  747. if(this.preparestock[j].commdity_code!=""){
  748. arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
  749. }
  750. }
  751. }
  752. }
  753. }
  754. console.log("arr00000",arr)
  755. var strs = arr.join(',')
  756. console.log("strs",strs)
  757. return strs
  758. },
  759. dialysis_irrigation:function(){
  760. var str = this.getValueStr('dialysis_irrigation','dialysis_irrigation')
  761. console.log("str",str)
  762. var arr = str.split(",")
  763. if (arr.length >0) {
  764. for(let i=0;i<arr.length;i++){
  765. for(let j=0;j<this.preparestock.length;j++){
  766. if(arr[i] == this.preparestock[j].specification_name){
  767. if(this.preparestock[j].commdity_code!=""){
  768. arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
  769. }
  770. }
  771. }
  772. }
  773. }
  774. console.log("arr00000",arr)
  775. var strs = arr.join(',')
  776. console.log("strs",strs)
  777. return strs
  778. // return this.getValueStr('dialysis_irrigation','dialysis_irrigation')
  779. },
  780. body_fluid: function() {
  781. var id = this.getValueStr('body_fluid', 'body_fluid')
  782. if (id == 0) {
  783. return ''
  784. }
  785. var bodyFluidOptions = this.$store.getters.body_fluid
  786. for (let i = 0; i < bodyFluidOptions.length; i++) {
  787. if (bodyFluidOptions[i].id == id) {
  788. return bodyFluidOptions[i].name
  789. }
  790. }
  791. },
  792. special_medicine: function() {
  793. var id = this.getValueStr('special_medicine', 'special_medicine')
  794. if (id == 0) {
  795. return ''
  796. }
  797. var special_medicine = this.$store.getters.special_medicine
  798. for (let i = 0; i < special_medicine.length; i++) {
  799. if (special_medicine[i].id == id) {
  800. return special_medicine[i].name
  801. }
  802. }
  803. },
  804. special_medicine_other: function() {
  805. return this.getValueStr(
  806. 'special_medicine_other',
  807. 'special_medicine_other'
  808. )
  809. },
  810. blood_access: function() {
  811. var id = this.getValueStr('blood_access', 'blood_access')
  812. console.log('id', id)
  813. if (id == 0) {
  814. return ''
  815. }
  816. // var blood_access = this.$store.getters.blood_access_internal_fistula;
  817. var blood_access = getDataConfig('hemodialysis', 'vascular_access_desc')
  818. for (let i = 0; i < blood_access.length; i++) {
  819. if (blood_access[i].id == id) {
  820. return blood_access[i].name
  821. }
  822. }
  823. },
  824. displace_liqui: function() {
  825. var id = this.getValueStr('displace_liqui_part', 'displace_liqui_part')
  826. var displace_liqui_value = this.getValueStr(
  827. 'displace_liqui_value',
  828. 'displace_liqui_value'
  829. )
  830. var displace_liqui_part = ''
  831. var displace_liqui = this.$store.getters.displace_liqui
  832. for (let i = 0; i < displace_liqui.length; i++) {
  833. if (displace_liqui[i].id == id) {
  834. displace_liqui_part = displace_liqui[i].name
  835. }
  836. }
  837. return displace_liqui_part + displace_liqui_value
  838. },
  839. ultrafiltration: function() {
  840. var v = this.getValueStr('ultrafiltration', 'ultrafiltration')
  841. return v.length == 0 ? '0' : v
  842. },
  843. body_fluid_other: function() {
  844. return this.getValueStr('body_fluid_other', 'body_fluid_others')
  845. },
  846. target_ktv: function() {
  847. var v = this.getValueStr('target_ktv', 'target_ktv')
  848. return v.length == 0 ? '0' : v
  849. },
  850. antioxidant_commodity_name:function(){
  851. return this.getValueStr('antioxidant_commodity_name','antioxidant_commodity_name')
  852. },
  853. displace_speed:function(){
  854. return this.getValueStr('displace_speed','displace_speed')
  855. },
  856. add_amount:function(){
  857. return this.getValueStr('add_amount','add_amount')
  858. },
  859. reduce_amount:function(){
  860. return this.getValueStr('reduce_amount','reduce_amount')
  861. },
  862. prescription_water:function(){
  863. return this.getValueStr('prescription_water','prescription_water')
  864. },
  865. dialysis_strainer:function(){
  866. return this.getValueStr('dialysis_strainer','dialysis_strainer')
  867. }
  868. },
  869. created() {
  870. console.log("template_id", this.$store.getters.xt_user.template_info.template_id)
  871. var perfusion_apparatus = this.$store.getters.perfusion_apparatus
  872. var map = {}
  873. for (let index = 0; index < perfusion_apparatus.length; index++) {
  874. const p = perfusion_apparatus[index]
  875. map[p.id] = p
  876. }
  877. this.perfusion_apparatus_map = map
  878. var dialysateFormulationOptions = getDataConfig(
  879. 'hemodialysis',
  880. 'dialysate_formulation'
  881. )
  882. for (var index in dialysateFormulationOptions) {
  883. this.dialysateFormulationMap[dialysateFormulationOptions[index].id] =
  884. dialysateFormulationOptions[index]
  885. }
  886. },
  887. methods: {
  888. getValueStr(pkey, skey) {
  889. if (
  890. (this.prescription == null || this.prescription.id == '') &&
  891. (this.solution == null || this.solution.id == '')
  892. ) {
  893. return ''
  894. } else if (this.prescription != null && this.prescription.id != '') {
  895. if (this.prescription[pkey] == null || this.prescription[pkey] == undefined) {
  896. return ''
  897. }
  898. return this.prescription[pkey] + ''
  899. } else {
  900. if (this.solution[skey] == null || this.solution[skey] == undefined) {
  901. return ''
  902. }
  903. return this.solution[skey] + ''
  904. }
  905. },
  906. isShow(name) {
  907. var filedList = store.getters.xt_user.fileds
  908. for (let i = 0; i < filedList.length; i++) {
  909. if (
  910. filedList[i].module == 1 &&
  911. filedList[i].filed_name_cn == name &&
  912. filedList[i].is_show == 1
  913. ) {
  914. return true
  915. }
  916. }
  917. return false
  918. },
  919. getIllness(id){
  920. var illnessList = getDataConfig('hemodialysis','illness')
  921. var name = ""
  922. for(let i=0;i<illnessList.length;i++){
  923. if(id == illnessList[i].id){
  924. name = illnessList[i].name
  925. }
  926. }
  927. return name
  928. }
  929. }
  930. }
  931. </script>
  932. <style rel="stylesheet/scss" lang="scss" scoped></style>