<template>
  <div class="plate-box">
    <h2 class="title">
      <span class="line"></span>
      <p>{{title}}</p>
      <span class="line"></span>
    </h2>
    <div class="plate">
      <ul>

        <li v-if="isShow('透析模式')">
          <label>透析模式 :</label>
          <span class="content">{{dialysis_mode}}</span>
        </li>

        <li v-if="isShow('目标超滤量')">
          <label>目标超滤量 :</label>
          <span class="content">{{target_ultrafiltration != '0'?target_ultrafiltration:''}}</span>
          <span v-if="this.$store.getters.user.template_info.template_id != 9 && this.$store.getters.user.template_info.template_id != 17 && this.$store.getters.user.template_info.template_id != 20 && this.$store.getters.user.template_info.template_id != 21 && this.$store.getters.user.template_info.template_id != 22 && this.$store.getters.user.template_info.template_id != 23 && this.$store.getters.user.template_info.template_id != 24 && this.$store.getters.user.template_info.template_id != 26 && this.$store.getters.user.template_info.template_id != 28 && this.$store.getters.user.template_info.org_id!=9555 && this.$store.getters.user.template_info.template_id != 27  && this.$store.getters.user.template_info.template_id != 30  && this.$store.getters.user.template_info.template_id != 32 && this.$store.getters.user.template_info.template_id != 38 && this.$store.getters.user.template_info.template_id != 40 && this.$store.getters.user.template_info.template_id != 43 && this.$store.getters.user.template_info.template_id != 45  && this.$store.getters.user.template_info.template_id != 46 && this.$store.getters.user.template_info.template_id != 48 && this.$store.getters.user.template_info.template_id != 56 &&  this.$store.getters.user.template_info.org_id!=10395 &&  this.$store.getters.user.template_info.org_id!=10340 && this.$store.getters.user.template_info.template_id != 60 &&  this.$store.getters.user.template_info.org_id!=10430 &&  this.$store.getters.user.template_info.org_id!=10432 &&  this.$store.getters.user.template_info.org_id!=10441 && this.$store.getters.user.template_info.org_id!=10445 && this.$store.getters.user.template_info.org_id!=9829 && this.$store.getters.user.template_info.org_id!=10440 && this.$store.getters.user.template_info.org_id!=10469 && this.$store.getters.user.template_info.org_id!=10460 && this.$store.getters.user.template_info.org_id!=10644 && this.$store.getters.user.template_info.org_id!=10667 && this.$store.getters.user.template_info.org_id!=10723&& this.$store.getters.user.template_info.org_id!=10727 && this.$store.getters.user.template_info.org_id!=10731 && this.$store.getters.user.template_info.org_id!=10751" class="unit" >{{target_ultrafiltration != '0'?"L":''}}</span>
          <span v-if="this.$store.getters.user.template_info.template_id == 9 || this.$store.getters.user.template_info.template_id == 17 || this.$store.getters.user.template_info.template_id == 20 || this.$store.getters.user.template_info.template_id == 21 || this.$store.getters.user.template_info.template_id == 22 || this.$store.getters.user.template_info.template_id == 23 || this.$store.getters.user.template_info.template_id == 24 || this.$store.getters.user.template_info.template_id == 26 || this.$store.getters.user.template_info.template_id == 28 || this.$store.getters.user.template_info.org_id==9555 || this.$store.getters.user.template_info.template_id==27 || this.$store.getters.user.template_info.template_id == 30 || this.$store.getters.user.template_info.template_id == 32 || this.$store.getters.user.template_info.template_id == 38 || this.$store.getters.user.template_info.template_id == 40 || this.$store.getters.user.template_info.template_id == 43 || this.$store.getters.user.template_info.template_id == 45 || this.$store.getters.user.template_info.template_id == 46 || this.$store.getters.user.template_info.template_id == 48 || this.$store.getters.user.template_info.template_id == 56 || this.$store.getters.user.template_info.org_id==10395 || this.$store.getters.user.template_info.org_id ==10340  || this.$store.getters.user.template_info.template_id == 60 || this.$store.getters.user.template_info.org_id ==10430 || this.$store.getters.user.template_info.org_id ==10432  || this.$store.getters.user.template_info.org_id ==10441 || this.$store.getters.user.template_info.org_id ==10445 || this.$store.getters.user.template_info.org_id ==9829 || this.$store.getters.user.template_info.org_id ==10440 || this.$store.getters.user.template_info.org_id == 10469 ||  this.$store.getters.user.template_info.org_id == 10460 ||  this.$store.getters.user.template_info.org_id == 10644 ||  this.$store.getters.user.template_info.org_id == 10667 || this.$store.getters.user.template_info.org_id == 10723 || this.$store.getters.user.template_info.org_id == 10727 || this.$store.getters.user.template_info.org_id == 10731|| this.$store.getters.user.template_info.org_id == 10751" class="unit" >{{target_ultrafiltration != '0'?"ml":''}}</span>
          <!--<span-->
          <!--class="unit"-->
          <!--v-if="this.$store.getters.user.template_info.template_id == 6"-->
          <!--&gt;{{target_ultrafiltration != '0'?"ml":''}}</span>-->
        </li>

        <li v-if="isShow('处方脱水量')">
          <label>处方脱水量 :</label>
          <span class="content" v-if="this.$store.getters.user.template_info.org_id !=10597 && this.$store.getters.user.template_info.org_id !=10612  && this.$store.getters.user.template_info.org_id !=10598 && this.$store.getters.user.template_info.org_id !=10679 && this.$store.getters.user.template_info.org_id !=10677 && this.$store.getters.user.template_info.org_id !=10679&& this.$store.getters.user.template_info.org_id !=10702 && this.$store.getters.user.template_info.org_id !=10635 && this.$store.getters.user.template_info.org_id !=10721&& this.$store.getters.user.template_info.org_id !=10740 && this.$store.getters.user.template_info.org_id !=10742&& this.$store.getters.user.template_info.org_id !=10745&& this.$store.getters.user.template_info.org_id !=10752&& this.$store.getters.user.template_info.org_id !=10757">{{prescription_water != '0'?prescription_water:''}}ml</span>
          <span class="content" v-if="this.$store.getters.user.template_info.org_id ==10597 || this.$store.getters.user.template_info.org_id ==10612 || this.$store.getters.user.template_info.org_id ==10598  || this.$store.getters.user.template_info.org_id ==10679 || this.$store.getters.user.template_info.org_id ==10677 || this.$store.getters.user.template_info.org_id == 10679|| this.$store.getters.user.template_info.org_id == 10702 || this.$store.getters.user.template_info.org_id == 10635 || this.$store.getters.user.template_info.org_id == 10721 || this.$store.getters.user.template_info.org_id == 10740 || this.$store.getters.user.template_info.org_id == 10742|| this.$store.getters.user.template_info.org_id == 10745|| this.$store.getters.user.template_info.org_id == 10752|| this.$store.getters.user.template_info.org_id == 10757">{{prescription_water != '0'?prescription_water:''}}L</span>
        </li>

        <li v-if="isShow('钙')">
          <label>钙:</label>
          <span class="content">{{calcium != '0'?calcium:""}}</span>
          <span class="unit">{{calcium != '0'?"mmol/L":""}}</span>
        </li>
        <li v-if="isShow('置换量')">
          <label>置换量 :</label>
          <span class="content">{{replacement_total != '0'?replacement_total:""}}</span>
          <span v-if="(this.$store.getters.user.template_info.template_id != 20 && this.$store.getters.user.template_info.template_id != 28 && this.$store.getters.user.template_info.template_id != 40 && this.$store.getters.user.template_info.template_id != 46  && this.$store.getters.user.template_info.template_id != 47) || this.$store.getters.user.template_info.template_id ==53 || this.$store.getters.user.template_info.org_id ==10441 " class="unit">{{replacement_total != '0'?"L":""}}</span>
          <span v-if="(this.$store.getters.user.template_info.template_id == 20 || this.$store.getters.user.template_info.template_id == 28 || this.$store.getters.user.template_info.template_id == 40 || this.$store.getters.user.template_info.template_id == 46 || this.$store.getters.user.template_info.template_id == 47)&&this.$store.getters.user.template_info.template_id !=53 && this.$store.getters.user.template_info.org_id !=10441 " class="unit">{{replacement_total != '0'?"ml":""}}</span>
        </li>

       <li v-if="isShow('置换速度')">
          <label>置换速度(L/h) :</label>
          <span class="content">{{this.prescription.displace_speed}}</span>

        </li>

        <li v-if="isShow('葡萄糖')">
          <label>葡萄糖 :</label>
          <span class="content">{{glucose != '0'?glucose:""}}</span>
          <span class="unit">{{glucose != '0'?"mmol/L":""}}</span>
        </li>
        <!-- </ul>
        <ul>-->
        <li v-if="isShow('透析时长')">
          <label>透析时长 : </label>
          <span class="content">{{dialysis_duration != '0'?dialysis_duration:""}}</span>
        </li>
        <li v-if="isShow('透析液配方')">
          <label>透析液配方 : </label>
          <span class="content">{{dialysate_formulation}}</span>
        </li>

        <li v-if="isShow('钾')">
          <label>钾 : </label>
          <span class="content">{{kalium != '0'?kalium:""}}</span>
          <span class="unit">{{kalium != '0'?"mmol/L":""}}</span>
        </li>
        <li v-if="isShow('碳酸氢盐')">
          <label>碳酸氢盐 : </label>
          <span class="content">{{bicarbonate != '0'?bicarbonate:""}}</span>
          <span class="unit">{{bicarbonate != '0'?"mmol/L":""}}</span>
        </li>
        <!-- <li>
          <label>干体重 : </label>
          <span class="content">{{dry_weight}}</span>
          <span class="unit">kg</span>
        </li> -->
        <li v-if="isShow('透析液温度')">
          <label>透析液温度 : </label>
          <span class="content">{{dialysate_temperature != '0'?dialysate_temperature:""}}</span>
          <span class="unit">{{dialysate_temperature != '0'?"℃":""}}</span>
        </li>
        <!-- </ul>
        <ul> -->
        <li v-if="isShow('血流量')">
          <label>血流量 : </label>
          <span class="content">{{blood_flow_volume != '0'?blood_flow_volume:''}}</span>
          <span class="unit">{{blood_flow_volume != '0'?"ml/min":''}}</span>
        </li>
        <li v-if="isShow('抗凝剂')">
          <label>抗凝剂 : </label>
          <span class="content">{{anticoagulant}}</span>
        </li>
        <li v-if="isShow('首剂')&&this.prescription.anticoagulant != 5">
          <label>首剂 : </label>
          <span class="content">{{anticoagulant_shouji != '0'?anticoagulant_shouji:''}}</span>
          <!--<span class="unit">{{anticoagulant_shouji != '0'?"mg":''}}</span>-->
          <span v-if="this.$store.getters.user.template_info.org_id != 10101 && this.$store.getters.user.template_info.org_id != 10346   && this.$store.getters.user.template_info.template_id != 45 && this.$store.getters.user.template_info.org_id != 10340  && this.$store.getters.user.template_info.org_id != 10432 && this.$store.getters.user.template_info.org_id != 10495 && this.$store.getters.user.template_info.org_id != 10223 && this.$store.getters.user.template_info.org_id != 10600 ">
            <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13  && this.$store.getters.user.template_info.template_id != 23 && this.$store.getters.user.template_info.template_id != 40 && this.$store.getters.user.template_info.template_id != 38 && this.$store.getters.user.template_info.org_id != 10234  && this.$store.getters.user.template_info.org_id != 10340 && this.$store.getters.user.template_info.org_id != 10432 && this.$store.getters.user.template_info.org_id != 10471 && this.$store.getters.user.template_info.org_id != 10495 && this.$store.getters.user.template_info.org_id != 10375 && this.$store.getters.user.template_info.org_id != 10551 && this.$store.getters.user.template_info.org_id != 10480&& this.$store.getters.user.template_info.org_id != 10580">{{anticoagulant_shouji != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 2 && (this.$store.getters.user.template_info.template_id == 13 || this.$store.getters.user.template_info.template_id == 23 || this.$store.getters.user.template_info.template_id == 40 || this.$store.getters.user.template_info.template_id == 38 || this.$store.getters.user.template_info.org_id == 10234 ||  this.$store.getters.user.template_info.org_id == 10340  ||  this.$store.getters.user.template_info.org_id == 10432  ||  this.$store.getters.user.template_info.org_id == 10471 ||  this.$store.getters.user.template_info.org_id == 10495 || this.$store.getters.user.template_info.org_id == 10375 || this.$store.getters.user.template_info.org_id == 10551 || this.$store.getters.user.template_info.org_id == 10480|| this.$store.getters.user.template_info.org_id == 10580)">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 3">
              <span v-if="this.$store.getters.user.template_info.org_id == 9671">{{anticoagulant_shouji != '0'?"mg":""}}</span>
              <span v-else>{{anticoagulant_shouji != '0'?"iu":""}}</span>
            </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 1">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 4">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 5">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 6">{{anticoagulant_shouji != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 13">{{anticoagulant_shouji != '0'?"AXaIU":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 7">
              <span v-if="this.$store.getters.user.template_info.org_id == 9990 || this.$store.getters.user.template_info.org_id == 9671">{{anticoagulant_shouji != '0'?"mg":""}}</span>
              <span v-else>{{anticoagulant_shouji != '0'?"iu":""}}</span>
             </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_shouji != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_shouji != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 16">{{anticoagulant_shouji != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 17 && this.$store.getters.user.template_info.org_id!=10727">{{anticoagulant_shouji != '0'?"U":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 17 || this.$store.getters.user.template_info.org_id==10727">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 14">{{anticoagulant_shouji != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 15">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 13">{{anticoagulant_shouji != '0'?"":""}}</span>
          </span>
          <span v-else>
            <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 15">{{anticoagulant_shouji != '0'?"mg":""}}</span>
            <span class="unit" v-else>{{anticoagulant_shouji != '0'?"iu":""}}</span>
          </span>
        </li>

        <li v-if="isShow('维持')">
          <label>维持 : </label>
          <span class="content">{{anticoagulant_weichi != '0'?anticoagulant_weichi:""}}</span>
          <span v-if="this.$store.getters.user.template_info.org_id == 10013 || this.$store.getters.user.template_info.org_id == 10014">
             <span class="unit" v-if="this.prescription.anticoagulant == 2">iu/h</span>
             <span class="unit" v-if="this.prescription.anticoagulant == 15">mg/h</span>
             <span class="unit" v-if="this.prescription.anticoagulant != 2&& this.prescription.anticoagulant != 15"> ml/h</span>
          </span>
          <span v-if="this.$store.getters.user.template_info.org_id == 10101 || this.$store.getters.user.template_info.template_id == 45">
            <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
            <span class="unit" v-else>{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
          </span>
         <span v-if="this.$store.getters.user.template_info.org_id != 10101 && this.$store.getters.user.template_info.org_id != 10013  && this.$store.getters.user.template_info.org_id != 10014 && this.$store.getters.user.template_info.template_id != 45 && this.$store.getters.user.template_info.org_id != 10223">
            <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13 && this.$store.getters.user.template_info.template_id != 23 && this.$store.getters.user.template_info.template_id != 40 && this.$store.getters.user.template_info.template_id != 38  && this.$store.getters.user.template_info.org_id != 10346 && this.$store.getters.user.template_info.org_id != 10340  && this.$store.getters.user.template_info.org_id != 10432  && this.$store.getters.user.template_info.org_id != 10471 && this.$store.getters.user.template_info.org_id != 10495 && this.$store.getters.user.template_info.org_id != 10375 && this.$store.getters.user.template_info.org_id != 10223 && this.$store.getters.user.template_info.org_id != 10551 && this.$store.getters.user.template_info.org_id != 10600  && this.$store.getters.user.template_info.org_id != 10480 && this.$store.getters.user.template_info.org_id != 10580">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 2 && (this.$store.getters.user.template_info.template_id == 13 || this.$store.getters.user.template_info.template_id == 23 || this.$store.getters.user.template_info.template_id == 40 || this.$store.getters.user.template_info.template_id == 38 || this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 10432 || this.$store.getters.user.template_info.org_id == 10471 || this.$store.getters.user.template_info.org_id == 10495 || this.$store.getters.user.template_info.org_id == 10375  ||  this.$store.getters.user.template_info.org_id == 10223 ||  this.$store.getters.user.template_info.org_id == 10551 || this.$store.getters.user.template_info.org_id == 10600 || this.$store.getters.user.template_info.org_id == 10480|| this.$store.getters.user.template_info.org_id == 10580)">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 3">
               <span v-if="this.$store.getters.user.template_info.org_id == 9671">{{anticoagulant_weichi != '0'?"mg/h":""}} </span>
               <span v-else>{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 1">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 4">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 5">{{anticoagulant_weichi != '0'?"ml/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 6">
              <span v-if="this.$store.getters.user.template_info.org_id == 9671">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
              <span v-else>{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 7">

               <span v-if="this.$store.getters.user.template_info.org_id == 9990 || this.$store.getters.user.template_info.org_id == 9671">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
               <span v-else>  {{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 16">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 14">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 17 && this.$store.getters.user.template_info.org_id != 10727">{{anticoagulant_weichi != '0'?"U/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 17 || this.$store.getters.user.template_info.org_id == 10727">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 15">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 13">{{anticoagulant_shouji != '0'?"AXaIU":""}}</span>
          </span>
        </li>

        <li v-if="isShow('维持时长')">
          <label>维持时长(h): </label>
          {{ this.prescription.anticoagulant_weichi_hour }}
        </li>

        <li v-if="isShow('总量')&&this.prescription.anticoagulant != 5">
          <label>总量: </label>
          <span class="content">{{anticoagulant_zongliang != '0'?anticoagulant_zongliang:""}}</span>
          <span v-if="this.$store.getters.user.template_info.org_id != 10101 && this.$store.getters.user.template_info.org_id != 10346 && this.$store.getters.user.template_info.template_id != 45 && this.$store.getters.user.template_info.org_id != 10340 && this.$store.getters.user.template_info.org_id != 10223">
            <span class="unit" v-if="this.prescription.anticoagulant == 2 && this.$store.getters.user.template_info.template_id != 13  && this.$store.getters.user.template_info.template_id != 23 && this.$store.getters.user.template_info.template_id != 40 && this.$store.getters.user.template_info.template_id != 38 && this.$store.getters.user.template_info.org_id !=10340 && this.$store.getters.user.template_info.org_id !=10432 && this.$store.getters.user.template_info.org_id !=10471  && this.$store.getters.user.template_info.org_id !=10495 && this.$store.getters.user.template_info.org_id !=10375  && this.$store.getters.user.template_info.org_id !=10551 && this.$store.getters.user.template_info.org_id !=10600 && this.$store.getters.user.template_info.org_id !=10480&& this.$store.getters.user.template_info.org_id !=10580">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 2 &&  (this.$store.getters.user.template_info.template_id == 13 || this.$store.getters.user.template_info.template_id == 23 || this.$store.getters.user.template_info.template_id == 40 || this.$store.getters.user.template_info.template_id == 38 || this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 10432 || this.$store.getters.user.template_info.org_id == 10471 || this.$store.getters.user.template_info.org_id == 10495 || this.$store.getters.user.template_info.org_id == 10375 || this.$store.getters.user.template_info.org_id == 10551 || this.$store.getters.user.template_info.org_id == 10600 || this.$store.getters.user.template_info.org_id == 10480|| this.$store.getters.user.template_info.org_id == 10580)">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 3">
               <span v-if="this.$store.getters.user.template_info.org_id==9671">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
               <span v-else>{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 1">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 4">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 5">{{anticoagulant_zongliang != '0'?"ml":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 6">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 7">

              <span v-if="this.$store.getters.user.template_info.org_id == 9990 || this.$store.getters.user.template_info.org_id == 9671"> {{anticoagulant_zongliang != '0'?"mg":""}}</span>
              <span v-else>{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            </span>
            <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 16">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 17 && this.$store.getters.user.template_info.org_id!=10727">{{anticoagulant_zongliang != '0'?"U":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 17 || this.$store.getters.user.template_info.org_id ==10727">{{anticoagulant_zongliang != '0'?"mg/h":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 14">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 15">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 13">{{anticoagulant_shouji != '0'?"AXaIU":""}}</span>
          </span>
          <span v-else>
            <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
            <span class="unit" v-else>{{anticoagulant_zongliang != '0'?"iu":""}}</span>
            <span class="unit" v-if="this.prescription.anticoagulant == 15">{{anticoagulant_shouji != '0'?"mg":""}}</span>
          </span>
        </li>

        <li v-if="isShow('钙名称')&&this.prescription.anticoagulant == 5">
          <label>钙名称: </label>
          <span class="content">{{this.prescription.anticoagulant_gaimingcheng}}</span>
        </li>

        <li v-if="isShow('钙剂量')&&this.prescription.anticoagulant == 5">
          <label>钙剂量: </label>
          <span class="content">{{this.prescription.anticoagulant_gaijiliang}}</span>
          <span class="unit" v-if="this.prescription.anticoagulant == 5">{{'ml'}}</span>
        </li>

        <li v-if="isShow('钠')">
          <label>钠 : </label>
          <span class="content">{{sodium != '0'?sodium:""}}</span>
          <span class="unit">{{sodium != '0'?"mmol/L":""}}</span>
        </li>
        <li v-if="isShow('透析液流量')">
          <label>透析液流量 : </label>
          <span class="content">{{dialysate_flow != '0'?dialysate_flow:""}}</span>
          <span class="unit">{{dialysate_flow != '0'?"ml/min":""}}</span>
        </li>

        <!-- </ul>
        <ul> -->
        <li v-if="isShow('透析器/灌流器')">
          <label>透析器/灌流器 : </label>
          <span class="content">{{this.prescription.dialyzer_perfusion_apparatus}}</span>
          <span class="unit"></span>
        </li>
        <li v-if="isShow('透析器')">
          <label>透析器 : </label>
          <span class="content">{{dialysis_dialyszers}}</span>
          <span class="unit"></span>
        </li>
         <li v-if="isShow('灌流器')">
          <label>灌流器 : </label>
          <span class="content">{{dialysis_irrigation}}</span>
          <span class="unit"></span>
        </li>

        <li v-if="isShow('滤过器')">
          <label>滤过器 : </label>
          <span class="content">{{dialysis_strainer}}</span>
          <span class="unit"></span>
        </li>
       
        <li v-if="isShow('体液过多症状')">
          <label>体液过多症状: </label>
          <span class="content">{{body_fluid}}</span>
          <span class="unit"></span>
        </li>

        <li v-if="isShow('体液过多其他症状')">
          <label>体液过多其他症状: </label>
          <span class="content">{{this.prescription.body_fluid_other}}</span>
          <span class="unit"></span>
        </li>

        <li v-if="isShow('透析前使用特殊药物')">
          <label>透析前使用特殊药物: </label>
          <span class="content">{{special_medicine}}</span>
          <span class="unit"></span>
        </li>
        <li v-if="isShow('透析前使用其他特殊药物')">
          <label>透析前使用其他特殊药物: </label>
          <span class="content">{{special_medicine_other}}</span>
          <span class="unit"></span>
        </li>
        <li v-if="isShow('置换液') &&  dialysis_mode == 'HDF'">
          <label v-if="this.$store.getters.user.template_info.template_id != 6">置换液: </label>
          <label v-if="this.$store.getters.user.template_info.template_id == 6">置换方式: </label>
          <span class="content">{{displace_liqui}}</span>
          <span class="unit"></span>
        </li>

        <li v-if="isShow('置换液总量') &&  dialysis_mode == 'HDF'">
          <label>置换液总量: </label>
          <span class="content">{{getDisplaceLiquiValue() != '0'? getDisplaceLiquiValue():''}}</span>
          <span v-if="this.$store.getters.user.template_info.template_id == 21 || $store.getters.user.template_info.org_id==10206 && this.$store.getters.user.template_info.template_id  != 53 && this.$store.getters.user.template_info.template_id !=10441" class="unit">{{getDisplaceLiquiValue() !='0'?"ml":""}}</span>
          <span v-if="(this.$store.getters.user.template_info.template_id != 21 ||  this.$store.getters.user.template_info.template_id  == 53 || this.$store.getters.user.template_info.template_id==10441) && $store.getters.user.template_info.org_id!=10206" class="unit">{{getDisplaceLiquiValue() !='0'?"L":""}}</span>

        </li>

        <li v-if="isShow('血管通路部位')">
          <label>血管通路部位: </label>
          <span class="content">{{this.prescription.blood_access_part_id}}</span>
          <span class="unit"></span>
        </li>

        <li v-if="isShow('血管通路')">
          <label>血管通路: </label>
          <span class="content">{{blood_access}}</span>
          <span class="unit"></span>
        </li>
<!--        <li v-if="isShow('实际超滤量')">-->
<!--          <label>实际超滤量2: </label>-->
<!--          <span class="content">{{ultrafiltration != '0'? ultrafiltration:''}}</span>-->
<!--          <span class="unit">{{ultrafiltration != '0'?"L":""}}</span>-->
<!--        </li>-->
        <li v-if="isShow('目标KT/V')">
          <label>目标KT/V: </label>
          <span class="content">{{target_ktv != '0'? target_ktv:''}}</span>
        </li>

        <li v-if="isShow('电导度')">
        <label>电导度 : </label>
        <span class="content">{{conductivity != '0'?conductivity:""}}</span>
        <span class="unit">{{conductivity != '0'?"mS/cm":""}}</span>
      </li>

        <li v-if="isShow('抗凝提前停止')">
          <label>抗凝提前停止 : </label>
          <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>
          <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>
          <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>
          <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
          <span class="unit"></span>
        </li>

       <li v-if="isShow('抽血')">
        <label>抽血 : </label>
        <span class="content">{{this.prescription.blood}}</span>
      </li>

       <li v-if="isShow('抗凝剂商品名称')">
        <label>抗凝剂商品名称 : </label>
        <span class="content">{{this.prescription.antioxidant_commodity_name}}</span>
      </li>
       <li v-if="isShow('血浆分离器')">
        <label>血浆分离器 : </label>
        <span class="content">{{this.prescription.plasma_separator}}</span>
      </li>
       <li v-if="isShow('胆红素吸附柱')">
        <label>胆红素吸附柱 : </label>
        <span class="content">{{this.prescription.bilirubin_adsorption_column}}</span>
      </li>
       <li v-if="isShow('吸氧')">
        <label>吸氧 : </label>
        <span class="content">
         <span v-if="this.prescription.oxygen_uptake == 1">需</span>
        <span v-if="this.prescription.oxygen_uptake == 2">无</span>
        </span>
      </li>
      <li v-if="isShow('吸氧')">
        <label>吸氧流量(L/分） : </label>
        <span class="content">{{this.prescription.oxygen_flow}}</span>
      </li>
       <li v-if="isShow('吸氧')">
        <label>吸氧时长(h） : </label>
        <span class="content">{{this.prescription.oxygen_time}}</span>
      </li>
       <li v-if="isShow('最大超滤率')">
        <label>最大超滤率(ml/h） : </label>
        <span class="content">{{this.prescription.max_ultrafiltration_rate}}</span>
      </li>
      <li v-if="isShow('单超脱水')">
        <label>单超脱水(ml): </label>
        <span class="content">{{this.prescription.single_water}}</span>
      </li>
      <li v-if="isShow('单超时长')">
        <label>单超时长(min): </label>
        <span class="content">{{this.prescription.single_time}}</span>
      </li>
     <li v-if="isShow('曲线脱水')">
        <label>曲线脱水(ml): </label>
        <span class="content">{{this.prescription.drhy_water}}</span>
      </li>
      <li v-if="isShow('带水上机')">
        <label>带水上机: </label>
        <span class="content">{{this.prescription.water_machine}}</span>
      </li>
      <li v-if="isShow('置换流量') && this.prescription.mode_id == 2 && $store.getters.user.template_info.org_id!=10340">
        <label>置换液流量(L/h): </label>
        <span class="content">{{this.prescription.replacement_flow}}</span>
      </li>
       <li v-if="isShow('置换流量')&& this.prescription.mode_id == 2 && $store.getters.user.template_info.org_id ==10340">
        <label>置换液流量(ml/min): </label>
        <span class="content">{{this.prescription.replacement_flow}}</span>
      </li>
      <li v-if="isShow('开药数量') ">
        <label>开药数量: </label>
        <span class="content">{{this.prescription.prescribing_number}}</span>
      </li>
      <li v-if="isShow('处方钠') ">
        <label>处方钠: </label>
        <span class="content">{{this.prescription.prescription_sodium}}</span>
      </li>
      <li v-if="isShow('开始钠') ">
        <label>开始钠: </label>
        <span class="content">{{this.prescription.start_sodium}}</span>
      </li>
      <li v-if="isShow('钠曲线') ">
        <label>钠曲线: </label>
        <span class="content">{{this.prescription.sodium_curve}}</span>
      </li>
      <li v-if="isShow('病情处理') ">
        <label>病情处理: </label>
        <span class="content">{{this.prescription.treatment_remark}}</span>
      </li>
      <li v-if="isShow('透析备注')">
        <label>透析备注: </label>
        <span class="content">{{this.prescription.dialysis_remark}}</span>
      </li>
      <li v-if="isShow('透析液流速')">
        <label>透析液流速(ml/h): </label>
        <span class="content">{{this.prescription.dialysis_fluid_flow}}</span>
      </li>
      <li v-if="isShow('碳酸氢钠流速')">
        <label>碳酸氢钠流速(ml/h): </label>
        <span class="content">{{this.prescription.sodium_bicarbonate_flow}}</span>
      </li>
      <li v-if="isShow('加糖')">
        <label>加糖: </label>
        <span class="content">{{this.prescription.chaptalization}}</span>
      </li>
     
      <li v-if="isShow('冲洗时间')">
        <label>q(h): </label>
        <span class="content">{{this.prescription.washing_time}}</span>
      </li>
      <li v-if="isShow('冲洗量')">
        <label>NS冲洗量(ml): </label>
        <span class="content">{{this.prescription.warsh_count}}</span>
      </li>
      <li v-if="isShow('透析液')">
        <label>透析液: </label>
        <span class="content">{{this.prescription.dialyzate}}</span>
      </li>
      </ul>
    </div>
    <div class="note">备注 : <span>{{note}}</span></div>
  </div>
</template>

<script>
import { getDataConfig } from '@/utils/data'
export default {
  name: 'DialysisPrescription',
  data () {
    return {
      title: '透析处方',
      perfusion_apparatus_map: {},
      dialysateFormulationMap: {},
      dialyzerPerfusionApparatus: []
    }
  },
  props: {
    prescription: {
      type: Object
    },
    solution: {
      type: Object
    },
    device_number_map: {
      type: Object
    },
    preparestock: {
      type: Array
    },
  
  },

  computed: {

    target_ultrafiltration: function () {
      var v = this.getValueStr(
        'target_ultrafiltration',
        'target_ultrafiltration'
      )
      v = this.getFloat(v)
      return v.length == 0 ? '0' : v
    },
    dialysis_mode: function () {
      var mode = this.getValueStr('mode_id', 'mode_id')
      if (this.$store.getters.treatment_mode[mode] != undefined) {
        return this.$store.getters.treatment_mode[mode].name
      }
      return ''
    },
    perfusion_apparatus: function () {
      var v = this.getValueStr('perfusion_apparatus', 'perfusion_apparatus')
      if (v.length == 0) {
        return ''
      }
      if (this.perfusion_apparatus_map[v] != undefined) {
        return this.perfusion_apparatus_map[v].name
      }
      return ''
    },
    displace_liqui: function () {
      var v = this.getValueStr('displace_liqui', 'displace_liqui')
      return v.length == 0 ? '0' : v
    },
    anticoagulant_shouji: function () {
      var v = this.getValueStr('anticoagulant_shouji', 'anticoagulant_shouji')
      return v.length == 0 ? '0' : v
    },
    kalium: function () {
      var v = this.getValueStr('kalium', 'kalium')
      v = this.getFloat(v)
      return v == 0 ? '0' : v
    },
    replacement_total: function () {
      var v = this.getValueStr('replacement_total', 'replacement_total')
      return v.length == 0 ? '0' : v
    },
    bicarbonate: function () {
      var v = this.getValueStr('bicarbonate', 'bicarbonate')
      return v.length == 0 ? '0' : v
    },
    dialysate_flow: function () {
      var v = this.getValueStr('dialysate_flow', 'dialysate_flow')
      return v.length == 0 ? '0' : v
    },
    dialysis_duration: function () {
      var dialysis_duration_hour = this.getValueStr(
        'dialysis_duration_hour',
        'dialysis_duration_hour'
      )
      var dialysis_duration_minute = this.getValueStr(
        'dialysis_duration_minute',
        'dialysis_duration_minute'
      )
      if (
        dialysis_duration_hour.length == 0 &&
        dialysis_duration_minute.length == 0
      ) {
        return '0'
      } else {
        var time =
          dialysis_duration_hour + 'h' + dialysis_duration_minute + 'min'
        return time.length == 0 ? '0' : time
      }
    },
    blood_flow_volume: function () {
      var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
      return v.length == 0 ? '0' : v
    },
    replacement_way: function () {
      return this.getValueStr('replacement_way', 'replacement_way')
    },
    anticoagulant_weichi: function () {
      var v = this.getValueStr('anticoagulant_weichi', 'anticoagulant_weichi')
      return v.length == 0 ? '0' : v
    },
    sodium: function () {
      var v = this.getValueStr('sodium', 'sodium')
   
      v = this.getFloat(v)

      return v == 0 ? '0' : v
    },
    glucose: function () {
      var v = this.getValueStr('amylaceum', 'amylaceum')
      return v.length == 0 ? '0' : v
    },
    dialysate_temperature: function () {
      var v = this.getValueStr(
        'dialysate_temperature',
        'dialysate_temperature'
      )
      return v.length == 0 ? '0' : v
    },
    dialyzer: function () {
      var v = this.getValueStr('dialyzer', 'hemodialysis_machine')
      if (v.length == 0) {
        return ''
      }
      if (this.device_number_map[v] != undefined) {
        return this.device_number_map[v].name
      }
      return ''
    },
    dialysate_formulation: function () {
      var v = this.getValueStr(
        'dialysate_formulation',
        'dialysate_formulation'
      )
      if (v.length == 0) {
        return ''
      }
      if (v in this.dialysateFormulationMap) {
        return this.dialysateFormulationMap[v].name
      }
      return ''
    },
    prescription_dewatering: function () {
      var v = this.getValueStr('prescription_dewatering', 'dewater')
      return v.length == 0 ? '0' : v
    },
    anticoagulant: function () {
      var v = this.getValueStr('anticoagulant', 'anticoagulant')
      if (v.length == 0) {
        return ''
      }
      if (this.$store.getters.anticoagulants_confit[v] != undefined) {
        return this.$store.getters.anticoagulants_confit[v].name
      }
      return ''
    },
    anticoagulant_zongliang: function () {
      var v = this.getValueStr(
        'anticoagulant_zongliang',
        'anticoagulant_zongliang'
      )
      return v.length == 0 ? '0' : v
    },
    calcium: function () {
      var v = this.getValueStr('calcium', 'calcium')
      v = this.getFloat(v)
      return v == 0 ? '0' : v
    },

    conductivity: function () {
      var v = this.getValueStr('conductivity', 'conductivity')
      return v.length == 0 ? '0' : v
    },
    dialyzer_perfusion_apparatus: function () {
      return this.getValueStr(
        'dialyzer_perfusion_apparatus',
        'dialyzer_perfusion_apparatus'
      )
    },
    note: function () {
      return this.getValueStr('remark', 'remark')
    },
    body_fluid: function () {
      var id = this.getValueStr('body_fluid', 'body_fluid')
      if (id == 0) {
        return ''
      }
      var bodyFluidOptions = this.$store.getters.body_fluid
      for (let i = 0; i < bodyFluidOptions.length; i++) {
        if (bodyFluidOptions[i].id == id) {
          return bodyFluidOptions[i].name
        }
      }
    },
    special_medicine: function () {
      var id = this.getValueStr('special_medicine', 'special_medicine')
      if (id == 0) {
        return ''
      }
      // var special_medicine = this.$store.getters.special_medicine
      var special_medicine = [
        {id: 1, name: '无'},
        {id: 2, name: '降压药'},
        {id: 3, name: '抗凝'},
        {id: 4, name: '其他'},
        {id: 5, name: '降糖药'}
      ]
      for (let i = 0; i < special_medicine.length; i++) {
        if (special_medicine[i].id == id) {
          return special_medicine[i].name
        }
      }
    },
    special_medicine_other: function () {
      return this.getValueStr(
        'special_medicine_other',
        'special_medicine_other'
      )
    },
    blood_access: function () {
      var id = this.getValueStr('blood_access', 'blood_access')
      if (id == 0) {
        return ''
      }
      // var blood_access = this.$store.getters.blood_access
      var blood_access = getDataConfig('hemodialysis', 'vascular_access_desc')
    
      for (let i = 0; i < blood_access.length; i++) {
        if (blood_access[i].id == id) {
          return blood_access[i].name
        }
      }
    },
    displace_liqui: function () {
      var id = this.getValueStr('displace_liqui_part', 'displace_liqui_part')
      var displace_liqui_value = this.getValueStr(
        'displace_liqui_value',
        'displace_liqui_value'
      )
      var displace_liqui_part = ''
      var displace_liqui = this.$store.getters.displace_liqui
      for (let i = 0; i < displace_liqui.length; i++) {
        if (displace_liqui[i].id == id) {
          displace_liqui_part = displace_liqui[i].name
        }
      }
      return displace_liqui_part
    },
    ultrafiltration: function () {
      var v = this.getValueStr('ultrafiltration', 'ultrafiltration')
      v = this.getFloat(v)
      return v.length == 0 ? '0' : v
    },
    target_ktv: function () {
      var v = this.getValueStr('target_ktv', 'target_ktv')
      return v.length == 0 ? '0' : v
    },
    dialysis_dialyszers: function () {
      var str = this.getValueStr('dialysis_dialyszers', 'dialysis_dialyszers')
      if (str != '') {
        var arr = str.split(',')

        if (arr.length > 0) {
          for (let i = 0; i < arr.length; i++) {
            for (let j = 0; j < this.preparestock.length; j++) {
              if (arr[i] == this.preparestock[j].specification_name) {
                if (this.preparestock[j].commdity_code != '') {
                  arr[i] = arr[i] + '(' + this.preparestock[j].commdity_code + ')'
                }
              }
            }
          }
        }

        var strs = arr.join(',')
        return strs
      }
    },
    dialysis_irrigation: function () {
      var str = this.getValueStr('dialysis_irrigation', 'dialysis_irrigation')

      if (str != '') {
        var arr = str.split(',')
        if (arr.length > 0) {
          for (let i = 0; i < arr.length; i++) {
            for (let j = 0; j < this.preparestock.length; j++) {
              if (arr[i] == this.preparestock[j].specification_name) {
                if (this.preparestock[j].commdity_code != '') {
                  arr[i] = arr[i] + '(' + this.preparestock[j].commdity_code + ')'
                }
              }
            }
          }
        }
  
        var strs = arr.join(',')
        return strs
      }
    },
    dialysis_strainer: function () {
      var str = this.getValueStr('dialysis_strainer', 'dialysis_strainer')

      if (str != '') {
        var arr = str.split(',')
        if (arr.length > 0) {
          for (let i = 0; i < arr.length; i++) {
            for (let j = 0; j < this.preparestock.length; j++) {
              if (arr[i] == this.preparestock[j].specification_name) {
                if (this.preparestock[j].commdity_code != '') {
                  arr[i] = arr[i] + '(' + this.preparestock[j].commdity_code + ')'
                }
              }
            }
          }
        }
  
        var strs = arr.join(',')
        return strs
      }
    },
    prescription_water: function () {
      var v = this.getValueStr(
        'prescription_water',
        'prescription_water'
      )
      v = this.getFloat(v)
      return v.length == 0 ? '0' : v
    },
    dialysis_strainer: function () {
      return this.getValueStr(
        'dialysis_strainer',
        'dialysis_strainer'
      )
    }
  },
  created () {
    var perfusion_apparatus = this.$store.getters.perfusion_apparatus
    var map = {}
    for (let index = 0; index < perfusion_apparatus.length; index++) {
      const p = perfusion_apparatus[index]
      map[p.id] = p
    }
    this.perfusion_apparatus_map = map

    var dialysateFormulationOptions = getDataConfig(
      'hemodialysis',
      'dialysate_formulation'
    )
    for (var index in dialysateFormulationOptions) {
      this.dialysateFormulationMap[dialysateFormulationOptions[index].id] =
        dialysateFormulationOptions[index]
    }
    this.dialyzerPerfusionApparatus = getDataConfig(
      'hemodialysis',
      'dialyzer_perfusion_apparatus'
    )
  },
  methods: {
    getDisplaceLiquiValue: function () {
      return this.getValueStr('displace_liqui_value', 'displace_liqui_value')
    },
    isShow (name) {
      var filedList = this.$store.getters.user.fileds
      for (let i = 0; i < filedList.length; i++) {
        if (
          filedList[i].module == 1 &&
          filedList[i].filed_name_cn == name &&
          filedList[i].is_show == 1
        ) {
          return true
        }
      }
      return false
    },
    getValueStr (pkey, skey) {
      if ((this.prescription == null || this.prescription.id == '') && (this.solution == null || this.solution.id == '')) {
        return ''
      } else if (this.prescription != null && this.prescription.id != '') {
        if (this.prescription[pkey] == null || this.prescription[pkey] == undefined) { return '' }
        return this.prescription[pkey] + ''
      } else if (this.prescription.id == 0) {
        this.prescription = this.solution
      } else {
        if (this.solution[skey] == null || this.solution[skey] == undefined) {
          return ''
        }
        return this.solution[skey] + ''
      }
    },
    getFloat: function (x) {
      if (x != '.') {
        var f = Math.round(x * 100) / 100
        var s = f.toString()
        var rs = s.indexOf('.')
        if (rs <= 0) {
          rs = s.length
          s += '.'
        }
        while (s.length <= rs + 1) {
          s += '0'
        }
        return s
      } else {
        return '0.0'
      }
    },
    getData (val) {
      var obj = ''
      for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
        if (val == this.dialyzerPerfusionApparatus[i].id) {
          obj = this.dialyzerPerfusionApparatus[i].name
        }
      }
      return obj
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
</style>
