package models type NewVMMonitorDialysisSchedule struct { ID int64 `gorm:"column:id" json:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PartitionId int64 `gorm:"column:partition_id" json:"partition_id"` BedId int64 `gorm:"column:bed_id" json:"bed_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date"` ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type"` ModeId int64 `gorm:"column:mode_id" json:"mode_id"` Status int64 `gorm:"column:status" json:"status"` MonitorPatients *VMMonitorPatients `gorm:"ForeignKey:PatientId" json:"patient"` DeviceNumber *DeviceNumber `gorm:"ForeignKey:BedId" json:"device_number"` DeviceZone *DeviceZone `gorm:"ForeignKey:PartitionId" json:"device_zone"` TreatmentMode *TreatmentMode `gorm:"ForeignKey:ModeId" json:"treatment_mode"` DialysisOrder *VMMonitorDialysisOrder `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"dialysis_order"` Prescription *VMDialysisPrescription `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"prescription"` AssessmentBeforeDislysis *VMPredialysisEvaluation `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"assessment_before_dislysis"` AssessmentAfterDislysis *VMAssessmentAfterDislysis `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"assessment_after_dislysis"` MonitoringRecord []*VMMonitoringRecord `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"monitoring_record"` } func (NewVMMonitorDialysisSchedule) TableName() string { return "xt_schedule" } type VMMonitorPatients struct { ID int64 `gorm:"column:id" json:"id" form:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"` Name string `gorm:"column:name" json:"name" form:"name"` Status int64 `gorm:"column:status" json:"status" form:"status"` DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"` UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"` TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"` } func (VMMonitorPatients) TableName() string { return "xt_patients" } type VMMonitorDialysisOrder struct { ID int64 `gorm:"column:id" json:"id"` DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` BedID int64 `gorm:"column:bed_id" json:"bed_id"` Status int64 `gorm:"column:status" json:"status"` DeviceNumber DeviceNumber `gorm:"ForeignKey:BedId" json:"device_number"` StartTime int64 `gorm:"column:start_time" json:"start_time"` DialysisTotal int64 `gorm:"column:dialysis_total" json:"dialysis_total" form:"dialysis_total"` Url string `gorm:"column:url" json:"url" form:"url"` } func (VMMonitorDialysisOrder) TableName() string { return "xt_dialysis_order" } type VMDialysisPrescription struct { ID int64 `gorm:"column:id" json:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` Status int64 `gorm:"column:status" json:"status"` RecordDate int64 `gorm:"column:record_date" json:"record_date"` TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"` HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"` HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"` PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"` PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"` Epo string `gorm:"column:epo" json:"epo" form:"epo"` EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"` DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"` DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"` PrescriptionWater float64 `gorm:"column:prescription_water" json:"prescription_water" form:"prescription_water"` } func (VMDialysisPrescription) TableName() string { return "xt_dialysis_prescription" } type VMPredialysisEvaluation struct { ID int64 `gorm:"column:id" json:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"` WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before"` WeightBefore float64 `gorm:"column:weight_before" json:"weight_before"` Status int64 `gorm:"column:status" json:"status"` } func (VMPredialysisEvaluation) TableName() string { return "xt_assessment_before_dislysis" } type VMAssessmentAfterDislysis struct { ID int64 `gorm:"column:id" json:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"` WeightAfter float64 `gorm:"column:weight_after" json:"weight_after"` Status int64 `gorm:"column:status" json:"status"` ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration" form:"actual_ultrafiltration"` ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour" form:"actual_treatment_hour"` ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute" form:"actual_treatment_minute"` } func (VMAssessmentAfterDislysis) TableName() string { return "xt_assessment_after_dislysis" } type VMMonitoringRecord struct { ID int64 `gorm:"column:id" json:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` MonitoringDate int64 `gorm:"column:monitoring_date" json:"monitoring_date"` SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"` DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"` MonitorSystolicBloodPressureOne string `gorm:"column:monitor_systolic_blood_pressure_one" json:"monitor_systolic_blood_pressure_one" form:"monitor_systolic_blood_pressure_one"` MonitorDiastolicBloodPressureOne string `gorm:"column:monitor_diastolic_blood_pressure_one" json:"monitor_diastolic_blood_pressure_one" form:"monitor_diastolic_blood_pressure_one"` Status int64 `gorm:"column:status" json:"status"` AccumulatedBloodVolume float64 `gorm:"column:accumulated_blood_volume" json:"accumulated_blood_volume" form:"accumulated_blood_volume"` AccumulatedBloodVolumeOne string `gorm:"column:accumulated_blood_volume_one" json:"accumulated_blood_volume_one" form:"accumulated_blood_volume_one"` UltrafiltrationVolume float64 `gorm:"column:ultrafiltration_volume" json:"ultrafiltration_volume" form:"ultrafiltration_volume"` UltrafiltrationVolumeOne string `gorm:"column:ultrafiltration_volume_one" json:"ultrafiltration_volume_one" form:"ultrafiltration_volume_one"` VenousPressure float64 `gorm:"column:venous_pressure" json:"venous_pressure" form:"venous_pressure"` ArterialPressure float64 `gorm:"column:arterial_pressure" json:"arterial_pressure" form:"arterial_pressure"` VenousPressureOne string `gorm:"column:venous_pressure_one" json:"venous_pressure_one" form:"venous_pressure_one"` ArterialPressureOne string `gorm:"column:arterial_pressure_one" json:"arterial_pressure_one" form:"arterial_pressure_one"` BloodOxygenSaturation string `gorm:"column:blood_oxygen_saturation" json:"blood_oxygen_saturation" form:"blood_oxygen_saturation"` BloodOxygenSaturationOne string `gorm:"column:blood_oxygen_saturation_one" json:"blood_oxygen_saturation_one" form:"blood_oxygen_saturation_one"` Symptom string `gorm:"column:symptom" json:"symptom" form:"symptom"` Dispose string `gorm:"column:dispose" json:"dispose" form:"dispose"` Result string `gorm:"column:result" json:"result" form:"result"` Ktv float64 `gorm:"column:ktv" json:"ktv" form:"ktv"` } func (VMMonitoringRecord) TableName() string { return "xt_monitoring_record" } type NewMonitorDialysisScheduleList struct { ID int64 `gorm:"column:id" json:"id"` UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"` PartitionId int64 `gorm:"column:partition_id" json:"partition_id"` BedId int64 `gorm:"column:bed_id" json:"bed_id"` PatientId int64 `gorm:"column:patient_id" json:"patient_id"` ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date"` ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type"` ModeId int64 `gorm:"column:mode_id" json:"mode_id"` Status int64 `gorm:"column:status" json:"status"` MonitorPatients *VMMonitorPatients `gorm:"ForeignKey:PatientId" json:"patient"` DeviceNumber *DeviceNumber `gorm:"ForeignKey:BedId" json:"device_number"` DeviceZone *DeviceZone `gorm:"ForeignKey:PartitionId" json:"device_zone"` TreatmentMode *TreatmentMode `gorm:"ForeignKey:ModeId" json:"treatment_mode"` DialysisOrder *VMMonitorDialysisOrder `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"dialysis_order"` Prescription *VMDialysisPrescription `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"prescription"` AssessmentBeforeDislysis *VMPredialysisEvaluation `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"assessment_before_dislysis"` AssessmentAfterDislysis *VMAssessmentAfterDislysis `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"assessment_after_dislysis"` MonitoringRecord []*VMMonitoringRecord `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"monitoring_record"` AdviceList []*VMDoctorAdviceForList `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"advice"` DoubleCheck *VmDoubleCheck `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"dobuleCheck"` TreatmentSummaryForList *VMTreatmentSummaryForList `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"treatmentSummary"` NewDeviceInformation *NewDeviceInformation `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"treatmentSummary"` } func (NewMonitorDialysisScheduleList) TableName() string { return "xt_schedule" }