patient_models.go 67KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904
  1. package models
  2. type Patients 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. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  18. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  19. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  20. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  21. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  22. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  23. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  24. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  25. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  26. Height int64 `gorm:"column:height" json:"height" form:"height"`
  27. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  28. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  29. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  30. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  31. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  32. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  33. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  34. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  35. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  36. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  37. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  38. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  39. Children int64 `gorm:"column:children" json:"children" form:"children"`
  40. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  41. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  42. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  43. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  44. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  45. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  46. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  47. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  48. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  49. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  50. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  51. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  52. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  53. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  54. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  55. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  56. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  57. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  58. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  59. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  60. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
  61. PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
  62. PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
  63. Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
  64. Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
  65. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
  66. SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
  67. DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
  68. Status int64 `gorm:"column:status" json:"status" form:"status"`
  69. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  70. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  71. DialysisSolutions []DialysisSolution `json:"solutions" gorm:"foreignkey:PatientId"`
  72. Age int64 `gorm:"column:age" json:"age"`
  73. Schedules []Schedule `json:"schedules" gorm:"foreignkey:PatientId"`
  74. Contagions []InfectiousDiseases `json:"contagions" gorm:"foreignkey:PatientId"`
  75. Diseases []ChronicDiseases `json:"diseases" gorm:"foreignkey:PatientId"`
  76. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time"`
  77. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious"`
  78. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle"`
  79. ResponseResult string `gorm:"column:response_result" json:"response_result"`
  80. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  81. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  82. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  83. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  84. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  85. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  86. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  87. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  88. ContagionIds []int64 `gorm:"-"`
  89. DryWeight float64 `gorm:"-"`
  90. }
  91. func (Patients) TableName() string {
  92. return "xt_patients"
  93. }
  94. type ChronicDiseases struct {
  95. ID int64 `gorm:"column:id" json:"id" form:"id"`
  96. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  97. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  98. Status int64 `gorm:"column:status" json:"status" form:"status"`
  99. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  100. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  101. }
  102. func (ChronicDiseases) TableName() string {
  103. return "xt_patients_chronic_diseases"
  104. }
  105. type InfectiousDiseases struct {
  106. ID int64 `gorm:"column:id" json:"id" form:"id"`
  107. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  108. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  109. Status int64 `gorm:"column:status" json:"status" form:"status"`
  110. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  111. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  112. }
  113. func (InfectiousDiseases) TableName() string {
  114. return "xt_patients_infectious_diseases"
  115. }
  116. type DialysisPrescription struct {
  117. ID int64 `gorm:"column:id" json:"id"`
  118. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  119. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  120. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  121. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  122. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
  123. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
  124. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  125. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  126. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  127. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  128. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
  129. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
  130. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  131. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  132. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  133. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  134. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  135. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
  136. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
  137. //DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  138. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
  139. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
  140. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  141. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
  142. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
  143. Kalium float64 `gorm:"column:kalium" json:"kalium"`
  144. Sodium float64 `gorm:"column:sodium" json:"sodium"`
  145. Calcium float64 `gorm:"column:calcium" json:"calcium"`
  146. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
  147. Glucose float64 `gorm:"column:glucose" json:"glucose"`
  148. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  149. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  150. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
  151. Remark string `gorm:"column:remark" json:"remark"`
  152. Status int64 `gorm:"column:status" json:"status"`
  153. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  154. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  155. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  156. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  157. Creater int64 `gorm:"column:creater" json:"creater"`
  158. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  159. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  160. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  161. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  162. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  163. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  164. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  165. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  166. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  167. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  168. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  169. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  170. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  171. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  172. Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
  173. Jms int64 `gorm:"column:jms" json:"jms"`
  174. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
  175. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
  176. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
  177. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
  178. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
  179. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  180. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  181. Injector int64 `gorm:"column:injector" json:"injector"`
  182. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
  183. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
  184. Package int64 `gorm:"column:package" json:"package"`
  185. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
  186. UserAdminRole UserAdminRole `json:"role" gorm:"foreignkey:AdminUserId;AssociationForeignKey:Creater;"`
  187. }
  188. func (DialysisPrescription) TableName() string {
  189. return "xt_dialysis_prescription"
  190. }
  191. type DialysisPrescriptionList struct {
  192. ID int64 `gorm:"column:id" json:"id"`
  193. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  194. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  195. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  196. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  197. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  198. Creater int64 `gorm:"column:creater" json:"creater"`
  199. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  200. }
  201. func (DialysisPrescriptionList) TableName() string {
  202. return "xt_dialysis_prescription"
  203. }
  204. type DialysisSolution struct {
  205. ID int64 `gorm:"column:id" json:"id" form:"id"`
  206. Name string `gorm:"column:name" json:"name" form:"name"`
  207. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  208. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  209. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  210. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  211. Type int64 `gorm:"column:type" json:"type" form:"type"`
  212. Period string `gorm:"column:period" json:"period" form:"period"`
  213. Times string `gorm:"column:times" json:"times" form:"times"`
  214. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  215. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  216. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  217. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  218. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  219. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  220. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  221. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  222. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  223. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  224. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  225. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  226. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  227. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  228. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  229. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  230. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  231. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  232. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  233. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  234. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  235. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  236. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  237. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  238. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  239. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  240. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  241. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  242. Status int64 `gorm:"column:status" json:"status" form:"status"`
  243. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  244. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  245. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  246. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  247. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  248. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  249. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  250. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  251. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  252. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  253. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  254. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  255. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  256. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  257. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  258. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  259. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  260. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialysate_formulation"`
  261. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  262. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  263. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  264. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  265. }
  266. func (DialysisSolution) TableName() string {
  267. return "xt_dialysis_solution"
  268. }
  269. type UserAdminRole struct {
  270. ID int64 `gorm:"column:id" json:"id"`
  271. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  272. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  273. AppId int64 `gorm:"column:app_id" json:"app_id"`
  274. RoleId int64 `gorm:"column:role_id" json:"role_id"`
  275. UserName string `gorm:"column:user_name" json:"user_name"`
  276. Avatar string `gorm:"column:avatar" json:"avatar"`
  277. UserType int64 `gorm:"column:user_type" json:"user_type"`
  278. UserTitle int64 `gorm:"column:user_title" json:"user_title"`
  279. Intro string `gorm:"column:intro" json:"intro"`
  280. Status int64 `gorm:"column:status" json:"status"`
  281. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  282. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  283. }
  284. func (UserAdminRole) TableName() string {
  285. return "sgj_user_admin_role"
  286. }
  287. type PatientDialysisRecord struct {
  288. DialysisOrder
  289. ScheduleType int64 `gorm:"-" json:"schedule_type" form:"schedule_type"`
  290. PartitionId int64 `gorm:"-" json:"partition_id" form:"partition_id"`
  291. PartitionName string `gorm:"-" json:"partition_name" form:"partition_name"`
  292. DeviceNumber string `gorm:"-" json:"device_number" form:"device_number"`
  293. // DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordId"`
  294. // PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:DialysisOrderId"`
  295. // AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:DialysisOrderId"`
  296. // TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:DialysisOrderId"`
  297. DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordDate;AssociationForeignKey:DialysisDate;"`
  298. PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  299. AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  300. TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  301. Device DeviceNumber `json:"device" gorm:"foreignkey:ID;AssociationForeignKey:BedID;"`
  302. }
  303. type DialysisPrescriptionAddtional struct {
  304. DialysisPrescription
  305. Device Device `json:"device" gorm:"foreignkey:dialyzer"`
  306. }
  307. type PatientDiseaseCourse struct {
  308. ID int64 `gorm:"column:id" json:"id" form:"id"`
  309. OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  310. PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  311. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  312. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  313. Content string `gorm:"column:content" json:"content" form:"content"`
  314. Status int64 `gorm:"column:status" json:"-" form:"-"`
  315. CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
  316. ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
  317. Title string `gorm:"column:title" json:"title"`
  318. }
  319. func (PatientDiseaseCourse) TableName() string {
  320. return "xt_patient_course_of_disease"
  321. }
  322. type PatientRescueRecord struct {
  323. ID int64 `gorm:"column:id" json:"id" form:"id"`
  324. OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  325. PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  326. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  327. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  328. Content string `gorm:"column:content" json:"content" form:"content"`
  329. Status int64 `gorm:"column:status" json:"-" form:"-"`
  330. CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
  331. ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
  332. }
  333. func (PatientRescueRecord) TableName() string {
  334. return "xt_patient_rescue_record"
  335. }
  336. type PatientLapseto struct {
  337. ID int64 `gorm:"column:id" json:"id" form:"id"`
  338. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  339. LapsetoType int64 `gorm:"column:lapseto_type" json:"lapseto_type" form:"lapseto_type"`
  340. LapsetoTime int64 `gorm:"column:lapseto_time" json:"lapseto_time" form:"lapseto_time"`
  341. Status int64 `gorm:"column:status" json:"status" form:"status"`
  342. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  343. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  344. }
  345. func (PatientLapseto) TableName() string {
  346. return "xt_patient_lapseto"
  347. }
  348. type FormItem struct {
  349. ID int64 `json:"id"`
  350. ProjectId int64 `json:"project_id"`
  351. ProjectName string `json:"project_name"`
  352. ItemId int64 `json:"item_id"`
  353. Item string `json:"item"`
  354. ItemName string `json:"item_name"`
  355. RangeType int64 `json:"range_type"`
  356. Value string `json:"value"`
  357. }
  358. type SgjUserIllness struct {
  359. ID int64 `gorm:"column:id" json:"id" form:"id"`
  360. IllnessName string `gorm:"column:illness_name" json:"illness_name" form:"illness_name"`
  361. Status int64 `gorm:"column:status" json:"status" form:"status"`
  362. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  363. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  364. }
  365. func (SgjUserIllness) TableName() string {
  366. return "sgj_user_illness"
  367. }
  368. type XtPatientsNew struct {
  369. ID int64 `gorm:"column:id" json:"id" form:"id"`
  370. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  371. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  372. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  373. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  374. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  375. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  376. Source int64 `gorm:"column:source" json:"source" form:"source"`
  377. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  378. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  379. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  380. Name string `gorm:"column:name" json:"name" form:"name"`
  381. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  382. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  383. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  384. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  385. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  386. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  387. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  388. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  389. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  390. Height int64 `gorm:"column:height" json:"height" form:"height"`
  391. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  392. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  393. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  394. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  395. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  396. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  397. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  398. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  399. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  400. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  401. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  402. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  403. Children int64 `gorm:"column:children" json:"children" form:"children"`
  404. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  405. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  406. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  407. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  408. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  409. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  410. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  411. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  412. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  413. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  414. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  415. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  416. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  417. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  418. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  419. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  420. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  421. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  422. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  423. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  424. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  425. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  426. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  427. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  428. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  429. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  430. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  431. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  432. Status int64 `gorm:"column:status" json:"status" form:"status"`
  433. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  434. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  435. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  436. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  437. Age int64 `gorm:"column:age" json:"age" form:"age"`
  438. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  439. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  440. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  441. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  442. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  443. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  444. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  445. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  446. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  447. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  448. BloodPatients int64 `gorm:"column:blood_patients" json:"blood_patients" form:"blood_patients"`
  449. SlowPatients int64 `gorm:"column:slow_patients" json:"slow_patients" form:"slow_patients"`
  450. MemberPatients int64 `gorm:"column:member_patients" json:"member_patients" form:"member_patients"`
  451. EcommerPatients string `gorm:"column:ecommer_patients" json:"ecommer_patients" form:"ecommer_patients"`
  452. BloodId int64 `gorm:"column:blood_id" json:"blood_id" form:"blood_id"`
  453. SlowId int64 `gorm:"column:slow_id" json:"slow_id" form:"slow_id"`
  454. MemberId int64 `gorm:"column:member_id" json:"member_id" form:"member_id"`
  455. MemberFistdate int64 `gorm:"column:member_fistdate" json:"member_fistdate" form:"member_fistdate"`
  456. MemberPatienttype int64 `gorm:"column:member_patienttype" json:"member_patienttype" form:"member_patienttype"`
  457. MemberTreatement int64 `gorm:"column:member_treatement" json:"member_treatement" form:"member_treatement"`
  458. EquitmentId string `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  459. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  460. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  461. }
  462. func (XtPatientsNew) TableName() string {
  463. return "xt_patients_new"
  464. }
  465. type PatientsNew struct {
  466. ID int64 `gorm:"column:id" json:"id" form:"id"`
  467. Name string `gorm:"column:name" json:"name" form:"name"`
  468. }
  469. type CdmPatients struct {
  470. ID int64 `gorm:"column:id" json:"id" form:"id"`
  471. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  472. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  473. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  474. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  475. Source int64 `gorm:"column:source" json:"source" form:"source"`
  476. Name string `gorm:"column:name" json:"name" form:"name"`
  477. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  478. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  479. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  480. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  481. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  482. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  483. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  484. Height int64 `gorm:"column:height" json:"height" form:"height"`
  485. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  486. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  487. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  488. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  489. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  490. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  491. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  492. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  493. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  494. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  495. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  496. Children int64 `gorm:"column:children" json:"children" form:"children"`
  497. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  498. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  499. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  500. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  501. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  502. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  503. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  504. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  505. Status int64 `gorm:"column:status" json:"status" form:"status"`
  506. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  507. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  508. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  509. }
  510. func (CdmPatients) TableName() string {
  511. return "xt_patients"
  512. }
  513. type CdmPatientsInfectiousDiseases struct {
  514. ID int64 `gorm:"column:id" json:"id" form:"id"`
  515. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  516. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  517. Status int64 `gorm:"column:status" json:"status" form:"status"`
  518. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  519. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  520. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  521. }
  522. func (CdmPatientsInfectiousDiseases) TableName() string {
  523. return "xt_patients_infectious_diseases"
  524. }
  525. type CdmPatientsChronicDiseases struct {
  526. ID int64 `gorm:"column:id" json:"id" form:"id"`
  527. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  528. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  529. Status int64 `gorm:"column:status" json:"status" form:"status"`
  530. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  531. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  532. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  533. }
  534. func (CdmPatientsChronicDiseases) TableName() string {
  535. return "xt_patients_chronic_diseases"
  536. }
  537. type SgjUserCustomer struct {
  538. ID int64 `gorm:"column:id" json:"id" form:"id"`
  539. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  540. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  541. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  542. Name string `gorm:"column:name" json:"name" form:"name"`
  543. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  544. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  545. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  546. Address string `gorm:"column:address" json:"address" form:"address"`
  547. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  548. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  549. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  550. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  551. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  552. Membership int64 `gorm:"column:membership" json:"membership" form:"membership"`
  553. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  554. Status int64 `gorm:"column:status" json:"status" form:"status"`
  555. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  556. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  557. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  558. WechatUnionid string `gorm:"column:wechat_unionid" json:"wechat_unionid" form:"wechat_unionid"`
  559. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  560. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  561. YzUid int64 `gorm:"column:yz_uid" json:"yz_uid" form:"yz_uid"`
  562. Tttime int64 `gorm:"column:tttime" json:"tttime" form:"tttime"`
  563. IllDate int64 `gorm:"column:ill_date" json:"ill_date" form:"ill_date"`
  564. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  565. }
  566. func (SgjUserCustomer) TableName() string {
  567. return "sgj_user_customer"
  568. }
  569. type PatientCourseOfDiseases struct {
  570. ID int64 `gorm:"column:id" json:"id" form:"id"`
  571. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  572. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  573. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  574. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  575. Content string `gorm:"column:content" json:"content" form:"content"`
  576. Status int64 `gorm:"column:status" json:"status" form:"status"`
  577. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  578. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  579. Title string `gorm:"column:title" json:"title" form:"title"`
  580. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  581. }
  582. type PatientCourseOfDiseasess struct {
  583. ID int64 `gorm:"column:id" json:"id" form:"id"`
  584. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  585. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  586. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  587. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  588. Content string `gorm:"column:content" json:"content" form:"content"`
  589. Status int64 `gorm:"column:status" json:"status" form:"status"`
  590. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  591. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  592. Title string `gorm:"column:title" json:"title" form:"title"`
  593. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  594. Name string `gorm:"column:name" json:"name" form:"name"`
  595. }
  596. type PatientCourseOfDisease struct {
  597. ID int64 `gorm:"column:id" json:"id" form:"id"`
  598. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  599. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  600. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  601. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  602. Content string `gorm:"column:content" json:"content" form:"content"`
  603. Status int64 `gorm:"column:status" json:"status" form:"status"`
  604. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  605. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  606. Title string `gorm:"column:title" json:"title" form:"title"`
  607. }
  608. func (PatientCourseOfDisease) TableName() string {
  609. return "xt_patient_course_of_disease"
  610. }
  611. type XtPatientsInfectiousDiseases struct {
  612. ID int64 `gorm:"column:id" json:"id" form:"id"`
  613. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  614. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  615. Status int64 `gorm:"column:status" json:"status" form:"status"`
  616. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  617. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  618. }
  619. func (XtPatientsInfectiousDiseases) TableName() string {
  620. return "xt_patients_infectious_diseases"
  621. }
  622. type XtInspectionReference struct {
  623. ID int64 `gorm:"column:id" json:"id" form:"id"`
  624. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  625. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  626. Project string `gorm:"column:project" json:"project" form:"project"`
  627. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  628. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  629. ItemNameAddition string `gorm:"column:item_name_addition" json:"item_name_addition" form:"item_name_addition"`
  630. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  631. Item string `gorm:"column:item" json:"item" form:"item"`
  632. RangeType int64 `gorm:"column:range_type" json:"range_type" form:"range_type"`
  633. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  634. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  635. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  636. RangeOptions string `gorm:"column:range_options" json:"range_options" form:"range_options"`
  637. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  638. Status int64 `gorm:"column:status" json:"status" form:"status"`
  639. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  640. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  641. }
  642. func (XtInspectionReference) TableName() string {
  643. return "xt_inspection_reference"
  644. }
  645. type XtInspection struct {
  646. ID int64 `gorm:"column:id" json:"id" form:"id"`
  647. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  648. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  649. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  650. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  651. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  652. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  653. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  654. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  655. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  656. Status int64 `gorm:"column:status" json:"status" form:"status"`
  657. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  658. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  659. }
  660. func (XtInspection) TableName() string {
  661. return "xt_inspection"
  662. }
  663. type XtPatients struct {
  664. ID int64 `gorm:"column:id" json:"id" form:"id"`
  665. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  666. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  667. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  668. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  669. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  670. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  671. Source int64 `gorm:"column:source" json:"source" form:"source"`
  672. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  673. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  674. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  675. Name string `gorm:"column:name" json:"name" form:"name"`
  676. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  677. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  678. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  679. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  680. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  681. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  682. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  683. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  684. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  685. Height int64 `gorm:"column:height" json:"height" form:"height"`
  686. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  687. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  688. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  689. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  690. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  691. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  692. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  693. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  694. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  695. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  696. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  697. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  698. Children int64 `gorm:"column:children" json:"children" form:"children"`
  699. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  700. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  701. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  702. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  703. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  704. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  705. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  706. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  707. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  708. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  709. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  710. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  711. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  712. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  713. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  714. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  715. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  716. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  717. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  718. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  719. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  720. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  721. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  722. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  723. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  724. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  725. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  726. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  727. Status int64 `gorm:"column:status" json:"status" form:"status"`
  728. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  729. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  730. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  731. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  732. Age int64 `gorm:"column:age" json:"age" form:"age"`
  733. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  734. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  735. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  736. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  737. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  738. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  739. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  740. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  741. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  742. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  743. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  744. }
  745. func (XtPatients) TableName() string {
  746. return "xt_patients"
  747. }
  748. type SgjUserAdminLoginLog struct {
  749. ID int64 `gorm:"column:id" json:"id" form:"id"`
  750. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  751. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  752. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  753. Ip string `gorm:"column:ip" json:"ip" form:"ip"`
  754. OperateType int64 `gorm:"column:operate_type" json:"operate_type" form:"operate_type"`
  755. AppType int64 `gorm:"column:app_type" json:"app_type" form:"app_type"`
  756. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  757. }
  758. func (SgjUserAdminLoginLog) TableName() string {
  759. return "sgj_user_admin_login_log"
  760. }
  761. type KyActivityTable struct {
  762. ID int64 `gorm:"column:id" json:"id" form:"id"`
  763. Name string `gorm:"column:name" json:"name" form:"name"`
  764. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  765. Address string `gorm:"column:address" json:"address" form:"address"`
  766. Position int64 `gorm:"column:position" json:"position" form:"position"`
  767. HospitalName string `gorm:"column:hospital_name" json:"hospital_name" form:"hospital_name"`
  768. IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  769. IsThink int64 `gorm:"column:is_think" json:"is_think" form:"is_think"`
  770. OtherMode string `gorm:"column:other_mode" json:"other_mode" form:"other_mode"`
  771. OtherRemark string `gorm:"column:other_remark" json:"other_remark" form:"other_remark"`
  772. Gift int64 `gorm:"column:gift" json:"gift" form:"gift"`
  773. OtherMessage string `gorm:"column:other_message" json:"other_message" form:"other_message"`
  774. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  775. Status int64 `gorm:"column:status" json:"status" form:"status"`
  776. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  777. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  778. SystemName string `gorm:"column:system_name" json:"system_name" form:"system_name"`
  779. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  780. }
  781. func (KyActivityTable) TableName() string {
  782. return "ky_activity_table"
  783. }
  784. type SgjUserRole struct {
  785. ID int64 `gorm:"column:id" json:"id" form:"id"`
  786. RoleName string `gorm:"column:role_name" json:"role_name" form:"role_name"`
  787. RoleIntroduction string `gorm:"column:role_introduction" json:"role_introduction" form:"role_introduction"`
  788. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  789. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  790. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  791. IsSuperAdmin int64 `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
  792. Status int64 `gorm:"column:status" json:"status" form:"status"`
  793. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  794. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  795. Number int64 `gorm:"column:number" json:"number" form:"number"`
  796. IsSystem int64 `gorm:"column:is_system" json:"is_system" form:"is_system"`
  797. }
  798. func (SgjUserRole) TableName() string {
  799. return "sgj_user_role"
  800. }
  801. type ExportErrLog struct {
  802. ID int64 `gorm:"column:id" json:"id" form:"id"`
  803. LogType int64 `gorm:"column:log_type" json:"log_type" form:"log_type"`
  804. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  805. ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
  806. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  807. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  808. Status int64 `gorm:"column:status" json:"status" form:"status"`
  809. ExportTime int64 `gorm:"column:export_time" json:"export_time" form:"export_time"`
  810. }
  811. func (ExportErrLog) TableName() string {
  812. return "xt_export_err_log"
  813. }
  814. type ExportLog struct {
  815. ID int64 `gorm:"column:id" json:"id" form:"id"`
  816. LogType int64 `gorm:"column:log_type" json:"log_type" form:"log_type"`
  817. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  818. TotalNum int64 `gorm:"column:total_num" json:"total_num" form:"total_num"`
  819. FailNum int64 `gorm:"column:fail_num" json:"fail_num" form:"fail_num"`
  820. SuccessNum int64 `gorm:"column:success_num" json:"success_num" form:"success_num"`
  821. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  822. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  823. ExportTime int64 `gorm:"column:export_time" json:"export_time" form:"export_time"`
  824. Status int64 `gorm:"column:status" json:"status" form:"status"`
  825. ExportErrLog []*ExportErrLog `json:"err_logs" gorm:"foreignkey:ExportTime;AssociationForeignKey:ExportTime;"`
  826. }
  827. func (ExportLog) TableName() string {
  828. return "xt_export_log"
  829. }