|
@@ -80,20 +80,20 @@ func (DataUploadConfig) TableName() string {
|
80
|
80
|
}
|
81
|
81
|
|
82
|
82
|
type VYunjingPatientLabItems struct {
|
83
|
|
- Id int64 `gorm:"column:ID" json:"ID"`
|
84
|
|
- Zyid string `gorm:"column:ZYID" json:"ZYID"`
|
85
|
|
- Mzid string `gorm:"column:MZID" json:"MZID"`
|
86
|
|
- PatientId string `gorm:"column:PATIENT_ID" json:"PATIENT_ID"`
|
87
|
|
- Sfzh string `gorm:"column:SFZH" json:"SFZH"`
|
88
|
|
- PatientName string `gorm:"column:PATIENT_NAME" json:"PATIENT_NAME"`
|
89
|
|
- TestOrderNo string `gorm:"column:TEST_ORDER_NO" json:"TEST_ORDER_NO"`
|
90
|
|
- ItemType string `gorm:"column:ITEM_TYPE" json:"ITEM_TYPE"`
|
91
|
|
- ItemTypeName string `gorm:"column:ITEM_TYPE_NAME" json:"ITEM_TYPE_NAME"`
|
92
|
|
- ItemCode string `gorm:"column:ITEM_CODE" json:"ITEM_CODE"`
|
93
|
|
- ItemName string `gorm:"column:ITEM_NAME" json:"ITEM_NAME"`
|
94
|
|
- SubmitAt string `gorm:"column:SUBMIT_AT" json:"SUBMIT_AT"`
|
95
|
|
- CreateAt string `gorm:"column:CREATE_AT" json:"CREATE_AT"`
|
96
|
|
- DeptName string `gorm:"column:DEPT_NAME" json:"DEPT_NAME"`
|
|
83
|
+ Id int64 `gorm:"column:ID" json:"ID"`
|
|
84
|
+ Zyid string `gorm:"column:ZYID" json:"ZYID"`
|
|
85
|
+ Mzid string `gorm:"column:MZID" json:"MZID"`
|
|
86
|
+ PatientId string `gorm:"column:PATIENT_ID" json:"PATIENT_ID"`
|
|
87
|
+ Sfzh string `gorm:"column:SFZH" json:"SFZH"`
|
|
88
|
+ PatientName string `gorm:"column:PATIENT_NAME" json:"PATIENT_NAME"`
|
|
89
|
+ TestOrderNo string `gorm:"column:TEST_ORDER_NO" json:"TEST_ORDER_NO"`
|
|
90
|
+ ItemType string `gorm:"column:ITEM_TYPE" json:"ITEM_TYPE"`
|
|
91
|
+ ItemTypeName string `gorm:"column:ITEM_TYPE_NAME" json:"ITEM_TYPE_NAME"`
|
|
92
|
+ ItemCode string `gorm:"column:ITEM_CODE" json:"ITEM_CODE"`
|
|
93
|
+ ItemName string `gorm:"column:ITEM_NAME" json:"ITEM_NAME"`
|
|
94
|
+ SubmitAt string `gorm:"column:SUBMIT_AT" json:"SUBMIT_AT"`
|
|
95
|
+ CreateAt string `gorm:"column:CREATE_AT" json:"CREATE_AT"`
|
|
96
|
+ DeptName string `gorm:"column:DEPT_NAME" json:"DEPT_NAME"`
|
97
|
97
|
}
|
98
|
98
|
|
99
|
99
|
func (VYunjingPatientLabItems) TableName() string {
|
|
@@ -101,21 +101,20 @@ func (VYunjingPatientLabItems) TableName() string {
|
101
|
101
|
}
|
102
|
102
|
|
103
|
103
|
type VYunjingPatientLabAnti struct {
|
104
|
|
- Id int64 `gorm:"column:ID" json:"ID"`
|
105
|
|
- Zyid string `gorm:"column:ZYID" json:"ZYID"`
|
106
|
|
- Mzid string `gorm:"column:MZID" json:"MZID"`
|
107
|
|
- PatientId string `gorm:"column:PATIENT_ID" json:"PATIENT_ID"`
|
108
|
|
- Sfzh string `gorm:"column:SFZH" json:"SFZH"`
|
109
|
|
- PatientName string `gorm:"column:PATIENT_NAME" json:"PATIENT_NAME"`
|
110
|
|
- TestOrderNo string `gorm:"column:TEST_ORDER_NO" json:"TEST_ORDER_NO"`
|
111
|
|
- ResultDate string `gorm:"column:RESULT_DATE" json:"RESULT_DATE"`
|
112
|
|
- TestResult string `gorm:"column:TEST_RESULT" json:"TEST_RESULT"`
|
113
|
|
- Unit string `gorm:"column:UNIT" json:"UNIT"`
|
114
|
|
- ReferRange string `gorm:"column:REFER_RANGE" json:"REFER_RANGE"`
|
115
|
|
- AntiCode string `gorm:"column:ANTI_CODE" json:"ANTI_CODE"`
|
116
|
|
- AntiName string `gorm:"column:ANTI_NAME" json:"ANTI_NAME"`
|
117
|
|
- CreateAt string `gorm:"column:CREATE_AT" json:"CREATE_AT"`
|
118
|
|
-
|
|
104
|
+ Id int64 `gorm:"column:ID" json:"ID"`
|
|
105
|
+ Zyid string `gorm:"column:ZYID" json:"ZYID"`
|
|
106
|
+ Mzid string `gorm:"column:MZID" json:"MZID"`
|
|
107
|
+ PatientId string `gorm:"column:PATIENT_ID" json:"PATIENT_ID"`
|
|
108
|
+ Sfzh string `gorm:"column:SFZH" json:"SFZH"`
|
|
109
|
+ PatientName string `gorm:"column:PATIENT_NAME" json:"PATIENT_NAME"`
|
|
110
|
+ TestOrderNo string `gorm:"column:TEST_ORDER_NO" json:"TEST_ORDER_NO"`
|
|
111
|
+ ResultDate string `gorm:"column:RESULT_DATE" json:"RESULT_DATE"`
|
|
112
|
+ TestResult string `gorm:"column:TEST_RESULT" json:"TEST_RESULT"`
|
|
113
|
+ Unit string `gorm:"column:UNIT" json:"UNIT"`
|
|
114
|
+ ReferRange string `gorm:"column:REFER_RANGE" json:"REFER_RANGE"`
|
|
115
|
+ AntiCode string `gorm:"column:ANTI_CODE" json:"ANTI_CODE"`
|
|
116
|
+ AntiName string `gorm:"column:ANTI_NAME" json:"ANTI_NAME"`
|
|
117
|
+ CreateAt string `gorm:"column:CREATE_AT" json:"CREATE_AT"`
|
119
|
118
|
}
|
120
|
119
|
|
121
|
120
|
func (VYunjingPatientLabAnti) TableName() string {
|
|
@@ -123,17 +122,17 @@ func (VYunjingPatientLabAnti) TableName() string {
|
123
|
122
|
}
|
124
|
123
|
|
125
|
124
|
type PlugPlugcase struct {
|
126
|
|
- Id int64 `gorm:"column:ID" json:"ID"`
|
127
|
|
- Oldserialno string `gorm:"column:oldSerialNo" json:"oldSerialNo"`
|
128
|
|
- Serialno string `gorm:"column:serialNo" json:"serialNo"`
|
129
|
|
- Name string `gorm:"column:name" json:"name"`
|
130
|
|
- Gender string `gorm:"column:gender" json:"gender"`
|
131
|
|
- Age int64 `gorm:"column:age" json:"age"`
|
132
|
|
- RegistrantmanId int64 `gorm:"column:registrantMan_id" json:"registrantMan_id"`
|
133
|
|
- Mainindex string `gorm:"column:mainIndex" json:"mainIndex"`
|
134
|
|
- Orddoctor string `gorm:"column:ordDoctor" json:"ordDoctor"`
|
135
|
|
- Ordloc string `gorm:"column:ordLoc" json:"ordLoc"`
|
136
|
|
- Birthday string `gorm:"column:birthDay" json:"birthDay"`
|
|
125
|
+ Id int64 `gorm:"column:ID" json:"ID"`
|
|
126
|
+ Oldserialno string `gorm:"column:oldSerialNo" json:"oldSerialNo"`
|
|
127
|
+ Serialno string `gorm:"column:serialNo" json:"serialNo"`
|
|
128
|
+ Name string `gorm:"column:name" json:"name"`
|
|
129
|
+ Gender string `gorm:"column:gender" json:"gender"`
|
|
130
|
+ Age int64 `gorm:"column:age" json:"age"`
|
|
131
|
+ RegistrantmanId int64 `gorm:"column:registrantMan_id" json:"registrantMan_id"`
|
|
132
|
+ Mainindex string `gorm:"column:mainIndex" json:"mainIndex"`
|
|
133
|
+ Orddoctor string `gorm:"column:ordDoctor" json:"ordDoctor"`
|
|
134
|
+ Ordloc string `gorm:"column:ordLoc" json:"ordLoc"`
|
|
135
|
+ Birthday string `gorm:"column:birthDay" json:"birthDay"`
|
137
|
136
|
}
|
138
|
137
|
|
139
|
138
|
func (PlugPlugcase) TableName() string {
|
|
@@ -141,30 +140,30 @@ func (PlugPlugcase) TableName() string {
|
141
|
140
|
}
|
142
|
141
|
|
143
|
142
|
type PlugPlugcheckitem struct {
|
144
|
|
- Id int64 `gorm:"column:ID" json:"ID"`
|
145
|
|
- Serialno string `gorm:"column:serialNo" json:"serialNo"`
|
146
|
|
- Itemcode string `gorm:"column:itemCode" json:"itemCode"`
|
147
|
|
- State int64 `gorm:"column:state" json:"state"`
|
148
|
|
- Itemplug string `gorm:"column:itemPlug" json:"itemPlug"`
|
149
|
|
- Checkitemid string `gorm:"column:checkItemId" json:"checkItemId"`
|
150
|
|
- Oldserialno string `gorm:"column:oldSerialNo" json:"oldSerialNo"`
|
151
|
|
- Applytime string `gorm:"column:applyTime" json:"applyTime"`
|
152
|
|
- Specimenname string `gorm:"column:specimenName" json:"specimenName"`
|
153
|
|
- Checkitemname string `gorm:"column:checkItemName" json:"checkItemName"`
|
154
|
|
- Liscollectuser string `gorm:"column:LisCollectUser" json:"LisCollectUser"`
|
155
|
|
- Liscollecttime string `gorm:"column:LisCollectTime" json:"LisCollectTime"`
|
156
|
|
- Lissignuser string `gorm:"column:LisSignUser" json:"LisSignUser"`
|
157
|
|
- Lissigntime string `gorm:"column:LissignTime" json:"LissignTime"`
|
158
|
|
- Lisacceptuser string `gorm:"column:LisAcceptUser" json:"LisAcceptUser"`
|
159
|
|
- Lisaccepttime string `gorm:"column:LisAcceptTime" json:"LisAcceptTime"`
|
160
|
|
- Lisregisteruser string `gorm:"column:LisRegisterUser" json:"LisRegisterUser"`
|
161
|
|
- Lisregistertime string `gorm:"column:LisRegisterTime" json:"LisRegisterTime"`
|
162
|
|
- Lischeckuser string `gorm:"column:LisCheckUser" json:"LisCheckUser"`
|
163
|
|
- Lischecktime string `gorm:"column:LisCheckTime" json:"LisCheckTime"`
|
164
|
|
- Lisrefuseuser string `gorm:"column:LisRefuseUser" json:"LisRefuseUser"`
|
165
|
|
- Lisrefusetime string `gorm:"column:LisRefuseTime" json:"LisRefuseTime"`
|
166
|
|
- Lisstatus string `gorm:"column:LisStatus" json:"LisStatus"`
|
167
|
|
- Refusereason string `gorm:"column:RefuseReason" json:"RefuseReason"`
|
|
143
|
+ Id int64 `gorm:"column:ID" json:"ID"`
|
|
144
|
+ Serialno string `gorm:"column:serialNo" json:"serialNo"`
|
|
145
|
+ Itemcode string `gorm:"column:itemCode" json:"itemCode"`
|
|
146
|
+ State int64 `gorm:"column:state" json:"state"`
|
|
147
|
+ Itemplug string `gorm:"column:itemPlug" json:"itemPlug"`
|
|
148
|
+ Checkitemid string `gorm:"column:checkItemId" json:"checkItemId"`
|
|
149
|
+ Oldserialno string `gorm:"column:oldSerialNo" json:"oldSerialNo"`
|
|
150
|
+ Applytime string `gorm:"column:applyTime" json:"applyTime"`
|
|
151
|
+ Specimenname string `gorm:"column:specimenName" json:"specimenName"`
|
|
152
|
+ Checkitemname string `gorm:"column:checkItemName" json:"checkItemName"`
|
|
153
|
+ Liscollectuser string `gorm:"column:LisCollectUser" json:"LisCollectUser"`
|
|
154
|
+ Liscollecttime string `gorm:"column:LisCollectTime" json:"LisCollectTime"`
|
|
155
|
+ Lissignuser string `gorm:"column:LisSignUser" json:"LisSignUser"`
|
|
156
|
+ Lissigntime string `gorm:"column:LissignTime" json:"LissignTime"`
|
|
157
|
+ Lisacceptuser string `gorm:"column:LisAcceptUser" json:"LisAcceptUser"`
|
|
158
|
+ Lisaccepttime string `gorm:"column:LisAcceptTime" json:"LisAcceptTime"`
|
|
159
|
+ Lisregisteruser string `gorm:"column:LisRegisterUser" json:"LisRegisterUser"`
|
|
160
|
+ Lisregistertime string `gorm:"column:LisRegisterTime" json:"LisRegisterTime"`
|
|
161
|
+ Lischeckuser string `gorm:"column:LisCheckUser" json:"LisCheckUser"`
|
|
162
|
+ Lischecktime string `gorm:"column:LisCheckTime" json:"LisCheckTime"`
|
|
163
|
+ Lisrefuseuser string `gorm:"column:LisRefuseUser" json:"LisRefuseUser"`
|
|
164
|
+ Lisrefusetime string `gorm:"column:LisRefuseTime" json:"LisRefuseTime"`
|
|
165
|
+ Lisstatus string `gorm:"column:LisStatus" json:"LisStatus"`
|
|
166
|
+ Refusereason string `gorm:"column:RefuseReason" json:"RefuseReason"`
|
168
|
167
|
}
|
169
|
168
|
|
170
|
169
|
func (PlugPlugcheckitem) TableName() string {
|
|
@@ -172,18 +171,18 @@ func (PlugPlugcheckitem) TableName() string {
|
172
|
171
|
}
|
173
|
172
|
|
174
|
173
|
type PlugPlugresult struct {
|
175
|
|
- Id int64 `gorm:"column:ID" json:"ID"`
|
176
|
|
- Serialno string `gorm:"column:serialNo" json:"serialNo"`
|
177
|
|
- Testitemname string `gorm:"column:testItemName" json:"testItemName"`
|
178
|
|
- Itemcode string `gorm:"column:itemcode" json:"itemcode"`
|
179
|
|
- Paritemno string `gorm:"column:parItemNo" json:"parItemNo"`
|
180
|
|
- Reportvalueall string `gorm:"column:reportValueAll" json:"reportValueAll"`
|
181
|
|
- Testitemdatetime string `gorm:"column:testItemDateTime" json:"testItemDateTime"`
|
182
|
|
- Unit string `gorm:"column:unit" json:"unit"`
|
183
|
|
- Refrange string `gorm:"column:refrange" json:"refrange"`
|
184
|
|
- Resultstatus string `gorm:"column:resultStatus" json:"resultStatus"`
|
185
|
|
- Itemorder int64 `gorm:"column:itemOrder" json:"itemOrder"`
|
186
|
|
- Checker string `gorm:"column:checker" json:"checker"`
|
|
174
|
+ Id int64 `gorm:"column:ID" json:"ID"`
|
|
175
|
+ Serialno string `gorm:"column:serialNo" json:"serialNo"`
|
|
176
|
+ Testitemname string `gorm:"column:testItemName" json:"testItemName"`
|
|
177
|
+ Itemcode string `gorm:"column:itemcode" json:"itemcode"`
|
|
178
|
+ Paritemno string `gorm:"column:parItemNo" json:"parItemNo"`
|
|
179
|
+ Reportvalueall string `gorm:"column:reportValueAll" json:"reportValueAll"`
|
|
180
|
+ Testitemdatetime string `gorm:"column:testItemDateTime" json:"testItemDateTime"`
|
|
181
|
+ Unit string `gorm:"column:unit" json:"unit"`
|
|
182
|
+ Refrange string `gorm:"column:refrange" json:"refrange"`
|
|
183
|
+ Resultstatus string `gorm:"column:resultStatus" json:"resultStatus"`
|
|
184
|
+ Itemorder int64 `gorm:"column:itemOrder" json:"itemOrder"`
|
|
185
|
+ Checker string `gorm:"column:checker" json:"checker"`
|
187
|
186
|
}
|
188
|
187
|
|
189
|
188
|
func (PlugPlugresult) TableName() string {
|
|
@@ -240,7 +239,6 @@ func (MiddlePatients) TableName() string {
|
240
|
239
|
return "xt_middle_patients"
|
241
|
240
|
}
|
242
|
241
|
|
243
|
|
-
|
244
|
242
|
type Patients struct {
|
245
|
243
|
ID int64 `gorm:"column:id" json:"id" form:"id"`
|
246
|
244
|
UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
@@ -252,6 +250,8 @@ type Patients struct {
|
252
|
250
|
ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
|
253
|
251
|
Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
254
|
252
|
Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
|
253
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
254
|
+ Age int64 `gorm:"column:age" json:"age"`
|
255
|
255
|
}
|
256
|
256
|
|
257
|
257
|
func (Patients) TableName() string {
|
|
@@ -412,8 +412,10 @@ type MiddleInspection struct {
|
412
|
412
|
UTime string `gorm:"column:u_time" json:"u_time" form:"u_time"`
|
413
|
413
|
IsSync int `gorm:"column:is_sync" json:"is_sync" form:"is_sync"`
|
414
|
414
|
// SyncItemId int64 `gorm:"column:sync_item_id" json:"sync_item_id" form:"sync_item_id"`
|
415
|
|
- HisUserId string `gorm:"column:his_user_id" json:"his_user_id" form:"his_user_id"`
|
416
|
|
- SyncId int64 `gorm:"column:sync_id" json:"sync_id" form:"sync_id"`
|
|
415
|
+ HisUserId string `gorm:"column:his_user_id" json:"his_user_id" form:"his_user_id"`
|
|
416
|
+ SyncId int64 `gorm:"column:sync_id" json:"sync_id" form:"sync_id"`
|
|
417
|
+ SysProjectId int64 `gorm:"column:sys_project_id" json:"sys_project_id" form:"sys_project_id"`
|
|
418
|
+ SysItemId int64 `gorm:"column:sys_item_id" json:"sys_item_id" form:"sys_item_id"`
|
417
|
419
|
}
|
418
|
420
|
|
419
|
421
|
func (MiddleInspection) TableName() string {
|
|
@@ -443,7 +445,9 @@ type MiddleInspectionReference struct {
|
443
|
445
|
IsSync int `gorm:"column:is_sync" json:"is_sync" form:"is_sync"`
|
444
|
446
|
UTime string `gorm:"column:u_time" json:"u_time" form:"u_time"`
|
445
|
447
|
SyncId int64 `gorm:"column:sync_id" json:"sync_id" form:"sync_id"`
|
446
|
|
- ItemCode string `gorm:"column:item_code" json:"item_code" form:"item_code"`
|
|
448
|
+ ItemCode string `gorm:"column:item_code" json:"item_code" form:"item_code"`
|
|
449
|
+ XtProjectId int64 `gorm:"column:xt_project_id" json:"xt_project_id" form:"xt_project_id"`
|
|
450
|
+ XtItemId int64 `gorm:"column:xt_item_id" json:"xt_item_id" form:"xt_item_id"`
|
447
|
451
|
}
|
448
|
452
|
|
449
|
453
|
func (MiddleInspectionReference) TableName() string {
|
|
@@ -560,3 +564,26 @@ type VMItemProjectList struct {
|
560
|
564
|
func (VMItemProjectList) TableName() string {
|
561
|
565
|
return "xt_his_project_list"
|
562
|
566
|
}
|
|
567
|
+
|
|
568
|
+type HisLabelPrintStatusInfo struct {
|
|
569
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
570
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
571
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
572
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
573
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
574
|
+ IsCombinationPrint int64 `gorm:"column:is_combination_print" json:"is_combination_print" form:"is_combination_print"`
|
|
575
|
+ RecordDate string `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
576
|
+ ItemIds string `gorm:"column:item_ids" json:"item_ids" form:"item_ids"`
|
|
577
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
578
|
+ ProjectIds string `gorm:"column:project_ids" json:"project_ids" form:"project_ids"`
|
|
579
|
+ DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
|
|
580
|
+ Ids string `gorm:"column:ids" json:"ids" form:"ids"`
|
|
581
|
+ IsTeam int64 `gorm:"column:is_team" json:"is_team" form:"is_team"`
|
|
582
|
+ IsPrint int64 `gorm:"column:is_print" json:"is_print" form:"is_print"`
|
|
583
|
+ Patient Patients `gorm:"ForeignKey:ID;AssociationForeignKey:PatientId" json:"patient"`
|
|
584
|
+ ApplyCode string `gorm:"column:apply_code" json:"apply_code" form:"apply_code"`
|
|
585
|
+}
|
|
586
|
+
|
|
587
|
+func (HisLabelPrintStatusInfo) TableName() string {
|
|
588
|
+ return "his_label_print_status_info"
|
|
589
|
+}
|