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

DialysisPrescription.vue 50KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034
  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. <li v-if="isShow('冲洗时间')">
  546. <label>q(h): </label>
  547. <span class="content">{{this.prescription.washing_time}}</span>
  548. </li>
  549. <li v-if="isShow('冲洗量')">
  550. <label>Ns冲洗量(ml): </label>
  551. <span class="content">{{this.prescription.warsh_count}}</span>
  552. </li>
  553. </ul>
  554. </div>
  555. <div style="color:#34495e;margin: 12px 100px 0 100px;" v-if="isShow('透析备注')">透析备注: <span style="color:#409eff;">{{this.prescription.dialysis_remark}}</span></div>
  556. <div style="color:#34495e;margin: 12px 100px 0 100px;">备注: <span style="color:#409eff;">{{ note }}</span></div>
  557. </div>
  558. </template>
  559. <script>
  560. import { getDataConfig } from '@/utils/data'
  561. import store from '@/store'
  562. export default {
  563. name: 'DialysisPrescription',
  564. data() {
  565. return {
  566. title: '透析处方',
  567. perfusion_apparatus_map: {},
  568. dialysateFormulationMap: {},
  569. blood_access_part: [],
  570. blood_access_part_opera: []
  571. }
  572. },
  573. props: {
  574. prescription: {
  575. type: Object
  576. },
  577. solution: {
  578. type: Object
  579. },
  580. device_number_map: {
  581. type: Object
  582. },
  583. preparestock:{
  584. type:Array
  585. }
  586. },
  587. computed: {
  588. note: function () {
  589. // console.log("世界人民呃232323223232323323223",this.prescription)
  590. return this.getValueStr('remark', 'remark')
  591. },
  592. target_ultrafiltration: function() {
  593. var v = this.getValueStr(
  594. 'target_ultrafiltration',
  595. 'target_ultrafiltration'
  596. )
  597. return v.length == 0 ? '0' : v
  598. },
  599. dialysis_mode: function() {
  600. var mode = this.getValueStr('mode_id', 'mode_id')
  601. if (mode.length == 0) {
  602. return ''
  603. }
  604. if (this.$store.getters.treatment_mode[mode] != undefined) {
  605. return this.$store.getters.treatment_mode[mode].name
  606. }
  607. return ''
  608. },
  609. perfusion_apparatus: function() {
  610. var v = this.getValueStr('perfusion_apparatus', 'perfusion_apparatus')
  611. if (v.length == 0) {
  612. return ''
  613. }
  614. if (this.perfusion_apparatus_map[v] != undefined) {
  615. return this.perfusion_apparatus_map[v].name
  616. }
  617. return ''
  618. },
  619. displace_liqui: function() {
  620. var v = this.getValueStr('displace_liqui', 'displace_liqui')
  621. return v.length == 0 ? '0' : v
  622. },
  623. anticoagulant_shouji: function() {
  624. var v = this.getValueStr('anticoagulant_shouji', 'anticoagulant_shouji')
  625. return v.length == 0 ? '0' : v
  626. },
  627. kalium: function() {
  628. var v = this.getValueStr('kalium', 'kalium')
  629. return v.length == 0 ? '0' : v
  630. },
  631. replacement_total: function() {
  632. var v = this.getValueStr('replacement_total', 'replacement_total')
  633. return v.length == 0 ? '0' : v
  634. },
  635. bicarbonate: function() {
  636. var v = this.getValueStr('bicarbonate', 'bicarbonate')
  637. return v.length == 0 ? '0' : v
  638. },
  639. dialysate_flow: function() {
  640. var v = this.getValueStr('dialysate_flow', 'dialysate_flow')
  641. return v.length == 0 ? '0' : v
  642. },
  643. dialysis_duration: function() {
  644. var dialysis_duration_hour = this.getValueStr(
  645. 'dialysis_duration_hour',
  646. 'dialysis_duration_hour'
  647. )
  648. var dialysis_duration_minute = this.getValueStr(
  649. 'dialysis_duration_minute',
  650. 'dialysis_duration_minute'
  651. )
  652. if (
  653. dialysis_duration_hour.length == 0 &&
  654. dialysis_duration_minute.length == 0
  655. ) {
  656. return '0'
  657. } else {
  658. var time =
  659. dialysis_duration_hour + 'h' + dialysis_duration_minute + 'min'
  660. return time.length == 0 ? '0' : time
  661. }
  662. },
  663. blood_flow_volume: function() {
  664. var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
  665. return v.length == 0 ? '0' : v
  666. },
  667. replacement_way: function() {
  668. return this.getValueStr('replacement_way', 'replacement_way')
  669. },
  670. anticoagulant_weichi: function() {
  671. var v = this.getValueStr('anticoagulant_weichi', 'anticoagulant_weichi')
  672. return v.length == 0 ? '0' : v
  673. },
  674. sodium: function() {
  675. var v = this.getValueStr('sodium', 'sodium')
  676. return v.length == 0 ? '0' : v
  677. },
  678. glucose: function() {
  679. var v = this.getValueStr('glucose', 'glucose')
  680. return v.length == 0 ? '0' : v
  681. },
  682. dialysate_temperature: function() {
  683. var v = this.getValueStr(
  684. 'dialysate_temperature',
  685. 'dialysate_temperature'
  686. )
  687. return v.length == 0 ? '0' : v
  688. },
  689. dialyzer: function() {
  690. var v = this.getValueStr('dialyzer', 'hemodialysis_machine')
  691. if (v.length == 0) {
  692. return ''
  693. }
  694. if (this.device_number_map[v] != undefined) {
  695. return this.device_number_map[v].name
  696. }
  697. return ''
  698. },
  699. dialysate_formulation: function() {
  700. var v = this.getValueStr(
  701. 'dialysate_formulation',
  702. 'dialysate_formulation'
  703. )
  704. if (v.length == 0) {
  705. return ''
  706. }
  707. if (v in this.dialysateFormulationMap) {
  708. return this.dialysateFormulationMap[v].name
  709. }
  710. return ''
  711. },
  712. prescription_dewatering: function() {
  713. var v = this.getValueStr('prescription_dewatering', 'dewater')
  714. return v.length == 0 ? '0' : v
  715. },
  716. anticoagulant: function() {
  717. var v = this.getValueStr('anticoagulant', 'anticoagulant')
  718. if (v.length == 0) {
  719. return ''
  720. }
  721. if (this.$store.getters.anticoagulants_confit[v] != undefined) {
  722. return this.$store.getters.anticoagulants_confit[v].name
  723. }
  724. return ''
  725. },
  726. anticoagulant_zongliang: function() {
  727. var v = this.getValueStr(
  728. 'anticoagulant_zongliang',
  729. 'anticoagulant_zongliang'
  730. )
  731. return v.length == 0 ? '0' : v
  732. },
  733. calcium: function() {
  734. var v = this.getValueStr('calcium', 'calcium')
  735. return v.length == 0 ? '0' : v
  736. },
  737. conductivity: function() {
  738. var v = this.getValueStr('conductivity', 'conductivity')
  739. return v.length == 0 ? '0' : v
  740. },
  741. dialyzer_perfusion_apparatus: function() {
  742. return this.getValueStr(
  743. 'dialyzer_perfusion_apparatus',
  744. 'dialyzer_perfusion_apparatus'
  745. )
  746. },
  747. dialysis_dialyszers:function(){
  748. var str = this.getValueStr('dialysis_dialyszers','dialysis_dialyszers')
  749. console.log("str",str)
  750. var arr = str.split(",")
  751. if (arr.length >0) {
  752. for(let i=0;i<arr.length;i++){
  753. for(let j=0;j<this.preparestock.length;j++){
  754. if(arr[i] == this.preparestock[j].specification_name){
  755. if(this.preparestock[j].commdity_code!=""){
  756. arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
  757. }
  758. }
  759. }
  760. }
  761. }
  762. console.log("arr00000",arr)
  763. var strs = arr.join(',')
  764. console.log("strs",strs)
  765. return strs
  766. },
  767. dialysis_irrigation:function(){
  768. var str = this.getValueStr('dialysis_irrigation','dialysis_irrigation')
  769. console.log("str",str)
  770. var arr = str.split(",")
  771. if (arr.length >0) {
  772. for(let i=0;i<arr.length;i++){
  773. for(let j=0;j<this.preparestock.length;j++){
  774. if(arr[i] == this.preparestock[j].specification_name){
  775. if(this.preparestock[j].commdity_code!=""){
  776. arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
  777. }
  778. }
  779. }
  780. }
  781. }
  782. console.log("arr00000",arr)
  783. var strs = arr.join(',')
  784. console.log("strs",strs)
  785. return strs
  786. // return this.getValueStr('dialysis_irrigation','dialysis_irrigation')
  787. },
  788. body_fluid: function() {
  789. var id = this.getValueStr('body_fluid', 'body_fluid')
  790. if (id == 0) {
  791. return ''
  792. }
  793. var bodyFluidOptions = this.$store.getters.body_fluid
  794. for (let i = 0; i < bodyFluidOptions.length; i++) {
  795. if (bodyFluidOptions[i].id == id) {
  796. return bodyFluidOptions[i].name
  797. }
  798. }
  799. },
  800. special_medicine: function() {
  801. var id = this.getValueStr('special_medicine', 'special_medicine')
  802. if (id == 0) {
  803. return ''
  804. }
  805. var special_medicine = this.$store.getters.special_medicine
  806. for (let i = 0; i < special_medicine.length; i++) {
  807. if (special_medicine[i].id == id) {
  808. return special_medicine[i].name
  809. }
  810. }
  811. },
  812. special_medicine_other: function() {
  813. return this.getValueStr(
  814. 'special_medicine_other',
  815. 'special_medicine_other'
  816. )
  817. },
  818. blood_access: function() {
  819. var id = this.getValueStr('blood_access', 'blood_access')
  820. console.log('id', id)
  821. if (id == 0) {
  822. return ''
  823. }
  824. // var blood_access = this.$store.getters.blood_access_internal_fistula;
  825. var blood_access = getDataConfig('hemodialysis', 'vascular_access_desc')
  826. for (let i = 0; i < blood_access.length; i++) {
  827. if (blood_access[i].id == id) {
  828. return blood_access[i].name
  829. }
  830. }
  831. },
  832. displace_liqui: function() {
  833. var id = this.getValueStr('displace_liqui_part', 'displace_liqui_part')
  834. var displace_liqui_value = this.getValueStr(
  835. 'displace_liqui_value',
  836. 'displace_liqui_value'
  837. )
  838. var displace_liqui_part = ''
  839. var displace_liqui = this.$store.getters.displace_liqui
  840. for (let i = 0; i < displace_liqui.length; i++) {
  841. if (displace_liqui[i].id == id) {
  842. displace_liqui_part = displace_liqui[i].name
  843. }
  844. }
  845. return displace_liqui_part + displace_liqui_value
  846. },
  847. ultrafiltration: function() {
  848. var v = this.getValueStr('ultrafiltration', 'ultrafiltration')
  849. return v.length == 0 ? '0' : v
  850. },
  851. body_fluid_other: function() {
  852. return this.getValueStr('body_fluid_other', 'body_fluid_others')
  853. },
  854. target_ktv: function() {
  855. var v = this.getValueStr('target_ktv', 'target_ktv')
  856. return v.length == 0 ? '0' : v
  857. },
  858. antioxidant_commodity_name:function(){
  859. return this.getValueStr('antioxidant_commodity_name','antioxidant_commodity_name')
  860. },
  861. displace_speed:function(){
  862. return this.getValueStr('displace_speed','displace_speed')
  863. },
  864. add_amount:function(){
  865. return this.getValueStr('add_amount','add_amount')
  866. },
  867. reduce_amount:function(){
  868. return this.getValueStr('reduce_amount','reduce_amount')
  869. },
  870. prescription_water:function(){
  871. return this.getValueStr('prescription_water','prescription_water')
  872. },
  873. dialysis_strainer:function(){
  874. return this.getValueStr('dialysis_strainer','dialysis_strainer')
  875. }
  876. },
  877. created() {
  878. console.log("template_id", this.$store.getters.xt_user.template_info.template_id)
  879. var perfusion_apparatus = this.$store.getters.perfusion_apparatus
  880. var map = {}
  881. for (let index = 0; index < perfusion_apparatus.length; index++) {
  882. const p = perfusion_apparatus[index]
  883. map[p.id] = p
  884. }
  885. this.perfusion_apparatus_map = map
  886. var dialysateFormulationOptions = getDataConfig(
  887. 'hemodialysis',
  888. 'dialysate_formulation'
  889. )
  890. for (var index in dialysateFormulationOptions) {
  891. this.dialysateFormulationMap[dialysateFormulationOptions[index].id] =
  892. dialysateFormulationOptions[index]
  893. }
  894. },
  895. methods: {
  896. getValueStr(pkey, skey) {
  897. if (
  898. (this.prescription == null || this.prescription.id == '') &&
  899. (this.solution == null || this.solution.id == '')
  900. ) {
  901. return ''
  902. } else if (this.prescription != null && this.prescription.id != '') {
  903. if (this.prescription[pkey] == null || this.prescription[pkey] == undefined) {
  904. return ''
  905. }
  906. return this.prescription[pkey] + ''
  907. } else {
  908. if (this.solution[skey] == null || this.solution[skey] == undefined) {
  909. return ''
  910. }
  911. return this.solution[skey] + ''
  912. }
  913. },
  914. isShow(name) {
  915. var filedList = store.getters.xt_user.fileds
  916. for (let i = 0; i < filedList.length; i++) {
  917. if (
  918. filedList[i].module == 1 &&
  919. filedList[i].filed_name_cn == name &&
  920. filedList[i].is_show == 1
  921. ) {
  922. return true
  923. }
  924. }
  925. return false
  926. },
  927. getIllness(id){
  928. var illnessList = getDataConfig('hemodialysis','illness')
  929. var name = ""
  930. for(let i=0;i<illnessList.length;i++){
  931. if(id == illnessList[i].id){
  932. name = illnessList[i].name
  933. }
  934. }
  935. return name
  936. }
  937. }
  938. }
  939. </script>
  940. <style rel="stylesheet/scss" lang="scss" scoped></style>