|
@@ -2989,3 +2989,105 @@ type HisOrder10726Summary struct {
|
2989
|
2989
|
AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay"`
|
2990
|
2990
|
PsnCashPay float64 `gorm:"column:psn_cash_pay"`
|
2991
|
2991
|
}
|
|
2992
|
+
|
|
2993
|
+type NewHisDoctorAdviceInfo struct {
|
|
2994
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
2995
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
2996
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
2997
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
2998
|
+ AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
|
|
2999
|
+ AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
|
|
3000
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
3001
|
+ AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
|
3002
|
+ AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
|
3003
|
+ ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
|
|
3004
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
3005
|
+ SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
|
3006
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
3007
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
|
3008
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
3009
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
3010
|
+ AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
|
3011
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
3012
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
3013
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
3014
|
+ AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
|
|
3015
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
3016
|
+ StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
|
|
3017
|
+ StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
|
|
3018
|
+ StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
|
|
3019
|
+ StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
|
|
3020
|
+ ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
|
|
3021
|
+ ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
|
3022
|
+ ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
|
3023
|
+ ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
|
3024
|
+ Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
|
3025
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
3026
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
|
|
3027
|
+ CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
|
3028
|
+ CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
|
3029
|
+ DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
3030
|
+ DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
|
3031
|
+ Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
|
3032
|
+ RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
|
3033
|
+ FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
|
3034
|
+ DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
|
3035
|
+ WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
|
3036
|
+ TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
|
3037
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
3038
|
+ DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
|
3039
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
3040
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
3041
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
3042
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
3043
|
+ Day int64 `gorm:"column:day" json:"day" form:"day"`
|
|
3044
|
+ Drug Drug `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
|
|
3045
|
+ Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
|
3046
|
+ Way int64 `gorm:"column:way" json:"way" form:"way"`
|
|
3047
|
+ HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
|
|
3048
|
+ LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
3049
|
+ IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
|
|
3050
|
+ ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
|
|
3051
|
+ IsSettle int64 `gorm:"column:is_settle" json:"is_settle" form:"is_settle"`
|
|
3052
|
+ IsMobile int64 `gorm:"column:is_mobile" json:"is_mobile" form:"is_mobile"`
|
|
3053
|
+ IsSelfDrug int64 `gorm:"column:is_self_drug" json:"is_self_drug" form:"is_self_drug"`
|
|
3054
|
+ DrugWayCount string `gorm:"column:drug_way_count" json:"drug_way_count" form:"drug_way_count"`
|
|
3055
|
+ YbSyncStatus int64 `gorm:"column:yb_sync_status" json:"yb_sync_status" form:"yb_sync_status"`
|
|
3056
|
+ DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
|
|
3057
|
+ IsUpload int64 `gorm:"column:is_upload" json:"is_upload" form:"is_upload"`
|
|
3058
|
+ ZeroFlag int64 `gorm:"column:zero_flag" json:"zero_flag" form:"zero_flag"`
|
|
3059
|
+ NewHisPrescription NewHisPrescription `gorm:"ForeignKey:ID;AssociationForeignKey:PrescriptionId" json:"pre"`
|
|
3060
|
+}
|
|
3061
|
+
|
|
3062
|
+func (NewHisDoctorAdviceInfo) TableName() string {
|
|
3063
|
+ return "his_doctor_advice_info"
|
|
3064
|
+}
|
|
3065
|
+
|
|
3066
|
+type NewHisPrescription struct {
|
|
3067
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
3068
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
3069
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
3070
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
3071
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
3072
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
3073
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
3074
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
3075
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
3076
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
3077
|
+ Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
3078
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
3079
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
3080
|
+ OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
|
3081
|
+ PreTime int64 `gorm:"column:pre_time" json:"pre_time" form:"pre_time"`
|
|
3082
|
+ BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
|
3083
|
+ PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
|
|
3084
|
+ Total string `gorm:"-" json:"total" form:"total"`
|
|
3085
|
+ PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
|
|
3086
|
+ MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
|
3087
|
+ IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
|
|
3088
|
+ Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
|
|
3089
|
+}
|
|
3090
|
+
|
|
3091
|
+func (NewHisPrescription) TableName() string {
|
|
3092
|
+ return "his_prescription"
|
|
3093
|
+}
|