123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321 |
- package models
-
- type Patients 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"`
- UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
- Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
- PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
- DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
- AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
- Source int64 `gorm:"column:source" json:"source" form:"source"`
- Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
- PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
- BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- Alias string `gorm:"column:alias" json:"alias" form:"alias"`
- Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
- Nation string `gorm:"column:nation" json:"nation" form:"nation"`
- NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
- MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
- IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
- Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
- ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
- HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
- HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
- HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
- Height int64 `gorm:"column:height" json:"height" form:"height"`
- BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
- Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
- HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
- EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
- Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
- Phone string `gorm:"column:phone" json:"phone" form:"phone"`
- HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
- RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
- RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
- HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
- WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
- UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
- Children int64 `gorm:"column:children" json:"children" form:"children"`
- ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
- IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
- FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
- FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
- PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
- PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
- PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
- HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
- InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
- InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
- TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
- AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
- HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
- Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
- Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
- Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
- QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
- BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
- PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
- PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
- PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
- Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
- Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
- Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
- SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
- DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- DialysisSolutions []DialysisSolution `json:"solutions" gorm:"foreignkey:PatientId"`
- Age int64 `gorm:"column:age" json:"age"`
- Contagions []InfectiousDiseases `json:"contagions" gorm:"foreignkey:PatientId"`
- Diseases []ChronicDiseases `json:"diseases" gorm:"foreignkey:PatientId"`
- }
-
- func (Patients) TableName() string {
- return "xt_patients"
- }
-
- type ChronicDiseases struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- }
-
- func (ChronicDiseases) TableName() string {
- return "xt_patients_chronic_diseases"
- }
-
- type InfectiousDiseases struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- }
-
- func (InfectiousDiseases) TableName() string {
- return "xt_patients_infectious_diseases"
- }
-
- type DialysisPrescription 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"`
- Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
- MachineType string `gorm:"column:machine_type" json:"machine_type"`
- DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
- PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
- Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
- AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
- AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
- AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
- AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
- AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
- ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
- DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
- ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
- ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
- HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
- BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
- PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
- // DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
- VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
- VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
- BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
- DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
- DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
- Kalium float64 `gorm:"column:kalium" json:"kalium"`
- Sodium float64 `gorm:"column:sodium" json:"sodium"`
- Calcium float64 `gorm:"column:calcium" json:"calcium"`
- Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
- Glucose float64 `gorm:"column:glucose" json:"glucose"`
- DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
- Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
- PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
- Remark string `gorm:"column:remark" json:"remark"`
- Status int64 `gorm:"column:status" json:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
- RecordDate int64 `gorm:"column:record_date" json:"record_date"`
- RecordId int64 `gorm:"column:record_id" json:"record_id"`
- Creater int64 `gorm:"column:creater" json:"creater"`
- Modifier int64 `gorm:"column:modifier" json:"modifier"`
- DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
- DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
- DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
- TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
- DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
- BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
- SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
- SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
- DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
- DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
- BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
- Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
- BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
- Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
- Jms int64 `gorm:"column:jms" json:"jms"`
- FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
- FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
- Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
- DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
- Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
- TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
- Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
- Injector int64 `gorm:"column:injector" json:"injector"`
- Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
- TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
- Package int64 `gorm:"column:package" json:"package"`
- ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
- }
-
- func (DialysisPrescription) TableName() string {
- return "xt_dialysis_prescription"
- }
-
- type DialysisSolution struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Period string `gorm:"column:period" json:"period" form:"period"`
- Times string `gorm:"column:times" json:"times" form:"times"`
- Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
- AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
- AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
- AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
- AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
- AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
- ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
- ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
- DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
- ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
- HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
- BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
- PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
- BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
- Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
- DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
- Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
- DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
- Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
- Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
- Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
- Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
- AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
- UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
- DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
- Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
- BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
- SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
- SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
- DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
- DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
- BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
- Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
- 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"`
- TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
- DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
- Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialysate_formulation"`
- ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
- DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
- BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
- TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
- }
-
- func (DialysisSolution) TableName() string {
- return "xt_dialysis_solution"
- }
-
- type PatientDialysisRecord struct {
- DialysisOrder
-
- ScheduleType int64 `gorm:"-" json:"schedule_type" form:"schedule_type"`
- PartitionId int64 `gorm:"-" json:"partition_id" form:"partition_id"`
- PartitionName string `gorm:"-" json:"partition_name" form:"partition_name"`
- DeviceNumber string `gorm:"-" json:"device_number" form:"device_number"`
-
- // DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordId"`
- // PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:DialysisOrderId"`
- // AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:DialysisOrderId"`
- // TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:DialysisOrderId"`
-
- DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordDate;AssociationForeignKey:DialysisDate;"`
- PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
- AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
- TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
- }
-
- type DialysisPrescriptionAddtional struct {
- DialysisPrescription
-
- }
-
- type PatientDiseaseCourse struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
- RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
- Content string `gorm:"column:content" json:"content" form:"content"`
- Status int64 `gorm:"column:status" json:"-" form:"-"`
- CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
- ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
- Title string `gorm:"column:title" json:"title"`
- }
-
- func (PatientDiseaseCourse) TableName() string {
- return "xt_patient_course_of_disease"
- }
-
- type PatientRescueRecord struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
- RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
- Content string `gorm:"column:content" json:"content" form:"content"`
- Status int64 `gorm:"column:status" json:"-" form:"-"`
- CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
- ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
- }
-
- func (PatientRescueRecord) TableName() string {
- return "xt_patient_rescue_record"
- }
-
- type PatientLapseto struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- LapsetoType int64 `gorm:"column:lapseto_type" json:"lapseto_type" form:"lapseto_type"`
- LapsetoTime int64 `gorm:"column:lapseto_time" json:"lapseto_time" form:"lapseto_time"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- }
-
- func (PatientLapseto) TableName() string {
- return "xt_patient_lapseto"
- }
|