|
@@ -2107,3 +2107,64 @@ type VmHisOrder struct {
|
2107
|
2107
|
func (VmHisOrder) TableName() string {
|
2108
|
2108
|
return "his_order"
|
2109
|
2109
|
}
|
|
2110
|
+
|
|
2111
|
+type NewHisOrderTwo 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
|
+ SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
|
|
2116
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
2117
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
2118
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
2119
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
2120
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
2121
|
+ OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
|
|
2122
|
+ MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
|
|
2123
|
+ PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
|
|
2124
|
+ PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
|
|
2125
|
+ Certno string `gorm:"column:certno" json:"certno" form:"certno"`
|
|
2126
|
+
|
|
2127
|
+ NewHisChargeOrderInfo []*NewHisChargeOrderInfo `gorm:"ForeignKey:OrderNumber;AssociationForeignKey:Number" json:"info"`
|
|
2128
|
+ NewHisHospitalCheckRecord NewHisHospitalCheckRecord `gorm:"ForeignKey:Number;AssociationForeignKey:Number" json:"his"`
|
|
2129
|
+}
|
|
2130
|
+
|
|
2131
|
+func (NewHisOrderTwo) TableName() string {
|
|
2132
|
+ return "his_order"
|
|
2133
|
+}
|
|
2134
|
+
|
|
2135
|
+type NewHisChargeOrderInfo struct {
|
|
2136
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
2137
|
+ OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
|
|
2138
|
+ AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
|
|
2139
|
+ DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
|
|
2140
|
+ Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
|
|
2141
|
+ Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
|
|
2142
|
+ MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
|
|
2143
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
2144
|
+ ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
|
|
2145
|
+ ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
|
|
2146
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
2147
|
+ ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
|
|
2148
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
2149
|
+ HisChargePrescriptionProject HisChargePrescriptionProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
|
|
2150
|
+ HisChargeDoctorAdviceInfo HisChargeDoctorAdviceInfo `gorm:"ForeignKey:AdviceId;AssociationForeignKey:ID" json:"advice"`
|
|
2151
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
2152
|
+ InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
|
|
2153
|
+ UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
|
|
2154
|
+}
|
|
2155
|
+
|
|
2156
|
+func (NewHisChargeOrderInfo) TableName() string {
|
|
2157
|
+ return "his_order_info"
|
|
2158
|
+}
|
|
2159
|
+
|
|
2160
|
+type NewHisHospitalCheckRecord struct {
|
|
2161
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
2162
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
2163
|
+ MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
|
|
2164
|
+ InHosptialTime string `gorm:"column:in_hosptial_time" json:"in_hosptial_time" form:"in_hosptial_time"`
|
|
2165
|
+ OutHosptialTime string `gorm:"column:out_hosptial_time" json:"out_hosptial_time" form:"out_hosptial_time"`
|
|
2166
|
+}
|
|
2167
|
+
|
|
2168
|
+func (NewHisHospitalCheckRecord) TableName() string {
|
|
2169
|
+ return "his_hospital_check_record"
|
|
2170
|
+}
|