|
@@ -505,12 +505,12 @@ type HisPrescription struct {
|
505
|
505
|
HisDoctorAdviceInfo []*HisDoctorAdviceInfo `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"advices"`
|
506
|
506
|
HisPrescriptionProject []*HisPrescriptionProject `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"project"`
|
507
|
507
|
|
508
|
|
- HisAdditionalCharge []*HisAdditionalCharge `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"addition"`
|
509
|
|
- VMHisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,ScheduleDate" json:"info"`
|
510
|
|
- Total string `gorm:"-" json:"total" form:"total"`
|
511
|
|
- PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
|
512
|
|
- MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
513
|
|
- TempHisOrder TempHisOrder `gorm:"ForeignKey:Number,MedType;AssociationForeignKey:BatchNumber,MedType" json:"order"`
|
|
508
|
+ HisAdditionalCharge []*HisAdditionalCharge `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"addition"`
|
|
509
|
+ HisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,ScheduleDate" json:"info"`
|
|
510
|
+ Total string `gorm:"-" json:"total" form:"total"`
|
|
511
|
+ PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
|
|
512
|
+ MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
|
|
513
|
+ TempHisOrder TempHisOrder `gorm:"ForeignKey:Number,MedType;AssociationForeignKey:BatchNumber,MedType" json:"order"`
|
514
|
514
|
}
|
515
|
515
|
|
516
|
516
|
func (HisPrescription) TableName() string {
|
|
@@ -1044,6 +1044,7 @@ type VMHisPatient struct {
|
1044
|
1044
|
PType string `gorm:"column:p_type" json:"p_type" form:"p_type"`
|
1045
|
1045
|
Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
|
1046
|
1046
|
SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
|
|
1047
|
+ PatientInfo string `gorm:"column:patient_info" json:"patient_info" form:"patient_info"`
|
1047
|
1048
|
}
|
1048
|
1049
|
|
1049
|
1050
|
func (VMHisPatient) TableName() string {
|