123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- 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"`
- }
-
- 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"`
- Status int64 `gorm:"column:status" json:"status"`
- AccumulatedBloodVolume float64 `gorm:"column:accumulated_blood_volume" json:"accumulated_blood_volume" form:"accumulated_blood_volume"`
- UltrafiltrationVolume float64 `gorm:"column:ultrafiltration_volume" json:"ultrafiltration_volume" form:"ultrafiltration_volume"`
- VenousPressure float64 `gorm:"column:venous_pressure" json:"venous_pressure" form:"venous_pressure"`
- ArterialPressure float64 `gorm:"column:arterial_pressure" json:"arterial_pressure" form:"arterial_pressure"`
- BloodOxygenSaturation string `gorm:"column:blood_oxygen_saturation" json:"blood_oxygen_saturation" form:"blood_oxygen_saturation"`
- 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"`
- }
-
- 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"
- }
|