|
@@ -0,0 +1,655 @@
|
|
1
|
+package models
|
|
2
|
+
|
|
3
|
+type UserOrg struct {
|
|
4
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
5
|
+ Creator int64 `gorm:"column:creator" json:"creator"`
|
|
6
|
+ OrgName string `gorm:"column:org_name" json:"org_name"`
|
|
7
|
+ OrgShortName string `gorm:"column:org_short_name" json:"org_short_name"`
|
|
8
|
+ OrgLogo string `gorm:"column:org_logo" json:"org_logo"`
|
|
9
|
+ OrgIntroduction string `gorm:"column:org_introduction" json:"org_introduction"`
|
|
10
|
+ Illness string `gorm:"column:illness" json:"illness"`
|
|
11
|
+ Province int64 `gorm:"column:province" json:"province"`
|
|
12
|
+ City int64 `gorm:"column:city" json:"city"`
|
|
13
|
+ District int64 `gorm:"column:district" json:"district"`
|
|
14
|
+ Address string `gorm:"column:address" json:"address"`
|
|
15
|
+ Longitude string `gorm:"column:longitude" json:"longitude"`
|
|
16
|
+ Latitude string `gorm:"column:latitude" json:"latitude"`
|
|
17
|
+ OrgType int64 `gorm:"column:org_type" json:"org_type"`
|
|
18
|
+ Comments int64 `gorm:"column:comments" json:"comments"`
|
|
19
|
+ Evaluate float64 `gorm:"column:evaluate" json:"evaluate"`
|
|
20
|
+ Gallery string `gorm:"column:gallery" json:"gallery"`
|
|
21
|
+ BusinessWeek string `gorm:"column:business_week" json:"business_week"`
|
|
22
|
+ BusinessTime string `gorm:"column:business_time" json:"business_time"`
|
|
23
|
+ ContactName string `gorm:"column:contact_name" json:"contact_name"`
|
|
24
|
+ Telephone string `gorm:"column:telephone" json:"telephone"`
|
|
25
|
+ Claim int64 `gorm:"column:claim" json:"claim"`
|
|
26
|
+ OperatingState int64 `gorm:"column:operating_state" json:"operating_state"`
|
|
27
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
28
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
|
29
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
|
30
|
+ Source int64 `gorm:"column:source" json:"source"`
|
|
31
|
+ Ttype int64 `gorm:"column:ttype" json:"ttype"`
|
|
32
|
+ Ttid int64 `gorm:"column:ttid" json:"ttid"`
|
|
33
|
+ Tuid int64 `gorm:"column:tuid" json:"tuid"`
|
|
34
|
+ Reason string `gorm:"column:reason" json:"reason"`
|
|
35
|
+ Level int64 `gorm:"column:level" json:"level"`
|
|
36
|
+ Website string `gorm:"column:website" json:"website"`
|
|
37
|
+ Import int64 `gorm:"column:import" json:"import"`
|
|
38
|
+ Sortno int64 `gorm:"column:sortno" json:"sortno"`
|
|
39
|
+ DeviceNumber []*DeviceNumber `gorm:"ForeignKey:OrgId;AssociationForeignKey:ID" json:"device_number"`
|
|
40
|
+}
|
|
41
|
+
|
|
42
|
+func (UserOrg) TableName() string {
|
|
43
|
+ return "sgj_user_org"
|
|
44
|
+}
|
|
45
|
+
|
|
46
|
+type UserAdminRole struct {
|
|
47
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
48
|
+ AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
|
|
49
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
|
50
|
+ AppId int64 `gorm:"column:app_id" json:"app_id"`
|
|
51
|
+ RoleId int64 `gorm:"column:role_id" json:"role_id"`
|
|
52
|
+ UserName string `gorm:"column:user_name" json:"user_name"`
|
|
53
|
+ Avatar string `gorm:"column:avatar" json:"avatar"`
|
|
54
|
+ UserType int64 `gorm:"column:user_type" json:"user_type"`
|
|
55
|
+ UserTitle int64 `gorm:"column:user_title" json:"user_title"`
|
|
56
|
+ Intro string `gorm:"column:intro" json:"intro"`
|
|
57
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
58
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
|
59
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
|
60
|
+}
|
|
61
|
+
|
|
62
|
+func (UserAdminRole) TableName() string {
|
|
63
|
+ return "sgj_user_admin_role"
|
|
64
|
+}
|
|
65
|
+
|
|
66
|
+type Patients struct {
|
|
67
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
68
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
69
|
+ UserId int64 `gorm:"column:user_id" json:"user_id"`
|
|
70
|
+ Avatar string `gorm:"column:avatar" json:"avatar"`
|
|
71
|
+ PatientType int64 `gorm:"column:patient_type" json:"patient_type"`
|
|
72
|
+ DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no"`
|
|
73
|
+ AdmissionNumber string `gorm:"column:admission_number" json:"admission_number"`
|
|
74
|
+ Source int64 `gorm:"column:source" json:"source"`
|
|
75
|
+ Lapseto int64 `gorm:"column:lapseto" json:"lapseto"`
|
|
76
|
+ PartitionId int64 `gorm:"column:partition_id" json:"partition_id"`
|
|
77
|
+ BedId int64 `gorm:"column:bed_id" json:"bed_id"`
|
|
78
|
+ Name string `gorm:"column:name" json:"name"`
|
|
79
|
+ Alias string `gorm:"column:alias" json:"alias"`
|
|
80
|
+ Gender int64 `gorm:"column:gender" json:"gender"`
|
|
81
|
+ MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status"`
|
|
82
|
+ IdCardNo string `gorm:"column:id_card_no" json:"id_card_no"`
|
|
83
|
+ Birthday int64 `gorm:"column:birthday" json:"birthday"`
|
|
84
|
+ ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id"`
|
|
85
|
+ HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type"`
|
|
86
|
+ HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no"`
|
|
87
|
+ HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date"`
|
|
88
|
+ Height int64 `gorm:"column:height" json:"height"`
|
|
89
|
+ BloodType int64 `gorm:"column:blood_type" json:"blood_type"`
|
|
90
|
+ Rh int64 `gorm:"column:rh" json:"rh"`
|
|
91
|
+ HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date"`
|
|
92
|
+ EducationLevel int64 `gorm:"column:education_level" json:"education_level"`
|
|
93
|
+ Profession int64 `gorm:"column:profession" json:"profession"`
|
|
94
|
+ Phone string `gorm:"column:phone" json:"phone"`
|
|
95
|
+ HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone"`
|
|
96
|
+ RelativePhone string `gorm:"column:relative_phone" json:"relative_phone"`
|
|
97
|
+ RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations"`
|
|
98
|
+ HomeAddress string `gorm:"column:home_address" json:"home_address"`
|
|
99
|
+ WorkUnit string `gorm:"column:work_unit" json:"work_unit"`
|
|
100
|
+ UnitAddress string `gorm:"column:unit_address" json:"unit_address"`
|
|
101
|
+ Children int64 `gorm:"column:children" json:"children"`
|
|
102
|
+ ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date"`
|
|
103
|
+ IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis"`
|
|
104
|
+ FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date"`
|
|
105
|
+ FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital"`
|
|
106
|
+ PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition"`
|
|
107
|
+ PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency"`
|
|
108
|
+ PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times"`
|
|
109
|
+ HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date"`
|
|
110
|
+ InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period"`
|
|
111
|
+ InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis"`
|
|
112
|
+ TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis"`
|
|
113
|
+ AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id"`
|
|
114
|
+ HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id"`
|
|
115
|
+ Evaluate string `gorm:"column:evaluate" json:"evaluate"`
|
|
116
|
+ Diagnose string `gorm:"column:diagnose" json:"diagnose"`
|
|
117
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
118
|
+ RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id"`
|
|
119
|
+ Registrars string `gorm:"column:registrars" json:"registrars"`
|
|
120
|
+ QrCode string `gorm:"column:qr_code" json:"qr_code"`
|
|
121
|
+ BindingState int64 `gorm:"column:binding_state" json:"binding_state"`
|
|
122
|
+ PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"`
|
|
123
|
+ PresentHistory string `gorm:"column:present_history" json:"present_history"`
|
|
124
|
+ PastHistory string `gorm:"column:past_history" json:"past_history"`
|
|
125
|
+ Temperature float64 `gorm:"column:temperature" json:"temperature"`
|
|
126
|
+ Pulse int64 `gorm:"column:pulse" json:"pulse"`
|
|
127
|
+ Respiratory int64 `gorm:"column:respiratory" json:"respiratory"`
|
|
128
|
+ Sbp int64 `gorm:"column:sbp" json:"sbp"`
|
|
129
|
+ Dbp int64 `gorm:"column:dbp" json:"dbp"`
|
|
130
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
131
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
132
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
133
|
+ Nation string `gorm:"column:nation" json:"nation"`
|
|
134
|
+ NativePlace string `gorm:"column:native_place" json:"native_place"`
|
|
135
|
+ Age int64 `gorm:"column:age" json:"age"`
|
|
136
|
+ PatientLapseto []*PatientLapseto `gorm:"ForeignKey:PatientId,LapsetoType;AssociationForeignKey:ID,Lapseto" json:"lapseto"`
|
|
137
|
+}
|
|
138
|
+
|
|
139
|
+func (Patients) TableName() string {
|
|
140
|
+ return "xt_patients"
|
|
141
|
+}
|
|
142
|
+
|
|
143
|
+type Device struct {
|
|
144
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
145
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
|
146
|
+ DeviceType int64 `gorm:"column:device_type" json:"device_type"`
|
|
147
|
+ DmId int64 `gorm:"column:dm_id" json:"dm_id"`
|
|
148
|
+ WteId int64 `gorm:"column:wte_id" json:"wte_id"`
|
|
149
|
+ SerialNumber string `gorm:"column:serial_number" json:"serial_number"`
|
|
150
|
+ Name string `gorm:"column:name" json:"name"`
|
|
151
|
+ Model string `gorm:"column:model" json:"model"`
|
|
152
|
+ DeviceNumberId int64 `gorm:"column:device_number_id" json:"device_number_id"`
|
|
153
|
+ DeviceNumber string `gorm:"column:device_number" json:"device_number"`
|
|
154
|
+ DeviceZoneId int64 `gorm:"column:device_zone_id" json:"device_zone_id"`
|
|
155
|
+ DeviceGroupId int64 `gorm:"column:device_group_id" json:"device_group_id"`
|
|
156
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
157
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
|
158
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
|
159
|
+}
|
|
160
|
+
|
|
161
|
+func (Device) TableName() string {
|
|
162
|
+ return "xt_device"
|
|
163
|
+}
|
|
164
|
+
|
|
165
|
+type DeviceNumber struct {
|
|
166
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
167
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
|
168
|
+ Number string `gorm:"column:number" json:"number"`
|
|
169
|
+ GroupId int64 `gorm:"column:group_id" json:"group_id"`
|
|
170
|
+ ZoneId int64 `gorm:"column:zone_id" json:"zone_id"`
|
|
171
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
172
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
|
173
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
|
174
|
+}
|
|
175
|
+
|
|
176
|
+func (DeviceNumber) TableName() string {
|
|
177
|
+ return "xt_device_number"
|
|
178
|
+}
|
|
179
|
+
|
|
180
|
+type DeviceZone struct {
|
|
181
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
182
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
|
183
|
+ Name string `gorm:"column:name" json:"name"`
|
|
184
|
+ Type int64 `gorm:"column:type" json:"type"`
|
|
185
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
186
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime"`
|
|
187
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime"`
|
|
188
|
+}
|
|
189
|
+
|
|
190
|
+func (DeviceZone) TableName() string {
|
|
191
|
+ return "xt_device_zone"
|
|
192
|
+}
|
|
193
|
+
|
|
194
|
+type Schedule struct {
|
|
195
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
196
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
197
|
+ PartitionId int64 `gorm:"column:partition_id" json:"partition_id"`
|
|
198
|
+ BedId int64 `gorm:"column:bed_id" json:"bed_id"`
|
|
199
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
200
|
+ ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date"`
|
|
201
|
+ ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type"`
|
|
202
|
+ ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week"`
|
|
203
|
+ ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
|
|
204
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
205
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
206
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
207
|
+ DeviceNumber DeviceNumber `gorm:"ForeignKey:ID;AssociationForeignKey:BedId" json:"device"`
|
|
208
|
+}
|
|
209
|
+
|
|
210
|
+func (Schedule) TableName() string {
|
|
211
|
+ return "xt_schedule"
|
|
212
|
+}
|
|
213
|
+
|
|
214
|
+type DialysisPrescription struct {
|
|
215
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
216
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
217
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
218
|
+ Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
|
|
219
|
+ MachineType string `gorm:"column:machine_type" json:"machine_type"`
|
|
220
|
+ DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
|
|
221
|
+ DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
|
|
222
|
+ PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
|
|
223
|
+ Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
|
|
224
|
+ AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
|
|
225
|
+ AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
|
|
226
|
+ AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
|
|
227
|
+ AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
|
|
228
|
+ AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
|
|
229
|
+ ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
|
|
230
|
+ DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
|
|
231
|
+ DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
|
|
232
|
+ DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
|
|
233
|
+ ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
|
|
234
|
+ ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
|
|
235
|
+ HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
|
|
236
|
+ BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
|
|
237
|
+ PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
|
|
238
|
+ DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
|
|
239
|
+ VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
|
|
240
|
+ VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
|
|
241
|
+ BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
|
|
242
|
+ DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
|
|
243
|
+ DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
|
|
244
|
+ Kalium float64 `gorm:"column:kalium" json:"kalium"`
|
|
245
|
+ Sodium float64 `gorm:"column:sodium" json:"sodium"`
|
|
246
|
+ Calcium float64 `gorm:"column:calcium" json:"calcium"`
|
|
247
|
+ Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
|
|
248
|
+ Glucose float64 `gorm:"column:glucose" json:"glucose"`
|
|
249
|
+ DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
|
|
250
|
+ Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
|
|
251
|
+ PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
|
|
252
|
+ Creater int64 `gorm:"column:creater" json:"creater"`
|
|
253
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
|
254
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
255
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
256
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
257
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
258
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date"`
|
|
259
|
+ RecordId int64 `gorm:"column:record_id" json:"record_id"`
|
|
260
|
+ TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
|
|
261
|
+ DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
|
|
262
|
+ BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
|
|
263
|
+ SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
|
|
264
|
+ SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
|
|
265
|
+ DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
|
|
266
|
+ BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
|
|
267
|
+ DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
|
|
268
|
+ Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
|
|
269
|
+ BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
|
|
270
|
+ Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
|
|
271
|
+ Jms int64 `gorm:"column:jms" json:"jms"`
|
|
272
|
+ FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
|
|
273
|
+ FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
|
|
274
|
+ Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
|
|
275
|
+ DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
|
|
276
|
+ Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
|
|
277
|
+ TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
|
|
278
|
+ Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
|
|
279
|
+ Injector int64 `gorm:"column:injector" json:"injector"`
|
|
280
|
+ Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
|
|
281
|
+ TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
|
|
282
|
+ Package int64 `gorm:"column:package" json:"package"`
|
|
283
|
+ ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
|
|
284
|
+ AssessmentBeforeDislysis AssessmentBeforeDislysis `gorm:"ForeignKey:PatientId,AssessmentDate;AssociationForeignKey:PatientId,RecordDate" json:"before"`
|
|
285
|
+ DialysisOrder DialysisOrder `gorm:"ForeignKey:PatientId,DialysisDate;AssociationForeignKey:PatientId,RecordDate" json:"order"`
|
|
286
|
+}
|
|
287
|
+
|
|
288
|
+func (DialysisPrescription) TableName() string {
|
|
289
|
+ return "xt_dialysis_prescription"
|
|
290
|
+}
|
|
291
|
+
|
|
292
|
+type DoctorAdvice struct {
|
|
293
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
294
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
295
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
296
|
+ AdviceType int64 `gorm:"column:advice_type" json:"advice_type"`
|
|
297
|
+ AdviceDate int64 `gorm:"column:advice_date" json:"advice_date"`
|
|
298
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time"`
|
|
299
|
+ AdviceName string `gorm:"column:advice_name" json:"advice_name"`
|
|
300
|
+ AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc"`
|
|
301
|
+ ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date"`
|
|
302
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose"`
|
|
303
|
+ SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit"`
|
|
304
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number"`
|
|
305
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit"`
|
|
306
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way"`
|
|
307
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency"`
|
|
308
|
+ AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor"`
|
|
309
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
310
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
311
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
312
|
+ AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm"`
|
|
313
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
314
|
+ StopTime int64 `gorm:"column:stop_time" json:"stop_time"`
|
|
315
|
+ StopReason string `gorm:"column:stop_reason" json:"stop_reason"`
|
|
316
|
+ StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor"`
|
|
317
|
+ StopState int64 `gorm:"column:stop_state" json:"stop_state"`
|
|
318
|
+ ParentId int64 `gorm:"column:parent_id" json:"parent_id"`
|
|
319
|
+ ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time"`
|
|
320
|
+ ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff"`
|
|
321
|
+ ExecutionState int64 `gorm:"column:execution_state" json:"execution_state"`
|
|
322
|
+ Checker int64 `gorm:"column:checker" json:"checker"`
|
|
323
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date"`
|
|
324
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
|
|
325
|
+ CheckTime int64 `gorm:"column:check_time" json:"check_time"`
|
|
326
|
+ CheckState int64 `gorm:"column:check_state" json:"check_state"`
|
|
327
|
+ DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec"`
|
|
328
|
+ DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit"`
|
|
329
|
+ Groupno int64 `gorm:"column:groupno" json:"groupno"`
|
|
330
|
+}
|
|
331
|
+
|
|
332
|
+func (DoctorAdvice) TableName() string {
|
|
333
|
+ return "xt_doctor_advice"
|
|
334
|
+}
|
|
335
|
+
|
|
336
|
+type AssessmentAfterDislysis struct {
|
|
337
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
338
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
339
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
340
|
+ AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
|
|
341
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
|
|
342
|
+ Temperature float64 `gorm:"column:temperature" json:"temperature"`
|
|
343
|
+ PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
|
|
344
|
+ BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
|
|
345
|
+ SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
|
|
346
|
+ DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
|
|
347
|
+ BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
|
|
348
|
+ ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration"`
|
|
349
|
+ ActualDisplacement float64 `gorm:"column:actual_displacement" json:"actual_displacement"`
|
|
350
|
+ ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour"`
|
|
351
|
+ ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute"`
|
|
352
|
+ WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
|
|
353
|
+ WeightAfter float64 `gorm:"column:weight_after" json:"weight_after"`
|
|
354
|
+ WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss"`
|
|
355
|
+ Cruor string `gorm:"column:cruor" json:"cruor"`
|
|
356
|
+ SymptomAfterDialysis string `gorm:"column:symptom_after_dialysis" json:"symptom_after_dialysis"`
|
|
357
|
+ InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula"`
|
|
358
|
+ Catheter string `gorm:"column:catheter" json:"catheter"`
|
|
359
|
+ Complication string `gorm:"column:complication" json:"complication"`
|
|
360
|
+ Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
|
|
361
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
362
|
+ DialysisIntakes int64 `gorm:"column:dialysis_intakes" json:"dialysis_intakes"`
|
|
363
|
+ DialysisIntakesFeed int64 `gorm:"column:dialysis_intakes_feed" json:"dialysis_intakes_feed"`
|
|
364
|
+ DialysisIntakesTransfusion int64 `gorm:"column:dialysis_intakes_transfusion" json:"dialysis_intakes_transfusion"`
|
|
365
|
+ DialysisIntakesBloodTransfusion int64 `gorm:"column:dialysis_intakes_blood_transfusion" json:"dialysis_intakes_blood_transfusion"`
|
|
366
|
+ DialysisIntakesWashpipe int64 `gorm:"column:dialysis_intakes_washpipe" json:"dialysis_intakes_washpipe"`
|
|
367
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
368
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
369
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
370
|
+ Creater int64 `gorm:"column:creater" json:"creater"`
|
|
371
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
|
372
|
+ BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
|
|
373
|
+ BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
|
|
374
|
+ PuncturePointOozingBlood int64 `gorm:"column:puncture_point_oozing_blood" json:"puncture_point_oozing_blood"`
|
|
375
|
+ PuncturePointHaematoma int64 `gorm:"column:puncture_point_haematoma" json:"puncture_point_haematoma"`
|
|
376
|
+ InternalFistulaTremorAc int64 `gorm:"column:internal_fistula_tremor_ac" json:"internal_fistula_tremor_ac"`
|
|
377
|
+ PatientGose int64 `gorm:"column:patient_gose" json:"patient_gose"`
|
|
378
|
+ InpatientDepartment string `gorm:"column:inpatient_department" json:"inpatient_department"`
|
|
379
|
+ ObservationContent string `gorm:"column:observation_content" json:"observation_content"`
|
|
380
|
+ ObservationContentOther string `gorm:"column:observation_content_other" json:"observation_content_other"`
|
|
381
|
+ DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
|
|
382
|
+ DialysisProcess int64 `gorm:"column:dialysis_process" json:"dialysis_process"`
|
|
383
|
+ InAdvanceMinute float64 `gorm:"column:in_advance_minute" json:"in_advance_minute"`
|
|
384
|
+ InAdvanceReason string `gorm:"column:in_advance_reason" json:"in_advance_reason"`
|
|
385
|
+ HemostasisMinute int64 `gorm:"column:hemostasis_minute" json:"hemostasis_minute"`
|
|
386
|
+ HemostasisOpera int64 `gorm:"column:hemostasis_opera" json:"hemostasis_opera"`
|
|
387
|
+ TremorNoise int64 `gorm:"column:tremor_noise" json:"tremor_noise"`
|
|
388
|
+ DisequilibriumSyndrome int64 `gorm:"column:disequilibrium_syndrome" json:"disequilibrium_syndrome"`
|
|
389
|
+ DisequilibriumSyndromeOption string `gorm:"column:disequilibrium_syndrome_option" json:"disequilibrium_syndrome_option"`
|
|
390
|
+ ArterialTube int64 `gorm:"column:arterial_tube" json:"arterial_tube"`
|
|
391
|
+ IntravenousTube int64 `gorm:"column:intravenous_tube" json:"intravenous_tube"`
|
|
392
|
+ Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
|
|
393
|
+ InAdvanceReasonOther string `gorm:"column:in_advance_reason_other" json:"in_advance_reason_other"`
|
|
394
|
+ AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor"`
|
|
395
|
+ AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time"`
|
|
396
|
+ IsEat int64 `gorm:"column:is_eat" json:"is_eat"`
|
|
397
|
+}
|
|
398
|
+
|
|
399
|
+func (AssessmentAfterDislysis) TableName() string {
|
|
400
|
+ return "xt_assessment_after_dislysis"
|
|
401
|
+}
|
|
402
|
+
|
|
403
|
+type AssessmentBeforeDislysis struct {
|
|
404
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
405
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
406
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
407
|
+ AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
|
|
408
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
|
|
409
|
+ Temperature float64 `gorm:"column:temperature" json:"temperature"`
|
|
410
|
+ PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
|
|
411
|
+ BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
|
|
412
|
+ SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
|
|
413
|
+ DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
|
|
414
|
+ BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
|
|
415
|
+ DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
|
|
416
|
+ WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency"`
|
|
417
|
+ WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
|
|
418
|
+ WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before"`
|
|
419
|
+ AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight"`
|
|
420
|
+ WeightBefore float64 `gorm:"column:weight_before" json:"weight_before"`
|
|
421
|
+ WeightGain float64 `gorm:"column:weight_gain" json:"weight_gain"`
|
|
422
|
+ PreloadedDewatering float64 `gorm:"column:preloaded_dewatering" json:"preloaded_dewatering"`
|
|
423
|
+ UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount"`
|
|
424
|
+ DialysisInterphase string `gorm:"column:dialysis_interphase" json:"dialysis_interphase"`
|
|
425
|
+ LastPostDialysis string `gorm:"column:last_post_dialysis" json:"last_post_dialysis"`
|
|
426
|
+ SymptomBeforeDialysis string `gorm:"column:symptom_before_dialysis" json:"symptom_before_dialysis"`
|
|
427
|
+ InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula"`
|
|
428
|
+ InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin"`
|
|
429
|
+ CatheterBend int64 `gorm:"column:catheter_bend" json:"catheter_bend"`
|
|
430
|
+ Catheter string `gorm:"column:catheter" json:"catheter"`
|
|
431
|
+ Complication string `gorm:"column:complication" json:"complication"`
|
|
432
|
+ Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
|
|
433
|
+ Creater int64 `gorm:"column:creater" json:"creater"`
|
|
434
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
435
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
436
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
437
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
438
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
|
439
|
+ BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
|
|
440
|
+ BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
|
|
441
|
+ IsHemorrhage int64 `gorm:"column:is_hemorrhage" json:"is_hemorrhage"`
|
|
442
|
+ Hemorrhage string `gorm:"column:hemorrhage" json:"hemorrhage"`
|
|
443
|
+ HemorrhageOther string `gorm:"column:hemorrhage_other" json:"hemorrhage_other"`
|
|
444
|
+ PunctureMethod string `gorm:"column:puncture_method" json:"puncture_method"`
|
|
445
|
+ BloodAccessInternalFistula string `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula"`
|
|
446
|
+ InternalFistulaOther string `gorm:"column:internal_fistula_other" json:"internal_fistula_other"`
|
|
447
|
+ BloodAccessNoise int64 `gorm:"column:blood_access_noise" json:"blood_access_noise"`
|
|
448
|
+ PunctureWay int64 `gorm:"column:puncture_way" json:"puncture_way"`
|
|
449
|
+ VenousCatheterization int64 `gorm:"column:venous_catheterization" json:"venous_catheterization"`
|
|
450
|
+ VenousCatheterizationPart int64 `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part"`
|
|
451
|
+ VenousCatheterizationPartOther string `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other"`
|
|
452
|
+ DuctusArantii string `gorm:"column:ductus_arantii" json:"ductus_arantii"`
|
|
453
|
+ EmergencyTreatment int64 `gorm:"column:emergency_treatment" json:"emergency_treatment"`
|
|
454
|
+ EmergencyTreatmentOther string `gorm:"column:emergency_treatment_other" json:"emergency_treatment_other"`
|
|
455
|
+ DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count"`
|
|
456
|
+ AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor"`
|
|
457
|
+ AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time"`
|
|
458
|
+ MachineType string `gorm:"column:machine_type" json:"machine_type"`
|
|
459
|
+ IsInfect int64 `gorm:"column:is_infect" json:"is_infect"`
|
|
460
|
+ Exposed float64 `gorm:"column:exposed" json:"exposed"`
|
|
461
|
+ Skin int64 `gorm:"column:skin" json:"skin"`
|
|
462
|
+ SkinOther string `gorm:"column:skin_other" json:"skin_other"`
|
|
463
|
+ InfectOther string `gorm:"column:infect_other" json:"infect_other"`
|
|
464
|
+ DuctusArantiiOther string `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other"`
|
|
465
|
+}
|
|
466
|
+
|
|
467
|
+func (AssessmentBeforeDislysis) TableName() string {
|
|
468
|
+ return "xt_assessment_before_dislysis"
|
|
469
|
+}
|
|
470
|
+
|
|
471
|
+type MonitoringRecord struct {
|
|
472
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
473
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
474
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
475
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
|
|
476
|
+ MonitoringDate int64 `gorm:"column:monitoring_date" json:"monitoring_date"`
|
|
477
|
+ MonitoringTime string `gorm:"column:monitoring_time" json:"monitoring_time"`
|
|
478
|
+ PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
|
|
479
|
+ BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
|
|
480
|
+ SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
|
|
481
|
+ DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
|
|
482
|
+ BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
|
|
483
|
+ Pic string `gorm:"column:pic" json:"pic"`
|
|
484
|
+ BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
|
|
485
|
+ VenousPressure float64 `gorm:"column:venous_pressure" json:"venous_pressure"`
|
|
486
|
+ VenousPressureUnit string `gorm:"column:venous_pressure_unit" json:"venous_pressure_unit"`
|
|
487
|
+ ArterialPressure float64 `gorm:"column:arterial_pressure" json:"arterial_pressure"`
|
|
488
|
+ TransmembranePressure float64 `gorm:"column:transmembrane_pressure" json:"transmembrane_pressure"`
|
|
489
|
+ TransmembranePressureUnit string `gorm:"column:transmembrane_pressure_unit" json:"transmembrane_pressure_unit"`
|
|
490
|
+ UltrafiltrationRate float64 `gorm:"column:ultrafiltration_rate" json:"ultrafiltration_rate"`
|
|
491
|
+ UltrafiltrationVolume float64 `gorm:"column:ultrafiltration_volume" json:"ultrafiltration_volume"`
|
|
492
|
+ SodiumConcentration float64 `gorm:"column:sodium_concentration" json:"sodium_concentration"`
|
|
493
|
+ Temperature float64 `gorm:"column:temperature" json:"temperature"`
|
|
494
|
+ DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
|
|
495
|
+ ReplacementRate float64 `gorm:"column:replacement_rate" json:"replacement_rate"`
|
|
496
|
+ DisplacementQuantity float64 `gorm:"column:displacement_quantity" json:"displacement_quantity"`
|
|
497
|
+ Ktv float64 `gorm:"column:ktv" json:"ktv"`
|
|
498
|
+ Symptom string `gorm:"column:symptom" json:"symptom"`
|
|
499
|
+ Dispose string `gorm:"column:dispose" json:"dispose"`
|
|
500
|
+ Result string `gorm:"column:result" json:"result"`
|
|
501
|
+ MonitoringNurse int64 `gorm:"column:monitoring_nurse" json:"monitoring_nurse"`
|
|
502
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
503
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
504
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
505
|
+ OperateTime int64 `gorm:"column:operate_time" json:"operate_time"`
|
|
506
|
+ Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
|
|
507
|
+ DisplacementFlowQuantity float64 `gorm:"column:displacement_flow_quantity" json:"displacement_flow_quantity"`
|
|
508
|
+ DialysisOrder DialysisOrder `gorm:"ForeignKey:PatientId,DialysisDate;AssociationForeignKey:PatientId,MonitoringDate" json:"order"`
|
|
509
|
+}
|
|
510
|
+
|
|
511
|
+func (MonitoringRecord) TableName() string {
|
|
512
|
+ return "xt_monitoring_record"
|
|
513
|
+}
|
|
514
|
+
|
|
515
|
+type PatientLapseto struct {
|
|
516
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
517
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
518
|
+ LapsetoType int64 `gorm:"column:lapseto_type" json:"lapseto_type"`
|
|
519
|
+ LapsetoTime int64 `gorm:"column:lapseto_time" json:"lapseto_time"`
|
|
520
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
521
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
522
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
523
|
+}
|
|
524
|
+
|
|
525
|
+func (PatientLapseto) TableName() string {
|
|
526
|
+ return "xt_patient_lapseto"
|
|
527
|
+}
|
|
528
|
+
|
|
529
|
+type DialysisOrder struct {
|
|
530
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
531
|
+ DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
|
|
532
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
533
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
534
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
|
|
535
|
+ Stage int64 `gorm:"column:stage" json:"stage"`
|
|
536
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
537
|
+ BedId int64 `gorm:"column:bed_id" json:"bed_id"`
|
|
538
|
+ StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
|
|
539
|
+ FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse"`
|
|
540
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
541
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
542
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
543
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time"`
|
|
544
|
+ EndTime int64 `gorm:"column:end_time" json:"end_time"`
|
|
545
|
+ PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse"`
|
|
546
|
+ Creator int64 `gorm:"column:creator" json:"creator"`
|
|
547
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
|
548
|
+ FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator"`
|
|
549
|
+ FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier"`
|
|
550
|
+}
|
|
551
|
+
|
|
552
|
+func (DialysisOrder) TableName() string {
|
|
553
|
+ return "xt_dialysis_order"
|
|
554
|
+}
|
|
555
|
+
|
|
556
|
+type VMSchedule struct {
|
|
557
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
558
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
559
|
+ PartitionId int64 `gorm:"column:partition_id" json:"partition_id"`
|
|
560
|
+ BedId int64 `gorm:"column:bed_id" json:"bed_id"`
|
|
561
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
562
|
+ ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date"`
|
|
563
|
+ ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type"`
|
|
564
|
+ ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week"`
|
|
565
|
+ ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
|
|
566
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
567
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
568
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
569
|
+ DeviceNumber DeviceNumber `gorm:"ForeignKey:ID;AssociationForeignKey:BedId" json:"device"`
|
|
570
|
+ VMDialysisPrescription VMDialysisPrescription `gorm:"ForeignKey:RecordDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"prescription"`
|
|
571
|
+ AssessmentBeforeDislysis AssessmentBeforeDislysis `gorm:"ForeignKey:AssessmentDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"before"`
|
|
572
|
+ AssessmentAfterDislysis AssessmentAfterDislysis `gorm:"ForeignKey:AssessmentDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"after"`
|
|
573
|
+ DialysisOrder DialysisOrder `gorm:"ForeignKey:DialysisDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"order"`
|
|
574
|
+ MonitoringRecord []MonitoringRecord `gorm:"ForeignKey:MonitoringDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"monitor"`
|
|
575
|
+}
|
|
576
|
+
|
|
577
|
+func (VMSchedule) TableName() string {
|
|
578
|
+ return "xt_schedule"
|
|
579
|
+}
|
|
580
|
+
|
|
581
|
+type VMDialysisPrescription struct {
|
|
582
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
583
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
584
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
|
|
585
|
+ Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
|
|
586
|
+ MachineType string `gorm:"column:machine_type" json:"machine_type"`
|
|
587
|
+ DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
|
|
588
|
+ DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
|
|
589
|
+ PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
|
|
590
|
+ Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
|
|
591
|
+ AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
|
|
592
|
+ AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
|
|
593
|
+ AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
|
|
594
|
+ AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
|
|
595
|
+ AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
|
|
596
|
+ ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
|
|
597
|
+ DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
|
|
598
|
+ DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
|
|
599
|
+ DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
|
|
600
|
+ ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
|
|
601
|
+ ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
|
|
602
|
+ HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
|
|
603
|
+ BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
|
|
604
|
+ PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
|
|
605
|
+ DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
|
|
606
|
+ VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
|
|
607
|
+ VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
|
|
608
|
+ BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
|
|
609
|
+ DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
|
|
610
|
+ DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
|
|
611
|
+ Kalium float64 `gorm:"column:kalium" json:"kalium"`
|
|
612
|
+ Sodium float64 `gorm:"column:sodium" json:"sodium"`
|
|
613
|
+ Calcium float64 `gorm:"column:calcium" json:"calcium"`
|
|
614
|
+ Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
|
|
615
|
+ Glucose float64 `gorm:"column:glucose" json:"glucose"`
|
|
616
|
+ DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
|
|
617
|
+ Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
|
|
618
|
+ PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
|
|
619
|
+ Creater int64 `gorm:"column:creater" json:"creater"`
|
|
620
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier"`
|
|
621
|
+ Remark string `gorm:"column:remark" json:"remark"`
|
|
622
|
+ Status int64 `gorm:"column:status" json:"status"`
|
|
623
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
|
|
624
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
|
|
625
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date"`
|
|
626
|
+ RecordId int64 `gorm:"column:record_id" json:"record_id"`
|
|
627
|
+ TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
|
|
628
|
+ DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
|
|
629
|
+ BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
|
|
630
|
+ SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
|
|
631
|
+ SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
|
|
632
|
+ DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
|
|
633
|
+ BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
|
|
634
|
+ DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
|
|
635
|
+ Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
|
|
636
|
+ BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
|
|
637
|
+ Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
|
|
638
|
+ Jms int64 `gorm:"column:jms" json:"jms"`
|
|
639
|
+ FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
|
|
640
|
+ FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
|
|
641
|
+ Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
|
|
642
|
+ DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
|
|
643
|
+ Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
|
|
644
|
+ TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
|
|
645
|
+ Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
|
|
646
|
+ Injector int64 `gorm:"column:injector" json:"injector"`
|
|
647
|
+ Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
|
|
648
|
+ TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
|
|
649
|
+ Package int64 `gorm:"column:package" json:"package"`
|
|
650
|
+ ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
|
|
651
|
+}
|
|
652
|
+
|
|
653
|
+func (VMDialysisPrescription) TableName() string {
|
|
654
|
+ return "xt_dialysis_prescription"
|
|
655
|
+}
|