Browse Source

龙岗二院质控开发

XMLWAN 3 years ago
parent
commit
4f30cd0d99
3 changed files with 827 additions and 321 deletions
  1. 1 0
      main.go
  2. 348 109
      models/src_data.go
  3. 478 212
      models/sz/target_data.go

+ 1 - 0
main.go View File

@@ -15,5 +15,6 @@ func init() {
15 15
 
16 16
 func main() {
17 17
 	city.BeginAutoJob()
18
+
18 19
 	beego.Run()
19 20
 }

+ 348 - 109
models/src_data.go View File

@@ -82,77 +82,77 @@ func (UserAdminRole) TableName() string {
82 82
 }
83 83
 
84 84
 type Patients struct {
85
-	ID                           int64             `gorm:"column:id" json:"id"`
86
-	UserOrgId                    int64             `gorm:"column:user_org_id" json:"user_org_id"`
87
-	UserId                       int64             `gorm:"column:user_id" json:"user_id"`
88
-	Avatar                       string            `gorm:"column:avatar" json:"avatar"`
89
-	PatientType                  int64             `gorm:"column:patient_type" json:"patient_type"`
90
-	DialysisNo                   string            `gorm:"column:dialysis_no" json:"dialysis_no"`
91
-	AdmissionNumber              string            `gorm:"column:admission_number" json:"admission_number"`
92
-	Source                       int64             `gorm:"column:source" json:"source"`
93
-	Lapseto                      int64             `gorm:"column:lapseto" json:"lapseto"`
94
-	PartitionId                  int64             `gorm:"column:partition_id" json:"partition_id"`
95
-	BedId                        int64             `gorm:"column:bed_id" json:"bed_id"`
96
-	Name                         string            `gorm:"column:name" json:"name"`
97
-	Alias                        string            `gorm:"column:alias" json:"alias"`
98
-	Gender                       int64             `gorm:"column:gender" json:"gender"`
99
-	MaritalStatus                int64             `gorm:"column:marital_status" json:"marital_status"`
100
-	IdCardNo                     string            `gorm:"column:id_card_no" json:"id_card_no"`
101
-	Birthday                     int64             `gorm:"column:birthday" json:"birthday"`
102
-	ReimbursementWayId           int64             `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id"`
103
-	HealthCareType               int64             `gorm:"column:health_care_type" json:"health_care_type"`
104
-	HealthCareNo                 string            `gorm:"column:health_care_no" json:"health_care_no"`
105
-	HealthCareDueDate            int64             `gorm:"column:health_care_due_date" json:"health_care_due_date"`
106
-	Height                       int64             `gorm:"column:height" json:"height"`
107
-	BloodType                    int64             `gorm:"column:blood_type" json:"blood_type"`
108
-	Rh                           int64             `gorm:"column:rh" json:"rh"`
109
-	HealthCareDueAlertDate       int64             `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date"`
110
-	EducationLevel               int64             `gorm:"column:education_level" json:"education_level"`
111
-	Profession                   int64             `gorm:"column:profession" json:"profession"`
112
-	Phone                        string            `gorm:"column:phone" json:"phone"`
113
-	HomeTelephone                string            `gorm:"column:home_telephone" json:"home_telephone"`
114
-	RelativePhone                string            `gorm:"column:relative_phone" json:"relative_phone"`
115
-	RelativeRelations            string            `gorm:"column:relative_relations" json:"relative_relations"`
116
-	HomeAddress                  string            `gorm:"column:home_address" json:"home_address"`
117
-	WorkUnit                     string            `gorm:"column:work_unit" json:"work_unit"`
118
-	UnitAddress                  string            `gorm:"column:unit_address" json:"unit_address"`
119
-	Children                     int64             `gorm:"column:children" json:"children"`
120
-	ReceivingDate                int64             `gorm:"column:receiving_date" json:"receiving_date"`
121
-	IsHospitalFirstDialysis      int64             `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis"`
122
-	FirstDialysisDate            int64             `gorm:"column:first_dialysis_date" json:"first_dialysis_date"`
123
-	FirstDialysisHospital        string            `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital"`
124
-	PredialysisCondition         string            `gorm:"column:predialysis_condition" json:"predialysis_condition"`
125
-	PreHospitalDialysisFrequency string            `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency"`
126
-	PreHospitalDialysisTimes     int64             `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times"`
127
-	HospitalFirstDialysisDate    int64             `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date"`
128
-	InductionPeriod              int64             `gorm:"column:induction_period" json:"induction_period"`
129
-	InitialDialysis              int64             `gorm:"column:initial_dialysis" json:"initial_dialysis"`
130
-	TotalDialysis                int64             `gorm:"column:total_dialysis" json:"total_dialysis"`
131
-	AttendingDoctorId            int64             `gorm:"column:attending_doctor_id" json:"attending_doctor_id"`
132
-	HeadNurseId                  int64             `gorm:"column:head_nurse_id" json:"head_nurse_id"`
133
-	Evaluate                     string            `gorm:"column:evaluate" json:"evaluate"`
134
-	Diagnose                     string            `gorm:"column:diagnose" json:"diagnose"`
135
-	Remark                       string            `gorm:"column:remark" json:"remark"`
136
-	RegistrarsId                 int64             `gorm:"column:registrars_id" json:"registrars_id"`
137
-	Registrars                   string            `gorm:"column:registrars" json:"registrars"`
138
-	QrCode                       string            `gorm:"column:qr_code" json:"qr_code"`
139
-	BindingState                 int64             `gorm:"column:binding_state" json:"binding_state"`
140
-	PatientComplains             string            `gorm:"column:patient_complains" json:"patient_complains"`
141
-	PresentHistory               string            `gorm:"column:present_history" json:"present_history"`
142
-	PastHistory                  string            `gorm:"column:past_history" json:"past_history"`
143
-	Temperature                  float64           `gorm:"column:temperature" json:"temperature"`
144
-	Pulse                        int64             `gorm:"column:pulse" json:"pulse"`
145
-	Respiratory                  int64             `gorm:"column:respiratory" json:"respiratory"`
146
-	Sbp                          int64             `gorm:"column:sbp" json:"sbp"`
147
-	Dbp                          int64             `gorm:"column:dbp" json:"dbp"`
148
-	Status                       int64             `gorm:"column:status" json:"status"`
149
-	CreatedTime                  int64             `gorm:"column:created_time" json:"created_time"`
150
-	UpdatedTime                  int64             `gorm:"column:updated_time" json:"updated_time"`
151
-	Nation                       string            `gorm:"column:nation" json:"nation"`
152
-	NativePlace                  string            `gorm:"column:native_place" json:"native_place"`
153
-	Age                          int64             `gorm:"column:age" json:"age"`
154
-	PatientLapseto               PatientLapseto	   `gorm:"ForeignKey:PatientId,LapsetoType;AssociationForeignKey:ID,Lapseto" json:"patient_lapseto"`
155
-	InfectiousDiseases			 []*InfectiousDiseases   `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"infectious_diseases"`
85
+	ID                           int64                 `gorm:"column:id" json:"id"`
86
+	UserOrgId                    int64                 `gorm:"column:user_org_id" json:"user_org_id"`
87
+	UserId                       int64                 `gorm:"column:user_id" json:"user_id"`
88
+	Avatar                       string                `gorm:"column:avatar" json:"avatar"`
89
+	PatientType                  int64                 `gorm:"column:patient_type" json:"patient_type"`
90
+	DialysisNo                   string                `gorm:"column:dialysis_no" json:"dialysis_no"`
91
+	AdmissionNumber              string                `gorm:"column:admission_number" json:"admission_number"`
92
+	Source                       int64                 `gorm:"column:source" json:"source"`
93
+	Lapseto                      int64                 `gorm:"column:lapseto" json:"lapseto"`
94
+	PartitionId                  int64                 `gorm:"column:partition_id" json:"partition_id"`
95
+	BedId                        int64                 `gorm:"column:bed_id" json:"bed_id"`
96
+	Name                         string                `gorm:"column:name" json:"name"`
97
+	Alias                        string                `gorm:"column:alias" json:"alias"`
98
+	Gender                       int64                 `gorm:"column:gender" json:"gender"`
99
+	MaritalStatus                int64                 `gorm:"column:marital_status" json:"marital_status"`
100
+	IdCardNo                     string                `gorm:"column:id_card_no" json:"id_card_no"`
101
+	Birthday                     int64                 `gorm:"column:birthday" json:"birthday"`
102
+	ReimbursementWayId           int64                 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id"`
103
+	HealthCareType               int64                 `gorm:"column:health_care_type" json:"health_care_type"`
104
+	HealthCareNo                 string                `gorm:"column:health_care_no" json:"health_care_no"`
105
+	HealthCareDueDate            int64                 `gorm:"column:health_care_due_date" json:"health_care_due_date"`
106
+	Height                       int64                 `gorm:"column:height" json:"height"`
107
+	BloodType                    int64                 `gorm:"column:blood_type" json:"blood_type"`
108
+	Rh                           int64                 `gorm:"column:rh" json:"rh"`
109
+	HealthCareDueAlertDate       int64                 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date"`
110
+	EducationLevel               int64                 `gorm:"column:education_level" json:"education_level"`
111
+	Profession                   int64                 `gorm:"column:profession" json:"profession"`
112
+	Phone                        string                `gorm:"column:phone" json:"phone"`
113
+	HomeTelephone                string                `gorm:"column:home_telephone" json:"home_telephone"`
114
+	RelativePhone                string                `gorm:"column:relative_phone" json:"relative_phone"`
115
+	RelativeRelations            string                `gorm:"column:relative_relations" json:"relative_relations"`
116
+	HomeAddress                  string                `gorm:"column:home_address" json:"home_address"`
117
+	WorkUnit                     string                `gorm:"column:work_unit" json:"work_unit"`
118
+	UnitAddress                  string                `gorm:"column:unit_address" json:"unit_address"`
119
+	Children                     int64                 `gorm:"column:children" json:"children"`
120
+	ReceivingDate                int64                 `gorm:"column:receiving_date" json:"receiving_date"`
121
+	IsHospitalFirstDialysis      int64                 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis"`
122
+	FirstDialysisDate            int64                 `gorm:"column:first_dialysis_date" json:"first_dialysis_date"`
123
+	FirstDialysisHospital        string                `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital"`
124
+	PredialysisCondition         string                `gorm:"column:predialysis_condition" json:"predialysis_condition"`
125
+	PreHospitalDialysisFrequency string                `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency"`
126
+	PreHospitalDialysisTimes     int64                 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times"`
127
+	HospitalFirstDialysisDate    int64                 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date"`
128
+	InductionPeriod              int64                 `gorm:"column:induction_period" json:"induction_period"`
129
+	InitialDialysis              int64                 `gorm:"column:initial_dialysis" json:"initial_dialysis"`
130
+	TotalDialysis                int64                 `gorm:"column:total_dialysis" json:"total_dialysis"`
131
+	AttendingDoctorId            int64                 `gorm:"column:attending_doctor_id" json:"attending_doctor_id"`
132
+	HeadNurseId                  int64                 `gorm:"column:head_nurse_id" json:"head_nurse_id"`
133
+	Evaluate                     string                `gorm:"column:evaluate" json:"evaluate"`
134
+	Diagnose                     string                `gorm:"column:diagnose" json:"diagnose"`
135
+	Remark                       string                `gorm:"column:remark" json:"remark"`
136
+	RegistrarsId                 int64                 `gorm:"column:registrars_id" json:"registrars_id"`
137
+	Registrars                   string                `gorm:"column:registrars" json:"registrars"`
138
+	QrCode                       string                `gorm:"column:qr_code" json:"qr_code"`
139
+	BindingState                 int64                 `gorm:"column:binding_state" json:"binding_state"`
140
+	PatientComplains             string                `gorm:"column:patient_complains" json:"patient_complains"`
141
+	PresentHistory               string                `gorm:"column:present_history" json:"present_history"`
142
+	PastHistory                  string                `gorm:"column:past_history" json:"past_history"`
143
+	Temperature                  float64               `gorm:"column:temperature" json:"temperature"`
144
+	Pulse                        int64                 `gorm:"column:pulse" json:"pulse"`
145
+	Respiratory                  int64                 `gorm:"column:respiratory" json:"respiratory"`
146
+	Sbp                          int64                 `gorm:"column:sbp" json:"sbp"`
147
+	Dbp                          int64                 `gorm:"column:dbp" json:"dbp"`
148
+	Status                       int64                 `gorm:"column:status" json:"status"`
149
+	CreatedTime                  int64                 `gorm:"column:created_time" json:"created_time"`
150
+	UpdatedTime                  int64                 `gorm:"column:updated_time" json:"updated_time"`
151
+	Nation                       string                `gorm:"column:nation" json:"nation"`
152
+	NativePlace                  string                `gorm:"column:native_place" json:"native_place"`
153
+	Age                          int64                 `gorm:"column:age" json:"age"`
154
+	PatientLapseto               PatientLapseto        `gorm:"ForeignKey:PatientId,LapsetoType;AssociationForeignKey:ID,Lapseto" json:"patient_lapseto"`
155
+	InfectiousDiseases           []*InfectiousDiseases `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"infectious_diseases"`
156 156
 }
157 157
 
158 158
 func (Patients) TableName() string {
@@ -498,7 +498,7 @@ type AssessmentBeforeDislysis struct {
498 498
 	CreatedTime                    int64   `gorm:"column:created_time" json:"created_time"`
499 499
 	UpdatedTime                    int64   `gorm:"column:updated_time" json:"updated_time"`
500 500
 	Modifier                       int64   `gorm:"column:modifier" json:"modifier"`
501
-	BloodAccessPartId              string   `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
501
+	BloodAccessPartId              string  `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
502 502
 	BloodAccessPartOperaId         int64   `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
503 503
 	IsHemorrhage                   int64   `gorm:"column:is_hemorrhage" json:"is_hemorrhage"`
504 504
 	Hemorrhage                     string  `gorm:"column:hemorrhage" json:"hemorrhage"`
@@ -507,7 +507,7 @@ type AssessmentBeforeDislysis struct {
507 507
 	BloodAccessInternalFistula     string  `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula"`
508 508
 	InternalFistulaOther           string  `gorm:"column:internal_fistula_other" json:"internal_fistula_other"`
509 509
 	BloodAccessNoise               int64   `gorm:"column:blood_access_noise" json:"blood_access_noise"`
510
-	PunctureWay                    string   `gorm:"column:puncture_way" json:"puncture_way"`
510
+	PunctureWay                    string  `gorm:"column:puncture_way" json:"puncture_way"`
511 511
 	VenousCatheterization          int64   `gorm:"column:venous_catheterization" json:"venous_catheterization"`
512 512
 	VenousCatheterizationPart      int64   `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part"`
513 513
 	VenousCatheterizationPartOther string  `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other"`
@@ -520,7 +520,7 @@ type AssessmentBeforeDislysis struct {
520 520
 	MachineType                    string  `gorm:"column:machine_type" json:"machine_type"`
521 521
 	IsInfect                       int64   `gorm:"column:is_infect" json:"is_infect"`
522 522
 	Exposed                        float64 `gorm:"column:exposed" json:"exposed"`
523
-	Skin                           string   `gorm:"column:skin" json:"skin"`
523
+	Skin                           string  `gorm:"column:skin" json:"skin"`
524 524
 	SkinOther                      string  `gorm:"column:skin_other" json:"skin_other"`
525 525
 	InfectOther                    string  `gorm:"column:infect_other" json:"infect_other"`
526 526
 	DuctusArantiiOther             string  `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other"`
@@ -616,31 +616,31 @@ func (DialysisOrder) TableName() string {
616 616
 }
617 617
 
618 618
 type VMDialysisOrder struct {
619
-	ID             int64  `gorm:"column:id" json:"id"`
620
-	DialysisDate   int64  `gorm:"column:dialysis_date" json:"dialysis_date"`
621
-	UserOrgId      int64  `gorm:"column:user_org_id" json:"user_org_id"`
622
-	PatientId      int64  `gorm:"column:patient_id" json:"patient_id"`
623
-	PrescriptionId int64  `gorm:"column:prescription_id" json:"prescription_id"`
624
-	Stage          int64  `gorm:"column:stage" json:"stage"`
625
-	Remark         string `gorm:"column:remark" json:"remark"`
626
-	BedId          int64  `gorm:"column:bed_id" json:"bed_id"`
627
-	StartNurse     int64  `gorm:"column:start_nurse" json:"start_nurse"`
628
-	FinishNurse    int64  `gorm:"column:finish_nurse" json:"finish_nurse"`
629
-	Status         int64  `gorm:"column:status" json:"status"`
630
-	CreatedTime    int64  `gorm:"column:created_time" json:"created_time"`
631
-	UpdatedTime    int64  `gorm:"column:updated_time" json:"updated_time"`
632
-	StartTime      int64  `gorm:"column:start_time" json:"start_time"`
633
-	EndTime        int64  `gorm:"column:end_time" json:"end_time"`
634
-	PunctureNurse  int64  `gorm:"column:puncture_nurse" json:"puncture_nurse"`
635
-	Creator        int64  `gorm:"column:creator" json:"creator"`
636
-	Modifier       int64  `gorm:"column:modifier" json:"modifier"`
637
-	FinishCreator  int64  `gorm:"column:finish_creator" json:"finish_creator"`
638
-	FinishModifier int64  `gorm:"column:finish_modifier" json:"finish_modifier"`
619
+	ID                       int64                    `gorm:"column:id" json:"id"`
620
+	DialysisDate             int64                    `gorm:"column:dialysis_date" json:"dialysis_date"`
621
+	UserOrgId                int64                    `gorm:"column:user_org_id" json:"user_org_id"`
622
+	PatientId                int64                    `gorm:"column:patient_id" json:"patient_id"`
623
+	PrescriptionId           int64                    `gorm:"column:prescription_id" json:"prescription_id"`
624
+	Stage                    int64                    `gorm:"column:stage" json:"stage"`
625
+	Remark                   string                   `gorm:"column:remark" json:"remark"`
626
+	BedId                    int64                    `gorm:"column:bed_id" json:"bed_id"`
627
+	StartNurse               int64                    `gorm:"column:start_nurse" json:"start_nurse"`
628
+	FinishNurse              int64                    `gorm:"column:finish_nurse" json:"finish_nurse"`
629
+	Status                   int64                    `gorm:"column:status" json:"status"`
630
+	CreatedTime              int64                    `gorm:"column:created_time" json:"created_time"`
631
+	UpdatedTime              int64                    `gorm:"column:updated_time" json:"updated_time"`
632
+	StartTime                int64                    `gorm:"column:start_time" json:"start_time"`
633
+	EndTime                  int64                    `gorm:"column:end_time" json:"end_time"`
634
+	PunctureNurse            int64                    `gorm:"column:puncture_nurse" json:"puncture_nurse"`
635
+	Creator                  int64                    `gorm:"column:creator" json:"creator"`
636
+	Modifier                 int64                    `gorm:"column:modifier" json:"modifier"`
637
+	FinishCreator            int64                    `gorm:"column:finish_creator" json:"finish_creator"`
638
+	FinishModifier           int64                    `gorm:"column:finish_modifier" json:"finish_modifier"`
639 639
 	DeviceNumber             DeviceNumber             `gorm:"ForeignKey:ID;AssociationForeignKey:BedId" json:"device"`
640 640
 	VMDialysisPrescription   VMDialysisPrescription   `gorm:"ForeignKey:RecordDate,PatientID;AssociationForeignKey:DialysisDate,PatientID" json:"prescription"`
641 641
 	AssessmentBeforeDislysis AssessmentBeforeDislysis `gorm:"ForeignKey:AssessmentDate,PatientID;AssociationForeignKey:DialysisDate,PatientID" json:"before"`
642 642
 	AssessmentAfterDislysis  AssessmentAfterDislysis  `gorm:"ForeignKey:AssessmentDate,PatientID;AssociationForeignKey:DialysisDate,PatientID" json:"after"`
643
-	Schedule            	 Schedule            	  `gorm:"ForeignKey:ScheduleDate,PatientID;AssociationForeignKey:DialysisDate,PatientID" json:"schedule"`
643
+	Schedule                 Schedule                 `gorm:"ForeignKey:ScheduleDate,PatientID;AssociationForeignKey:DialysisDate,PatientID" json:"schedule"`
644 644
 	MonitoringRecord         []MonitoringRecord       `gorm:"ForeignKey:MonitoringDate,PatientID;AssociationForeignKey:DialysisDate,PatientID" json:"monitor"`
645 645
 }
646 646
 
@@ -844,20 +844,20 @@ func (XtInspectionReference) TableName() string {
844 844
 }
845 845
 
846 846
 type XtInspection struct {
847
-	ID           int64  `gorm:"column:id" json:"id" form:"id"`
848
-	PatientId    int64  `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
849
-	OrgId        int64  `gorm:"column:org_id" json:"org_id" form:"org_id"`
850
-	ProjectId    int64  `gorm:"column:project_id" json:"project_id" form:"project_id"`
851
-	ItemId       int64  `gorm:"column:item_id" json:"item_id" form:"item_id"`
852
-	ItemName     string `gorm:"column:item_name" json:"item_name" form:"item_name"`
853
-	ProjectName  string `gorm:"column:project_name" json:"project_name" form:"project_name"`
854
-	InspectType  int64  `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
855
-	InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
856
-	InspectDate  int64  `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
857
-	Status       int64  `gorm:"column:status" json:"status" form:"status"`
858
-	CreatedTime  int64  `gorm:"column:created_time" json:"created_time" form:"created_time"`
859
-	UpdatedTime  int64  `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
860
-	Patients 	 Patients `gorm:"ForeignKey:ID;AssociationForeignKey:PatientId"`
847
+	ID                    int64                 `gorm:"column:id" json:"id" form:"id"`
848
+	PatientId             int64                 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
849
+	OrgId                 int64                 `gorm:"column:org_id" json:"org_id" form:"org_id"`
850
+	ProjectId             int64                 `gorm:"column:project_id" json:"project_id" form:"project_id"`
851
+	ItemId                int64                 `gorm:"column:item_id" json:"item_id" form:"item_id"`
852
+	ItemName              string                `gorm:"column:item_name" json:"item_name" form:"item_name"`
853
+	ProjectName           string                `gorm:"column:project_name" json:"project_name" form:"project_name"`
854
+	InspectType           int64                 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
855
+	InspectValue          string                `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
856
+	InspectDate           int64                 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
857
+	Status                int64                 `gorm:"column:status" json:"status" form:"status"`
858
+	CreatedTime           int64                 `gorm:"column:created_time" json:"created_time" form:"created_time"`
859
+	UpdatedTime           int64                 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
860
+	Patients              Patients              `gorm:"ForeignKey:ID;AssociationForeignKey:PatientId"`
861 861
 	XtInspectionReference XtInspectionReference `gorm:"ForeignKey:ProjectId,ItemId;AssociationForeignKey:ProjectId,ItemId;"`
862 862
 }
863 863
 
@@ -865,3 +865,242 @@ func (XtInspection) TableName() string {
865 865
 
866 866
 	return "xt_inspection"
867 867
 }
868
+
869
+type XtDeviceCulture struct {
870
+	ID                int64  `gorm:"column:id" json:"id" form:"id"`
871
+	SpelingDate       int64  `gorm:"column:speling_date" json:"speling_date" form:"speling_date"`
872
+	Specimen          int64  `gorm:"column:specimen" json:"specimen" form:"specimen"`
873
+	ConcentrateNoa    string `gorm:"column:concentrate_noa" json:"concentrate_noa" form:"concentrate_noa"`
874
+	ConcentrateNob    string `gorm:"column:concentrate_nob" json:"concentrate_nob" form:"concentrate_nob"`
875
+	SamplingLocationa int64  `gorm:"column:sampling_locationa" json:"sampling_locationa" form:"sampling_locationa"`
876
+	DetectionUnit     string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
877
+	Sampler           int64  `gorm:"column:sampler" json:"sampler" form:"sampler"`
878
+	ReportingDate     int64  `gorm:"column:reporting_date" json:"reporting_date" form:"reporting_date"`
879
+	DetectionResult   string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
880
+	BedId             int64  `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
881
+	Status            int64  `gorm:"column:status" json:"status" form:"status"`
882
+	Ctime             int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
883
+	Mtime             int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
884
+	UserOrgId         int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
885
+	EquitmentId       int64  `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
886
+	Bed               string `gorm:"column:bed" json:"bed" form:"bed"`
887
+	Sort              string `gorm:"column:sort" json:"sort" form:"sort"`
888
+	PassExamination   int64  `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
889
+	Modifications     int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
890
+}
891
+
892
+func (XtDeviceCulture) TableName() string {
893
+	return "xt_device_culture"
894
+}
895
+
896
+type XtDeviceDialysate struct {
897
+	ID                int64  `gorm:"column:id" json:"id" form:"id"`
898
+	SamplingDate      int64  `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
899
+	Specimenb         int64  `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
900
+	ConcentrateNoc    string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
901
+	ConcentratebNod   string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
902
+	SamplingLocationb int64  `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
903
+	DetectionUnit     string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
904
+	Samplerb          int64  `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
905
+	ReportingDateb    int64  `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
906
+	DetectionResultb  string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
907
+	Status            int64  `gorm:"column:status" json:"status" form:"status"`
908
+	UserOrgId         int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
909
+	Ctime             int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
910
+	Mtime             int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
911
+	BedId             int64  `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
912
+	EquitmentId       int64  `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
913
+	Bed               string `gorm:"column:bed" json:"bed" form:"bed"`
914
+	Sort              string `gorm:"column:sort" json:"sort" form:"sort"`
915
+	PassExamination   int64  `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
916
+	Modifications     int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
917
+}
918
+
919
+func (XtDeviceDialysate) TableName() string {
920
+	return "xt_device_dialysate"
921
+}
922
+
923
+type XtAerialDetection struct {
924
+	ID                  int64  `gorm:"column:id" json:"id" form:"id"`
925
+	StartTime           int64  `gorm:"column:start_time" json:"start_time" form:"start_time"`
926
+	CreatedTime         int64  `gorm:"column:created_time" json:"created_time" form:"created_time"`
927
+	Class               int64  `gorm:"column:class" json:"class" form:"class"`
928
+	DisinfectionMethods string `gorm:"column:disinfection_methods" json:"disinfection_methods" form:"disinfection_methods"`
929
+	DisinfectionFluid   string `gorm:"column:disinfection_fluid" json:"disinfection_fluid" form:"disinfection_fluid"`
930
+	Sort                string `gorm:"column:sort" json:"sort" form:"sort"`
931
+	Creator             int64  `gorm:"column:creator" json:"creator" form:"creator"`
932
+	DetectionTime       int64  `gorm:"column:detection_time" json:"detection_time" form:"detection_time"`
933
+	DetectionResult     string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
934
+	UploadTime          int64  `gorm:"column:upload_time" json:"upload_time" form:"upload_time"`
935
+	CheckOut            int64  `gorm:"column:check_out" json:"check_out" form:"check_out"`
936
+	Modifications       int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
937
+	UserOrgId           int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
938
+	Ctime               int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
939
+	Mtime               int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
940
+	Status              int64  `gorm:"column:status" json:"status" form:"status"`
941
+}
942
+
943
+func (XtAerialDetection) TableName() string {
944
+	return "xt_aerial_detection"
945
+}
946
+
947
+type XtBodyDetection struct {
948
+	ID                  int64  `gorm:"column:id" json:"id" form:"id"`
949
+	StartTime           int64  `gorm:"column:start_time" json:"start_time" form:"start_time"`
950
+	CreatedTime         int64  `gorm:"column:created_time" json:"created_time" form:"created_time"`
951
+	Class               int64  `gorm:"column:class" json:"class" form:"class"`
952
+	DisinfectionMethods string `gorm:"column:disinfection_methods" json:"disinfection_methods" form:"disinfection_methods"`
953
+	DisinfectionFluid   string `gorm:"column:disinfection_fluid" json:"disinfection_fluid" form:"disinfection_fluid"`
954
+	Sort                string `gorm:"column:sort" json:"sort" form:"sort"`
955
+	Creator             int64  `gorm:"column:creator" json:"creator" form:"creator"`
956
+	DetectionTime       int64  `gorm:"column:detection_time" json:"detection_time" form:"detection_time"`
957
+	DetectionResult     string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
958
+	UploadTime          int64  `gorm:"column:upload_time" json:"upload_time" form:"upload_time"`
959
+	CheckOut            int64  `gorm:"column:check_out" json:"check_out" form:"check_out"`
960
+	Modifications       int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
961
+	UserOrgId           int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
962
+	Ctime               int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
963
+	Mtime               int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
964
+	Status              int64  `gorm:"column:status" json:"status" form:"status"`
965
+}
966
+
967
+func (XtBodyDetection) TableName() string {
968
+	return "xt_body_detection"
969
+}
970
+
971
+type XtDeviceWater struct {
972
+	ID                int64  `gorm:"column:id" json:"id" form:"id"`
973
+	SamplingDate      int64  `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
974
+	Specimenb         int64  `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
975
+	ConcentrateNoc    string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
976
+	ConcentratebNod   string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
977
+	SamplingLocationb int64  `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
978
+	DetectionUnit     string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
979
+	Samplerb          int64  `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
980
+	ReportingDateb    int64  `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
981
+	DetectionResultb  string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
982
+	Status            int64  `gorm:"column:status" json:"status" form:"status"`
983
+	UserOrgId         int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
984
+	Ctime             int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
985
+	Mtime             int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
986
+	BedId             int64  `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
987
+	EquitmentId       int64  `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
988
+	Bed               string `gorm:"column:bed" json:"bed" form:"bed"`
989
+	Sort              string `gorm:"column:sort" json:"sort" form:"sort"`
990
+	PassExamination   int64  `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
991
+	Modifications     int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
992
+}
993
+
994
+func (XtDeviceWater) TableName() string {
995
+	return "xt_device_water"
996
+}
997
+
998
+type XtDeviceOxygenates struct {
999
+	ID                int64  `gorm:"column:id" json:"id" form:"id"`
1000
+	SamplingDate      int64  `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
1001
+	Specimenb         int64  `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
1002
+	ConcentrateNoc    string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
1003
+	ConcentratebNod   string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
1004
+	SamplingLocationb int64  `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
1005
+	DetectionUnit     string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
1006
+	Samplerb          int64  `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
1007
+	ReportingDateb    int64  `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
1008
+	DetectionResultb  string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
1009
+	Status            int64  `gorm:"column:status" json:"status" form:"status"`
1010
+	UserOrgId         int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
1011
+	Ctime             int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
1012
+	Mtime             int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
1013
+	BedId             int64  `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
1014
+	EquitmentId       int64  `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
1015
+	Bed               string `gorm:"column:bed" json:"bed" form:"bed"`
1016
+	Sort              string `gorm:"column:sort" json:"sort" form:"sort"`
1017
+	PassExamination   int64  `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
1018
+	Modifications     int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
1019
+}
1020
+
1021
+func (XtDeviceOxygenates) TableName() string {
1022
+	return "xt_device_oxygenates"
1023
+}
1024
+
1025
+type XtDevicePh struct {
1026
+	ID                int64  `gorm:"column:id" json:"id" form:"id"`
1027
+	SamplingDate      int64  `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
1028
+	Specimenb         int64  `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
1029
+	ConcentrateNoc    string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
1030
+	ConcentratebNod   string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
1031
+	SamplingLocationb int64  `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
1032
+	DetectionUnit     string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
1033
+	Samplerb          int64  `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
1034
+	ReportingDateb    int64  `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
1035
+	DetectionResultb  string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
1036
+	Status            int64  `gorm:"column:status" json:"status" form:"status"`
1037
+	UserOrgId         int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
1038
+	Ctime             int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
1039
+	Mtime             int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
1040
+	BedId             int64  `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
1041
+	EquitmentId       int64  `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
1042
+	Bed               string `gorm:"column:bed" json:"bed" form:"bed"`
1043
+	Sort              string `gorm:"column:sort" json:"sort" form:"sort"`
1044
+	PassExamination   int64  `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
1045
+	Modifications     int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
1046
+}
1047
+
1048
+func (XtDevicePh) TableName() string {
1049
+	return "xt_device_ph"
1050
+}
1051
+
1052
+type XtDeviceHadwater struct {
1053
+	ID                int64  `gorm:"column:id" json:"id" form:"id"`
1054
+	SamplingDate      int64  `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
1055
+	Specimenb         int64  `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
1056
+	ConcentrateNoc    string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
1057
+	ConcentratebNod   string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
1058
+	SamplingLocationb int64  `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
1059
+	DetectionUnit     string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
1060
+	Samplerb          int64  `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
1061
+	ReportingDateb    int64  `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
1062
+	DetectionResultb  string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
1063
+	Status            int64  `gorm:"column:status" json:"status" form:"status"`
1064
+	UserOrgId         int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
1065
+	Ctime             int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
1066
+	Mtime             int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
1067
+	BedId             int64  `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
1068
+	EquitmentId       int64  `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
1069
+	Bed               string `gorm:"column:bed" json:"bed" form:"bed"`
1070
+	Sort              string `gorm:"column:sort" json:"sort" form:"sort"`
1071
+	PassExamination   int64  `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
1072
+	Modifications     int64  `gorm:"column:modifications" json:"modifications" form:"modifications"`
1073
+}
1074
+
1075
+func (XtDeviceHadwater) TableName() string {
1076
+	return "xt_device_hadwater"
1077
+}
1078
+
1079
+type XtPatientVascularAccess struct {
1080
+	ID                     int64  `gorm:"column:id" json:"id" form:"id"`
1081
+	AccessProject          int64  `gorm:"column:access_project" json:"access_project" form:"access_project"`
1082
+	BloodAccessPartId      string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
1083
+	InflowPass             string `gorm:"column:inflow_pass" json:"inflow_pass" form:"inflow_pass"`
1084
+	StartTime              int64  `gorm:"column:start_time" json:"start_time" form:"start_time"`
1085
+	FirstStartTime         int64  `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
1086
+	BloodAccessPartOperaId string `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
1087
+	StopReason             string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
1088
+	Remark                 string `gorm:"column:remark" json:"remark" form:"remark"`
1089
+	UserStatus             int64  `gorm:"column:user_status" json:"user_status" form:"user_status"`
1090
+	Creator                int64  `gorm:"column:creator" json:"creator" form:"creator"`
1091
+	UserOrgId              int64  `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
1092
+	Status                 int64  `gorm:"column:status" json:"status" form:"status"`
1093
+	Ctime                  int64  `gorm:"column:ctime" json:"ctime" form:"ctime"`
1094
+	Mtime                  int64  `gorm:"column:mtime" json:"mtime" form:"mtime"`
1095
+	Modify                 int64  `gorm:"column:modify" json:"modify" form:"modify"`
1096
+	StopTime               int64  `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
1097
+	PatientId              int64  `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
1098
+	OtherVascular          string `gorm:"column:other_vascular" json:"other_vascular" form:"other_vascular"`
1099
+	CiType                 int64  `gorm:"column:ci_type" json:"ci_type" form:"ci_type"`
1100
+	BloodCultupe           int64  `gorm:"column:blood_cultupe" json:"blood_cultupe" form:"blood_cultupe"`
1101
+	SequelaeType           int64  `gorm:"column:sequelae_type" json:"sequelae_type" form:"sequelae_type"`
1102
+}
1103
+
1104
+func (XtPatientVascularAccess) TableName() string {
1105
+	return "xt_patient_vascular_access"
1106
+}

+ 478 - 212
models/sz/target_data.go View File

@@ -83,26 +83,25 @@ func (TempHdLayout) TableName() string {
83 83
 	return "t_hd_layout"
84 84
 }
85 85
 
86
-type TempHdDivision struct{
87
-	ID             int64     `gorm:"column:id" json:"id"`
88
-	DivisionId     string    `gorm:"column:division_id" json:"division_id"`
89
-	HospitalId     string    `gorm:"column:hospital_id" json:"hospital_id"`
90
-	DivisionName   string    `gorm:"column:division_name" json:"division_name"`
91
-	Xgbz           string    `gorm:"column:xgbz" json:"xgbz"`
92
-	DivisionType   string    `gorm:"column:division_type" json:"division_type"`
93
-	CreateTime     time.Time `gorm:"column:create_time" json:"create_time"`
94
-	UpdateTime     time.Time `gorm:"column:update_time" json:"update_time"`
95
-	Sjscsj         time.Time `gorm:"column:sjscsj" json:"sjscsj"`
96
-	Mj             string    `gorm:"column:mj" json:"mj"`
97
-	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1"`
98
-	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2"`
86
+type TempHdDivision struct {
87
+	ID           int64     `gorm:"column:id" json:"id"`
88
+	DivisionId   string    `gorm:"column:division_id" json:"division_id"`
89
+	HospitalId   string    `gorm:"column:hospital_id" json:"hospital_id"`
90
+	DivisionName string    `gorm:"column:division_name" json:"division_name"`
91
+	Xgbz         string    `gorm:"column:xgbz" json:"xgbz"`
92
+	DivisionType string    `gorm:"column:division_type" json:"division_type"`
93
+	CreateTime   time.Time `gorm:"column:create_time" json:"create_time"`
94
+	UpdateTime   time.Time `gorm:"column:update_time" json:"update_time"`
95
+	Sjscsj       time.Time `gorm:"column:sjscsj" json:"sjscsj"`
96
+	Mj           string    `gorm:"column:mj" json:"mj"`
97
+	Ylyl1        string    `gorm:"column:ylyl1" json:"ylyl1"`
98
+	Ylyl2        string    `gorm:"column:ylyl2" json:"ylyl2"`
99 99
 }
100 100
 
101 101
 func (TempHdDivision) TableName() string {
102 102
 	return "t_hd_division"
103 103
 }
104 104
 
105
-
106 105
 type TempHdDm struct {
107 106
 	ID             int64     `gorm:"column:id" json:"id"`
108 107
 	HospitalId     string    `gorm:"column:hospital_id" json:"hospital_id"`
@@ -221,7 +220,6 @@ type TempHdOtherMachine struct {
221 220
 	Mj             int64     `gorm:"column:mj" json:"mj" form:"mj"`
222 221
 	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
223 222
 	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
224
-	
225 223
 }
226 224
 
227 225
 func (TempHdOtherMachine) TableName() string {
@@ -229,33 +227,33 @@ func (TempHdOtherMachine) TableName() string {
229 227
 }
230 228
 
231 229
 type TempHdPatient struct {
232
-	ID                 int64     `gorm:"column:id" json:"id" form:"id"`
233
-	HospitalId         string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
234
-	PatientNk          int64     `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
235
-	CardNo             string    `gorm:"column:card_no" json:"card_no" form:"card_no"`
236
-	CardType           int64     `gorm:"column:card_type" json:"card_type" form:"card_type"`
237
-	IdNo               string    `gorm:"column:id_no" json:"id_no" form:"id_no"`
238
-	IdType             string    `gorm:"column:id_type" json:"id_type" form:"id_type"`
239
-	PatientName        string    `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
240
-	Gender             string    `gorm:"column:gender" json:"gender" form:"gender"`
241
-	BornDate           time.Time `gorm:"column:born_date" json:"born_date" form:"born_date"`
242
-	DiagnosisSummary   string    `gorm:"column:diagnosis_summary" json:"diagnosis_summary" form:"diagnosis_summary"`
243
-	IsCrf              string    `gorm:"column:is_crf" json:"is_crf" form:"is_crf"`
244
-	AllergyHistory     string    `gorm:"column:allergy_history" json:"allergy_history" form:"allergy_history"`
245
-	PayMethod          string    `gorm:"column:pay_method" json:"pay_method" form:"pay_method"`
246
-	LocalInsurance     int64     `gorm:"column:local_insurance" json:"local_insurance" form:"local_insurance"`
247
-	DialysisStartTime  time.Time `gorm:"column:dialysis_start_time" json:"dialysis_start_time" form:"dialysis_start_time"`
248
-	LocalStartTime     time.Time `gorm:"column:local_start_time" json:"local_start_time" form:"local_start_time"`
249
-	OutpatientNo       string    `gorm:"column:outpatient_no" json:"outpatient_no" form:"outpatient_no"`
250
-	HospitalizedNo     string    `gorm:"column:hospitalized_no" json:"hospitalized_no" form:"hospitalized_no"`
251
-	Height      	   int64     `gorm:"column:height" json:"height" form:"height"`
252
-	Xgbz               int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
253
-	CreateTime         time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
254
-	UpdateTime         time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
255
-	Sjscsj             time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
256
-	Mj                 int64     `gorm:"column:mj" json:"mj" form:"mj"`
257
-	Ylyl1              int64     `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
258
-	Ylyl2              int64     `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`	
230
+	ID                int64     `gorm:"column:id" json:"id" form:"id"`
231
+	HospitalId        string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
232
+	PatientNk         int64     `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
233
+	CardNo            string    `gorm:"column:card_no" json:"card_no" form:"card_no"`
234
+	CardType          int64     `gorm:"column:card_type" json:"card_type" form:"card_type"`
235
+	IdNo              string    `gorm:"column:id_no" json:"id_no" form:"id_no"`
236
+	IdType            string    `gorm:"column:id_type" json:"id_type" form:"id_type"`
237
+	PatientName       string    `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
238
+	Gender            string    `gorm:"column:gender" json:"gender" form:"gender"`
239
+	BornDate          time.Time `gorm:"column:born_date" json:"born_date" form:"born_date"`
240
+	DiagnosisSummary  string    `gorm:"column:diagnosis_summary" json:"diagnosis_summary" form:"diagnosis_summary"`
241
+	IsCrf             string    `gorm:"column:is_crf" json:"is_crf" form:"is_crf"`
242
+	AllergyHistory    string    `gorm:"column:allergy_history" json:"allergy_history" form:"allergy_history"`
243
+	PayMethod         string    `gorm:"column:pay_method" json:"pay_method" form:"pay_method"`
244
+	LocalInsurance    int64     `gorm:"column:local_insurance" json:"local_insurance" form:"local_insurance"`
245
+	DialysisStartTime time.Time `gorm:"column:dialysis_start_time" json:"dialysis_start_time" form:"dialysis_start_time"`
246
+	LocalStartTime    time.Time `gorm:"column:local_start_time" json:"local_start_time" form:"local_start_time"`
247
+	OutpatientNo      string    `gorm:"column:outpatient_no" json:"outpatient_no" form:"outpatient_no"`
248
+	HospitalizedNo    string    `gorm:"column:hospitalized_no" json:"hospitalized_no" form:"hospitalized_no"`
249
+	Height            int64     `gorm:"column:height" json:"height" form:"height"`
250
+	Xgbz              int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
251
+	CreateTime        time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
252
+	UpdateTime        time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
253
+	Sjscsj            time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
254
+	Mj                int64     `gorm:"column:mj" json:"mj" form:"mj"`
255
+	Ylyl1             int64     `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
256
+	Ylyl2             int64     `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
259 257
 }
260 258
 
261 259
 func (TempHdPatient) TableName() string {
@@ -285,22 +283,22 @@ func (TempHdPatientOut) TableName() string {
285 283
 }
286 284
 
287 285
 type TempHdPs struct {
288
-	PrescribeId          string    `gorm:"column:prescribe_id" json:"prescribe_id" form:"prescribe_id"`
289
-	HospitalId           string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
290
-	PatientNk            string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
291
-	MedicalId            string    `gorm:"column:medical_id" json:"medical_id" form:"medical_id"`
292
-	DrId                 int64     `gorm:"column:dr_id" json:"dr_id" form:"dr_id"`
293
-	RrtType              int64     `gorm:"column:rrt_type" json:"rrt_type" form:"rrt_type"`
294
-	RrtTypeName           string    `gorm:"column:rrt_type_name" json:"rrt_type_name" form:"rrt_type_name"`
295
-	DialysisFrequency    int64     `gorm:"column:dialysis_frequency" json:"dialysis_frequency" form:"dialysis_frequency"`
296
-	FrequencyUnit        int64     `gorm:"column:frequency_unit" json:"frequency_unit" form:"frequency_unit"`
297
-	PrescribeTime        time.Time `gorm:"column:prescribe_time" json:"prescribe_time" form:"prescribe_time"`
298
-	CreateTime           time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
299
-	Sjscsj               time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
300
-	Mj                   int64     `gorm:"column:mj" json:"mj" form:"mj"`
301
-	Xgbz                 int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
302
-	Ylyl1                string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
303
-	Ylyl2                string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
286
+	PrescribeId       string    `gorm:"column:prescribe_id" json:"prescribe_id" form:"prescribe_id"`
287
+	HospitalId        string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
288
+	PatientNk         string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
289
+	MedicalId         string    `gorm:"column:medical_id" json:"medical_id" form:"medical_id"`
290
+	DrId              int64     `gorm:"column:dr_id" json:"dr_id" form:"dr_id"`
291
+	RrtType           int64     `gorm:"column:rrt_type" json:"rrt_type" form:"rrt_type"`
292
+	RrtTypeName       string    `gorm:"column:rrt_type_name" json:"rrt_type_name" form:"rrt_type_name"`
293
+	DialysisFrequency int64     `gorm:"column:dialysis_frequency" json:"dialysis_frequency" form:"dialysis_frequency"`
294
+	FrequencyUnit     int64     `gorm:"column:frequency_unit" json:"frequency_unit" form:"frequency_unit"`
295
+	PrescribeTime     time.Time `gorm:"column:prescribe_time" json:"prescribe_time" form:"prescribe_time"`
296
+	CreateTime        time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
297
+	Sjscsj            time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
298
+	Mj                int64     `gorm:"column:mj" json:"mj" form:"mj"`
299
+	Xgbz              int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
300
+	Ylyl1             string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
301
+	Ylyl2             string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
304 302
 }
305 303
 
306 304
 func (TempHdPs) TableName() string {
@@ -309,7 +307,7 @@ func (TempHdPs) TableName() string {
309 307
 
310 308
 type TempHdPsMedicine struct {
311 309
 	ID             int64     `gorm:"column:id" json:"id" form:"id"`
312
-	Sn             int64    `gorm:"column:sn" json:"sn" form:"sn"`
310
+	Sn             int64     `gorm:"column:sn" json:"sn" form:"sn"`
313 311
 	HospitalId     string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
314 312
 	MedicineTypeId string    `gorm:"column:medicine_type_id" json:"medicine_type_id" form:"medicine_type_id"`
315 313
 	MedicineId     string    `gorm:"column:medicine_id" json:"medicine_id" form:"medicine_id"`
@@ -318,7 +316,7 @@ type TempHdPsMedicine struct {
318 316
 	Mj             string    `gorm:"column:mj" json:"mj" form:"mj"`
319 317
 	Xgbz           int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
320 318
 	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
321
-	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`	
319
+	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
322 320
 }
323 321
 
324 322
 func (TempHdPsMedicine) TableName() string {
@@ -441,7 +439,7 @@ type TempHdShift struct {
441 439
 	PatientNk      string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
442 440
 	ScheduleDate   time.Time `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
443 441
 	ShiftType      string    `gorm:"column:shift_type" json:"shift_type" form:"shift_type"`
444
-	SickbedNo      int64    `gorm:"column:sickbed_no" json:"sickbed_no" form:"sickbed_no"`
442
+	SickbedNo      int64     `gorm:"column:sickbed_no" json:"sickbed_no" form:"sickbed_no"`
445 443
 	ScheduleStatus string    `gorm:"column:schedule_status" json:"schedule_status" form:"schedule_status"`
446 444
 	CreateTime     time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
447 445
 	Sjscsj         time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
@@ -492,7 +490,6 @@ type TempHdDoctorsAdvice struct {
492 490
 	Xgbz                  int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
493 491
 	Ylyl1                 string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
494 492
 	Ylyl2                 string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
495
-	
496 493
 }
497 494
 
498 495
 func (TempHdDoctorsAdvice) TableName() string {
@@ -527,9 +524,9 @@ type TempHdDialysis struct {
527 524
 	AccessId              string    `gorm:"column:access_id" json:"access_id" form:"access_id"`
528 525
 	DialyzerId            string    `gorm:"column:dialyzer_id" json:"dialyzer_id" form:"dialyzer_id"`
529 526
 	Ktv                   float64   `gorm:"column:ktv" json:"ktv" form:"ktv"`
530
-	Urr					  float64   `gorm:"column:urr" json:"urr" form:"urr"`
531
-	BeforeBun			  float64   `gorm:"column:before_bun" json:"before_bun" form:"before_bun"`
532
-	AfterBun			  float64   `gorm:"column:after_bun" json:"after_bun" form:"after_bun"`
527
+	Urr                   float64   `gorm:"column:urr" json:"urr" form:"urr"`
528
+	BeforeBun             float64   `gorm:"column:before_bun" json:"before_bun" form:"before_bun"`
529
+	AfterBun              float64   `gorm:"column:after_bun" json:"after_bun" form:"after_bun"`
533 530
 	ChargeDoctorId        string    `gorm:"column:charge_doctor_id" json:"charge_doctor_id" form:"charge_doctor_id"`
534 531
 	ChargeNurseId         string    `gorm:"column:charge_nurse_id" json:"charge_nurse_id" form:"charge_nurse_id"`
535 532
 	UpNurseId             string    `gorm:"column:up_nurse_id" json:"up_nurse_id" form:"up_nurse_id"`
@@ -551,33 +548,33 @@ func (TempHdDialysis) TableName() string {
551 548
 }
552 549
 
553 550
 type TempHdMiddle struct {
554
-	ID             int64     `gorm:"column:id" json:"id" form:"id"`
555
-	Sn             int64    `gorm:"column:sn" json:"sn" form:"sn"`
556
-	HospitalId     string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
557
-	PatientNk      string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
558
-	DialysisId     string    `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
559
-	MonitorTime    time.Time `gorm:"column:monitor_time" json:"monitor_time" form:"monitor_time"`
560
-	Sbp            int64     `gorm:"column:sbp" json:"sbp" form:"sbp"`
561
-	Dbp            int64     `gorm:"column:dbp" json:"dbp" form:"dbp"`
562
-	P              int64     `gorm:"column:p" json:"p" form:"p"`
563
-	Ns             int64     `gorm:"column:ns" json:"ns" form:"ns"`
564
-	Qb             int64     `gorm:"column:qb" json:"qb" form:"qb"`
565
-	Ap             int64     `gorm:"column:ap" json:"ap" form:"ap"`
566
-	Vp             int64     `gorm:"column:vp" json:"vp" form:"vp"`
567
-	Tmp            int64     `gorm:"column:tmp" json:"tmp" form:"tmp"`
568
-	Ufr            int64     `gorm:"column:ufr" json:"ufr" form:"ufr"`
569
-	Ufv            int64     `gorm:"column:ufv" json:"ufv" form:"ufv"`
570
-	OnLine         int64     `gorm:"column:on_line" json:"on_line" form:"on_line"`
571
-	Spo2           float64   `gorm:"column:spo2" json:"spo2" form:"spo2"`
572
-	RespiratorySystem              int64     `gorm:"column:respiratory_system" json:"respiratory_system" form:"respiratory_system"`
573
-	OtherSituation string    `gorm:"column:other_situation" json:"other_situation" form:"other_situation"`
574
-	Nurse          string    `gorm:"column:nurse" json:"nurse" form:"nurse"`
575
-	CreateTime     time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
576
-	Sjscsj         time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
577
-	Mj             string    `gorm:"column:mj" json:"mj" form:"mj"`
578
-	Xgbz           int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
579
-	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
580
-	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
551
+	ID                int64     `gorm:"column:id" json:"id" form:"id"`
552
+	Sn                int64     `gorm:"column:sn" json:"sn" form:"sn"`
553
+	HospitalId        string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
554
+	PatientNk         string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
555
+	DialysisId        string    `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
556
+	MonitorTime       time.Time `gorm:"column:monitor_time" json:"monitor_time" form:"monitor_time"`
557
+	Sbp               int64     `gorm:"column:sbp" json:"sbp" form:"sbp"`
558
+	Dbp               int64     `gorm:"column:dbp" json:"dbp" form:"dbp"`
559
+	P                 int64     `gorm:"column:p" json:"p" form:"p"`
560
+	Ns                int64     `gorm:"column:ns" json:"ns" form:"ns"`
561
+	Qb                int64     `gorm:"column:qb" json:"qb" form:"qb"`
562
+	Ap                int64     `gorm:"column:ap" json:"ap" form:"ap"`
563
+	Vp                int64     `gorm:"column:vp" json:"vp" form:"vp"`
564
+	Tmp               int64     `gorm:"column:tmp" json:"tmp" form:"tmp"`
565
+	Ufr               int64     `gorm:"column:ufr" json:"ufr" form:"ufr"`
566
+	Ufv               int64     `gorm:"column:ufv" json:"ufv" form:"ufv"`
567
+	OnLine            int64     `gorm:"column:on_line" json:"on_line" form:"on_line"`
568
+	Spo2              float64   `gorm:"column:spo2" json:"spo2" form:"spo2"`
569
+	RespiratorySystem int64     `gorm:"column:respiratory_system" json:"respiratory_system" form:"respiratory_system"`
570
+	OtherSituation    string    `gorm:"column:other_situation" json:"other_situation" form:"other_situation"`
571
+	Nurse             string    `gorm:"column:nurse" json:"nurse" form:"nurse"`
572
+	CreateTime        time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
573
+	Sjscsj            time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
574
+	Mj                string    `gorm:"column:mj" json:"mj" form:"mj"`
575
+	Xgbz              int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
576
+	Ylyl1             string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
577
+	Ylyl2             string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
581 578
 }
582 579
 
583 580
 func (TempHdMiddle) TableName() string {
@@ -585,26 +582,26 @@ func (TempHdMiddle) TableName() string {
585 582
 }
586 583
 
587 584
 type TempHdAccess struct {
588
-	AccessId       		int64     `gorm:"column:access_id" json:"access_id" form:"access_id"`
589
-	HospitalId     		string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
590
-	PatientNk      		string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
591
-	AccessType			int64     `gorm:"column:access_type" json:"access_type" form:"access_type"`
592
-	AccessTypeName		string    `gorm:"column:access_type_name" json:"access_type_name" form:"access_type_name"`
593
-	AccessStatus		int64     `gorm:"column:access_status" json:"access_status" form:"access_status"`
594
-	ChannelPosition		int64     `gorm:"column:channel_position" json:"channel_position" form:"channel_position"`
595
-	CatheterSite		int64     `gorm:"column:catheter_site" json:"catheter_site" form:"catheter_site"`
596
-	RemoveTime			time.Time `gorm:"column:remove_time" json:"remove_time" form:"remove_time"`
597
-	RemoveReason		int64     `gorm:"column:remove_reason" json:"remove_reason" form:"remove_reason"`
598
-	RemoveReasonDesc	string     `gorm:"column:remove_reason_desc" json:"remove_reason_desc" form:"remove_reason_desc"`
599
-	SetupDate			time.Time     `gorm:"column:setup_date" json:"setup_date" form:"setup_date"`
600
-	FirstUseTime		time.Time     `gorm:"column:first_use_time" json:"first_use_time" form:"first_use_time"`
601
-	CreateTime     		time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
602
-	UpdateTime     		time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
603
-	Sjscsj         		time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
604
-	Mj             		string    `gorm:"column:mj" json:"mj" form:"mj"`
605
-	Xgbz           		int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
606
-	Ylyl1          		string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
607
-	Ylyl2          		string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
585
+	AccessId         int64     `gorm:"column:access_id" json:"access_id" form:"access_id"`
586
+	HospitalId       string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
587
+	PatientNk        string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
588
+	AccessType       int64     `gorm:"column:access_type" json:"access_type" form:"access_type"`
589
+	AccessTypeName   string    `gorm:"column:access_type_name" json:"access_type_name" form:"access_type_name"`
590
+	AccessStatus     int64     `gorm:"column:access_status" json:"access_status" form:"access_status"`
591
+	ChannelPosition  int64     `gorm:"column:channel_position" json:"channel_position" form:"channel_position"`
592
+	CatheterSite     int64     `gorm:"column:catheter_site" json:"catheter_site" form:"catheter_site"`
593
+	RemoveTime       time.Time `gorm:"column:remove_time" json:"remove_time" form:"remove_time"`
594
+	RemoveReason     int64     `gorm:"column:remove_reason" json:"remove_reason" form:"remove_reason"`
595
+	RemoveReasonDesc string    `gorm:"column:remove_reason_desc" json:"remove_reason_desc" form:"remove_reason_desc"`
596
+	SetupDate        time.Time `gorm:"column:setup_date" json:"setup_date" form:"setup_date"`
597
+	FirstUseTime     time.Time `gorm:"column:first_use_time" json:"first_use_time" form:"first_use_time"`
598
+	CreateTime       time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
599
+	UpdateTime       time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
600
+	Sjscsj           time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
601
+	Mj               string    `gorm:"column:mj" json:"mj" form:"mj"`
602
+	Xgbz             int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
603
+	Ylyl1            string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
604
+	Ylyl2            string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
608 605
 }
609 606
 
610 607
 func (TempHdAccess) TableName() string {
@@ -612,18 +609,18 @@ func (TempHdAccess) TableName() string {
612 609
 }
613 610
 
614 611
 type TempHdSickbed struct {
615
-	SickbedNo       	int64     `gorm:"column:sickbed_no" json:"sickbed_no" form:"sickbed_no"`
616
-	HospitalId     		string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
617
-	DivisionId     		string    `gorm:"column:division_id" json:"division_id" form:"division_id"`
618
-	SickbedCode     	string    `gorm:"column:sickbed_code" json:"sickbed_code" form:"sickbed_code"`
619
-	SickbedType     	string    `gorm:"column:sickbed_type" json:"sickbed_type" form:"sickbed_type"`
620
-	CreateTime     		time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
621
-	UpdateTime     		time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
622
-	Sjscsj         		time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
623
-	Mj             		string    `gorm:"column:mj" json:"mj" form:"mj"`
624
-	Xgbz           		int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
625
-	Ylyl1          		string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
626
-	Ylyl2          		string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
612
+	SickbedNo   int64     `gorm:"column:sickbed_no" json:"sickbed_no" form:"sickbed_no"`
613
+	HospitalId  string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
614
+	DivisionId  string    `gorm:"column:division_id" json:"division_id" form:"division_id"`
615
+	SickbedCode string    `gorm:"column:sickbed_code" json:"sickbed_code" form:"sickbed_code"`
616
+	SickbedType string    `gorm:"column:sickbed_type" json:"sickbed_type" form:"sickbed_type"`
617
+	CreateTime  time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
618
+	UpdateTime  time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
619
+	Sjscsj      time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
620
+	Mj          string    `gorm:"column:mj" json:"mj" form:"mj"`
621
+	Xgbz        int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
622
+	Ylyl1       string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
623
+	Ylyl2       string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
627 624
 }
628 625
 
629 626
 func (TempHdSickbed) TableName() string {
@@ -631,20 +628,20 @@ func (TempHdSickbed) TableName() string {
631 628
 }
632 629
 
633 630
 type TempHdDiagnosis struct {
634
-	DiagnosisId       		int64     `gorm:"column:diagnosis_id" json:"diagnosis_id" form:"diagnosis_id"`
635
-	HospitalId     			string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
636
-	PatientNk      			string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
637
-	DiagnosisTime     		time.Time `gorm:"column:diagnosis_time" json:"diagnosis_time" form:"diagnosis_time"`
638
-	DiagnosisType     		string    `gorm:"column:diagnosis_type" json:"diagnosis_type" form:"diagnosis_type"`
639
-	DiagnosisTypeItem    	string    `gorm:"column:diagnosis_type_item" json:"diagnosis_type_item" form:"diagnosis_type_item"`
640
-	DiagnosisTypeDetail		string    `gorm:"column:diagnosis_type_detail" json:"diagnosis_type_detail" form:"diagnosis_type_detail"`
641
-	CreateTime     			time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
642
-	UpdateTime     			time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
643
-	Sjscsj         			time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
644
-	Mj             			string    `gorm:"column:mj" json:"mj" form:"mj"`
645
-	Xgbz           			int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
646
-	Ylyl1          			string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
647
-	Ylyl2          			string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
631
+	DiagnosisId         int64     `gorm:"column:diagnosis_id" json:"diagnosis_id" form:"diagnosis_id"`
632
+	HospitalId          string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
633
+	PatientNk           string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
634
+	DiagnosisTime       time.Time `gorm:"column:diagnosis_time" json:"diagnosis_time" form:"diagnosis_time"`
635
+	DiagnosisType       string    `gorm:"column:diagnosis_type" json:"diagnosis_type" form:"diagnosis_type"`
636
+	DiagnosisTypeItem   string    `gorm:"column:diagnosis_type_item" json:"diagnosis_type_item" form:"diagnosis_type_item"`
637
+	DiagnosisTypeDetail string    `gorm:"column:diagnosis_type_detail" json:"diagnosis_type_detail" form:"diagnosis_type_detail"`
638
+	CreateTime          time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
639
+	UpdateTime          time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
640
+	Sjscsj              time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
641
+	Mj                  string    `gorm:"column:mj" json:"mj" form:"mj"`
642
+	Xgbz                int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
643
+	Ylyl1               string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
644
+	Ylyl2               string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
648 645
 }
649 646
 
650 647
 func (TempHdDiagnosis) TableName() string {
@@ -652,20 +649,20 @@ func (TempHdDiagnosis) TableName() string {
652 649
 }
653 650
 
654 651
 type TempHdComplication struct {
655
-	Sn       		string     `gorm:"column:sn" json:"sn" form:"sn"`
656
-	HospitalId		string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
657
-	PatientNk		string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
658
-	DialysisId		int64     `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
659
-	MonitorId		int64     `gorm:"column:monitor_id" json:"monitor_id" form:"monitor_id"`
660
-	NeopathyTime	int64     `gorm:"column:neopathy_time" json:"neopathy_time" form:"neopathy_time"`
661
-	NeopathyType	string    `gorm:"column:neopathy_type" json:"neopathy_type" form:"neopathy_type"`
662
-	NeopathyDesc	string 	  `gorm:"column:neopathy_desc" json:"neopathy_desc" form:"neopathy_desc"`
663
-	CreateTime		time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
664
-	Sjscsj			time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
665
-	Mj				string    `gorm:"column:mj" json:"mj" form:"mj"`
666
-	Xgbz			int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
667
-	Ylyl1			string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
668
-	Ylyl2			string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
652
+	Sn           string    `gorm:"column:sn" json:"sn" form:"sn"`
653
+	HospitalId   string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
654
+	PatientNk    string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
655
+	DialysisId   int64     `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
656
+	MonitorId    int64     `gorm:"column:monitor_id" json:"monitor_id" form:"monitor_id"`
657
+	NeopathyTime int64     `gorm:"column:neopathy_time" json:"neopathy_time" form:"neopathy_time"`
658
+	NeopathyType string    `gorm:"column:neopathy_type" json:"neopathy_type" form:"neopathy_type"`
659
+	NeopathyDesc string    `gorm:"column:neopathy_desc" json:"neopathy_desc" form:"neopathy_desc"`
660
+	CreateTime   time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
661
+	Sjscsj       time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
662
+	Mj           string    `gorm:"column:mj" json:"mj" form:"mj"`
663
+	Xgbz         int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
664
+	Ylyl1        string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
665
+	Ylyl2        string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
669 666
 }
670 667
 
671 668
 func (TempHdComplication) TableName() string {
@@ -673,39 +670,39 @@ func (TempHdComplication) TableName() string {
673 670
 }
674 671
 
675 672
 type TempHdLisReport struct {
676
-	LabSno			string    `gorm:"column:lab_sno" json:"lab_sno" form:"lab_sno"`
677
-	HospitalId		string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
678
-	PatientNk		string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
679
-	ReportDate		time.Time `gorm:"column:report_date" json:"report_date" form:"report_date"`
680
-	CheckDate		string    `gorm:"column:check_date" json:"check_date" form:"check_date"`
681
-	JzNo			string    `gorm:"column:jz_no" json:"jz_no" form:"jz_no"`
682
-	MzFlag			string    `gorm:"column:mz_flag" json:"mz_flag" form:"mz_flag"`
683
-	ZyNo			string    `gorm:"column:zy_no" json:"zy_no" form:"zy_no"`
684
-	MzNo			string    `gorm:"column:mz_no" json:"mz_no" form:"mz_no"`
685
-	DepartmentCode	string    `gorm:"column:department_code" json:"department_code" form:"department_code"`
686
-	DepartmentName	string    `gorm:"column:department_name" json:"department_name" form:"department_name"`
687
-	CardNo			string    `gorm:"column:card_no" json:"card_no" form:"card_no"`
688
-	CardType		string    `gorm:"column:card_type" json:"card_type" form:"card_type"`
689
-	PatientName		string    `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
690
-	DepCode			string    `gorm:"column:dep_code" json:"dep_code" form:"dep_code"`
691
-	DepName			string    `gorm:"column:dep_name" json:"dep_name" form:"dep_name"`
692
-	InspectedType	string    `gorm:"column:inspected_type" json:"inspected_type" form:"inspected_type"`
693
-	ReportCategry	string    `gorm:"column:report_categry" json:"report_categry" form:"report_categry"`
694
-	ApplicationName	string    `gorm:"column:application_name" json:"application_name" form:"application_name"`
695
-	ApplicationType	string    `gorm:"column:application_type" json:"application_type" form:"application_type"`
696
-	CheckName		string    `gorm:"column:check_name" json:"check_name" form:"check_name"`
697
-	CheckItemName	string    `gorm:"column:check_item_name" json:"check_item_name" form:"check_item_name"`
698
-	CheckItemCode	string    `gorm:"column:check_item_code" json:"check_item_code" form:"check_item_code"`
699
-	RecordCcount	int64    `gorm:"column:record_ccount" json:"record_ccount" form:"record_ccount"`
700
-	CheckResult		string    `gorm:"column:check_result" json:"check_result" form:"check_result"`
701
-	DiagnoseCode	string    `gorm:"column:diagnose_code" json:"diagnose_code" form:"diagnose_code"`
702
-	DiagnoseName	string    `gorm:"column:diagnose_name" json:"diagnose_name" form:"diagnose_name"`
703
-	CreateTime		time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
704
-	Sjscsj			time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
705
-	Mj				string    `gorm:"column:mj" json:"mj" form:"mj"`
706
-	Xgbz			int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
707
-	Ylyl1			string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
708
-	Ylyl2			string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
673
+	LabSno          string    `gorm:"column:lab_sno" json:"lab_sno" form:"lab_sno"`
674
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
675
+	PatientNk       string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
676
+	ReportDate      time.Time `gorm:"column:report_date" json:"report_date" form:"report_date"`
677
+	CheckDate       string    `gorm:"column:check_date" json:"check_date" form:"check_date"`
678
+	JzNo            string    `gorm:"column:jz_no" json:"jz_no" form:"jz_no"`
679
+	MzFlag          string    `gorm:"column:mz_flag" json:"mz_flag" form:"mz_flag"`
680
+	ZyNo            string    `gorm:"column:zy_no" json:"zy_no" form:"zy_no"`
681
+	MzNo            string    `gorm:"column:mz_no" json:"mz_no" form:"mz_no"`
682
+	DepartmentCode  string    `gorm:"column:department_code" json:"department_code" form:"department_code"`
683
+	DepartmentName  string    `gorm:"column:department_name" json:"department_name" form:"department_name"`
684
+	CardNo          string    `gorm:"column:card_no" json:"card_no" form:"card_no"`
685
+	CardType        string    `gorm:"column:card_type" json:"card_type" form:"card_type"`
686
+	PatientName     string    `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
687
+	DepCode         string    `gorm:"column:dep_code" json:"dep_code" form:"dep_code"`
688
+	DepName         string    `gorm:"column:dep_name" json:"dep_name" form:"dep_name"`
689
+	InspectedType   string    `gorm:"column:inspected_type" json:"inspected_type" form:"inspected_type"`
690
+	ReportCategry   string    `gorm:"column:report_categry" json:"report_categry" form:"report_categry"`
691
+	ApplicationName string    `gorm:"column:application_name" json:"application_name" form:"application_name"`
692
+	ApplicationType string    `gorm:"column:application_type" json:"application_type" form:"application_type"`
693
+	CheckName       string    `gorm:"column:check_name" json:"check_name" form:"check_name"`
694
+	CheckItemName   string    `gorm:"column:check_item_name" json:"check_item_name" form:"check_item_name"`
695
+	CheckItemCode   string    `gorm:"column:check_item_code" json:"check_item_code" form:"check_item_code"`
696
+	RecordCcount    int64     `gorm:"column:record_ccount" json:"record_ccount" form:"record_ccount"`
697
+	CheckResult     string    `gorm:"column:check_result" json:"check_result" form:"check_result"`
698
+	DiagnoseCode    string    `gorm:"column:diagnose_code" json:"diagnose_code" form:"diagnose_code"`
699
+	DiagnoseName    string    `gorm:"column:diagnose_name" json:"diagnose_name" form:"diagnose_name"`
700
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
701
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
702
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
703
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
704
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
705
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
709 706
 }
710 707
 
711 708
 func (TempHdLisReport) TableName() string {
@@ -713,34 +710,303 @@ func (TempHdLisReport) TableName() string {
713 710
 }
714 711
 
715 712
 type TempHdLisIndicators struct {
716
-	InspectedResultNo		string    `gorm:"column:inspected_result_no" json:"inspected_result_no" form:"inspected_result_no"`
717
-	HospitalId				string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
718
-	LabSno					string    `gorm:"column:lab_sno" json:"lab_sno" form:"lab_sno"`
719
-	ReportDate				time.Time `gorm:"column:report_date" json:"report_date" form:"report_date"`
720
-	CheckDate				time.Time `gorm:"column:check_date" json:"check_date" form:"check_date"`
721
-	InspectedIndicate		string    `gorm:"column:inspected_indicate" json:"inspected_indicate" form:"inspected_indicate"`
722
-	InspectedItemEnName		string    `gorm:"column:inspected_item_en_name" json:"inspected_item_en_name" form:"inspected_item_en_name"`
723
-	Method					string    `gorm:"column:method" json:"method" form:"method"`
724
-	InspectedItemCnName		string    `gorm:"column:inspected_item_cn_name" json:"inspected_item_cn_name" form:"inspected_item_cn_name"`
725
-	InspectedResultDesc		string    `gorm:"column:inspected_result_desc" json:"inspected_result_desc" form:"inspected_result_desc"`
726
-	InspectedResultValue	string    `gorm:"column:inspected_result_value" json:"inspected_result_value" form:"inspected_result_value"`
727
-	InspectedResultUnit		string    `gorm:"column:inspected_result_unit" json:"inspected_result_unit" form:"inspected_result_unit"`
728
-	Loinc					string    `gorm:"column:loinc" json:"loinc" form:"loinc"`
729
-	RefRange				string    `gorm:"column:ref_range" json:"ref_range" form:"ref_range"`
730
-	UnitType				string    `gorm:"column:unit_type" json:"unit_type" form:"unit_type"`
731
-	InspectedResult			int64     `gorm:"column:inspected_result" json:"inspected_result" form:"inspected_result"`
732
-	Yctssm					string    `gorm:"column:yctssm" json:"yctssm" form:"yctssm"`
733
-	Sfwjz					string    `gorm:"column:sfwjz" json:"sfwjz" form:"sfwjz"`
734
-	Sorting					int64     `gorm:"column:sorting" json:"sorting" form:"sorting"`
735
-	PrintGroup				int64     `gorm:"column:print_group" json:"print_group" form:"print_group"`
736
-	CreateTime				time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
737
-	Sjscsj					time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
738
-	Mj						string    `gorm:"column:mj" json:"mj" form:"mj"`
739
-	Xgbz					int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
740
-	Ylyl1					string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
741
-	Ylyl2					string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
713
+	InspectedResultNo    string    `gorm:"column:inspected_result_no" json:"inspected_result_no" form:"inspected_result_no"`
714
+	HospitalId           string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
715
+	LabSno               string    `gorm:"column:lab_sno" json:"lab_sno" form:"lab_sno"`
716
+	ReportDate           time.Time `gorm:"column:report_date" json:"report_date" form:"report_date"`
717
+	CheckDate            time.Time `gorm:"column:check_date" json:"check_date" form:"check_date"`
718
+	InspectedIndicate    string    `gorm:"column:inspected_indicate" json:"inspected_indicate" form:"inspected_indicate"`
719
+	InspectedItemEnName  string    `gorm:"column:inspected_item_en_name" json:"inspected_item_en_name" form:"inspected_item_en_name"`
720
+	Method               string    `gorm:"column:method" json:"method" form:"method"`
721
+	InspectedItemCnName  string    `gorm:"column:inspected_item_cn_name" json:"inspected_item_cn_name" form:"inspected_item_cn_name"`
722
+	InspectedResultDesc  string    `gorm:"column:inspected_result_desc" json:"inspected_result_desc" form:"inspected_result_desc"`
723
+	InspectedResultValue string    `gorm:"column:inspected_result_value" json:"inspected_result_value" form:"inspected_result_value"`
724
+	InspectedResultUnit  string    `gorm:"column:inspected_result_unit" json:"inspected_result_unit" form:"inspected_result_unit"`
725
+	Loinc                string    `gorm:"column:loinc" json:"loinc" form:"loinc"`
726
+	RefRange             string    `gorm:"column:ref_range" json:"ref_range" form:"ref_range"`
727
+	UnitType             string    `gorm:"column:unit_type" json:"unit_type" form:"unit_type"`
728
+	InspectedResult      int64     `gorm:"column:inspected_result" json:"inspected_result" form:"inspected_result"`
729
+	Yctssm               string    `gorm:"column:yctssm" json:"yctssm" form:"yctssm"`
730
+	Sfwjz                string    `gorm:"column:sfwjz" json:"sfwjz" form:"sfwjz"`
731
+	Sorting              int64     `gorm:"column:sorting" json:"sorting" form:"sorting"`
732
+	PrintGroup           int64     `gorm:"column:print_group" json:"print_group" form:"print_group"`
733
+	CreateTime           time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
734
+	Sjscsj               time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
735
+	Mj                   string    `gorm:"column:mj" json:"mj" form:"mj"`
736
+	Xgbz                 int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
737
+	Ylyl1                string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
738
+	Ylyl2                string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
742 739
 }
743 740
 
744 741
 func (TempHdLisIndicators) TableName() string {
745 742
 	return "t_hd_lis_indicators"
746
-}
743
+}
744
+
745
+type TempHdLisCulture struct {
746
+	Sn                         string    `gorm:"column:sn" json:"sn" form:"sn"`
747
+	HospitalId                 string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
748
+	EquitmentId                int64     `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
749
+	InspectionTime             time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
750
+	IsQualified                int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
751
+	InspectedValue             int64     `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
752
+	IsSubstitutionQualified    int64     `gorm:"column:is_substitution_qualified" json:"is_substitution_qualified" form:"is_substitution_qualified"`
753
+	SubstitutionInspectedValue int64     `gorm:"column:substitution_inspected_value" json:"substitution_inspected_value" form:"substitution_inspected_value"`
754
+	CaseOrder                  int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
755
+	UploadFile                 string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
756
+	CreateTime                 time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
757
+	Sjscsj                     time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
758
+	Mj                         string    `gorm:"column:mj" json:"mj" form:"mj"`
759
+	Xgbz                       int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
760
+	Ylyl1                      string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
761
+	Ylyl2                      string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
762
+}
763
+
764
+func (TempHdLisCulture) TableName() string {
765
+	return "t_hd_dm_dialysate_bc"
766
+}
767
+
768
+type TempHdLisDialysate struct {
769
+	Sn             string    `gorm:"column:sn" json:"sn" form:"sn"`
770
+	HospitalId     string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
771
+	EquitmentId    int64     `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
772
+	InspectionTime time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
773
+	IsQualified    int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
774
+	InspectedValue int64     `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
775
+	CaseOrder      int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
776
+	UploadFile     string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
777
+	CreateTime     time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
778
+	Sjscsj         time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
779
+	Mj             string    `gorm:"column:mj" json:"mj" form:"mj"`
780
+	Xgbz           int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
781
+	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
782
+	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
783
+}
784
+
785
+func (TempHdLisDialysate) TableName() string {
786
+	return "t_hd_dm_dialysate_en"
787
+}
788
+
789
+type TempHdLisAirDisinfect struct {
790
+	Sn         string `gorm:"column:sn" json:"sn" form:"sn"`
791
+	HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
792
+
793
+	InspectionTime time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
794
+	IsQualified    int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
795
+	InspectedValue string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
796
+	CaseOrder      int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
797
+	UploadFile     string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
798
+	CreateTime     time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
799
+	Sjscsj         time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
800
+	Mj             string    `gorm:"column:mj" json:"mj" form:"mj"`
801
+	Xgbz           int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
802
+	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
803
+	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
804
+}
805
+
806
+func (TempHdLisAirDisinfect) TableName() string {
807
+	return "t_hd_air_disinfect"
808
+}
809
+
810
+type TempHdLisBodyDisinfect struct {
811
+	Sn             string    `gorm:"column:sn" json:"sn" form:"sn"`
812
+	HospitalId     string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
813
+	InspectionTime time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
814
+	IsQualified    int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
815
+	InspectedValue string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
816
+	CaseOrder      int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
817
+	UploadFile     string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
818
+	CreateTime     time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
819
+	UpdateTime     time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
820
+	Sjscsj         time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
821
+	Mj             string    `gorm:"column:mj" json:"mj" form:"mj"`
822
+	Xgbz           int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
823
+	Ylyl1          string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
824
+	Ylyl2          string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
825
+}
826
+
827
+func (TempHdLisBodyDisinfect) TableName() string {
828
+	return "xt_body_detection"
829
+}
830
+
831
+type TempHdLisWaterFc struct {
832
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
833
+	Sn              string    `gorm:"column:sn" json:"sn" form:"sn"`
834
+	EquitmentId     string    `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
835
+	WaterType       int64     `gorm:"column:water_type" json:"water_type" form:"water_type"`
836
+	InspectionOrgId string    `gorm:"column:inspection_org_id" json:"inspection_org_id" form:"inspection_org_id"`
837
+	InspectionTime  time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
838
+	IsQualified     int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
839
+	InspectedValue  string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
840
+	CaseOrder       int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
841
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
842
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
843
+	UploadFile      string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
844
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
845
+	UpdateTime      time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
846
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
847
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
848
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
849
+}
850
+
851
+func (TempHdLisWaterFc) TableName() string {
852
+	return "t_hd_water_fc"
853
+}
854
+
855
+type TempHdLisWaterNc struct {
856
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
857
+	Sn              string    `gorm:"column:sn" json:"sn" form:"sn"`
858
+	EquitmentId     string    `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
859
+	WaterType       int64     `gorm:"column:water_type" json:"water_type" form:"water_type"`
860
+	InspectionOrgId string    `gorm:"column:inspection_org_id" json:"inspection_org_id" form:"inspection_org_id"`
861
+	InspectionTime  time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
862
+	IsQualified     int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
863
+	InspectedValue  string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
864
+	CaseOrder       int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
865
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
866
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
867
+	UploadFile      string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
868
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
869
+	UpdateTime      time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
870
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
871
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
872
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
873
+}
874
+
875
+func (TempHdLisWaterNc) TableName() string {
876
+	return "t_hd_water_nc"
877
+}
878
+
879
+type TempHdLisWaterPh struct {
880
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
881
+	Sn              string    `gorm:"column:sn" json:"sn" form:"sn"`
882
+	EquitmentId     string    `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
883
+	WaterType       int64     `gorm:"column:water_type" json:"water_type" form:"water_type"`
884
+	InspectionOrgId string    `gorm:"column:inspection_org_id" json:"inspection_org_id" form:"inspection_org_id"`
885
+	InspectionTime  time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
886
+	IsQualified     int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
887
+	InspectedValue  string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
888
+	CaseOrder       int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
889
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
890
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
891
+	UploadFile      string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
892
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
893
+	UpdateTime      time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
894
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
895
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
896
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
897
+}
898
+
899
+func (TempHdLisWaterPh) TableName() string {
900
+	return "t_hd_water_ph"
901
+}
902
+
903
+type TempHdLisWaterWh struct {
904
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
905
+	Sn              string    `gorm:"column:sn" json:"sn" form:"sn"`
906
+	EquitmentId     string    `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
907
+	WaterType       int64     `gorm:"column:water_type" json:"water_type" form:"water_type"`
908
+	InspectionOrgId string    `gorm:"column:inspection_org_id" json:"inspection_org_id" form:"inspection_org_id"`
909
+	InspectionTime  time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
910
+	IsQualified     int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
911
+	InspectedValue  string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
912
+	CaseOrder       int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
913
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
914
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
915
+	UploadFile      string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
916
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
917
+	UpdateTime      time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
918
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
919
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
920
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
921
+}
922
+
923
+func (TempHdLisWaterWh) TableName() string {
924
+	return "t_hd_water_wh"
925
+}
926
+
927
+type TempHdCi struct {
928
+	InfectSn      string    `gorm:"column:infect_sn" json:"infect_sn" form:"infect_sn"`
929
+	HospitalId    string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
930
+	PatientNk     string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
931
+	AccessId      string    `gorm:"column:access_id" json:"access_id" form:"access_id"`
932
+	CiType        int64     `gorm:"column:ci_type" json:"ci_type" form:"ci_type"`
933
+	BloodCulture  int64     `gorm:"column:blood_culture" json:"blood_culture" form:"blood_culture"`
934
+	InfectionDate time.Time `gorm:"column:infection_date" json:"infection_date" form:"infection_date"`
935
+	CreateTime    time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
936
+	Xgbz          int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
937
+	Sjscsj        time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
938
+	Mj            string    `gorm:"column:mj" json:"mj" form:"mj"`
939
+	Ylyl1         string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
940
+	Ylyl2         string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
941
+}
942
+
943
+func (TempHdCi) TableName() string {
944
+	return "t_hd_ci"
945
+}
946
+
947
+type TempHdCiOutCome struct {
948
+	Sn           string    `gorm:"column:sn" json:"sn" form:"sn"`
949
+	InfectSn     string    `gorm:"column:infect_sn" json:"infect_sn" form:"infect_sn"`
950
+	PatientNk    string    `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
951
+	HospitalId   string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
952
+	SequelaeType int64     `gorm:"column:sequelae_type" json:"sequelae_type" form:"sequelae_type"`
953
+	Sjscsj       time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
954
+	Mj           string    `gorm:"column:mj" json:"mj" form:"mj"`
955
+	Xgbz         int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
956
+	CreateTime   time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
957
+	UpdateTime   time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
958
+	Ylyl1        string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
959
+	Ylyl2        string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
960
+}
961
+
962
+func (TempHdCiOutCome) TableName() string {
963
+	return "t_hd_ci_outcome"
964
+}
965
+
966
+type TempHdLisWaterBc struct {
967
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
968
+	Sn              string    `gorm:"column:sn" json:"sn" form:"sn"`
969
+	EquitmentId     string    `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
970
+	WaterType       int64     `gorm:"column:water_type" json:"water_type" form:"water_type"`
971
+	InspectionOrgId string    `gorm:"column:inspection_org_id" json:"inspection_org_id" form:"inspection_org_id"`
972
+	InspectionTime  time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
973
+	IsQualified     int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
974
+	InspectedValue  string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
975
+	CaseOrder       int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
976
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
977
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
978
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
979
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
980
+	UploadFile      string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
981
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
982
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
983
+	UpdateTime      time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
984
+}
985
+
986
+func (TempHdLisWaterBc) TableName() string {
987
+	return "t_hd_water_bc"
988
+}
989
+
990
+type TempHdLisWaterEn struct {
991
+	HospitalId      string    `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
992
+	Sn              string    `gorm:"column:sn" json:"sn" form:"sn"`
993
+	EquitmentId     string    `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
994
+	WaterType       int64     `gorm:"column:water_type" json:"water_type" form:"water_type"`
995
+	InspectionOrgId string    `gorm:"column:inspection_org_id" json:"inspection_org_id" form:"inspection_org_id"`
996
+	InspectionTime  time.Time `gorm:"column:inspection_time" json:"inspection_time" form:"inspection_time"`
997
+	IsQualified     int64     `gorm:"column:is_qualified" json:"is_qualified" form:"is_qualified"`
998
+	InspectedValue  string    `gorm:"column:inspected_value" json:"inspected_value" form:"inspected_value"`
999
+	CaseOrder       int64     `gorm:"column:case_order" json:"case_order" form:"case_order"`
1000
+	Sjscsj          time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
1001
+	Xgbz            int64     `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
1002
+	Ylyl1           string    `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
1003
+	Ylyl2           string    `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
1004
+	UploadFile      string    `gorm:"column:upload_file" json:"upload_file" form:"upload_file"`
1005
+	Mj              string    `gorm:"column:mj" json:"mj" form:"mj"`
1006
+	CreateTime      time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
1007
+	UpdateTime      time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
1008
+}
1009
+
1010
+func (TempHdLisWaterEn) TableName() string {
1011
+	return "t_hd_water_en"
1012
+}