liusheng
5 天以前 0c621621889c90a119e2ff9e41c4f5528f395f7e
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
package com.smartor.domain;
 
import java.util.Date;
import java.util.List;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
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_archive
 *
 * @author smartor
 * @date 2023-03-04
 */
@ApiModel(value = "PatArchive", description = "患者档案对象")
@Data
public class PatArchive extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * 自增ID
     */
    @ApiModelProperty("自增ID")
    private Long id;
 
    /**
     * 父ID
     */
    @ApiModelProperty("父ID")
    private Long pid;
 
    /**
     * GUID
     */
    @ApiModelProperty("GUID")
    private String guid;
 
    /**
     * 姓名
     */
    @ApiModelProperty("患者编号")
    @Excel(name = " 患者编号 ")
    private String patientno;
 
    /**
     * 服务标识:0,需要,1,不需要
     */
    @ApiModelProperty("服务标识:0,需要,1,不需要")
    @Excel(name = " 服务标识:0,需要,1,不需要 ")
    private String notrequiredFlag;
 
    /**
     * 不要服务的原因
     */
    @ApiModelProperty("不要服务的原因")
    @Excel(name = " 不要服务的原因 ")
    private String notrequiredreason;
 
    /**
     * 来源(1:HIS;2:数据平台;3:文件导入)
     */
    @ApiModelProperty("来源(1:HIS;2:数据平台;3:文件导入)")
    @Excel(name = " 来源(1:HIS;2:数据平台;3:文件导入) ")
    private Integer sourcefrom;
 
    /**
     * his系统的患者id
     */
    @ApiModelProperty("his系统的患者id")
    @Excel(name = "his系统的患者id")
    private String patidHis;
 
    /**
     * his系统的患者id
     */
    @ApiModelProperty("his系统的患者id")
    @Excel(name = "his系统的患者id")
    private String sdFlag;
 
    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    @Excel(name = " 姓名 ")
    private String name;
 
    /**
     * 性别  1:男 2:女
     */
    @ApiModelProperty("性别")
    @Excel(name = " 性别 ")
    private Long sex;
 
    /**
     * 证件类型
     */
    @ApiModelProperty("证件类型")
    @Excel(name = " 证件类型 ")
    private String idcardtype;
 
 
    /**
     * 证件号码
     */
    @ApiModelProperty("籍贯")
    @Excel(name = " 籍贯 ")
    private String nativePlace;
 
    /**
     * 住院号
     */
    @ApiModelProperty(value = "住院号")
    private String inhospno;
 
    /**
     * 证件号码
     */
    @ApiModelProperty("居住地")
    @Excel(name = " 居住地 ")
    private String placeOfResidence;
 
    /**
     * 证件号码
     */
    @ApiModelProperty("出生地")
    @Excel(name = " 出生地 ")
    private String birthplace;
 
    /**
     * 证件号码
     */
    @ApiModelProperty("证件号码")
    @Excel(name = " 证件号码 ")
    private String idcardno;
 
    /**
     * 生日
     */
    @ApiModelProperty("生日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 生日 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthdate;
 
    /**
     * 入院时间
     */
    @ApiModelProperty("入院时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 生日 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inhosptime;
 
    /**
     * 年龄
     */
    @ApiModelProperty("年龄")
    @Excel(name = " 年龄 ")
    private Long age;
    /**
     * 年龄
     */
    @ApiModelProperty("年龄单位")
    @Excel(name = " 年龄单位 ")
    private String ageUnit;
 
    /**
     * 建档时间
     */
    @ApiModelProperty("建档时间")
    @Excel(name = " 建档时间 ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date archivetime;
 
    /**
     * 建档人
     */
    @ApiModelProperty("建档人")
    @Excel(name = " 建档人 ")
    private String archiveby;
 
    /**
     * 手机号码
     */
    @ApiModelProperty("手机号码")
    @Excel(name = " 手机号码 ")
    private String telcode;
 
 
    /**
     * 亲属号码
     */
    @ApiModelProperty("亲属号码")
    @Excel(name = " 亲属号码 ")
    private String relativetelcode;
 
    /**
     * 民族
     */
    @ApiModelProperty("民族")
    @Excel(name = " 民族 ")
    private String nation;
 
    /**
     * 机构ID
     */
    @ApiModelProperty("机构ID")
    @Excel(name = " 机构ID ")
    private String orgid;
 
    /**
     * 微信openid
     */
    @ApiModelProperty("微信openid")
    @Excel(name = " 微信openid ")
    private String openid;
 
    /**
     * 删除标记
     */
    @ApiModelProperty("删除标记")
    private String delFlag;
 
    /**
     * 上传标记
     */
    @ApiModelProperty("上传标记")
    private Long isupload;
 
    /**
     * 上传时间
     */
    @ApiModelProperty("上传时间")
    private Date uploadTime;
 
    /**
     * 标签
     */
    @ApiModelProperty("标签")
    @Excel(name = " 标签 ", cellType = Excel.ColumnType.STRING)
    private String tag;
 
    /**
     * 标签
     */
    @ApiModelProperty("标签id")
    @Excel(name = " 标签id ", cellType = Excel.ColumnType.STRING)
    private Long tagid;
 
    @ApiModelProperty("标签集合")
    private List<PatArchivetag> tagList;
 
    @ApiModelProperty("亲属集合")
    private List<PatArchivecontact> patArchivecontactList;
 
    /**
     * 标签
     */
    @ApiModelProperty("患者类型")
    @Excel(name = " 患者类型 ", cellType = Excel.ColumnType.STRING)
    private String pattype;
 
    /**
     * 钉钉号
     */
    @ApiModelProperty("钉钉号")
    @Excel(name = " 钉钉号 ")
    private String dduserid;
 
    /**
     * 钉钉号
     */
    @ApiModelProperty("科室")
    @Excel(name = " 科室 ")
    private String dept;
 
    /**
     * 钉钉号
     */
    @ApiModelProperty("科室")
    @Excel(name = " 科室 ")
    private String deptcode;
    /**
     * 医生姓名
     */
    @ApiModelProperty("医生姓名")
    @Excel(name = " 医生姓名 ")
    private String drname;
 
    /**
     * 医生编码
     */
    @ApiModelProperty("医生编码")
    @Excel(name = " 医生编码 ")
    private String drcode;
 
    /**
     * 钉钉号
     */
    @ApiModelProperty("科室")
    @Excel(name = " 科室 ")
    private String bedNo;
 
    /**
     * 会员属性:0非会员,1一般会员、2重要会员
     */
    @ApiModelProperty("会员属性:0非会员,1一般会员、2重要会员")
    @Excel(name = " 会员属性:0非会员,1一般会员、2重要会员 ")
    private String viptype;
 
    @ApiModelProperty("出院病区名称")
    private String leavehospitaldistrictname;
 
    @ApiModelProperty("出院病区编号")
    private String leavehospitaldistrictcode;
 
 
    /**
     * 出院方式序号
     */
    @ApiModelProperty("出院方式序号")
    @Excel(name = " 出院方式序号 ")
    private String outWayId;
 
    /**
     * 出院方式名称
     */
    @ApiModelProperty("出院方式名称")
    @Excel(name = " 出院方式名称 ")
    private String outWayName;
 
    @ApiModelProperty("照护场所:1家庭   2养老机构")
    @Excel(name = " 照护场所:1家庭   2养老机构 ")
    private String careFacilities;
 
    @ApiModelProperty("照护场所:1家庭   2养老机构")
    @Excel(name = " 照护场所:1家庭   2养老机构 ")
    private String casePath;
 
    @ApiModelProperty("受教育程度")
    @Excel(name = "受教育程度")
    private String degreeOfEducation;
 
    @ApiModelProperty("婚姻状况")
    @Excel(name = "婚姻状况")
    private String maritalStatus;
 
    @ApiModelProperty("家庭人均收入")
    @Excel(name = "家庭人均收入")
    private String income;
 
    @ApiModelProperty("医保类型")
    @Excel(name = "医保类型")
    private String medicareType;
 
    @ApiModelProperty("主要照护人")
    @Excel(name = "主要照护人")
    private String carePerson;
 
    @ApiModelProperty("主要照护人年龄")
    @Excel(name = "主要照护人年龄")
    private String casePersonAge;
 
    /**
     * 年龄
     */
    @ApiModelProperty("年龄")
    @Excel(name = " 第二年龄 ")
    private Long age2;
 
    /**
     * 年龄
     */
    @ApiModelProperty("年龄单位")
    @Excel(name = " 第二年龄单位 ")
    private String ageUnit2;
 
    /**
     * pageNum
     */
    @ApiModelProperty("pageNum")
    private Integer pageNum;
 
    /**
     * pageSize
     */
    @ApiModelProperty("pageSize")
    private Integer pageSize;
 
}