|
@@ -85,6 +85,7 @@ type Patients struct {
|
85
|
85
|
TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
|
86
|
86
|
FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
|
87
|
87
|
ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
|
|
88
|
+ UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
|
88
|
89
|
}
|
89
|
90
|
|
90
|
91
|
func (Patients) TableName() string {
|
|
@@ -483,6 +484,7 @@ type XtPatientsNew struct {
|
483
|
484
|
MemberPatienttype int64 `gorm:"column:member_patienttype" json:"member_patienttype" form:"member_patienttype"`
|
484
|
485
|
MemberTreatement int64 `gorm:"column:member_treatement" json:"member_treatement" form:"member_treatement"`
|
485
|
486
|
EquitmentId string `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
|
|
487
|
+ UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
|
486
|
488
|
}
|
487
|
489
|
|
488
|
490
|
func (XtPatientsNew) TableName() string {
|
|
@@ -495,44 +497,45 @@ type PatientsNew struct {
|
495
|
497
|
}
|
496
|
498
|
|
497
|
499
|
type CdmPatients struct {
|
498
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
499
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
500
|
|
- UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
|
501
|
|
- Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
|
502
|
|
- PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
|
503
|
|
- Source int64 `gorm:"column:source" json:"source" form:"source"`
|
504
|
|
- Name string `gorm:"column:name" json:"name" form:"name"`
|
505
|
|
- Alias string `gorm:"column:alias" json:"alias" form:"alias"`
|
506
|
|
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
507
|
|
- MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
|
508
|
|
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
|
509
|
|
- Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
510
|
|
- HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
|
511
|
|
- HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
|
512
|
|
- Height int64 `gorm:"column:height" json:"height" form:"height"`
|
513
|
|
- BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
|
514
|
|
- Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
|
515
|
|
- EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
|
516
|
|
- Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
|
517
|
|
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
518
|
|
- HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
|
519
|
|
- RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
|
520
|
|
- RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
|
521
|
|
- HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
|
522
|
|
- WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
|
523
|
|
- UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
|
524
|
|
- Children int64 `gorm:"column:children" json:"children" form:"children"`
|
525
|
|
- AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
|
526
|
|
- HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
|
527
|
|
- Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
|
528
|
|
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
529
|
|
- RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
|
530
|
|
- Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
|
531
|
|
- QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
|
532
|
|
- BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
|
533
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
534
|
|
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
535
|
|
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
500
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
501
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
502
|
+ UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
|
|
503
|
+ Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
|
|
504
|
+ PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
|
|
505
|
+ Source int64 `gorm:"column:source" json:"source" form:"source"`
|
|
506
|
+ Name string `gorm:"column:name" json:"name" form:"name"`
|
|
507
|
+ Alias string `gorm:"column:alias" json:"alias" form:"alias"`
|
|
508
|
+ Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
|
509
|
+ MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
|
|
510
|
+ IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
|
|
511
|
+ Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
|
512
|
+ HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
|
|
513
|
+ HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
|
|
514
|
+ Height int64 `gorm:"column:height" json:"height" form:"height"`
|
|
515
|
+ BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
|
|
516
|
+ Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
|
|
517
|
+ EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
|
|
518
|
+ Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
|
|
519
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
520
|
+ HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
|
|
521
|
+ RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
|
|
522
|
+ RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
|
|
523
|
+ HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
|
|
524
|
+ WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
|
|
525
|
+ UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
|
|
526
|
+ Children int64 `gorm:"column:children" json:"children" form:"children"`
|
|
527
|
+ AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
|
|
528
|
+ HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
|
|
529
|
+ Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
|
|
530
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
531
|
+ RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
|
|
532
|
+ Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
|
|
533
|
+ QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
|
|
534
|
+ BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
|
|
535
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
536
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
537
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
538
|
+ UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
|
536
|
539
|
}
|
537
|
540
|
|
538
|
541
|
func (CdmPatients) TableName() string {
|
|
@@ -791,6 +794,7 @@ type XtPatients struct {
|
791
|
794
|
ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
|
792
|
795
|
TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
|
793
|
796
|
ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
|
|
797
|
+ UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
|
794
|
798
|
}
|
795
|
799
|
|
796
|
800
|
func (XtPatients) TableName() string {
|