|
@@ -81,6 +81,58 @@ func (UserAdminRole) TableName() string {
|
81
|
81
|
return "sgj_user_admin_role"
|
82
|
82
|
}
|
83
|
83
|
|
|
84
|
+type HisPatient struct {
|
|
85
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
86
|
+ BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
|
|
87
|
+ MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
|
|
88
|
+ Name string `gorm:"column:name" json:"name" form:"name"`
|
|
89
|
+ Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
|
90
|
+ IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
|
|
91
|
+ MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
|
|
92
|
+ Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
|
93
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
94
|
+ Age int64 `gorm:"column:age" json:"age" form:"age"`
|
|
95
|
+ PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
|
|
96
|
+ IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
|
|
97
|
+ RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
|
|
98
|
+ AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
|
|
99
|
+ Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
|
|
100
|
+ IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
|
|
101
|
+ RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
|
|
102
|
+ TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
|
|
103
|
+ CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
|
|
104
|
+ Total float64 `gorm:"column:total" json:"total" form:"total"`
|
|
105
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
106
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
107
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
108
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
109
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
110
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
111
|
+ Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
112
|
+ IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
|
|
113
|
+ PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
|
|
114
|
+ PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
|
|
115
|
+ Certno string `gorm:"column:certno" json:"certno" form:"certno"`
|
|
116
|
+ PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
|
|
117
|
+ Gend string `gorm:"column:gend" json:"gend" form:"gend"`
|
|
118
|
+ Naty string `gorm:"column:naty" json:"naty" form:"naty"`
|
|
119
|
+ Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
|
|
120
|
+ Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
|
|
121
|
+ Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
|
|
122
|
+ IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
|
|
123
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
124
|
+ SocialType int64 `gorm:"column:social_type" json:"social_type" form:"social_type"`
|
|
125
|
+ YiliaoNumber string `gorm:"column:yiliao_number" json:"yiliao_number" form:"yiliao_number"`
|
|
126
|
+ MzNumber string `gorm:"column:mz_number" json:"mz_number" form:"mz_number"`
|
|
127
|
+ PatientInfo string `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
|
|
128
|
+ Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
|
129
|
+ SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
|
|
130
|
+}
|
|
131
|
+
|
|
132
|
+func (HisPatient) TableName() string {
|
|
133
|
+ return "his_patient"
|
|
134
|
+}
|
|
135
|
+
|
84
|
136
|
type Patients struct {
|
85
|
137
|
ID int64 `gorm:"column:id" json:"id"`
|
86
|
138
|
UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
|
|
@@ -1104,3 +1156,405 @@ type XtPatientVascularAccess struct {
|
1104
|
1156
|
func (XtPatientVascularAccess) TableName() string {
|
1105
|
1157
|
return "xt_patient_vascular_access"
|
1106
|
1158
|
}
|
|
1159
|
+
|
|
1160
|
+type App_Role struct {
|
|
1161
|
+ Id int64 `gorm:"PRIMARY_KEY;AUTO_INCREMENT" json:"id"`
|
|
1162
|
+ AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
|
|
1163
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id"`
|
|
1164
|
+ AppId int64 `gorm:"column:app_id" json:"app_id"`
|
|
1165
|
+ RoleId int64 `gorm:"column:role_id" json:"role_id"`
|
|
1166
|
+ Avatar string `json:"avatar" json:"avatar"`
|
|
1167
|
+ UserName string `gorm:"column:user_name" json:"user_name"` // 用户名称
|
|
1168
|
+ Intro string `json:"intro"` // 简介
|
|
1169
|
+ UserType int8 `gorm:"column:user_type" json:"user_type"` // 用户类型(1.管理员;2.医生;3.护士;4.运营)
|
|
1170
|
+ UserTitle int8 `gorm:"column:user_title" json:"user_title"` // 用户职称(1.医士;2.医师;3.住院医师;4.主治医师;5.副主任医师;6.主任医师;7.护士;8.护师;9.主管护师;10.副主任护师;11.主任护师;12.运营专员;13.运营主管)
|
|
1171
|
+ Status int8 `json:"status"` // 状态 0.无效 1.有效
|
|
1172
|
+ CreateTime int64 `gorm:"column:ctime" json:"ctime"` // 创建时间
|
|
1173
|
+ ModifyTime int64 `gorm:"column:mtime" json:"mtime"` // 修改时间UserTitleName string `gorm:"column:user_title_name" json:"user_title_name" form:"user_title_name"`
|
|
1174
|
+ UserTitleName string `gorm:"column:user_title_name" json:"user_title_name" form:"user_title_name"`
|
|
1175
|
+ RoleIds string `gorm:"column:role_ids" json:"role_ids" form:"role_ids"`
|
|
1176
|
+ IsSubSuperAdmin bool `gorm:"-" json:"is_sub_super_admin" form:"is_sub_super_admin"`
|
|
1177
|
+ Message string `gorm:"column:message" json:"message" form:"message"`
|
|
1178
|
+ Sex int64 `gorm:"column:sex" json:"sex" form:"sex"`
|
|
1179
|
+ Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
|
1180
|
+ Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
|
1181
|
+ IsSort int64 `gorm:"column:is_sort" json:"is_sort" form:"is_sort"`
|
|
1182
|
+ DepartmentId int64 `gorm:"column:department_id" json:"department_id" form:"department_id"`
|
|
1183
|
+ Department string `gorm:"column:department" json:"department" form:"department"`
|
|
1184
|
+
|
|
1185
|
+ Age int64 `gorm:"column:age" json:"age" form:"age"`
|
|
1186
|
+ Nation string `gorm:"column:nation" json:"nation" form:"nation"`
|
|
1187
|
+ CardType int64 `gorm:"column:card_type" json:"card_type" form:"card_type"`
|
|
1188
|
+ IdCard string `gorm:"column:id_card" json:"id_card" form:"id_card"`
|
|
1189
|
+ Education int64 `gorm:"column:education" json:"education" form:"education"`
|
|
1190
|
+ StudyMajorName string `gorm:"column:study_major_name" json:"study_major_name" form:"study_major_name"`
|
|
1191
|
+ WorkMajorName string `gorm:"column:work_major_name" json:"work_major_name" form:"work_major_name"`
|
|
1192
|
+ RoleType int64 `gorm:"column:role_type" json:"role_type" form:"role_type"`
|
|
1193
|
+ MedicalCode string `gorm:"column:medical_code" json:"medical_code" form:"medical_code"`
|
|
1194
|
+ DoctorCode string `gorm:"column:doctor_code" json:"doctor_code" form:"doctor_code"`
|
|
1195
|
+ Licensing int64 `gorm:"column:licensing" json:"licensing" form:"licensing"`
|
|
1196
|
+ JobNumber string `gorm:"column:job_number" json:"job_number" form:"job_number"`
|
|
1197
|
+ PrescriptionQualificationIdentification int64 `gorm:"column:prescription_qualification_identification" json:"prescription_qualification_identification" form:"prescription_qualification_identification"`
|
|
1198
|
+ IdentificationOutpatients int64 `gorm:"column:identification_outpatients" json:"identification_outpatients" form:"identification_outpatients"`
|
|
1199
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
1200
|
+ MedicalRangeCode int64 `gorm:"column:medical_range_code" json:"medical_range_code" form:"medical_range_code"`
|
|
1201
|
+ MedicalLevel int64 `gorm:"column:medical_level" json:"medical_level" form:"medical_level"`
|
|
1202
|
+ MedicalTypeJob int64 `gorm:"column:medical_type_job" json:"medical_type_job" form:"medical_type_job"`
|
|
1203
|
+ PharmacistRegistrationNumber string `gorm:"column:pharmacist_registration_number" json:"pharmacist_registration_number" form:"pharmacist_registration_number"`
|
|
1204
|
+ DoctorRangeCode int64 `gorm:"column:doctor_range_code" json:"doctor_range_code" form:"doctor_range_code"`
|
|
1205
|
+ DoctorLevel int64 `gorm:"column:doctor_level" json:"doctor_level" form:"doctor_level"`
|
|
1206
|
+ DoctorTypeJob int64 `gorm:"column:doctor_type_job" json:"doctor_type_job" form:"doctor_type_job"`
|
|
1207
|
+ DoctorNumber string `gorm:"column:doctor_number" json:"doctor_number" form:"doctor_number"`
|
|
1208
|
+ OutpatientIllnesscategory string `gorm:"column:outpatient_illness_category" json:"outpatient_illness_category" form:"outpatient_illness_category"`
|
|
1209
|
+ IsActive int64 `gorm:"column:is_active" json:"is_active" form:"is_active"`
|
|
1210
|
+ ActiveStatus int64 `gorm:"column:active_status" json:"active_status" form:"active_status"`
|
|
1211
|
+}
|
|
1212
|
+
|
|
1213
|
+func (App_Role) TableName() string {
|
|
1214
|
+ return "sgj_user_admin_role"
|
|
1215
|
+}
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+type HisPrescriptionInfo struct {
|
|
1219
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1220
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1221
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
1222
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1223
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
1224
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1225
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1226
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1227
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
1228
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
1229
|
+ Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
|
1230
|
+ RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
|
|
1231
|
+ Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
1232
|
+ Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
|
|
1233
|
+ SickHistory string `gorm:"column:sick_history" json:"sick_history" form:"sick_history"`
|
|
1234
|
+ PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
|
|
1235
|
+ PrescriptionStatus int64 `gorm:"column:prescription_status" json:"prescription_status" form:"prescription_status"`
|
|
1236
|
+ BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
|
1237
|
+ DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
|
|
1238
|
+ SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
|
|
1239
|
+}
|
|
1240
|
+
|
|
1241
|
+func (HisPrescriptionInfo) TableName() string {
|
|
1242
|
+ return "his_prescription_info"
|
|
1243
|
+}
|
|
1244
|
+
|
|
1245
|
+type HisPrescription struct {
|
|
1246
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1247
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1248
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
1249
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1250
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
1251
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1252
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1253
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1254
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
1255
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
1256
|
+ Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
1257
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
1258
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
1259
|
+ OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
|
1260
|
+ BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
|
1261
|
+ PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
|
|
1262
|
+}
|
|
1263
|
+
|
|
1264
|
+func (HisPrescription) TableName() string {
|
|
1265
|
+ return "his_prescription"
|
|
1266
|
+}
|
|
1267
|
+
|
|
1268
|
+type HisDoctorAdviceInfo struct {
|
|
1269
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1270
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1271
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1272
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
1273
|
+ AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
|
|
1274
|
+ AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
|
|
1275
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
1276
|
+ AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
|
1277
|
+ AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
|
1278
|
+ ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
|
|
1279
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
1280
|
+ SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
|
1281
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
1282
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
|
1283
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
1284
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
1285
|
+ AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
|
1286
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1287
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
1288
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
1289
|
+ AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
|
|
1290
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
1291
|
+ StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
|
|
1292
|
+ StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
|
|
1293
|
+ StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
|
|
1294
|
+ StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
|
|
1295
|
+ ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
|
|
1296
|
+ ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
|
1297
|
+ ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
|
1298
|
+ ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
|
1299
|
+ Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
|
1300
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
1301
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
|
|
1302
|
+ CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
|
1303
|
+ CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
|
1304
|
+ DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
1305
|
+ DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
|
1306
|
+ Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
|
1307
|
+ RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
|
1308
|
+ FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
|
1309
|
+ DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
|
1310
|
+ WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
|
1311
|
+ TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
|
1312
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
1313
|
+ DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
|
1314
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
1315
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
1316
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
1317
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
1318
|
+ Day int64 `gorm:"column:day" json:"day" form:"day"`
|
|
1319
|
+ BaseDrugLib BaseDrugLib `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug"`
|
|
1320
|
+}
|
|
1321
|
+
|
|
1322
|
+func (HisDoctorAdviceInfo) TableName() string {
|
|
1323
|
+ return "his_doctor_advice_info"
|
|
1324
|
+}
|
|
1325
|
+
|
|
1326
|
+type BaseDrugLib struct {
|
|
1327
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1328
|
+ DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
|
|
1329
|
+ Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
|
|
1330
|
+ Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
|
|
1331
|
+ DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
|
|
1332
|
+ DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
|
|
1333
|
+ DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
|
|
1334
|
+ DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
|
|
1335
|
+ DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
1336
|
+ DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
|
|
1337
|
+ DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
|
|
1338
|
+ DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
|
|
1339
|
+ DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
|
|
1340
|
+ MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
|
|
1341
|
+ MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
|
|
1342
|
+ MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
|
1343
|
+ UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
|
|
1344
|
+ RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
|
1345
|
+ LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
|
|
1346
|
+ DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
|
|
1347
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
1348
|
+ DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
|
|
1349
|
+ DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
|
|
1350
|
+ DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
|
|
1351
|
+ MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
|
|
1352
|
+ Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
|
1353
|
+ PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
|
|
1354
|
+ StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
|
|
1355
|
+ Code string `gorm:"column:code" json:"code" form:"code"`
|
|
1356
|
+ IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
|
|
1357
|
+ IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
|
|
1358
|
+ Agent string `gorm:"column:agent" json:"agent" form:"agent"`
|
|
1359
|
+ DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
|
|
1360
|
+ LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
|
|
1361
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
1362
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
1363
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
1364
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
1365
|
+ Label int64 `gorm:"column:label" json:"label" form:"label"`
|
|
1366
|
+ Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
|
1367
|
+ IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
|
|
1368
|
+ IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
|
|
1369
|
+ IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
|
|
1370
|
+ IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
|
|
1371
|
+ IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
|
|
1372
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1373
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1374
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1375
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
1376
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
1377
|
+ PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
|
|
1378
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
1379
|
+ DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
|
|
1380
|
+ SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
|
|
1381
|
+ DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
|
|
1382
|
+ IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
|
|
1383
|
+ HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
|
1384
|
+ LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
1385
|
+ //MedicineInsurancePercentage []*MedicineInsurancePercentage `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"monitoring_record"`
|
|
1386
|
+}
|
|
1387
|
+
|
|
1388
|
+func (BaseDrugLib) TableName() string {
|
|
1389
|
+ return "xt_base_drug"
|
|
1390
|
+}
|
|
1391
|
+
|
|
1392
|
+type HisPrescriptionProject struct {
|
|
1393
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1394
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
1395
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
1396
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1397
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1398
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1399
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1400
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1401
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
1402
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
1403
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
1404
|
+ Count int64 `gorm:"column:count" json:"count" form:"count"`
|
|
1405
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
1406
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
1407
|
+ SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
1408
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
1409
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
1410
|
+ Day string `gorm:"column:day" json:"day" form:"day"`
|
|
1411
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
1412
|
+ Unit string `gorm:"column:unit" json:"unit" form:"unit"`
|
|
1413
|
+}
|
|
1414
|
+
|
|
1415
|
+func (HisPrescriptionProject) TableName() string {
|
|
1416
|
+ return "his_prescription_project"
|
|
1417
|
+}
|
|
1418
|
+
|
|
1419
|
+type HisOrder struct {
|
|
1420
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1421
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1422
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
1423
|
+ SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
|
|
1424
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1425
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1426
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1427
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
1428
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1429
|
+ Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
|
|
1430
|
+ WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
|
|
1431
|
+ Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
|
|
1432
|
+ ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
|
|
1433
|
+ RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
|
|
1434
|
+ InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
|
|
1435
|
+ OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
|
1436
|
+ MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
|
|
1437
|
+ SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
|
|
1438
|
+ PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
|
|
1439
|
+ PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
|
|
1440
|
+ PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
|
|
1441
|
+ Certno string `gorm:"column:certno" json:"certno" form:"certno"`
|
|
1442
|
+ Gend string `gorm:"column:gend" json:"gend" form:"gend"`
|
|
1443
|
+ Naty string `gorm:"column:naty" json:"naty" form:"naty"`
|
|
1444
|
+ Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
|
|
1445
|
+ Age float64 `gorm:"column:age" json:"age" form:"age"`
|
|
1446
|
+ Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
|
|
1447
|
+ PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
|
|
1448
|
+ CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
|
|
1449
|
+ SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
|
|
1450
|
+ MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
|
|
1451
|
+ MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
|
1452
|
+ MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
|
|
1453
|
+ FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
|
|
1454
|
+ OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
|
|
1455
|
+ PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
|
|
1456
|
+ InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
|
|
1457
|
+ ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
|
|
1458
|
+ HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
|
|
1459
|
+ CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
|
|
1460
|
+ PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
|
|
1461
|
+ HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
|
|
1462
|
+ HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
|
|
1463
|
+ HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
|
|
1464
|
+ MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
|
|
1465
|
+ OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
|
|
1466
|
+ FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
|
|
1467
|
+ PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
|
|
1468
|
+ AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
|
|
1469
|
+ PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
|
|
1470
|
+ HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
|
|
1471
|
+ Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
|
|
1472
|
+ AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
|
|
1473
|
+ MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
|
|
1474
|
+ ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
|
|
1475
|
+ ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
|
|
1476
|
+ ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
|
|
1477
|
+ SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
|
|
1478
|
+ IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
|
|
1479
|
+ PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
|
|
1480
|
+ PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
|
|
1481
|
+ PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
|
|
1482
|
+ DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
|
|
1483
|
+ PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
|
|
1484
|
+ RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
|
|
1485
|
+ FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
|
|
1486
|
+ MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
|
|
1487
|
+ PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
|
|
1488
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
1489
|
+ Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
|
|
1490
|
+ AccountPrice float64 `gorm:"column:account_price" json:"account_price" form:"account_price"`
|
|
1491
|
+
|
|
1492
|
+ SzChargeInfo string `gorm:"column:sz_charge_info" json:"sz_charge_info" form:"sz_charge_info"`
|
|
1493
|
+ SzProjectInfo string `gorm:"column:sz_project_info" json:"sz_project_info" form:"sz_project_info"`
|
|
1494
|
+ SzMedicineInsuranceInfo string `gorm:"column:sz_medicine_insurance_info" json:"sz_medicine_insurance_info" form:"sz_medicine_insurance_info"`
|
|
1495
|
+ YiliaoNumber string `gorm:"column:yiliao_number" json:"yiliao_number" form:"yiliao_number"`
|
|
1496
|
+
|
|
1497
|
+ FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
|
|
1498
|
+ FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
|
|
1499
|
+
|
|
1500
|
+ MzNumber string `gorm:"column:mz_number" json:"mz_number" form:"mz_number"`
|
|
1501
|
+ OrgSetlNumber string `gorm:"column:org_setl_number" json:"org_setl_number" form:"org_setl_number"`
|
|
1502
|
+
|
|
1503
|
+ SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
|
|
1504
|
+ SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
|
|
1505
|
+ SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
|
|
1506
|
+
|
|
1507
|
+ RefundLog string `gorm:"column:refund_log" json:"refund_log" form:"refund_log"`
|
|
1508
|
+ DetailLog string `gorm:"column:detail_log" json:"detail_log" form:"detail_log"`
|
|
1509
|
+
|
|
1510
|
+ RequestLog string `gorm:"column:request_log" json:"request_log" form:"request_log"`
|
|
1511
|
+ RefundRequestLog string `gorm:"column:refund_request_log" json:"refund_request_log" form:"refund_request_log"`
|
|
1512
|
+}
|
|
1513
|
+
|
|
1514
|
+func (HisOrder) TableName() string {
|
|
1515
|
+ return "his_order"
|
|
1516
|
+}
|
|
1517
|
+
|
|
1518
|
+type HisOrderInfo struct {
|
|
1519
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1520
|
+ OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
|
|
1521
|
+ UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
|
|
1522
|
+ AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
|
|
1523
|
+ DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
|
|
1524
|
+ Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
|
|
1525
|
+ Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
|
|
1526
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1527
|
+ PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
|
|
1528
|
+ SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
|
|
1529
|
+ FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
|
|
1530
|
+ OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
|
|
1531
|
+ PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
|
|
1532
|
+ BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
|
|
1533
|
+ MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
|
|
1534
|
+ HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
|
|
1535
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1536
|
+ Memo string `gorm:"column:memo" json:"memo" form:"memo"`
|
|
1537
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
1538
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1539
|
+ InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
|
|
1540
|
+ DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
|
|
1541
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1542
|
+ ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
|
|
1543
|
+ ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
|
|
1544
|
+ LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
1545
|
+ ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
|
|
1546
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1547
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
1548
|
+ OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
|
|
1549
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
1550
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
1551
|
+ ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
|
|
1552
|
+ OverPricPsnPay float64 `gorm:"column:over_pric_psn_pay" json:"over_pric_psn_pay" form:"over_pric_psn_pay"`
|
|
1553
|
+ AllowReimburse float64 `gorm:"column:allow_reimburse" json:"allow_reimburse" form:"allow_reimburse"`
|
|
1554
|
+ HisDoctorAdviceInfo HisDoctorAdviceInfo `gorm:"ForeignKey:AdviceId;AssociationForeignKey:ID" json:"advice"`
|
|
1555
|
+ HisPrescriptionProject HisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
|
|
1556
|
+}
|
|
1557
|
+
|
|
1558
|
+func (HisOrderInfo) TableName() string {
|
|
1559
|
+ return "his_order_info"
|
|
1560
|
+}
|