Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 week ago
parent
commit
1c7b212a3f

+ 6 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

157
             </el-table-column>
157
             </el-table-column>
158
             <el-table-column align="center" prop="project_name" label="规格">
158
             <el-table-column align="center" prop="project_name" label="规格">
159
                 <template slot-scope="scope">
159
                 <template slot-scope="scope">
160
-                  <span>{{ scope.row.project_name }}</span>
160
+                  <span v-if="scope.row.type==2">{{ scope.row.project_name }}</span>
161
+                  <span v-if="scope.row.type==3">{{ scope.row.good_info.specification_name }}</span>
161
                 </template>
162
                 </template>
162
             </el-table-column>
163
             </el-table-column>
163
             <el-table-column align="center" prop="statistical_classification" width="100" label="组">
164
             <el-table-column align="center" prop="statistical_classification" width="100" label="组">
772
       this.getInitData()
773
       this.getInitData()
773
 
774
 
774
     },
775
     },
776
+    created(){
777
+      console.log('prescription',this.prescription);
778
+    },
775
     watch: {
779
     watch: {
776
       'prescription.advices': {
780
       'prescription.advices': {
777
         handler(newVal, oldVal) {
781
         handler(newVal, oldVal) {
778
-          console.log("检查我我我我",this.prescription.advices)
779
-          console.log("检查我我我我",this.prescription.project)
782
+          console.log("检查我我我我",this.prescription)
780
         },
783
         },
781
         deep: true
784
         deep: true
782
       }
785
       }

+ 27 - 27
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

1995
           this.case_history.physical_examination = this.case_history.physical_examination
1995
           this.case_history.physical_examination = this.case_history.physical_examination
1996
           this.case_history.special_inspection = this.case_history.special_inspection
1996
           this.case_history.special_inspection = this.case_history.special_inspection
1997
           this.case_history.lab_apparatus = this.case_history.lab_apparatus
1997
           this.case_history.lab_apparatus = this.case_history.lab_apparatus
1998
-    
1998
+
1999
           //处方相关
1999
           //处方相关
2000
           this.prescriptionList = response.data.data.prescription
2000
           this.prescriptionList = response.data.data.prescription
2001
 
2001
 
2104
                   if (this.schedule.schedule_type == 1) {
2104
                   if (this.schedule.schedule_type == 1) {
2105
                     if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2105
                     if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2106
                       preTime = this.record_date + ' ' + '6:30'
2106
                       preTime = this.record_date + ' ' + '6:30'
2107
-                    } else if(this.org_id == 10206 ){
2107
+                    } else if(this.org_id == 10206 || this.org_id == 10598){
2108
                       preTime = this.record_date + ' ' + '6:00'
2108
                       preTime = this.record_date + ' ' + '6:00'
2109
                     } else {
2109
                     } else {
2110
                       preTime = this.record_date + ' ' + '7:00'
2110
                       preTime = this.record_date + ' ' + '7:00'
2135
                   if(nowTime.split(" ")[0] != this.record_date){
2135
                   if(nowTime.split(" ")[0] != this.record_date){
2136
                     // preTime = this.record_date
2136
                     // preTime = this.record_date
2137
                     if(this.schedule.schedule_type == 1){
2137
                     if(this.schedule.schedule_type == 1){
2138
-                      if(this.org_id == 10206  || this.org_id == 0) {
2138
+                      if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2139
                         preTime = this.record_date+ ' ' + '6:00'
2139
                         preTime = this.record_date+ ' ' + '6:00'
2140
                       }else {
2140
                       }else {
2141
                         preTime = this.record_date + ' ' + '7:00'
2141
                         preTime = this.record_date + ' ' + '7:00'
2299
                   if (this.schedule.schedule_type == 1) {
2299
                   if (this.schedule.schedule_type == 1) {
2300
                     if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2300
                     if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2301
                       preTime = this.record_date + ' ' + '6:30'
2301
                       preTime = this.record_date + ' ' + '6:30'
2302
-                    } else if(this.org_id == 10206  ) {
2302
+                    } else if(this.org_id == 10206  || this.org_id == 10598) {
2303
                       preTime = this.record_date+ ' ' + '6:00'
2303
                       preTime = this.record_date+ ' ' + '6:00'
2304
                     } else {
2304
                     } else {
2305
                       preTime = this.record_date + ' ' + '7:00'
2305
                       preTime = this.record_date + ' ' + '7:00'
2318
 
2318
 
2319
                 if(nowTime.split(" ")[0] != this.record_date){
2319
                 if(nowTime.split(" ")[0] != this.record_date){
2320
                   if(this.schedule.schedule_type == 1){
2320
                   if(this.schedule.schedule_type == 1){
2321
-                    if(this.org_id == 10206  || this.org_id == 0) {
2321
+                    if(this.org_id == 10206  || this.org_id == 0 ||  this.org_id == 10598) {
2322
                       preTime = this.record_date+ ' ' + '6:00'
2322
                       preTime = this.record_date+ ' ' + '6:00'
2323
                     }else {
2323
                     }else {
2324
                       preTime = this.record_date + ' ' + '7:00'
2324
                       preTime = this.record_date + ' ' + '7:00'
2374
               if(nowTime.split(" ")[0] != this.record_date){
2374
               if(nowTime.split(" ")[0] != this.record_date){
2375
                 // preTime = this.record_date
2375
                 // preTime = this.record_date
2376
                 if(this.schedule.schedule_type == 1){
2376
                 if(this.schedule.schedule_type == 1){
2377
-                  if(this.org_id == 10206  || this.org_id == 0) {
2377
+                  if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2378
                     preTime = this.record_date+ ' ' + '6:00'
2378
                     preTime = this.record_date+ ' ' + '6:00'
2379
                   }else {
2379
                   }else {
2380
                     preTime = this.record_date + ' ' + '7:00'
2380
                     preTime = this.record_date + ' ' + '7:00'
2678
                         if (this.schedule.schedule_type == 1) {
2678
                         if (this.schedule.schedule_type == 1) {
2679
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2679
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2680
                             preTime = this.record_date + ' ' + '6:30'
2680
                             preTime = this.record_date + ' ' + '6:30'
2681
-                          } else if(this.org_id == 10206 ){
2681
+                          } else if(this.org_id == 10206 || this.org_id == 10598){
2682
                             preTime = this.record_date + ' ' + '6:00'
2682
                             preTime = this.record_date + ' ' + '6:00'
2683
                           } else {
2683
                           } else {
2684
                             preTime = this.record_date + ' ' + '7:00'
2684
                             preTime = this.record_date + ' ' + '7:00'
2701
                       if (prescription.pre_time == 0) {
2701
                       if (prescription.pre_time == 0) {
2702
                         if(nowTime.split(" ")[0] != this.record_date){
2702
                         if(nowTime.split(" ")[0] != this.record_date){
2703
                           if(this.schedule.schedule_type == 1){
2703
                           if(this.schedule.schedule_type == 1){
2704
-                            if(this.org_id == 10206  || this.org_id == 0) {
2704
+                            if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2705
                               preTime = this.record_date+ ' ' + '6:00'
2705
                               preTime = this.record_date+ ' ' + '6:00'
2706
                             }else {
2706
                             }else {
2707
                               preTime = this.record_date + ' ' + '7:00'
2707
                               preTime = this.record_date + ' ' + '7:00'
2866
                         if (this.schedule.schedule_type == 1) {
2866
                         if (this.schedule.schedule_type == 1) {
2867
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2867
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
2868
                             preTime = this.record_date + ' ' + '6:30'
2868
                             preTime = this.record_date + ' ' + '6:30'
2869
-                          } else if(this.org_id == 10206){
2869
+                          } else if(this.org_id == 10206 || this.org_id == 10598){
2870
                             preTime = this.record_date + ' ' + '6:00'
2870
                             preTime = this.record_date + ' ' + '6:00'
2871
                           } else {
2871
                           } else {
2872
                             preTime = this.record_date + ' ' + '7:00'
2872
                             preTime = this.record_date + ' ' + '7:00'
2887
                       }
2887
                       }
2888
                       if(nowTime.split(" ")[0] != this.record_date){
2888
                       if(nowTime.split(" ")[0] != this.record_date){
2889
                         if(this.schedule.schedule_type == 1){
2889
                         if(this.schedule.schedule_type == 1){
2890
-                          if(this.org_id == 10206  || this.org_id == 0) {
2890
+                          if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2891
                             preTime = this.record_date+ ' ' + '6:00'
2891
                             preTime = this.record_date+ ' ' + '6:00'
2892
                           }else {
2892
                           }else {
2893
                             preTime = this.record_date + ' ' + '7:00'
2893
                             preTime = this.record_date + ' ' + '7:00'
2936
                   } else {
2936
                   } else {
2937
                     if(nowTime.split(" ")[0] != this.record_date){
2937
                     if(nowTime.split(" ")[0] != this.record_date){
2938
                       if(this.schedule.schedule_type == 1){
2938
                       if(this.schedule.schedule_type == 1){
2939
-                        if(this.org_id == 10206  || this.org_id == 0) {
2939
+                        if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2940
                           preTime = this.record_date+ ' ' + '6:00'
2940
                           preTime = this.record_date+ ' ' + '6:00'
2941
                         }else {
2941
                         }else {
2942
                           preTime = this.record_date + ' ' + '7:00'
2942
                           preTime = this.record_date + ' ' + '7:00'
3323
                       // preTime = nowTime
3323
                       // preTime = nowTime
3324
                       if(nowTime.split(" ")[0] != this.record_date){
3324
                       if(nowTime.split(" ")[0] != this.record_date){
3325
                         if(this.schedule.schedule_type == 1){
3325
                         if(this.schedule.schedule_type == 1){
3326
-                          if(this.org_id == 10206  || this.org_id == 0) {
3326
+                          if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3327
                             preTime = this.record_date+ ' ' + '6:00'
3327
                             preTime = this.record_date+ ' ' + '6:00'
3328
                           }else {
3328
                           }else {
3329
                             preTime = this.record_date + ' ' + '7:00'
3329
                             preTime = this.record_date + ' ' + '7:00'
3480
                       var preTime = nowTime
3480
                       var preTime = nowTime
3481
                       if(nowTime.split(" ")[0] != this.record_date){
3481
                       if(nowTime.split(" ")[0] != this.record_date){
3482
                         if(this.schedule.schedule_type == 1){
3482
                         if(this.schedule.schedule_type == 1){
3483
-                          if(this.org_id == 10206  || this.org_id == 0) {
3483
+                          if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3484
                             preTime = this.record_date+ ' ' + '6:00'
3484
                             preTime = this.record_date+ ' ' + '6:00'
3485
                           }else {
3485
                           }else {
3486
                             preTime = this.record_date + ' ' + '7:00'
3486
                             preTime = this.record_date + ' ' + '7:00'
3527
                   } else {
3527
                   } else {
3528
                     if(nowTime.split(" ")[0] != this.record_date){
3528
                     if(nowTime.split(" ")[0] != this.record_date){
3529
                       if(this.schedule.schedule_type == 1){
3529
                       if(this.schedule.schedule_type == 1){
3530
-                        if(this.org_id == 10206  || this.org_id == 0) {
3530
+                        if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3531
                           preTime = this.record_date+ ' ' + '6:00'
3531
                           preTime = this.record_date+ ' ' + '6:00'
3532
                         }else {
3532
                         }else {
3533
                           preTime = this.record_date + ' ' + '7:00'
3533
                           preTime = this.record_date + ' ' + '7:00'
3900
                     // preTime = nowTime
3900
                     // preTime = nowTime
3901
                     if(nowTime.split(" ")[0] != this.record_date){
3901
                     if(nowTime.split(" ")[0] != this.record_date){
3902
                       if(this.schedule.schedule_type == 1){
3902
                       if(this.schedule.schedule_type == 1){
3903
-                        if(this.org_id == 10206  || this.org_id == 0) {
3903
+                        if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3904
                           preTime = this.record_date+ ' ' + '6:00'
3904
                           preTime = this.record_date+ ' ' + '6:00'
3905
                         }else {
3905
                         }else {
3906
                           preTime = this.record_date + ' ' + '7:00'
3906
                           preTime = this.record_date + ' ' + '7:00'
4056
                     var preTime = nowTime
4056
                     var preTime = nowTime
4057
                     if(nowTime.split(" ")[0] != this.record_date){
4057
                     if(nowTime.split(" ")[0] != this.record_date){
4058
                       if(this.schedule.schedule_type == 1){
4058
                       if(this.schedule.schedule_type == 1){
4059
-                        if(this.org_id == 10206  || this.org_id == 0) {
4059
+                        if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4060
                           preTime = this.record_date+ ' ' + '6:00'
4060
                           preTime = this.record_date+ ' ' + '6:00'
4061
                         }else {
4061
                         }else {
4062
                           preTime = this.record_date + ' ' + '7:00'
4062
                           preTime = this.record_date + ' ' + '7:00'
4104
                 } else {
4104
                 } else {
4105
                   if(nowTime.split(" ")[0] != this.record_date){
4105
                   if(nowTime.split(" ")[0] != this.record_date){
4106
                     if(this.schedule.schedule_type == 1){
4106
                     if(this.schedule.schedule_type == 1){
4107
-                      if(this.org_id == 10206  || this.org_id == 0) {
4107
+                      if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4108
                         preTime = this.record_date+ ' ' + '6:00'
4108
                         preTime = this.record_date+ ' ' + '6:00'
4109
                       }else {
4109
                       }else {
4110
                         preTime = this.record_date + ' ' + '7:00'
4110
                         preTime = this.record_date + ' ' + '7:00'
4564
                         if (this.schedule.schedule_type == 1) {
4564
                         if (this.schedule.schedule_type == 1) {
4565
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4565
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4566
                             preTime = this.record_date + ' ' + '6:30'
4566
                             preTime = this.record_date + ' ' + '6:30'
4567
-                          } else if(this.org_id == 10206){
4567
+                          } else if(this.org_id == 10206 || this.org_id == 10598){
4568
 
4568
 
4569
                             preTime = this.record_date + ' ' + '6:00'
4569
                             preTime = this.record_date + ' ' + '6:00'
4570
 
4570
 
4592
                         // preTime = nowTime
4592
                         // preTime = nowTime
4593
                         if(nowTime.split(" ")[0] != this.record_date){
4593
                         if(nowTime.split(" ")[0] != this.record_date){
4594
                           if(this.schedule.schedule_type == 1){
4594
                           if(this.schedule.schedule_type == 1){
4595
-                            if(this.org_id == 10206  || this.org_id == 0) {
4595
+                            if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4596
                               preTime = this.record_date+ ' ' + '6:00'
4596
                               preTime = this.record_date+ ' ' + '6:00'
4597
                             }else {
4597
                             }else {
4598
                               preTime = this.record_date + ' ' + '7:00'
4598
                               preTime = this.record_date + ' ' + '7:00'
4755
                         if (this.schedule.schedule_type == 1) {
4755
                         if (this.schedule.schedule_type == 1) {
4756
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4756
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
4757
                             preTime = this.record_date + ' ' + '6:30'
4757
                             preTime = this.record_date + ' ' + '6:30'
4758
-                          } else if(this.org_id == 10206){
4758
+                          } else if(this.org_id == 10206 || this.org_id == 10598){
4759
                             preTime = this.record_date+ ' ' + '6:00'
4759
                             preTime = this.record_date+ ' ' + '6:00'
4760
                           } else {
4760
                           } else {
4761
                             preTime = this.record_date + ' ' + '7:00'
4761
                             preTime = this.record_date + ' ' + '7:00'
4773
                       }
4773
                       }
4774
                       if(nowTime.split(" ")[0] != this.record_date){
4774
                       if(nowTime.split(" ")[0] != this.record_date){
4775
                         if(this.schedule.schedule_type == 1){
4775
                         if(this.schedule.schedule_type == 1){
4776
-                          if(this.org_id == 10206  || this.org_id == 0) {
4776
+                          if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4777
                             preTime = this.record_date+ ' ' + '6:00'
4777
                             preTime = this.record_date+ ' ' + '6:00'
4778
                           }else {
4778
                           }else {
4779
                             preTime = this.record_date + ' ' + '7:00'
4779
                             preTime = this.record_date + ' ' + '7:00'
4828
 
4828
 
4829
                     if(nowTime.split(" ")[0] != this.record_date){
4829
                     if(nowTime.split(" ")[0] != this.record_date){
4830
                       if(this.schedule.schedule_type == 1){
4830
                       if(this.schedule.schedule_type == 1){
4831
-                        if(this.org_id == 10206  || this.org_id == 0) {
4831
+                        if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4832
                           preTime = this.record_date+ ' ' + '6:00'
4832
                           preTime = this.record_date+ ' ' + '6:00'
4833
                         }else {
4833
                         }else {
4834
                           preTime = this.record_date + ' ' + '7:00'
4834
                           preTime = this.record_date + ' ' + '7:00'
5191
                         if (this.schedule.schedule_type == 1) {
5191
                         if (this.schedule.schedule_type == 1) {
5192
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5192
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5193
                             preTime = this.record_date + ' ' + '6:30'
5193
                             preTime = this.record_date + ' ' + '6:30'
5194
-                          } else if(this.org_id == 10206){
5194
+                          } else if(this.org_id == 10206 || this.org_id == 10598){
5195
                             preTime = this.record_date + ' ' + '6:00'
5195
                             preTime = this.record_date + ' ' + '6:00'
5196
                           } else {
5196
                           } else {
5197
                             preTime = this.record_date + ' ' + '7:00'
5197
                             preTime = this.record_date + ' ' + '7:00'
5215
                         preTime = nowTime
5215
                         preTime = nowTime
5216
                         if(nowTime.split(" ")[0] != this.record_date){
5216
                         if(nowTime.split(" ")[0] != this.record_date){
5217
                           if(this.schedule.schedule_type == 1){
5217
                           if(this.schedule.schedule_type == 1){
5218
-                            if(this.org_id == 10206  || this.org_id == 0) {
5218
+                            if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5219
                               preTime = this.record_date+ ' ' + '6:00'
5219
                               preTime = this.record_date+ ' ' + '6:00'
5220
                             }else {
5220
                             }else {
5221
                               preTime = this.record_date + ' ' + '7:00'
5221
                               preTime = this.record_date + ' ' + '7:00'
5379
                         if (this.schedule.schedule_type == 1) {
5379
                         if (this.schedule.schedule_type == 1) {
5380
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5380
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5381
                             preTime = this.record_date + ' ' + '6:30'
5381
                             preTime = this.record_date + ' ' + '6:30'
5382
-                          } else if(this.org_id == 10206){
5382
+                          } else if(this.org_id == 10206 || this.org_id == 10598){
5383
                             preTime = this.record_date + ' ' + '6:00'
5383
                             preTime = this.record_date + ' ' + '6:00'
5384
                           } else {
5384
                           } else {
5385
                             preTime = this.record_date + ' ' + '7:00'
5385
                             preTime = this.record_date + ' ' + '7:00'
5398
                       }
5398
                       }
5399
                       if(nowTime.split(" ")[0] != this.record_date){
5399
                       if(nowTime.split(" ")[0] != this.record_date){
5400
                         if(this.schedule.schedule_type == 1){
5400
                         if(this.schedule.schedule_type == 1){
5401
-                          if(this.org_id == 10206  || this.org_id == 0) {
5401
+                          if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5402
                             preTime = this.record_date+ ' ' + '6:00'
5402
                             preTime = this.record_date+ ' ' + '6:00'
5403
                           }else {
5403
                           }else {
5404
                             preTime = this.record_date + ' ' + '7:00'
5404
                             preTime = this.record_date + ' ' + '7:00'
5452
                   } else {
5452
                   } else {
5453
                     if(nowTime.split(" ")[0] != this.record_date){
5453
                     if(nowTime.split(" ")[0] != this.record_date){
5454
                       if(this.schedule.schedule_type == 1){
5454
                       if(this.schedule.schedule_type == 1){
5455
-                        if(this.org_id == 10206  || this.org_id == 0) {
5455
+                        if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5456
                           preTime = this.record_date+ ' ' + '6:00'
5456
                           preTime = this.record_date+ ' ' + '6:00'
5457
                         }else {
5457
                         }else {
5458
                           preTime = this.record_date + ' ' + '7:00'
5458
                           preTime = this.record_date + ' ' + '7:00'

+ 2 - 4
src/xt_pages/outpatientDoctorStation/pastInquiries.vue View File

166
       >
166
       >
167
       </el-pagination>
167
       </el-pagination>
168
       <inquiries-detail ref="inquiriesDetail"></inquiries-detail>
168
       <inquiries-detail ref="inquiriesDetail"></inquiries-detail>
169
+
169
       <el-dialog
170
       <el-dialog
170
           class="centerDialog"
171
           class="centerDialog"
171
           width="600px"
172
           width="600px"
213
 import print from './batch_print_template/index'
214
 import print from './batch_print_template/index'
214
 import treatPrint from './batch_print_treatTemplate/index'
215
 import treatPrint from './batch_print_treatTemplate/index'
215
 import checkPrint from './batch_print_checkTemplate/index'
216
 import checkPrint from './batch_print_checkTemplate/index'
216
-
217
+import prints from "print-js";
217
 export default {
218
 export default {
218
   components: {
219
   components: {
219
     BreadCrumb,
220
     BreadCrumb,
425
         }
426
         }
426
         getBatchPrint(params).then((res) => {
427
         getBatchPrint(params).then((res) => {
427
           let Arr = res.data.data.patients
428
           let Arr = res.data.data.patients
428
-
429
           let new_patients = []
429
           let new_patients = []
430
           if (type != 3) {
430
           if (type != 3) {
431
-
432
             if (type == 1){
431
             if (type == 1){
433
               Arr.forEach((i) => {
432
               Arr.forEach((i) => {
434
                 if (i.prescriptions.length != 0) {
433
                 if (i.prescriptions.length != 0) {
435
                   new_patients.push(i)
434
                   new_patients.push(i)
436
                 }
435
                 }
437
               })
436
               })
438
-
439
             }else {
437
             }else {
440
               Arr.forEach((i) => {
438
               Arr.forEach((i) => {
441
                 if (i.prescriptions.length != 0) {
439
                 if (i.prescriptions.length != 0) {