liusheng
2023-06-27 0b193b98347b5563e59492d8f57eba8f67af6d23
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
package com.smartor.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
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;
 
/**
 * 患者住院记录对象 pat_med_inhosp
 * 
 * @author smartor
 * @date 2023-03-04
 */
@ApiModel(value = "PatMedInhosp", description = "患者住院记录对象")
public class PatMedInhosp extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /**  自增ID  */
    @ApiModelProperty(value = "自增ID")
    private Long inhospid;
 
    /**  流水号  */
    @ApiModelProperty(value = "流水号")
    private String serialnum;
 
    /**  医院名称  */
    @ApiModelProperty(value = "医院名称")
    @Excel(name = " 医院名称 ")
    private String hospitalname;
 
    /**  医院编号  */
    @ApiModelProperty(value = "医院编号")
    private String hospitalcode;
 
    /**  院区编号  */
    @ApiModelProperty(value = "院区编号")
    private String hospitaldistrictcode;
 
    /**  院区名称  */
    @ApiModelProperty(value = "院区名称")
    @Excel(name = " 院区名称 ")
    private String hospitaldistrictname;
 
    /**  入院诊断ICD值  */
    @ApiModelProperty(value = "入院诊断ICD值")
    private String icd10code;
 
    /**  入院诊断名称  */
    @ApiModelProperty(value = "入院诊断名称")
    private String diagname;
 
    /**  入院时间  */
    @ApiModelProperty(value = "入院时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 入院时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;
 
    /**  出院时间  */
    @ApiModelProperty(value = "出院时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 出院时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;
 
    /**  入院科室代码  */
    @ApiModelProperty(value = "入院科室代码")
    private String deptcode;
 
    /**  入院科室名称  */
    @ApiModelProperty(value = "入院科室名称")
    private String deptname;
 
    /**  房间号  */
    @ApiModelProperty(value = "房间号")
    private String roomno;
 
    /**  床位号  */
    @ApiModelProperty(value = "床位号")
    @Excel(name = " 床位号 ")
    private String bedno;
 
    /**  机构ID  */
    @ApiModelProperty(value = "机构ID")
    @Excel(name = " 机构ID ")
    private String orgid;
 
    /**  删除标记  */
    @ApiModelProperty(value = "删除标记")
    private String delFlag;
 
    /**  上传标记  */
    @ApiModelProperty(value = "上传标记")
    private Long isupload;
 
    /**  上传时间  */
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;
 
    /**  档案ID  */
    @ApiModelProperty(value = "档案ID")
    private Long patid;
 
    /**  出院诊断  */
    @ApiModelProperty(value = "出院诊断")
    @Excel(name = " 出院诊断 ")
    private String leavediagname;
 
    /**  出院诊断ICD值  */
    @ApiModelProperty(value = "出院诊断ICD值")
    private String leaveicd10code;
 
    /**  医生工号  */
    @ApiModelProperty(value = "医生工号")
    private String drcode;
 
    /**  医生名称  */
    @ApiModelProperty(value = "医生名称")
    @Excel(name = " 医生名称 ")
    private String drname;
 
    /**  是否生成方案状态;0未生成 1生成入院 2生成出院 9无匹配方案  */
    @ApiModelProperty(value = "是否生成方案状态;0未生成 1生成入院 2生成出院 9无匹配方案")
    private Long schemestatus;
 
    /**  是否生成通用方案状态;0未生成 1生成 9无匹配方案  */
    @ApiModelProperty(value = "是否生成通用方案状态;0未生成 1生成 9无匹配方案")
    private Long generalschemestatus;
 
    /**  出院科室代码  */
    @ApiModelProperty(value = "出院科室代码")
    private String leaveldeptcode;
 
    /**  出院科室名称  */
    @ApiModelProperty(value = "出院科室名称")
    @Excel(name = " 出院科室名称 ")
    private String leaveldeptname;
 
    /**  病区ID  */
    @ApiModelProperty(value = "病区ID")
    private Long hospitaldistrictid;
 
    /**  出院病区编号  */
    @ApiModelProperty(value = "出院病区编号")
    private String leavehospitaldistrictcode;
 
    /**  出院病区名称  */
    @ApiModelProperty(value = "出院病区名称")
    @Excel(name = " 出院病区名称 ")
    private String leavehospitaldistrictname;
 
    /**  出院病区ID  */
    @ApiModelProperty(value = "出院病区ID")
    private Long leavehospitaldistrictid;
 
    /**  入院科室ID  */
    @ApiModelProperty(value = "入院科室ID")
    private Long deptid;
 
    /**  出院科室ID  */
    @ApiModelProperty(value = "出院科室ID")
    private Long leaveldeptid;
 
    /**  方案状态操作时间  */
    @ApiModelProperty(value = "方案状态操作时间")
    private Date schemetime;
 
    public void setInhospid(Long inhospid) 
    {
        this.inhospid = inhospid;
    }
 
    public Long getInhospid() 
    {
        return inhospid;
    }
    public void setSerialnum(String serialnum) 
    {
        this.serialnum = serialnum;
    }
 
    public String getSerialnum() 
    {
        return serialnum;
    }
    public void setHospitalname(String hospitalname) 
    {
        this.hospitalname = hospitalname;
    }
 
    public String getHospitalname() 
    {
        return hospitalname;
    }
    public void setHospitalcode(String hospitalcode) 
    {
        this.hospitalcode = hospitalcode;
    }
 
    public String getHospitalcode() 
    {
        return hospitalcode;
    }
    public void setHospitaldistrictcode(String hospitaldistrictcode) 
    {
        this.hospitaldistrictcode = hospitaldistrictcode;
    }
 
    public String getHospitaldistrictcode() 
    {
        return hospitaldistrictcode;
    }
    public void setHospitaldistrictname(String hospitaldistrictname) 
    {
        this.hospitaldistrictname = hospitaldistrictname;
    }
 
    public String getHospitaldistrictname() 
    {
        return hospitaldistrictname;
    }
    public void setIcd10code(String icd10code) 
    {
        this.icd10code = icd10code;
    }
 
    public String getIcd10code() 
    {
        return icd10code;
    }
    public void setDiagname(String diagname) 
    {
        this.diagname = diagname;
    }
 
    public String getDiagname() 
    {
        return diagname;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }
 
    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }
 
    public Date getEndtime() 
    {
        return endtime;
    }
    public void setDeptcode(String deptcode) 
    {
        this.deptcode = deptcode;
    }
 
    public String getDeptcode() 
    {
        return deptcode;
    }
    public void setDeptname(String deptname) 
    {
        this.deptname = deptname;
    }
 
    public String getDeptname() 
    {
        return deptname;
    }
    public void setRoomno(String roomno) 
    {
        this.roomno = roomno;
    }
 
    public String getRoomno() 
    {
        return roomno;
    }
    public void setBedno(String bedno) 
    {
        this.bedno = bedno;
    }
 
    public String getBedno() 
    {
        return bedno;
    }
    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 setPatid(Long patid) 
    {
        this.patid = patid;
    }
 
    public Long getPatid() 
    {
        return patid;
    }
    public void setLeavediagname(String leavediagname) 
    {
        this.leavediagname = leavediagname;
    }
 
    public String getLeavediagname() 
    {
        return leavediagname;
    }
    public void setLeaveicd10code(String leaveicd10code) 
    {
        this.leaveicd10code = leaveicd10code;
    }
 
    public String getLeaveicd10code() 
    {
        return leaveicd10code;
    }
    public void setDrcode(String drcode) 
    {
        this.drcode = drcode;
    }
 
    public String getDrcode() 
    {
        return drcode;
    }
    public void setDrname(String drname) 
    {
        this.drname = drname;
    }
 
    public String getDrname() 
    {
        return drname;
    }
    public void setSchemestatus(Long schemestatus) 
    {
        this.schemestatus = schemestatus;
    }
 
    public Long getSchemestatus() 
    {
        return schemestatus;
    }
    public void setGeneralschemestatus(Long generalschemestatus) 
    {
        this.generalschemestatus = generalschemestatus;
    }
 
    public Long getGeneralschemestatus() 
    {
        return generalschemestatus;
    }
    public void setLeaveldeptcode(String leaveldeptcode) 
    {
        this.leaveldeptcode = leaveldeptcode;
    }
 
    public String getLeaveldeptcode() 
    {
        return leaveldeptcode;
    }
    public void setLeaveldeptname(String leaveldeptname) 
    {
        this.leaveldeptname = leaveldeptname;
    }
 
    public String getLeaveldeptname() 
    {
        return leaveldeptname;
    }
    public void setHospitaldistrictid(Long hospitaldistrictid) 
    {
        this.hospitaldistrictid = hospitaldistrictid;
    }
 
    public Long getHospitaldistrictid() 
    {
        return hospitaldistrictid;
    }
    public void setLeavehospitaldistrictcode(String leavehospitaldistrictcode) 
    {
        this.leavehospitaldistrictcode = leavehospitaldistrictcode;
    }
 
    public String getLeavehospitaldistrictcode() 
    {
        return leavehospitaldistrictcode;
    }
    public void setLeavehospitaldistrictname(String leavehospitaldistrictname) 
    {
        this.leavehospitaldistrictname = leavehospitaldistrictname;
    }
 
    public String getLeavehospitaldistrictname() 
    {
        return leavehospitaldistrictname;
    }
    public void setLeavehospitaldistrictid(Long leavehospitaldistrictid) 
    {
        this.leavehospitaldistrictid = leavehospitaldistrictid;
    }
 
    public Long getLeavehospitaldistrictid() 
    {
        return leavehospitaldistrictid;
    }
    public void setDeptid(Long deptid) 
    {
        this.deptid = deptid;
    }
 
    public Long getDeptid() 
    {
        return deptid;
    }
    public void setLeaveldeptid(Long leaveldeptid) 
    {
        this.leaveldeptid = leaveldeptid;
    }
 
    public Long getLeaveldeptid() 
    {
        return leaveldeptid;
    }
    public void setSchemetime(Date schemetime) 
    {
        this.schemetime = schemetime;
    }
 
    public Date getSchemetime() 
    {
        return schemetime;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inhospid", getInhospid())
            .append("serialnum", getSerialnum())
            .append("hospitalname", getHospitalname())
            .append("hospitalcode", getHospitalcode())
            .append("hospitaldistrictcode", getHospitaldistrictcode())
            .append("hospitaldistrictname", getHospitaldistrictname())
            .append("icd10code", getIcd10code())
            .append("diagname", getDiagname())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("deptcode", getDeptcode())
            .append("deptname", getDeptname())
            .append("roomno", getRoomno())
            .append("bedno", getBedno())
            .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("patid", getPatid())
            .append("leavediagname", getLeavediagname())
            .append("leaveicd10code", getLeaveicd10code())
            .append("drcode", getDrcode())
            .append("drname", getDrname())
            .append("schemestatus", getSchemestatus())
            .append("generalschemestatus", getGeneralschemestatus())
            .append("leaveldeptcode", getLeaveldeptcode())
            .append("leaveldeptname", getLeaveldeptname())
            .append("hospitaldistrictid", getHospitaldistrictid())
            .append("leavehospitaldistrictcode", getLeavehospitaldistrictcode())
            .append("leavehospitaldistrictname", getLeavehospitaldistrictname())
            .append("leavehospitaldistrictid", getLeavehospitaldistrictid())
            .append("deptid", getDeptid())
            .append("leaveldeptid", getLeaveldeptid())
            .append("schemetime", getSchemetime())
            .toString();
    }
}