|
@@ -1038,46 +1038,137 @@ func (ExportLog) TableName() string {
|
1038
|
1038
|
}
|
1039
|
1039
|
|
1040
|
1040
|
type XtTemplateSummary struct {
|
1041
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
1042
|
|
- StartYear int64 `gorm:"column:start_year" json:"start_year" form:"start_year"`
|
1043
|
|
- StartMonth int64 `gorm:"column:start_month" json:"start_month" form:"start_month"`
|
1044
|
|
- Radio int64 `gorm:"column:radio" json:"radio" form:"radio"`
|
1045
|
|
- Quarter int64 `gorm:"column:quarter" json:"quarter" form:"quarter"`
|
1046
|
|
- DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
|
1047
|
|
- DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
|
1048
|
|
- HdCount int64 `gorm:"column:hd_count" json:"hd_count" form:"hd_count"`
|
1049
|
|
- HdfCount int64 `gorm:"column:hdf_count" json:"hdf_count" form:"hdf_count"`
|
1050
|
|
- HpCount int64 `gorm:"column:hp_count" json:"hp_count" form:"hp_count"`
|
1051
|
|
- OtherCount int64 `gorm:"column:other_count" json:"other_count" form:"other_count"`
|
1052
|
|
- DialzerApparatus string `gorm:"column:dialzer_apparatus" json:"dialzer_apparatus" form:"dialzer_apparatus"`
|
1053
|
|
- PerfusionApparatus string `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
|
1054
|
|
- Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
|
1055
|
|
- Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
|
1056
|
|
- Autunite float64 `gorm:"column:autunite" json:"autunite" form:"autunite"`
|
1057
|
|
- Natrium float64 `gorm:"column:natrium" json:"natrium" form:"natrium"`
|
1058
|
|
- Hour int64 `gorm:"column:hour" json:"hour" form:"hour"`
|
1059
|
|
- Minute int64 `gorm:"column:minute" json:"minute" form:"minute"`
|
1060
|
|
- BeforWeight float64 `gorm:"column:befor_weight" json:"befor_weight" form:"befor_weight"`
|
1061
|
|
- AfterWeight float64 `gorm:"column:after_weight" json:"after_weight" form:"after_weight"`
|
1062
|
|
- BeforPressure string `gorm:"column:befor_pressure" json:"befor_pressure" form:"befor_pressure"`
|
1063
|
|
- AfterPressure string `gorm:"column:after_pressure" json:"after_pressure" form:"after_pressure"`
|
1064
|
|
- TemplateSummaryId int64 `gorm:"column:template_summary_id" json:"template_summary_id" form:"template_summary_id"`
|
1065
|
|
- TemplateSummaryContent string `gorm:"column:template_summary_content" json:"template_summary_content" form:"template_summary_content"`
|
1066
|
|
- TemplatePlanId int64 `gorm:"column:template_plan_id" json:"template_plan_id" form:"template_plan_id"`
|
1067
|
|
- TemplatePlanContent string `gorm:"column:template_plan_content" json:"template_plan_content" form:"template_plan_content"`
|
1068
|
|
- TemplateInspectionId int64 `gorm:"column:template_inspection_id" json:"template_inspection_id" form:"template_inspection_id"`
|
1069
|
|
- TemplateInspectionContent string `gorm:"column:template_inspection_content" json:"template_inspection_content" form:"template_inspection_content"`
|
1070
|
|
- AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
|
1071
|
|
- RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
|
1072
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
1073
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
1074
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
1075
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
1076
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
1077
|
|
- Title string `gorm:"column:title" json:"title" form:"title"`
|
1078
|
|
- //Patients models.Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
|
1041
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1042
|
+ StartYear int64 `gorm:"column:start_year" json:"start_year" form:"start_year"`
|
|
1043
|
+ StartMonth int64 `gorm:"column:start_month" json:"start_month" form:"start_month"`
|
|
1044
|
+ Radio int64 `gorm:"column:radio" json:"radio" form:"radio"`
|
|
1045
|
+ Quarter int64 `gorm:"column:quarter" json:"quarter" form:"quarter"`
|
|
1046
|
+ DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
|
|
1047
|
+ DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
|
|
1048
|
+ HdCount int64 `gorm:"column:hd_count" json:"hd_count" form:"hd_count"`
|
|
1049
|
+ HdfCount int64 `gorm:"column:hdf_count" json:"hdf_count" form:"hdf_count"`
|
|
1050
|
+ HpCount int64 `gorm:"column:hp_count" json:"hp_count" form:"hp_count"`
|
|
1051
|
+ OtherCount int64 `gorm:"column:other_count" json:"other_count" form:"other_count"`
|
|
1052
|
+ DialzerApparatus string `gorm:"column:dialzer_apparatus" json:"dialzer_apparatus" form:"dialzer_apparatus"`
|
|
1053
|
+ PerfusionApparatus string `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
|
|
1054
|
+ Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
|
|
1055
|
+ Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
|
|
1056
|
+ Autunite float64 `gorm:"column:autunite" json:"autunite" form:"autunite"`
|
|
1057
|
+ Natrium float64 `gorm:"column:natrium" json:"natrium" form:"natrium"`
|
|
1058
|
+ Hour int64 `gorm:"column:hour" json:"hour" form:"hour"`
|
|
1059
|
+ Minute int64 `gorm:"column:minute" json:"minute" form:"minute"`
|
|
1060
|
+ BeforWeight float64 `gorm:"column:befor_weight" json:"befor_weight" form:"befor_weight"`
|
|
1061
|
+ AfterWeight float64 `gorm:"column:after_weight" json:"after_weight" form:"after_weight"`
|
|
1062
|
+ BeforPressure string `gorm:"column:befor_pressure" json:"befor_pressure" form:"befor_pressure"`
|
|
1063
|
+ AfterPressure string `gorm:"column:after_pressure" json:"after_pressure" form:"after_pressure"`
|
|
1064
|
+ TemplateSummaryId int64 `gorm:"column:template_summary_id" json:"template_summary_id" form:"template_summary_id"`
|
|
1065
|
+ TemplateSummaryContent string `gorm:"column:template_summary_content" json:"template_summary_content" form:"template_summary_content"`
|
|
1066
|
+ TemplatePlanId int64 `gorm:"column:template_plan_id" json:"template_plan_id" form:"template_plan_id"`
|
|
1067
|
+ TemplatePlanContent string `gorm:"column:template_plan_content" json:"template_plan_content" form:"template_plan_content"`
|
|
1068
|
+ TemplateInspectionId int64 `gorm:"column:template_inspection_id" json:"template_inspection_id" form:"template_inspection_id"`
|
|
1069
|
+ TemplateInspectionContent string `gorm:"column:template_inspection_content" json:"template_inspection_content" form:"template_inspection_content"`
|
|
1070
|
+ AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
|
|
1071
|
+ RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
|
|
1072
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
1073
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1074
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1075
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1076
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1077
|
+ Title string `gorm:"column:title" json:"title" form:"title"`
|
|
1078
|
+ Patients VmPatients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
|
1079
|
1079
|
}
|
1080
|
1080
|
|
1081
|
1081
|
func (XtTemplateSummary) TableName() string {
|
1082
|
1082
|
return "xt_template_summary"
|
1083
|
1083
|
}
|
|
1084
|
+
|
|
1085
|
+type VmPatients struct {
|
|
1086
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1087
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
1088
|
+ UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
|
|
1089
|
+ Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
|
|
1090
|
+ PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
|
|
1091
|
+ DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
|
|
1092
|
+ AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
|
|
1093
|
+ Source int64 `gorm:"column:source" json:"source" form:"source"`
|
|
1094
|
+ Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
|
|
1095
|
+ PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
|
|
1096
|
+ BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
|
|
1097
|
+ Name string `gorm:"column:name" json:"name" form:"name"`
|
|
1098
|
+ Alias string `gorm:"column:alias" json:"alias" form:"alias"`
|
|
1099
|
+ Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
|
|
1100
|
+ MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
|
|
1101
|
+ IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
|
|
1102
|
+ Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
|
|
1103
|
+ ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
|
|
1104
|
+ HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
|
|
1105
|
+ HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
|
|
1106
|
+ HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
|
|
1107
|
+ Height int64 `gorm:"column:height" json:"height" form:"height"`
|
|
1108
|
+ BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
|
|
1109
|
+ Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
|
|
1110
|
+ HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
|
|
1111
|
+ EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
|
|
1112
|
+ Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
|
|
1113
|
+ Phone string `gorm:"column:phone" json:"phone" form:"phone"`
|
|
1114
|
+ HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
|
|
1115
|
+ RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
|
|
1116
|
+ RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
|
|
1117
|
+ HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
|
|
1118
|
+ WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
|
|
1119
|
+ UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
|
|
1120
|
+ Children int64 `gorm:"column:children" json:"children" form:"children"`
|
|
1121
|
+ ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
|
|
1122
|
+ IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
|
|
1123
|
+ FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
|
|
1124
|
+ FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
|
|
1125
|
+ PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
|
|
1126
|
+ PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
|
|
1127
|
+ PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
|
|
1128
|
+ HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
|
|
1129
|
+ InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
|
|
1130
|
+ InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
|
|
1131
|
+ TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
|
|
1132
|
+ AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
|
|
1133
|
+ HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
|
|
1134
|
+ Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
|
|
1135
|
+ Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
|
|
1136
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
1137
|
+ RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
|
|
1138
|
+ Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
|
|
1139
|
+ QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
|
|
1140
|
+ BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
|
|
1141
|
+ PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
|
|
1142
|
+ PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
|
|
1143
|
+ PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
|
|
1144
|
+ Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
|
|
1145
|
+ Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
|
|
1146
|
+ Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
|
|
1147
|
+ Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
|
|
1148
|
+ Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
|
|
1149
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1150
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
1151
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
1152
|
+ Nation string `gorm:"column:nation" json:"nation" form:"nation"`
|
|
1153
|
+ NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
|
|
1154
|
+ Age int64 `gorm:"column:age" json:"age" form:"age"`
|
|
1155
|
+ InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
|
|
1156
|
+ IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
|
|
1157
|
+ IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
|
|
1158
|
+ RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
|
|
1159
|
+ ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
|
|
1160
|
+ FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
|
|
1161
|
+ DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
|
|
1162
|
+ ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
|
|
1163
|
+ TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
|
|
1164
|
+ ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
|
|
1165
|
+ UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
|
|
1166
|
+ IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
|
|
1167
|
+ SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
|
|
1168
|
+ OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
|
|
1169
|
+ DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
|
|
1170
|
+}
|
|
1171
|
+
|
|
1172
|
+func (VmPatients) TableName() string {
|
|
1173
|
+ return "xt_patients"
|
|
1174
|
+}
|