|
@@ -290,82 +290,83 @@ func (HisDoctorAdviceInfo) TableName() string {
|
290
|
290
|
}
|
291
|
291
|
|
292
|
292
|
type Drug struct {
|
293
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
294
|
|
- DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
|
295
|
|
- Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
|
296
|
|
- Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
|
297
|
|
- DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
|
298
|
|
- DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
|
299
|
|
- DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
|
300
|
|
- DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
|
301
|
|
- DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
302
|
|
- DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
|
303
|
|
- DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
|
304
|
|
- DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
|
305
|
|
- DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
|
306
|
|
- MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
|
307
|
|
- MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
|
308
|
|
- MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
|
309
|
|
- MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
310
|
|
- Dose string `gorm:"column:dose" json:"dose" form:"dose"`
|
311
|
|
- DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
|
312
|
|
- UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
|
313
|
|
- RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
314
|
|
- MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
|
315
|
|
- LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
|
316
|
|
- DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
|
317
|
|
- Number string `gorm:"column:number" json:"number" form:"number"`
|
318
|
|
- DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
|
319
|
|
- DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
|
320
|
|
- DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
|
321
|
|
- MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
|
322
|
|
- ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
|
323
|
|
- Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
324
|
|
- PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
|
325
|
|
- StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
|
326
|
|
- Code string `gorm:"column:code" json:"code" form:"code"`
|
327
|
|
- IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
|
328
|
|
- IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
|
329
|
|
- Agent string `gorm:"column:agent" json:"agent" form:"agent"`
|
330
|
|
- DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
|
331
|
|
- LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
|
332
|
|
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
333
|
|
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
334
|
|
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
335
|
|
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
336
|
|
- Label int64 `gorm:"column:label" json:"label" form:"label"`
|
337
|
|
- Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
338
|
|
- IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
|
339
|
|
- IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
|
340
|
|
- IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
|
341
|
|
- IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
|
342
|
|
- IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
|
343
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
344
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
345
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
346
|
|
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
347
|
|
- DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
348
|
|
- Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
349
|
|
- PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
|
350
|
|
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
351
|
|
- DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
|
352
|
|
- SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
|
353
|
|
- DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
|
354
|
|
- IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
|
355
|
|
- HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
356
|
|
- LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
357
|
|
- Dosage string `gorm:"column:dosage" json:"dosage" form:"dosage"`
|
358
|
|
- Unval string `gorm:"column:unval" json:"unval" form:"unval"`
|
359
|
|
- PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
|
360
|
|
- PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
|
361
|
|
- DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
|
362
|
|
- Total float64 `gorm:"column:total" json:"total" form:"total"`
|
363
|
|
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
364
|
|
- IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
|
365
|
|
- Bck01b string `gorm:"column:bck01b" json:"bck01b" form:"bck01b"`
|
366
|
|
- Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
|
367
|
|
- Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
|
368
|
|
- IsZeroFlag int64 `gorm:"column:is_zero_flag" json:"is_zero_flag" form:"is_zero_flag"`
|
|
293
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
294
|
+ DrugName string `gorm:"column:drug_name" json:"drug_name" form:"drug_name"`
|
|
295
|
+ Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
|
|
296
|
+ Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
|
|
297
|
+ DrugAlias string `gorm:"column:drug_alias" json:"drug_alias" form:"drug_alias"`
|
|
298
|
+ DrugAliasPinyin string `gorm:"column:drug_alias_pinyin" json:"drug_alias_pinyin" form:"drug_alias_pinyin"`
|
|
299
|
+ DrugAliasWubi string `gorm:"column:drug_alias_wubi" json:"drug_alias_wubi" form:"drug_alias_wubi"`
|
|
300
|
+ DrugCategory int64 `gorm:"column:drug_category" json:"drug_category" form:"drug_category"`
|
|
301
|
+ DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
302
|
+ DrugType int64 `gorm:"column:drug_type" json:"drug_type" form:"drug_type"`
|
|
303
|
+ DrugStockLimit string `gorm:"column:drug_stock_limit" json:"drug_stock_limit" form:"drug_stock_limit"`
|
|
304
|
+ DrugOriginPlace string `gorm:"column:drug_origin_place" json:"drug_origin_place" form:"drug_origin_place"`
|
|
305
|
+ DrugDosageForm int64 `gorm:"column:drug_dosage_form" json:"drug_dosage_form" form:"drug_dosage_form"`
|
|
306
|
+ MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
|
|
307
|
+ MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
|
|
308
|
+ MinNumber int64 `gorm:"column:min_number" json:"min_number" form:"min_number"`
|
|
309
|
+ MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
|
310
|
+ Dose string `gorm:"column:dose" json:"dose" form:"dose"`
|
|
311
|
+ DoseUnit string `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
|
|
312
|
+ UnitMatrixing string `gorm:"column:unit_matrixing" json:"unit_matrixing" form:"unit_matrixing"`
|
|
313
|
+ RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
|
314
|
+ MinPrice float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
|
|
315
|
+ LastPrice float64 `gorm:"column:last_price" json:"last_price" form:"last_price"`
|
|
316
|
+ DrugControl int64 `gorm:"column:drug_control" json:"drug_control" form:"drug_control"`
|
|
317
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
318
|
+ DrugClassify string `gorm:"column:drug_classify" json:"drug_classify" form:"drug_classify"`
|
|
319
|
+ DrugDose float64 `gorm:"column:drug_dose" json:"drug_dose" form:"drug_dose"`
|
|
320
|
+ DrugDoseUnit int64 `gorm:"column:drug_dose_unit" json:"drug_dose_unit" form:"drug_dose_unit"`
|
|
321
|
+ MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
|
|
322
|
+ ProvincesCode string `gorm:"column:provinces_code" json:"provinces_code" form:"provinces_code"`
|
|
323
|
+ Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
|
324
|
+ Manufacturers Manufacturer `gorm:"ForeignKey:ID;AssociationForeignKey:Manufacturer" json:"Manufacturer"`
|
|
325
|
+ PharmacologyCategory int64 `gorm:"column:pharmacology_category" json:"pharmacology_category" form:"pharmacology_category"`
|
|
326
|
+ StatisticsCategory int64 `gorm:"column:statistics_category" json:"statistics_category" form:"statistics_category"`
|
|
327
|
+ Code string `gorm:"column:code" json:"code" form:"code"`
|
|
328
|
+ IsSpecialDiseases int64 `gorm:"column:is_special_diseases" json:"is_special_diseases" form:"is_special_diseases"`
|
|
329
|
+ IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
|
|
330
|
+ Agent string `gorm:"column:agent" json:"agent" form:"agent"`
|
|
331
|
+ DrugStatus string `gorm:"column:drug_status" json:"drug_status" form:"drug_status"`
|
|
332
|
+ LimitRemark string `gorm:"column:limit_remark" json:"limit_remark" form:"limit_remark"`
|
|
333
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
334
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
335
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
336
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
337
|
+ Label int64 `gorm:"column:label" json:"label" form:"label"`
|
|
338
|
+ Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
|
339
|
+ IsUseDoctorAdvice int64 `gorm:"column:is_use_doctor_advice" json:"is_use_doctor_advice" form:"is_use_doctor_advice"`
|
|
340
|
+ IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
|
|
341
|
+ IsChargePredict int64 `gorm:"column:is_charge_predict" json:"is_charge_predict" form:"is_charge_predict"`
|
|
342
|
+ IsStatisticsWork int64 `gorm:"column:is_statistics_work" json:"is_statistics_work" form:"is_statistics_work"`
|
|
343
|
+ IsChargeUse int64 `gorm:"column:is_charge_use" json:"is_charge_use" form:"is_charge_use"`
|
|
344
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
345
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
346
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
347
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
348
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
349
|
+ Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
|
350
|
+ PrescriptionMark int64 `gorm:"column:prescription_mark" json:"prescription_mark" form:"prescription_mark"`
|
|
351
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
352
|
+ DrugRemark string `gorm:"column:drug_remark" json:"drug_remark" form:"drug_remark"`
|
|
353
|
+ SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
|
|
354
|
+ DoseCode string `gorm:"column:dose_code" json:"dose_code" form:"dose_code"`
|
|
355
|
+ IsMark int64 `gorm:"column:is_mark" json:"is_mark" form:"is_mark"`
|
|
356
|
+ HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
|
357
|
+ LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
358
|
+ Dosage string `gorm:"column:dosage" json:"dosage" form:"dosage"`
|
|
359
|
+ Unval string `gorm:"column:unval" json:"unval" form:"unval"`
|
|
360
|
+ PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
|
|
361
|
+ PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
|
|
362
|
+ DrugDay string `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
|
|
363
|
+ Total float64 `gorm:"column:total" json:"total" form:"total"`
|
|
364
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
|
365
|
+ IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
|
|
366
|
+ Bck01b string `gorm:"column:bck01b" json:"bck01b" form:"bck01b"`
|
|
367
|
+ Bby01 string `gorm:"column:bby01" json:"bby01" form:"bby01"`
|
|
368
|
+ Bbx01 string `gorm:"column:bbx01" json:"bbx01" form:"bbx01"`
|
|
369
|
+ IsZeroFlag int64 `gorm:"column:is_zero_flag" json:"is_zero_flag" form:"is_zero_flag"`
|
369
|
370
|
}
|
370
|
371
|
|
371
|
372
|
func (Drug) TableName() string {
|
|
@@ -545,6 +546,8 @@ type TempHisOrder struct {
|
545
|
546
|
IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
|
546
|
547
|
IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
|
547
|
548
|
CardDesc string `gorm:"card_desc" json:"card_desc" form:"card_desc"`
|
|
549
|
+ PackNum int64 `gorm:"column:pack_num" json:"pack_num" form:"pack_num"`
|
|
550
|
+ GoodPackNum int64 `gorm:"column:good_pack_num" json:"good_pack_num" form:"good_pack_num"`
|
548
|
551
|
}
|
549
|
552
|
|
550
|
553
|
func (TempHisOrder) TableName() string {
|
|
@@ -907,6 +910,10 @@ type HisPrescriptionProject struct {
|
907
|
910
|
ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
|
908
|
911
|
IsOut int64 `gorm:"column:is_out" json:"is_out" form:"is_out"` //新增字段
|
909
|
912
|
YbSyncStatus int64 `gorm:"column:yb_sync_status" json:"yb_sync_status" form:"yb_sync_status"`
|
|
913
|
+
|
|
914
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
915
|
+
|
|
916
|
+ DispensingTime int64 `gorm:"column:dispensing_time" json:"dispensing_time" form:"dispensing_time"`
|
910
|
917
|
}
|
911
|
918
|
|
912
|
919
|
func (HisPrescriptionProject) TableName() string {
|
|
@@ -1112,6 +1119,8 @@ type HisOrder struct {
|
1112
|
1119
|
IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
|
1113
|
1120
|
SickName string `gorm:"column:sick_name" json:"sick_name" form:"sick_name"`
|
1114
|
1121
|
CardDesc string `gorm:"card_desc" json:"card_desc" form:"card_desc"`
|
|
1122
|
+ PackNum int64 `gorm:"column:pack_num" json:"pack_num" form:"pack_num"`
|
|
1123
|
+ GoodPackNum int64 `gorm:"column:good_pack_num" json:"good_pack_num" form:"good_pack_num"`
|
1115
|
1124
|
}
|
1116
|
1125
|
|
1117
|
1126
|
func (HisOrder) TableName() string {
|
|
@@ -1176,7 +1185,9 @@ type HisOrderELE struct {
|
1176
|
1185
|
IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
|
1177
|
1186
|
PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
|
1178
|
1187
|
|
1179
|
|
- Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
|
1188
|
+ Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
|
1189
|
+ PackNum int64 `gorm:"column:pack_num" json:"pack_num" form:"pack_num"`
|
|
1190
|
+ GoodPackNum int64 `gorm:"column:good_pack_num" json:"good_pack_num" form:"good_pack_num"`
|
1180
|
1191
|
}
|
1181
|
1192
|
|
1182
|
1193
|
func (HisOrderELE) TableName() string {
|
|
@@ -2996,78 +3007,127 @@ type HisOrder10726Summary struct {
|
2996
|
3007
|
}
|
2997
|
3008
|
|
2998
|
3009
|
type NewHisDoctorAdviceInfo struct {
|
2999
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
3000
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
3001
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
3002
|
|
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
3003
|
|
- AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
|
3004
|
|
- AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
|
3005
|
|
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
3006
|
|
- AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
3007
|
|
- AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
3008
|
|
- ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
|
3009
|
|
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
3010
|
|
- SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
3011
|
|
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
3012
|
|
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
3013
|
|
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
3014
|
|
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
3015
|
|
- AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
3016
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
3017
|
|
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
3018
|
|
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
3019
|
|
- AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
|
3020
|
|
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
3021
|
|
- StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
|
3022
|
|
- StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
|
3023
|
|
- StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
|
3024
|
|
- StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
|
3025
|
|
- ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
|
3026
|
|
- ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
3027
|
|
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
3028
|
|
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
3029
|
|
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
3030
|
|
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
3031
|
|
- DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
|
3032
|
|
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
3033
|
|
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
3034
|
|
- DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
3035
|
|
- DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
3036
|
|
- Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
3037
|
|
- RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
3038
|
|
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
3039
|
|
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
3040
|
|
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
3041
|
|
- TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
3042
|
|
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
3043
|
|
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
3044
|
|
- Price float64 `gorm:"column:price" json:"price" form:"price"`
|
3045
|
|
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
3046
|
|
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
3047
|
|
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
3048
|
|
- Day int64 `gorm:"column:day" json:"day" form:"day"`
|
3049
|
|
- Drug Drug `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
|
3050
|
|
- Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
3051
|
|
- Way int64 `gorm:"column:way" json:"way" form:"way"`
|
3052
|
|
- HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
3053
|
|
- LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
3054
|
|
- IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
|
3055
|
|
- ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
|
3056
|
|
- IsSettle int64 `gorm:"column:is_settle" json:"is_settle" form:"is_settle"`
|
3057
|
|
- IsMobile int64 `gorm:"column:is_mobile" json:"is_mobile" form:"is_mobile"`
|
3058
|
|
- IsSelfDrug int64 `gorm:"column:is_self_drug" json:"is_self_drug" form:"is_self_drug"`
|
3059
|
|
- DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
3060
|
|
- YbSyncStatus int64 `gorm:"column:yb_sync_status" json:"yb_sync_status" form:"yb_sync_status"`
|
3061
|
|
- DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
3062
|
|
- IsUpload int64 `gorm:"column:is_upload" json:"is_upload" form:"is_upload"`
|
3063
|
|
- ZeroFlag int64 `gorm:"column:zero_flag" json:"zero_flag" form:"zero_flag"`
|
3064
|
|
- NewHisPrescription NewHisPrescription `gorm:"ForeignKey:ID;AssociationForeignKey:PrescriptionId" json:"pre"`
|
|
3010
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
3011
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
3012
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
3013
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
3014
|
+ AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
|
|
3015
|
+ AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
|
|
3016
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
3017
|
+ AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
|
3018
|
+ AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
|
3019
|
+ ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
|
|
3020
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
3021
|
+ SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
|
3022
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
3023
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
|
3024
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
3025
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
3026
|
+ AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
|
3027
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
3028
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
3029
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
3030
|
+ AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
|
|
3031
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
3032
|
+ StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
|
|
3033
|
+ StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
|
|
3034
|
+ StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
|
|
3035
|
+ StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
|
|
3036
|
+ ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
|
|
3037
|
+ ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
|
3038
|
+ ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
|
3039
|
+ ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
|
3040
|
+ Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
|
3041
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
3042
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
|
|
3043
|
+ CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
|
3044
|
+ CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
|
3045
|
+ DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
3046
|
+ DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
|
3047
|
+ Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
|
3048
|
+ RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
|
3049
|
+ FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
|
3050
|
+ DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
|
3051
|
+ WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
|
3052
|
+ TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
|
3053
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
3054
|
+ DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
|
3055
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
3056
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
3057
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
3058
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
3059
|
+ Day int64 `gorm:"column:day" json:"day" form:"day"`
|
|
3060
|
+ Drug Drug `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
|
|
3061
|
+ Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
|
3062
|
+ Way int64 `gorm:"column:way" json:"way" form:"way"`
|
|
3063
|
+ HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
|
3064
|
+ LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
3065
|
+ IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
|
|
3066
|
+ ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
|
|
3067
|
+ IsSettle int64 `gorm:"column:is_settle" json:"is_settle" form:"is_settle"`
|
|
3068
|
+ IsMobile int64 `gorm:"column:is_mobile" json:"is_mobile" form:"is_mobile"`
|
|
3069
|
+ IsSelfDrug int64 `gorm:"column:is_self_drug" json:"is_self_drug" form:"is_self_drug"`
|
|
3070
|
+ DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
|
3071
|
+ YbSyncStatus int64 `gorm:"column:yb_sync_status" json:"yb_sync_status" form:"yb_sync_status"`
|
|
3072
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
3073
|
+ IsUpload int64 `gorm:"column:is_upload" json:"is_upload" form:"is_upload"`
|
|
3074
|
+
|
|
3075
|
+ ZeroFlag int64 `gorm:"column:zero_flag" json:"zero_flag" form:"zero_flag"`
|
|
3076
|
+ NewHisPrescription NewHisPrescription `gorm:"ForeignKey:ID;AssociationForeignKey:PrescriptionId" json:"pre"`
|
3065
|
3077
|
}
|
3066
|
3078
|
|
3067
|
3079
|
func (NewHisDoctorAdviceInfo) TableName() string {
|
3068
|
3080
|
return "his_doctor_advice_info"
|
3069
|
3081
|
}
|
3070
|
3082
|
|
|
3083
|
+type NewHisPrintPrescriptionProject struct {
|
|
3084
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
3085
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
3086
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
3087
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
3088
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
3089
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
3090
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
3091
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
3092
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
3093
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
3094
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
3095
|
+ Count string `gorm:"column:count" json:"count" form:"count"`
|
|
3096
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
3097
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
3098
|
+ SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
3099
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
3100
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
3101
|
+ Day string `gorm:"column:day" json:"day" form:"day"`
|
|
3102
|
+ HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
|
|
3103
|
+ GoodInfo GoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
|
|
3104
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
3105
|
+ Unit string `gorm:"column:unit" json:"unit" form:"unit"`
|
|
3106
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
3107
|
+ Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
3108
|
+ ExecutionTime int64 `gborm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
|
3109
|
+ ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
|
3110
|
+ ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
|
3111
|
+ CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
|
3112
|
+ CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
|
3113
|
+ Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
|
3114
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
3115
|
+ TeamId int64 `gorm:"column:team_id" json:"team_id" form:"team_id"`
|
|
3116
|
+ FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
|
3117
|
+ DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
|
3118
|
+ WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
|
3119
|
+ IsCheckTeam int64 `gorm:"-" json:"is_check_team" form:"is_check_team"`
|
|
3120
|
+ ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
|
|
3121
|
+ IsUpload int64 `gorm:"column:is_upload" json:"is_upload" form:"is_upload"`
|
|
3122
|
+ NewHisPrescription NewHisPrescription `gorm:"ForeignKey:ID;AssociationForeignKey:PrescriptionId" json:"pre"`
|
|
3123
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
3124
|
+ IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
|
|
3125
|
+}
|
|
3126
|
+
|
|
3127
|
+func (NewHisPrintPrescriptionProject) TableName() string {
|
|
3128
|
+ return "his_prescription_project"
|
|
3129
|
+}
|
|
3130
|
+
|
3071
|
3131
|
type NewHisPrescription struct {
|
3072
|
3132
|
ID int64 `gorm:"column:id" json:"id" form:"id"`
|
3073
|
3133
|
UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|