fuction_query_models.go 48KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. package function_models
  2. type XtPatients struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  5. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  6. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  7. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  8. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  9. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  10. Source int64 `gorm:"column:source" json:"source" form:"source"`
  11. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  12. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  13. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  14. Name string `gorm:"column:name" json:"name" form:"name"`
  15. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  16. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  17. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  18. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  19. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  20. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  21. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  22. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  23. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  24. Height int64 `gorm:"column:height" json:"height" form:"height"`
  25. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  26. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  27. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  28. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  29. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  30. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  31. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  32. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  33. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  34. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  35. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  36. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  37. Children int64 `gorm:"column:children" json:"children" form:"children"`
  38. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  39. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  40. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  41. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  42. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  43. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  44. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  45. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  46. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  47. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  48. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  49. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  50. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  51. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  52. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  53. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  54. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  55. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  56. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  57. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  58. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  59. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  60. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  61. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  62. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  63. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  64. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  65. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  66. Status int64 `gorm:"column:status" json:"status" form:"status"`
  67. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  68. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  69. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  70. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  71. Age int64 `gorm:"column:age" json:"age" form:"age"`
  72. }
  73. func (XtPatients) TableName() string {
  74. return "xt_patients"
  75. }
  76. type XtDialysisPrescription struct {
  77. ID int64 `gorm:"column:id" json:"id" form:"id"`
  78. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  79. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  80. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  81. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  82. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  83. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  84. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  85. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  86. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  87. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  88. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  89. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  90. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  91. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  92. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  93. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  94. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  95. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  96. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  97. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  98. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  99. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  100. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  101. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  102. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  103. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  104. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  105. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  106. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  107. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  108. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  109. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  110. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  111. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  112. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  113. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  114. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  115. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  116. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  117. Status int64 `gorm:"column:status" json:"status" form:"status"`
  118. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  119. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  120. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  121. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  122. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  123. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  124. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  125. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  126. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  127. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  128. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  129. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  130. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  131. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  132. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  133. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  134. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  135. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  136. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  137. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  138. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  139. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  140. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  141. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  142. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  143. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  144. Package int64 `gorm:"column:package" json:"package" form:"package"`
  145. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  146. }
  147. func (XtDialysisPrescription) TableName() string {
  148. return "xt_dialysis_prescription"
  149. }
  150. type XtReceiveTreatmentAsses struct {
  151. ID int64 `gorm:"column:id" json:"id" form:"id"`
  152. Way int64 `gorm:"column:way" json:"way" form:"way"`
  153. Consciousness int64 `gorm:"column:consciousness" json:"consciousness" form:"consciousness"`
  154. Appetite int64 `gorm:"column:appetite" json:"appetite" form:"appetite"`
  155. Condition int64 `gorm:"column:condition" json:"condition" form:"condition"`
  156. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  157. Posture int64 `gorm:"column:posture" json:"posture" form:"posture"`
  158. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  159. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  160. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  161. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  162. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  163. Status int64 `gorm:"column:status" json:"status" form:"status"`
  164. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  165. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  166. SickCondition int64 `gorm:"column:sick_condition" json:"sick_condition" form:"sick_condition"`
  167. SickConditionOther string `gorm:"column:sick_condition_other" json:"sick_condition_other" form:"sick_condition_other"`
  168. DangerLevel int64 `gorm:"column:danger_level" json:"danger_level" form:"danger_level"`
  169. Intake int64 `gorm:"column:intake" json:"intake" form:"intake"`
  170. Nutrition int64 `gorm:"column:nutrition" json:"nutrition" form:"nutrition"`
  171. PsychologicalAssessment int64 `gorm:"column:psychological_assessment" json:"psychological_assessment" form:"psychological_assessment"`
  172. PsychologicalAssessmentOther string `gorm:"column:psychological_assessment_other" json:"psychological_assessment_other" form:"psychological_assessment_other"`
  173. IsPrecaution int64 `gorm:"column:is_precaution" json:"is_precaution" form:"is_precaution"`
  174. Score string `gorm:"column:score" json:"score" form:"score"`
  175. Precaution int64 `gorm:"column:precaution" json:"precaution" form:"precaution"`
  176. PrecautionOther string `gorm:"column:precaution_other" json:"precaution_other" form:"precaution_other"`
  177. PsychologicalOther string `gorm:"column:psychological_other" json:"psychological_other" form:"psychological_other"`
  178. }
  179. func (XtReceiveTreatmentAsses) TableName() string {
  180. return "xt_receive_treatement_asses"
  181. }
  182. type XtAssessmentBeforeDislysis struct {
  183. ID int64 `gorm:"column:id" json:"id" form:"id"`
  184. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  185. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  186. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  187. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  188. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  189. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency" form:"pulse_frequency"`
  190. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate" form:"breathing_rate"`
  191. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure" form:"systolic_blood_pressure"`
  192. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure" form:"diastolic_blood_pressure"`
  193. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type" form:"blood_pressure_type"`
  194. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  195. WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency" form:"weight_after_last_transparency"`
  196. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way" form:"weighing_way"`
  197. WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before" form:"weighing_before"`
  198. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight" form:"additional_weight"`
  199. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before" form:"weight_before"`
  200. WeightGain float64 `gorm:"column:weight_gain" json:"weight_gain" form:"weight_gain"`
  201. PreloadedDewatering float64 `gorm:"column:preloaded_dewatering" json:"preloaded_dewatering" form:"preloaded_dewatering"`
  202. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount" form:"ultrafiltration_amount"`
  203. DialysisInterphase string `gorm:"column:dialysis_interphase" json:"dialysis_interphase" form:"dialysis_interphase"`
  204. LastPostDialysis string `gorm:"column:last_post_dialysis" json:"last_post_dialysis" form:"last_post_dialysis"`
  205. SymptomBeforeDialysis string `gorm:"column:symptom_before_dialysis" json:"symptom_before_dialysis" form:"symptom_before_dialysis"`
  206. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula" form:"internal_fistula"`
  207. InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin" form:"internal_fistula_skin"`
  208. CatheterBend int64 `gorm:"column:catheter_bend" json:"catheter_bend" form:"catheter_bend"`
  209. Catheter string `gorm:"column:catheter" json:"catheter" form:"catheter"`
  210. Complication string `gorm:"column:complication" json:"complication" form:"complication"`
  211. Evaluator int64 `gorm:"column:evaluator" json:"evaluator" form:"evaluator"`
  212. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  213. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  214. Status int64 `gorm:"column:status" json:"status" form:"status"`
  215. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  216. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  217. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  218. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  219. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  220. IsHemorrhage int64 `gorm:"column:is_hemorrhage" json:"is_hemorrhage" form:"is_hemorrhage"`
  221. Hemorrhage string `gorm:"column:hemorrhage" json:"hemorrhage" form:"hemorrhage"`
  222. HemorrhageOther string `gorm:"column:hemorrhage_other" json:"hemorrhage_other" form:"hemorrhage_other"`
  223. PunctureMethod string `gorm:"column:puncture_method" json:"puncture_method" form:"puncture_method"`
  224. BloodAccessInternalFistula string `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula" form:"blood_access_internal_fistula"`
  225. InternalFistulaOther string `gorm:"column:internal_fistula_other" json:"internal_fistula_other" form:"internal_fistula_other"`
  226. BloodAccessNoise int64 `gorm:"column:blood_access_noise" json:"blood_access_noise" form:"blood_access_noise"`
  227. PunctureWay int64 `gorm:"column:puncture_way" json:"puncture_way" form:"puncture_way"`
  228. VenousCatheterization int64 `gorm:"column:venous_catheterization" json:"venous_catheterization" form:"venous_catheterization"`
  229. VenousCatheterizationPart int64 `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part" form:"venous_catheterization_part"`
  230. VenousCatheterizationPartOther string `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other" form:"venous_catheterization_part_other"`
  231. DuctusArantii string `gorm:"column:ductus_arantii" json:"ductus_arantii" form:"ductus_arantii"`
  232. EmergencyTreatment int64 `gorm:"column:emergency_treatment" json:"emergency_treatment" form:"emergency_treatment"`
  233. EmergencyTreatmentOther string `gorm:"column:emergency_treatment_other" json:"emergency_treatment_other" form:"emergency_treatment_other"`
  234. DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
  235. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor" form:"assessment_doctor"`
  236. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time" form:"assessment_time"`
  237. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  238. IsInfect int64 `gorm:"column:is_infect" json:"is_infect" form:"is_infect"`
  239. Exposed float64 `gorm:"column:exposed" json:"exposed" form:"exposed"`
  240. Skin int64 `gorm:"column:skin" json:"skin" form:"skin"`
  241. SkinOther string `gorm:"column:skin_other" json:"skin_other" form:"skin_other"`
  242. InfectOther string `gorm:"column:infect_other" json:"infect_other" form:"infect_other"`
  243. DuctusArantiiOther string `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other" form:"ductus_arantii_other"`
  244. }
  245. func (XtAssessmentBeforeDislysis) TableName() string {
  246. return "xt_assessment_before_dislysis"
  247. }
  248. type DoctorAdvice struct {
  249. ID int64 `gorm:"column:id" json:"id" form:"id"`
  250. GroupNo int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  251. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  252. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  253. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  254. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  255. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  256. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  257. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  258. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  259. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  260. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  261. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  262. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  263. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  264. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  265. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  266. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  267. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  268. Status int64 `gorm:"column:status" json:"status" form:"status"`
  269. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  270. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  271. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  272. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  273. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  274. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  275. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  276. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  277. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  278. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  279. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  280. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  281. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  282. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  283. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  284. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  285. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  286. AdviceId int64 `gorm:"-"`
  287. }
  288. func (DoctorAdvice) TableName() string {
  289. return "xt_doctor_advice"
  290. }
  291. type DoubleCheck struct {
  292. ID int64 `gorm:"column:id" json:"id"`
  293. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  294. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  295. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  296. CheckDate int64 `gorm:"column:check_date" json:"check_date"`
  297. DialysisItemCheck int64 `gorm:"column:dialysis_item_check" json:"dialysis_item_check"`
  298. DialysisItemDesc string `gorm:"column:dialysis_item_desc" json:"dialysis_item_desc"`
  299. DialysisParameterCheck int64 `gorm:"column:dialysis_parameter_check" json:"dialysis_parameter_check"`
  300. DialysisParameterDesc string `gorm:"column:dialysis_parameter_desc" json:"dialysis_parameter_desc"`
  301. VascularAccessVerification int64 `gorm:"column:vascular_access_verification" json:"vascular_access_verification"`
  302. VascularAccessDesc string `gorm:"column:vascular_access_desc" json:"vascular_access_desc"`
  303. PipelineConnectionCheck int64 `gorm:"column:pipeline_connection_check" json:"pipeline_connection_check"`
  304. PipelineConnectionDesc string `gorm:"column:pipeline_connection_desc" json:"pipeline_connection_desc"`
  305. Collator int64 `gorm:"column:collator" json:"collator"`
  306. Status int64 `gorm:"column:status" json:"status"`
  307. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  308. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  309. Creater int64 `gorm:"column:creater" json:"creater"`
  310. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  311. CheckTime int64 `gorm:"column:check_time" json:"check_time"`
  312. FirstCheckTime int64 `gorm:"column:first_check_time" json:"first_check_time"`
  313. }
  314. func (DoubleCheck) TableName() string {
  315. return "xt_double_check"
  316. }
  317. type DialysisOrder struct {
  318. ID int64 `gorm:"column:id" json:"id"`
  319. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  320. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  321. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  322. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
  323. Stage int64 `gorm:"column:stage" json:"stage"`
  324. Remark string `gorm:"column:remark" json:"remark"`
  325. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  326. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  327. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse"`
  328. Status int64 `gorm:"column:status" json:"status"`
  329. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  330. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  331. StartTime int64 `gorm:"column:start_time" json:"start_time"`
  332. EndTime int64 `gorm:"column:end_time" json:"end_time"`
  333. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse"`
  334. Creator int64 `gorm:"column:creator" json:"creator"`
  335. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  336. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator"`
  337. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier"`
  338. }
  339. func (DialysisOrder) TableName() string {
  340. return "xt_dialysis_order"
  341. }
  342. type SgjUserOrg struct {
  343. ID int64 `gorm:"column:id" json:"id" form:"id"`
  344. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  345. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  346. OrgShortName string `gorm:"column:org_short_name" json:"org_short_name" form:"org_short_name"`
  347. OrgLogo string `gorm:"column:org_logo" json:"org_logo" form:"org_logo"`
  348. OrgIntroduction string `gorm:"column:org_introduction" json:"org_introduction" form:"org_introduction"`
  349. Illness string `gorm:"column:illness" json:"illness" form:"illness"`
  350. Province int64 `gorm:"column:province" json:"province" form:"province"`
  351. City int64 `gorm:"column:city" json:"city" form:"city"`
  352. District int64 `gorm:"column:district" json:"district" form:"district"`
  353. Address string `gorm:"column:address" json:"address" form:"address"`
  354. Longitude string `gorm:"column:longitude" json:"longitude" form:"longitude"`
  355. Latitude string `gorm:"column:latitude" json:"latitude" form:"latitude"`
  356. OrgType int64 `gorm:"column:org_type" json:"org_type" form:"org_type"`
  357. Comments int64 `gorm:"column:comments" json:"comments" form:"comments"`
  358. Evaluate float64 `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  359. Gallery string `gorm:"column:gallery" json:"gallery" form:"gallery"`
  360. BusinessWeek string `gorm:"column:business_week" json:"business_week" form:"business_week"`
  361. BusinessTime string `gorm:"column:business_time" json:"business_time" form:"business_time"`
  362. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  363. Telephone string `gorm:"column:telephone" json:"telephone" form:"telephone"`
  364. Claim int64 `gorm:"column:claim" json:"claim" form:"claim"`
  365. OperatingState int64 `gorm:"column:operating_state" json:"operating_state" form:"operating_state"`
  366. Status int64 `gorm:"column:status" json:"status" form:"status"`
  367. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  368. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  369. Source int64 `gorm:"column:source" json:"source" form:"source"`
  370. Ttype int64 `gorm:"column:ttype" json:"ttype" form:"ttype"`
  371. Ttid int64 `gorm:"column:ttid" json:"ttid" form:"ttid"`
  372. Tuid int64 `gorm:"column:tuid" json:"tuid" form:"tuid"`
  373. Reason string `gorm:"column:reason" json:"reason" form:"reason"`
  374. Level int64 `gorm:"column:level" json:"level" form:"level"`
  375. Website string `gorm:"column:website" json:"website" form:"website"`
  376. Import int64 `gorm:"column:import" json:"import" form:"import"`
  377. Sortno int64 `gorm:"column:sortno" json:"sortno" form:"sortno"`
  378. //XtPatients []XtPatients `gorm:"ForeignKey:UserOrgId"`
  379. }
  380. func (SgjUserOrg) TableName() string {
  381. return "sgj_user_org"
  382. }
  383. type MonitoringRecord struct {
  384. ID int64 `gorm:"column:id" json:"id"`
  385. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  386. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  387. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  388. MonitoringDate int64 `gorm:"column:monitoring_date" json:"monitoring_date"`
  389. OperateTime int64 `gorm:"column:operate_time" json:"operate_time"`
  390. MonitoringTime string `gorm:"column:monitoring_time" json:"monitoring_time"`
  391. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  392. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  393. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  394. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  395. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  396. Pic string `gorm:"column:pic" json:"pic"`
  397. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  398. VenousPressure float64 `gorm:"column:venous_pressure" json:"venous_pressure"`
  399. VenousPressureUnit string `gorm:"column:venous_pressure_unit" json:"venous_pressure_unit"`
  400. ArterialPressure float64 `gorm:"column:arterial_pressure" json:"arterial_pressure"`
  401. TransmembranePressure float64 `gorm:"column:transmembrane_pressure" json:"transmembrane_pressure"`
  402. TransmembranePressureUnit string `gorm:"column:transmembrane_pressure_unit" json:"transmembrane_pressure_unit"`
  403. UltrafiltrationRate float64 `gorm:"column:ultrafiltration_rate" json:"ultrafiltration_rate"`
  404. UltrafiltrationVolume float64 `gorm:"column:ultrafiltration_volume" json:"ultrafiltration_volume"`
  405. SodiumConcentration float64 `gorm:"column:sodium_concentration" json:"sodium_concentration"`
  406. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  407. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  408. ReplacementRate float64 `gorm:"column:replacement_rate" json:"replacement_rate"`
  409. DisplacementQuantity float64 `gorm:"column:displacement_quantity" json:"displacement_quantity"`
  410. Ktv float64 `gorm:"column:ktv" json:"ktv"`
  411. Symptom string `gorm:"column:symptom" json:"symptom"`
  412. Dispose string `gorm:"column:dispose" json:"dispose"`
  413. Result string `gorm:"column:result" json:"result"`
  414. MonitoringNurse int64 `gorm:"column:monitoring_nurse" json:"monitoring_nurse"`
  415. Status int64 `gorm:"column:status" json:"status"`
  416. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  417. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  418. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  419. DisplacementFlowQuantity float64 `gorm:"column:displacement_flow_quantity" json:"displacement_flow_quantity"`
  420. }
  421. func (MonitoringRecord) TableName() string {
  422. return "xt_monitoring_record"
  423. }
  424. type XtAssessmentAfterDislysis struct {
  425. ID int64 `gorm:"column:id" json:"id" form:"id"`
  426. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  427. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  428. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  429. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  430. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  431. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency" form:"pulse_frequency"`
  432. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate" form:"breathing_rate"`
  433. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure" form:"systolic_blood_pressure"`
  434. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure" form:"diastolic_blood_pressure"`
  435. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type" form:"blood_pressure_type"`
  436. ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration" form:"actual_ultrafiltration"`
  437. ActualDisplacement float64 `gorm:"column:actual_displacement" json:"actual_displacement" form:"actual_displacement"`
  438. ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour" form:"actual_treatment_hour"`
  439. ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute" form:"actual_treatment_minute"`
  440. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way" form:"weighing_way"`
  441. WeightAfter float64 `gorm:"column:weight_after" json:"weight_after" form:"weight_after"`
  442. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  443. Cruor string `gorm:"column:cruor" json:"cruor" form:"cruor"`
  444. SymptomAfterDialysis string `gorm:"column:symptom_after_dialysis" json:"symptom_after_dialysis" form:"symptom_after_dialysis"`
  445. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula" form:"internal_fistula"`
  446. Catheter string `gorm:"column:catheter" json:"catheter" form:"catheter"`
  447. Complication string `gorm:"column:complication" json:"complication" form:"complication"`
  448. Evaluator int64 `gorm:"column:evaluator" json:"evaluator" form:"evaluator"`
  449. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  450. DialysisIntakes int64 `gorm:"column:dialysis_intakes" json:"dialysis_intakes" form:"dialysis_intakes"`
  451. DialysisIntakesFeed int64 `gorm:"column:dialysis_intakes_feed" json:"dialysis_intakes_feed" form:"dialysis_intakes_feed"`
  452. DialysisIntakesTransfusion int64 `gorm:"column:dialysis_intakes_transfusion" json:"dialysis_intakes_transfusion" form:"dialysis_intakes_transfusion"`
  453. DialysisIntakesBloodTransfusion int64 `gorm:"column:dialysis_intakes_blood_transfusion" json:"dialysis_intakes_blood_transfusion" form:"dialysis_intakes_blood_transfusion"`
  454. DialysisIntakesWashpipe int64 `gorm:"column:dialysis_intakes_washpipe" json:"dialysis_intakes_washpipe" form:"dialysis_intakes_washpipe"`
  455. Status int64 `gorm:"column:status" json:"status" form:"status"`
  456. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  457. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  458. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  459. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  460. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  461. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  462. PuncturePointOozingBlood int64 `gorm:"column:puncture_point_oozing_blood" json:"puncture_point_oozing_blood" form:"puncture_point_oozing_blood"`
  463. PuncturePointHaematoma int64 `gorm:"column:puncture_point_haematoma" json:"puncture_point_haematoma" form:"puncture_point_haematoma"`
  464. InternalFistulaTremorAc int64 `gorm:"column:internal_fistula_tremor_ac" json:"internal_fistula_tremor_ac" form:"internal_fistula_tremor_ac"`
  465. PatientGose int64 `gorm:"column:patient_gose" json:"patient_gose" form:"patient_gose"`
  466. InpatientDepartment string `gorm:"column:inpatient_department" json:"inpatient_department" form:"inpatient_department"`
  467. ObservationContent string `gorm:"column:observation_content" json:"observation_content" form:"observation_content"`
  468. ObservationContentOther string `gorm:"column:observation_content_other" json:"observation_content_other" form:"observation_content_other"`
  469. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  470. DialysisProcess int64 `gorm:"column:dialysis_process" json:"dialysis_process" form:"dialysis_process"`
  471. InAdvanceMinute float64 `gorm:"column:in_advance_minute" json:"in_advance_minute" form:"in_advance_minute"`
  472. InAdvanceReason string `gorm:"column:in_advance_reason" json:"in_advance_reason" form:"in_advance_reason"`
  473. HemostasisMinute int64 `gorm:"column:hemostasis_minute" json:"hemostasis_minute" form:"hemostasis_minute"`
  474. HemostasisOpera int64 `gorm:"column:hemostasis_opera" json:"hemostasis_opera" form:"hemostasis_opera"`
  475. TremorNoise int64 `gorm:"column:tremor_noise" json:"tremor_noise" form:"tremor_noise"`
  476. DisequilibriumSyndrome int64 `gorm:"column:disequilibrium_syndrome" json:"disequilibrium_syndrome" form:"disequilibrium_syndrome"`
  477. DisequilibriumSyndromeOption string `gorm:"column:disequilibrium_syndrome_option" json:"disequilibrium_syndrome_option" form:"disequilibrium_syndrome_option"`
  478. ArterialTube int64 `gorm:"column:arterial_tube" json:"arterial_tube" form:"arterial_tube"`
  479. IntravenousTube int64 `gorm:"column:intravenous_tube" json:"intravenous_tube" form:"intravenous_tube"`
  480. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  481. InAdvanceReasonOther string `gorm:"column:in_advance_reason_other" json:"in_advance_reason_other" form:"in_advance_reason_other"`
  482. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor" form:"assessment_doctor"`
  483. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time" form:"assessment_time"`
  484. IsEat int64 `gorm:"column:is_eat" json:"is_eat" form:"is_eat"`
  485. }
  486. func (XtAssessmentAfterDislysis) TableName() string {
  487. return "xt_assessment_after_dislysis"
  488. }
  489. type PatientInfo struct {
  490. ID int64
  491. OrgName string
  492. AdminName string
  493. Ctime string
  494. Address string
  495. ContactName string
  496. OrgType int64
  497. Namepath string
  498. }
  499. type SgjUserAdminLoginLog struct {
  500. ID int64 `gorm:"column:id" json:"id" form:"id"`
  501. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  502. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  503. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  504. Ip string `gorm:"column:ip" json:"ip" form:"ip"`
  505. OperateType int64 `gorm:"column:operate_type" json:"operate_type" form:"operate_type"`
  506. AppType int64 `gorm:"column:app_type" json:"app_type" form:"app_type"`
  507. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  508. }
  509. func (SgjUserAdminLoginLog) TableName() string {
  510. return "sgj_user_admin_login_log "
  511. }
  512. type Logout struct {
  513. Ctime int64
  514. }
  515. type SgjOrgFollow struct {
  516. ID int64 `gorm:"column:id" json:"id" form:"id"`
  517. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  518. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  519. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  520. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  521. Status int64 `gorm:"column:status" json:"status" form:"status"`
  522. }
  523. func (SgjOrgFollow) TableName() string {
  524. return "sgj_org_follow"
  525. }
  526. type SgjAdmin struct {
  527. ID int64 `gorm:"column:id" json:"id" form:"id"`
  528. Account string `gorm:"column:account" json:"account" form:"account"`
  529. Pwd string `gorm:"column:pwd" json:"pwd" form:"pwd"`
  530. Status int64 `gorm:"column:status" json:"status" form:"status"`
  531. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  532. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  533. IsSuperAdmin int64 `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
  534. Name string `gorm:"column:name" json:"name" form:"name"`
  535. }
  536. func (SgjAdmin) TableName() string {
  537. return "sgj_admin"
  538. }