user_models.go 37KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. package models
  2. type SgjCustomer 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. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  7. Name string `gorm:"column:name" json:"name" form:"name"`
  8. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  9. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  10. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  11. Address string `gorm:"column:address" json:"address" form:"address"`
  12. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  13. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  14. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  15. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  16. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  17. Membership int64 `gorm:"column:membership" json:"membership" form:"membership"`
  18. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  19. Status int64 `gorm:"column:status" json:"status" form:"status"`
  20. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  21. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  22. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  23. WechatUnionid string `gorm:"column:wechat_unionid" json:"wechat_unionid" form:"wechat_unionid"`
  24. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  25. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  26. YzUid int64 `gorm:"column:yz_uid" json:"yz_uid" form:"yz_uid"`
  27. IllDate int64 `gorm:"column:ill_date" json:"ill_date" form:"ill_date"`
  28. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  29. }
  30. func (SgjCustomer) TableName() string {
  31. return "sgj_user_customer"
  32. }
  33. type SgjUser struct {
  34. ID int64 `gorm:"column:id" json:"id" form:"id"`
  35. Password string `gorm:"column:password" json:"password" form:"password"`
  36. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  37. Username string `gorm:"column:username" json:"username" form:"username"`
  38. Remarkname string `gorm:"column:remarkname" json:"remarkname" form:"remarkname"`
  39. Realname string `gorm:"column:realname" json:"realname" form:"realname"`
  40. Introduce string `gorm:"column:introduce" json:"introduce" form:"introduce"`
  41. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  42. AvatarThumb string `gorm:"column:avatar_thumb" json:"avatar_thumb" form:"avatar_thumb"`
  43. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  44. ReceivingPhone string `gorm:"column:receiving_phone" json:"receiving_phone" form:"receiving_phone"`
  45. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  46. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  47. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  48. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  49. Address string `gorm:"column:address" json:"address" form:"address"`
  50. Recipient string `gorm:"column:recipient" json:"recipient" form:"recipient"`
  51. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  52. Token string `gorm:"column:token" json:"token" form:"token"`
  53. Imei string `gorm:"column:imei" json:"imei" form:"imei"`
  54. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  55. Platform string `gorm:"column:platform" json:"platform" form:"platform"`
  56. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  57. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  58. Status int64 `gorm:"column:status" json:"status" form:"status"`
  59. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  60. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  61. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  62. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  63. }
  64. func (SgjUser) TableName() string {
  65. return "sgj_user_user"
  66. }
  67. type SgjPatientDryweight struct {
  68. ID int64 `gorm:"column:id" json:"id" form:"id"`
  69. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  70. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  71. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  72. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  73. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  74. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  75. Status int64 `gorm:"column:status" json:"status" form:"status"`
  76. AdjustedValue string `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  77. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  78. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  79. }
  80. func (SgjPatientDryweight) TableName() string {
  81. return "xt_patient_dryweight"
  82. }
  83. type SgjPatientDryweights struct {
  84. ID int64 `gorm:"column:id" json:"id" form:"id"`
  85. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  86. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  87. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  88. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  89. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  90. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  91. Status int64 `gorm:"column:status" json:"status" form:"status"`
  92. AdjustedValue string `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  93. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  94. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  95. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  96. Name string `gorm:"column:name" json:"name" form:"name"`
  97. }
  98. type XtPatientDryweight struct {
  99. ID int64 `gorm:"column:id" json:"id" form:"id"`
  100. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  101. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  102. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  103. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  104. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  105. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  106. Status int64 `gorm:"column:status" json:"status" form:"status"`
  107. AdjustedValue string `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  108. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  109. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  110. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  111. }
  112. type XtDialysisPrescription struct {
  113. ID int64 `gorm:"column:id" json:"id" form:"id"`
  114. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  115. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  116. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  117. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  118. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  119. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  120. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  121. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  122. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  123. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  124. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  125. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  126. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  127. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  128. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  129. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  130. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  131. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  132. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  133. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  134. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  135. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  136. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  137. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  138. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  139. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  140. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  141. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  142. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  143. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  144. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  145. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  146. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  147. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  148. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  149. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  150. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  151. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  152. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  153. Status int64 `gorm:"column:status" json:"status" form:"status"`
  154. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  155. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  156. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  157. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  158. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  159. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  160. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  161. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  162. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  163. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  164. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  165. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  166. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  167. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  168. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  169. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  170. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  171. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  172. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  173. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  174. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  175. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  176. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  177. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  178. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  179. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  180. Package int64 `gorm:"column:package" json:"package" form:"package"`
  181. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  182. }
  183. func (XtDialysisPrescription) TableName() string {
  184. return "xt_dialysis_prescription"
  185. }
  186. type XtDialysisPrescriptions struct {
  187. ID int64 `gorm:"column:id" json:"id" form:"id"`
  188. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  189. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  190. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  191. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  192. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  193. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  194. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  195. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  196. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  197. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  198. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  199. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  200. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  201. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  202. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  203. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  204. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  205. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  206. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  207. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  208. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  209. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  210. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  211. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  212. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  213. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  214. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  215. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  216. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  217. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  218. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  219. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  220. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  221. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  222. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  223. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  224. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  225. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  226. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  227. Status int64 `gorm:"column:status" json:"status" form:"status"`
  228. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  229. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  230. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  231. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  232. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  233. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  234. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  235. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  236. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  237. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  238. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  239. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  240. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  241. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  242. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  243. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  244. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  245. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  246. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  247. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  248. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  249. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  250. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  251. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  252. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  253. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  254. Package int64 `gorm:"column:package" json:"package" form:"package"`
  255. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  256. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  257. }
  258. type XtDialysisSolution struct {
  259. ID int64 `gorm:"column:id" json:"id" form:"id"`
  260. Name string `gorm:"column:name" json:"name" form:"name"`
  261. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  262. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  263. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  264. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  265. Type int64 `gorm:"column:type" json:"type" form:"type"`
  266. Period string `gorm:"column:period" json:"period" form:"period"`
  267. Times string `gorm:"column:times" json:"times" form:"times"`
  268. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  269. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  270. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  271. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  272. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  273. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  274. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  275. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  276. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  277. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  278. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  279. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  280. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  281. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  282. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  283. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  284. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  285. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  286. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  287. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  288. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  289. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  290. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  291. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  292. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  293. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  294. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  295. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  296. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  297. Status int64 `gorm:"column:status" json:"status" form:"status"`
  298. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  299. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  300. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  301. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  302. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  303. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  304. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  305. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  306. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  307. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  308. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  309. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  310. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  311. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  312. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  313. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  314. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  315. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  316. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  317. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  318. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  319. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  320. }
  321. func (XtDialysisSolution) TableName() string {
  322. return "xt_dialysis_solution"
  323. }
  324. type XtPatientRescueRecords struct {
  325. ID int64 `gorm:"column:id" json:"id" form:"id"`
  326. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  327. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  328. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  329. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  330. Content string `gorm:"column:content" json:"content" form:"content"`
  331. Status int64 `gorm:"column:status" json:"status" form:"status"`
  332. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  333. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  334. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  335. Name string `gorm:"column:name" json:"name" form:"name"`
  336. }
  337. type XtPatientRescueRecord struct {
  338. ID int64 `gorm:"column:id" json:"id" form:"id"`
  339. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  340. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  341. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  342. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  343. Content string `gorm:"column:content" json:"content" form:"content"`
  344. Status int64 `gorm:"column:status" json:"status" form:"status"`
  345. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  346. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  347. }
  348. func (XtPatientRescueRecord) TableName() string {
  349. return "xt_patient_rescue_record"
  350. }
  351. type XtScheduless struct {
  352. ID int64 `gorm:"column:id" json:"id" form:"id"`
  353. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  354. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  355. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  356. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  357. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  358. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  359. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  360. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  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. Number string `gorm:"column:number" json:"number"`
  365. Name string `gorm:"column:name" json:"name"`
  366. }
  367. type XtSchedules struct {
  368. ID int64 `gorm:"column:id" json:"id" form:"id"`
  369. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  370. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  371. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  372. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  373. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  374. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  375. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  376. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  377. Status int64 `gorm:"column:status" json:"status" form:"status"`
  378. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  379. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  380. Number string `gorm:"column:number" json:"number"`
  381. Name string `gorm:"column:name" json:"name"`
  382. }
  383. func (XtSchedules) TableName() string {
  384. return "xt_schedule"
  385. }
  386. type XtTreatmentSummarys struct {
  387. ID int64 `gorm:"column:id" json:"id" form:"id"`
  388. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  389. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  390. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  391. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  392. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  393. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  394. Change int64 `gorm:"column:change" json:"change" form:"change"`
  395. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  396. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  397. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  398. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  399. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  400. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  401. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  402. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  403. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  404. Status int64 `gorm:"column:status" json:"status" form:"status"`
  405. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  406. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  407. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  408. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  409. Name string `gorm:"column:name" json:"name"`
  410. }
  411. type XtTreatmentSummary struct {
  412. ID int64 `gorm:"column:id" json:"id" form:"id"`
  413. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  414. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  415. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  416. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  417. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  418. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  419. Change int64 `gorm:"column:change" json:"change" form:"change"`
  420. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  421. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  422. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  423. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  424. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  425. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  426. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  427. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  428. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  429. Status int64 `gorm:"column:status" json:"status" form:"status"`
  430. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  431. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  432. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  433. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  434. }
  435. func (XtTreatmentSummary) TableName() string {
  436. return "xt_treatment_summary"
  437. }