|
@@ -2107,3 +2107,202 @@ type VmHisOrder struct {
|
2107
|
2107
|
func (VmHisOrder) TableName() string {
|
2108
|
2108
|
return "his_order"
|
2109
|
2109
|
}
|
|
2110
|
+
|
|
2111
|
+type HisOrderTenty struct {
|
|
2112
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
2113
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
2114
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
2115
|
+ PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
|
|
2116
|
+ SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
|
|
2117
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
2118
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
2119
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
2120
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
2121
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
2122
|
+ Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
|
|
2123
|
+ WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
|
|
2124
|
+ Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
|
|
2125
|
+ ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
|
|
2126
|
+ RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
|
|
2127
|
+ InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
|
|
2128
|
+ OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
|
2129
|
+ MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
|
|
2130
|
+ SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
|
|
2131
|
+ PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
|
|
2132
|
+ PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
|
|
2133
|
+ Certno string `gorm:"column:certno" json:"certno" form:"certno"`
|
|
2134
|
+ Gend string `gorm:"column:gend" json:"gend" form:"gend"`
|
|
2135
|
+ Naty string `gorm:"column:naty" json:"naty" form:"naty"`
|
|
2136
|
+ Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
|
|
2137
|
+ Age float64 `gorm:"column:age" json:"age" form:"age"`
|
|
2138
|
+ Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
|
|
2139
|
+ PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
|
|
2140
|
+ CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
|
|
2141
|
+ SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
|
|
2142
|
+ MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
|
|
2143
|
+ MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
|
2144
|
+ MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
|
|
2145
|
+ FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
|
|
2146
|
+ OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
|
|
2147
|
+ PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
|
|
2148
|
+ InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
|
|
2149
|
+ ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
|
|
2150
|
+ HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
|
|
2151
|
+ CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
|
|
2152
|
+ PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
|
|
2153
|
+ HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
|
|
2154
|
+ HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
|
|
2155
|
+ HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
|
|
2156
|
+ MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
|
|
2157
|
+ OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
|
|
2158
|
+ FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
|
|
2159
|
+ PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
|
|
2160
|
+ AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
|
|
2161
|
+ PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
|
|
2162
|
+ HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
|
|
2163
|
+ Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
|
|
2164
|
+ AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
|
|
2165
|
+ MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
|
|
2166
|
+ ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
|
|
2167
|
+ ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
|
|
2168
|
+ ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
|
|
2169
|
+ SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
|
|
2170
|
+ PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
|
|
2171
|
+ PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
|
|
2172
|
+ PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
|
|
2173
|
+ DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
|
|
2174
|
+ PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
|
|
2175
|
+ RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
|
|
2176
|
+ FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
|
|
2177
|
+ MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
|
|
2178
|
+ PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
|
|
2179
|
+ IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
|
|
2180
|
+ SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
|
|
2181
|
+ SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
|
|
2182
|
+ SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
|
|
2183
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
2184
|
+ Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
|
|
2185
|
+ SzChargeInfo string `gorm:"column:sz_charge_info" json:"sz_charge_info" form:"sz_charge_info"`
|
|
2186
|
+ SzProjectInfo string `gorm:"column:sz_project_info" json:"sz_project_info" form:"sz_project_info"`
|
|
2187
|
+ SzMedicineInsuranceInfo string `gorm:"column:sz_medicine_insurance_info" json:"sz_medicine_insurance_info" form:"sz_medicine_insurance_info"`
|
|
2188
|
+ AccountPrice string `gorm:"column:account_price" json:"account_price" form:"account_price"`
|
|
2189
|
+ MzNumber string `gorm:"column:mz_number" json:"mz_number" form:"mz_number"`
|
|
2190
|
+ OrgSetlNumber string `gorm:"column:org_setl_number" json:"org_setl_number" form:"org_setl_number"`
|
|
2191
|
+ YiliaoNumber string `gorm:"column:yiliao_number" json:"yiliao_number" form:"yiliao_number"`
|
|
2192
|
+ RefundLog string `gorm:"column:refund_log" json:"refund_log" form:"refund_log"`
|
|
2193
|
+ DetailLog string `gorm:"column:detail_log" json:"detail_log" form:"detail_log"`
|
|
2194
|
+ FaPiaoCode string `gorm:"column:fa_piao_code" json:"fa_piao_code" form:"fa_piao_code"`
|
|
2195
|
+ FaPiaoNumber string `gorm:"column:fa_piao_number" json:"fa_piao_number" form:"fa_piao_number"`
|
|
2196
|
+ RequestLog string `gorm:"column:request_log" json:"request_log" form:"request_log"`
|
|
2197
|
+ RefundRequestLog string `gorm:"column:refund_request_log" json:"refund_request_log" form:"refund_request_log"`
|
|
2198
|
+ PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
|
|
2199
|
+ IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
|
|
2200
|
+ Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
|
2201
|
+ FaPiaoBatchnumberId int64 `gorm:"column:fa_piao_batchnumber_id" json:"fa_piao_batchnumber_id" form:"fa_piao_batchnumber_id"`
|
|
2202
|
+ Decimal float64 `gorm:"column:decimal" json:"decimal" form:"decimal"`
|
|
2203
|
+ HisOrderInfoTwenty []*HisOrderInfoTwenty `gorm:"ForeignKey:OrderId;AssociationForeignKey:ID" json:"order_info"`
|
|
2204
|
+ Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
|
2205
|
+ HisHospitalCheckRecordTwenty HisHospitalCheckRecordTwenty `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"hisPatient"`
|
|
2206
|
+}
|
|
2207
|
+
|
|
2208
|
+func (HisOrderTenty) TableName() string {
|
|
2209
|
+ return "his_order"
|
|
2210
|
+}
|
|
2211
|
+
|
|
2212
|
+type HisOrderInfoTwenty struct {
|
|
2213
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
2214
|
+ OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
|
|
2215
|
+ UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
|
|
2216
|
+ AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
|
|
2217
|
+ DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
|
|
2218
|
+ Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
|
|
2219
|
+ Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
|
|
2220
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
2221
|
+ PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
|
|
2222
|
+ SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
|
|
2223
|
+ FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
|
|
2224
|
+ OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
|
|
2225
|
+ PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
|
|
2226
|
+ BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
|
|
2227
|
+ MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
|
|
2228
|
+ HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
|
|
2229
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
2230
|
+ Memo string `gorm:"column:memo" json:"memo" form:"memo"`
|
|
2231
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
2232
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
2233
|
+ InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
|
|
2234
|
+ DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
|
|
2235
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
2236
|
+ ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
|
|
2237
|
+ ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
|
|
2238
|
+ LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
|
|
2239
|
+ ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
|
|
2240
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
2241
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
2242
|
+ OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
|
|
2243
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
2244
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
2245
|
+ ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
|
|
2246
|
+ Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
|
|
2247
|
+ Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
|
|
2248
|
+ OverPricPsnPay float64 `gorm:"column:over_pric_psn_pay" json:"over_pric_psn_pay" form:"over_pric_psn_pay"`
|
|
2249
|
+ AllowReimburse float64 `gorm:"column:allow_reimburse" json:"allow_reimburse" form:"allow_reimburse"`
|
|
2250
|
+ SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
|
|
2251
|
+ Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
|
2252
|
+ HisHospitalCheckRecordTwenty HisHospitalCheckRecordTwenty `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"hisPatient"`
|
|
2253
|
+ HisOrderTenty HisOrderTenty `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order"`
|
|
2254
|
+ HisPrescriptionProject HisPrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"his_prescription_project"`
|
|
2255
|
+ HisDoctorAdvice HisDoctorAdvice `gorm:"ForeignKey:ID;AssociationForeignKey:AdviceId" json:"his_doctor_advice"`
|
|
2256
|
+}
|
|
2257
|
+
|
|
2258
|
+func (HisOrderInfoTwenty) TableName() string {
|
|
2259
|
+ return "his_order_info"
|
|
2260
|
+}
|
|
2261
|
+
|
|
2262
|
+type HisHospitalCheckRecordTwenty struct {
|
|
2263
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
2264
|
+ Name string `gorm:"column:name" json:"name" form:"name"`
|
|
2265
|
+ MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
|
|
2266
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
2267
|
+ IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
|
|
2268
|
+ AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
|
|
2269
|
+ Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
|
|
2270
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
2271
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
2272
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
2273
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
2274
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
2275
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
2276
|
+ Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
|
|
2277
|
+ PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
|
|
2278
|
+ PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
|
|
2279
|
+ Certno string `gorm:"column:certno" json:"certno" form:"certno"`
|
|
2280
|
+ PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
|
|
2281
|
+ Gend string `gorm:"column:gend" json:"gend" form:"gend"`
|
|
2282
|
+ Naty string `gorm:"column:naty" json:"naty" form:"naty"`
|
|
2283
|
+ MedType int64 `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
|
2284
|
+ Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
|
|
2285
|
+ Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
|
|
2286
|
+ Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
|
|
2287
|
+ IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
|
|
2288
|
+ AdmBed int64 `gorm:"column:adm_bed" json:"adm_bed" form:"adm_bed"`
|
|
2289
|
+ IdCardType int64 `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
|
|
2290
|
+ Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
|
2291
|
+ InsutypeType string `gorm:"column:insutype_type" json:"insutype_type" form:"insutype_type"`
|
|
2292
|
+ SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
|
|
2293
|
+ MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
|
|
2294
|
+ InHosptialTime string `gorm:"column:in_hosptial_time" json:"in_hosptial_time" form:"in_hosptial_time"`
|
|
2295
|
+ OutHosptialTime string `gorm:"column:out_hosptial_time" json:"out_hosptial_time" form:"out_hosptial_time"`
|
|
2296
|
+ InHospitalStatus int64 `gorm:"column:in_hospital_status" json:"in_hospital_status" form:"in_hospital_status"`
|
|
2297
|
+ Certificates int64 `gorm:"column:certificates" json:"certificates" form:"certificates"`
|
|
2298
|
+ OutHospitalStatus int64 `gorm:"column:out_hospital_status" json:"out_hospital_status" form:"out_hospital_status"`
|
|
2299
|
+ OutWay int64 `gorm:"column:out_way" json:"out_way" form:"out_way"`
|
|
2300
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
2301
|
+ BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
|
|
2302
|
+ PsnType int64 `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
|
|
2303
|
+ InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
|
|
2304
|
+}
|
|
2305
|
+
|
|
2306
|
+func (HisHospitalCheckRecordTwenty) TableName() string {
|
|
2307
|
+ return "his_hospital_check_record"
|
|
2308
|
+}
|