liusheng
2025-02-26 718bd7efbc0d959d0b9050c34be2fd639a1f74b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
package com.smartor.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 方案任务对象 scheme_task
 * 
 * @author smartor
 * @date 2023-03-04
 */
public class SchemeTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /**  自增ID  */
    private Long id;
 
    /**  方案ID  */
    @Excel(name = " 方案ID ")
    private Long schemeid;
 
    /**  计划ID  */
    @Excel(name = " 计划ID ")
    private Long schemeplanid;
 
    /**  患者ID  */
    @Excel(name = " 患者ID ")
    private Long patientid;
 
    /**  状态;0.待开始 1.进行中 2.已完成 3.失访 9.已关闭  */
    @Excel(name = " 状态;0.待开始 1.进行中 2.已完成 3.失访 9.已关闭 ")
    private Long state;
 
    /**  基线时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 基线时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baselinetime;
 
    /**  计划执行时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 计划执行时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date plantime;
 
    /**  实际完成时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 实际完成时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualtime;
 
    /**  逾期时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 逾期时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date overtime;
 
    /**  机构ID  */
    @Excel(name = " 机构ID ")
    private String orgid;
 
    /**  删除标记  */
    private String delFlag;
 
    /**  上传标记  */
    @Excel(name = " 上传标记 ")
    private Long isupload;
 
    /**  上传时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
 
    /**  患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无  */
    @Excel(name = " 患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无 ")
    private Long patientsource;
 
    /**  配置ID  */
    @Excel(name = " 配置ID ")
    private String taskconfigid;
 
    /**  关联编号 科室&项目&问卷&宣教  */
    @Excel(name = " 关联编号 科室&项目&问卷&宣教 ")
    private Long relationid;
 
    /**  关联名称  */
    @Excel(name = " 关联名称 ")
    private String relationname;
 
    /**  介绍&提醒内容  */
    @Excel(name = " 介绍&提醒内容 ")
    private String content;
 
    /**  提示内容  */
    @Excel(name = " 提示内容 ")
    private String tipscontent;
 
    /**  任务类型  */
    @Excel(name = " 任务类型 ")
    private Long tasktype;
 
    /**  关闭时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 关闭时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finshtime;
 
    /**  关闭类型;0.自动关闭 1.任务重复 2.患者死亡 3.患者拒绝管理 4.患者配合度不够 5.患者住院 6.其他  */
    @Excel(name = " 关闭类型;0.自动关闭 1.任务重复 2.患者死亡 3.患者拒绝管理 4.患者配合度不够 5.患者住院 6.其他 ")
    private Long finshtype;
 
    /**  关闭说明  */
    @Excel(name = " 关闭说明 ")
    private String finshdesc;
 
    /**  有效期  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 有效期 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date termvaliditytime;
 
    /**  是否生成方案;0未生成 1生成 9无匹配方案  */
    @Excel(name = " 是否生成方案;0未生成 1生成 9无匹配方案 ")
    private Long schemestatus;
 
    /**  就诊ID  */
    @Excel(name = " 就诊ID ")
    private Long visitid;
 
    /**  就诊类型  */
    @Excel(name = " 就诊类型 ")
    private Long visittype;
 
    /**  任务来源;0.自动创建 1.手动创建  */
    @Excel(name = " 任务来源;0.自动创建 1.手动创建 ")
    private Long tasksource;
 
    /**  关联项目类型;1.检查 2.检验  */
    @Excel(name = " 关联项目类型;1.检查 2.检验 ")
    private Long relationtype;
 
    /**  是否人工处理;1是 0否  */
    @Excel(name = " 是否人工处理;1是 0否 ")
    private Long isartificial;
 
    /**  将逾期时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 将逾期时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date overduetipstime;
 
    /**  是否异常跟进任务;1是 0否  */
    @Excel(name = " 是否异常跟进任务;1是 0否 ")
    private Long isabnormal;
 
    /**  已经人工处理标志;1已经人工处理过  0还未进行人工处理  */
    @Excel(name = " 已经人工处理标志;1已经人工处理过  0还未进行人工处理 ")
    private Long artificialtag;
 
    /**  关联代码 问卷&宣教  */
    @Excel(name = " 关联代码 问卷&宣教 ")
    private String relationcode;
 
    /**  方案代码  */
    @Excel(name = " 方案代码 ")
    private String schemecode;
 
    /**  最后一次计划执行时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 最后一次计划执行时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastplantime;
 
    /**  是否为测试任务;0.否 1.是  */
    @Excel(name = " 是否为测试任务;0.否 1.是 ")
    private Long istest;
 
    /**  第一次计划执行时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 第一次计划执行时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date firstplantime;
 
    /**  重发次数;Null表示无需重发 0表示需要重发 数字表示已经重发了几次  */
    @Excel(name = " 重发次数;Null表示无需重发 0表示需要重发 数字表示已经重发了几次 ")
    private Long repeatsecond;
 
    /**  是否存在重发标记  */
    @Excel(name = " 是否存在重发标记 ")
    private Long isrepeat;
 
    /**  手动执行标记  */
    @Excel(name = " 手动执行标记 ")
    private Long ismanual;
 
    /**  失访时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 失访时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date losstime;
 
    /**   */
    @Excel(name = " ")
    private String relationlistid;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
    public void setSchemeid(Long schemeid) 
    {
        this.schemeid = schemeid;
    }
 
    public Long getSchemeid() 
    {
        return schemeid;
    }
    public void setSchemeplanid(Long schemeplanid) 
    {
        this.schemeplanid = schemeplanid;
    }
 
    public Long getSchemeplanid() 
    {
        return schemeplanid;
    }
    public void setPatientid(Long patientid) 
    {
        this.patientid = patientid;
    }
 
    public Long getPatientid() 
    {
        return patientid;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }
 
    public Long getState() 
    {
        return state;
    }
    public void setBaselinetime(Date baselinetime) 
    {
        this.baselinetime = baselinetime;
    }
 
    public Date getBaselinetime() 
    {
        return baselinetime;
    }
    public void setPlantime(Date plantime) 
    {
        this.plantime = plantime;
    }
 
    public Date getPlantime() 
    {
        return plantime;
    }
    public void setActualtime(Date actualtime) 
    {
        this.actualtime = actualtime;
    }
 
    public Date getActualtime() 
    {
        return actualtime;
    }
    public void setOvertime(Date overtime) 
    {
        this.overtime = overtime;
    }
 
    public Date getOvertime() 
    {
        return overtime;
    }
    public void setOrgid(String orgid) 
    {
        this.orgid = orgid;
    }
 
    public String getOrgid() 
    {
        return orgid;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }
 
    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setIsupload(Long isupload) 
    {
        this.isupload = isupload;
    }
 
    public Long getIsupload() 
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }
 
    public Date getUploadTime() 
    {
        return uploadTime;
    }
    public void setPatientsource(Long patientsource) 
    {
        this.patientsource = patientsource;
    }
 
    public Long getPatientsource() 
    {
        return patientsource;
    }
    public void setTaskconfigid(String taskconfigid) 
    {
        this.taskconfigid = taskconfigid;
    }
 
    public String getTaskconfigid() 
    {
        return taskconfigid;
    }
    public void setRelationid(Long relationid) 
    {
        this.relationid = relationid;
    }
 
    public Long getRelationid() 
    {
        return relationid;
    }
    public void setRelationname(String relationname) 
    {
        this.relationname = relationname;
    }
 
    public String getRelationname() 
    {
        return relationname;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }
 
    public String getContent() 
    {
        return content;
    }
    public void setTipscontent(String tipscontent) 
    {
        this.tipscontent = tipscontent;
    }
 
    public String getTipscontent() 
    {
        return tipscontent;
    }
    public void setTasktype(Long tasktype) 
    {
        this.tasktype = tasktype;
    }
 
    public Long getTasktype() 
    {
        return tasktype;
    }
    public void setFinshtime(Date finshtime) 
    {
        this.finshtime = finshtime;
    }
 
    public Date getFinshtime() 
    {
        return finshtime;
    }
    public void setFinshtype(Long finshtype) 
    {
        this.finshtype = finshtype;
    }
 
    public Long getFinshtype() 
    {
        return finshtype;
    }
    public void setFinshdesc(String finshdesc) 
    {
        this.finshdesc = finshdesc;
    }
 
    public String getFinshdesc() 
    {
        return finshdesc;
    }
    public void setTermvaliditytime(Date termvaliditytime) 
    {
        this.termvaliditytime = termvaliditytime;
    }
 
    public Date getTermvaliditytime() 
    {
        return termvaliditytime;
    }
    public void setSchemestatus(Long schemestatus) 
    {
        this.schemestatus = schemestatus;
    }
 
    public Long getSchemestatus() 
    {
        return schemestatus;
    }
    public void setVisitid(Long visitid) 
    {
        this.visitid = visitid;
    }
 
    public Long getVisitid() 
    {
        return visitid;
    }
    public void setVisittype(Long visittype) 
    {
        this.visittype = visittype;
    }
 
    public Long getVisittype() 
    {
        return visittype;
    }
    public void setTasksource(Long tasksource) 
    {
        this.tasksource = tasksource;
    }
 
    public Long getTasksource() 
    {
        return tasksource;
    }
    public void setRelationtype(Long relationtype) 
    {
        this.relationtype = relationtype;
    }
 
    public Long getRelationtype() 
    {
        return relationtype;
    }
    public void setIsartificial(Long isartificial) 
    {
        this.isartificial = isartificial;
    }
 
    public Long getIsartificial() 
    {
        return isartificial;
    }
    public void setOverduetipstime(Date overduetipstime) 
    {
        this.overduetipstime = overduetipstime;
    }
 
    public Date getOverduetipstime() 
    {
        return overduetipstime;
    }
    public void setIsabnormal(Long isabnormal) 
    {
        this.isabnormal = isabnormal;
    }
 
    public Long getIsabnormal() 
    {
        return isabnormal;
    }
    public void setArtificialtag(Long artificialtag) 
    {
        this.artificialtag = artificialtag;
    }
 
    public Long getArtificialtag() 
    {
        return artificialtag;
    }
    public void setRelationcode(String relationcode) 
    {
        this.relationcode = relationcode;
    }
 
    public String getRelationcode() 
    {
        return relationcode;
    }
    public void setSchemecode(String schemecode) 
    {
        this.schemecode = schemecode;
    }
 
    public String getSchemecode() 
    {
        return schemecode;
    }
    public void setLastplantime(Date lastplantime) 
    {
        this.lastplantime = lastplantime;
    }
 
    public Date getLastplantime() 
    {
        return lastplantime;
    }
    public void setIstest(Long istest) 
    {
        this.istest = istest;
    }
 
    public Long getIstest() 
    {
        return istest;
    }
    public void setFirstplantime(Date firstplantime) 
    {
        this.firstplantime = firstplantime;
    }
 
    public Date getFirstplantime() 
    {
        return firstplantime;
    }
    public void setRepeatsecond(Long repeatsecond) 
    {
        this.repeatsecond = repeatsecond;
    }
 
    public Long getRepeatsecond() 
    {
        return repeatsecond;
    }
    public void setIsrepeat(Long isrepeat) 
    {
        this.isrepeat = isrepeat;
    }
 
    public Long getIsrepeat() 
    {
        return isrepeat;
    }
    public void setIsmanual(Long ismanual) 
    {
        this.ismanual = ismanual;
    }
 
    public Long getIsmanual() 
    {
        return ismanual;
    }
    public void setLosstime(Date losstime) 
    {
        this.losstime = losstime;
    }
 
    public Date getLosstime() 
    {
        return losstime;
    }
    public void setRelationlistid(String relationlistid) 
    {
        this.relationlistid = relationlistid;
    }
 
    public String getRelationlistid() 
    {
        return relationlistid;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schemeid", getSchemeid())
            .append("schemeplanid", getSchemeplanid())
            .append("patientid", getPatientid())
            .append("state", getState())
            .append("baselinetime", getBaselinetime())
            .append("plantime", getPlantime())
            .append("actualtime", getActualtime())
            .append("overtime", getOvertime())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("patientsource", getPatientsource())
            .append("taskconfigid", getTaskconfigid())
            .append("relationid", getRelationid())
            .append("relationname", getRelationname())
            .append("content", getContent())
            .append("tipscontent", getTipscontent())
            .append("tasktype", getTasktype())
            .append("finshtime", getFinshtime())
            .append("finshtype", getFinshtype())
            .append("finshdesc", getFinshdesc())
            .append("termvaliditytime", getTermvaliditytime())
            .append("schemestatus", getSchemestatus())
            .append("visitid", getVisitid())
            .append("visittype", getVisittype())
            .append("tasksource", getTasksource())
            .append("relationtype", getRelationtype())
            .append("isartificial", getIsartificial())
            .append("overduetipstime", getOverduetipstime())
            .append("isabnormal", getIsabnormal())
            .append("artificialtag", getArtificialtag())
            .append("relationcode", getRelationcode())
            .append("schemecode", getSchemecode())
            .append("lastplantime", getLastplantime())
            .append("istest", getIstest())
            .append("firstplantime", getFirstplantime())
            .append("repeatsecond", getRepeatsecond())
            .append("isrepeat", getIsrepeat())
            .append("ismanual", getIsmanual())
            .append("losstime", getLosstime())
            .append("relationlistid", getRelationlistid())
            .toString();
    }
}