|
|
|
|
3091
|
func (NewHisPrescription) TableName() string {
|
3091
|
func (NewHisPrescription) TableName() string {
|
3092
|
return "his_prescription"
|
3092
|
return "his_prescription"
|
3093
|
}
|
3093
|
}
|
|
|
3094
|
+
|
|
|
3095
|
+type HisDoctorAdviceTeamInfo struct {
|
|
|
3096
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
|
3097
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
|
3098
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
|
3099
|
+ AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
|
|
3100
|
+ AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
|
|
3101
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
|
3102
|
+ SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
|
|
3103
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
|
3104
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
|
|
3105
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
|
3106
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
|
3107
|
+ AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
|
|
3108
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
|
3109
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
|
3110
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
|
3111
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
|
3112
|
+ DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
|
3113
|
+ DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
|
|
3114
|
+ Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
|
|
3115
|
+ RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
|
|
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
|
+ TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
|
|
3120
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
|
3121
|
+ DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
|
|
3122
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
|
3123
|
+ BaseDrugLib BaseDrugLib `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
|
|
|
3124
|
+}
|
|
|
3125
|
+
|
|
|
3126
|
+func (HisDoctorAdviceTeamInfo) TableName() string {
|
|
|
3127
|
+ return "his_doctor_advice_team_info"
|
|
|
3128
|
+}
|
|
|
3129
|
+
|
|
|
3130
|
+type NewHisOrderInfo struct {
|
|
|
3131
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
|
3132
|
+ OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
|
|
|
3133
|
+ UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
|
|
|
3134
|
+ AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
|
|
|
3135
|
+ DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
|
|
|
3136
|
+ Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
|
|
|
3137
|
+ Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
|
|
|
3138
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
|
3139
|
+ PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
|
|
|
3140
|
+ SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
|
|
|
3141
|
+ FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
|
|
|
3142
|
+ OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
|
|
|
3143
|
+ PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
|
|
|
3144
|
+ BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
|
|
|
3145
|
+ MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
|
|
|
3146
|
+ HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
|
|
|
3147
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
|
3148
|
+ Memo string `gorm:"column:memo" json:"memo" form:"memo"`
|
|
|
3149
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
|
3150
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
|
3151
|
+ InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
|
|
|
3152
|
+ DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
|
|
|
3153
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
|
3154
|
+ ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
|
|
|
3155
|
+ ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
|
|
|
3156
|
+ LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
|
3157
|
+ ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
|
|
|
3158
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
|
3159
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
|
3160
|
+ OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
|
|
|
3161
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
|
3162
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
|
3163
|
+ ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
|
|
|
3164
|
+ SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
|
|
|
3165
|
+}
|
|
|
3166
|
+
|
|
|
3167
|
+func (NewHisOrderInfo) TableName() string {
|
|
|
3168
|
+ return "his_order_info"
|
|
|
3169
|
+}
|