user_models.go 38KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  183. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  184. }
  185. func (XtDialysisPrescription) TableName() string {
  186. return "xt_dialysis_prescription"
  187. }
  188. type XtDialysisPrescriptions struct {
  189. ID int64 `gorm:"column:id" json:"id" form:"id"`
  190. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  191. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  192. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  193. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  194. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  195. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  196. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  197. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  198. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  199. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  200. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  201. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  202. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  203. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  204. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  205. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  206. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  207. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  208. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  209. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  210. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  211. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  212. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  213. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  214. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  215. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  216. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  217. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  218. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  219. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  220. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  221. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  222. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  223. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  224. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  225. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  226. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  227. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  228. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  229. Status int64 `gorm:"column:status" json:"status" form:"status"`
  230. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  231. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  232. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  233. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  234. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  235. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  236. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  237. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  238. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  239. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  240. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  241. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  242. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  243. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  244. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  245. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  246. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  247. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  248. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  249. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  250. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  251. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  252. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  253. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  254. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  255. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  256. Package int64 `gorm:"column:package" json:"package" form:"package"`
  257. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  258. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  259. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  260. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  261. }
  262. type XtDialysisSolution struct {
  263. ID int64 `gorm:"column:id" json:"id" form:"id"`
  264. Name string `gorm:"column:name" json:"name" form:"name"`
  265. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  266. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  267. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  268. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  269. Type int64 `gorm:"column:type" json:"type" form:"type"`
  270. Period string `gorm:"column:period" json:"period" form:"period"`
  271. Times string `gorm:"column:times" json:"times" form:"times"`
  272. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  273. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  274. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  275. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  276. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  277. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  278. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  279. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  280. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  281. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  282. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  283. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  284. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  285. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  286. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  287. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  288. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  289. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  290. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  291. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  292. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  293. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  294. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  295. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  296. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  297. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  298. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  299. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  300. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  301. Status int64 `gorm:"column:status" json:"status" form:"status"`
  302. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  303. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  304. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  305. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  306. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  307. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  308. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  309. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  310. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  311. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  312. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  313. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  314. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  315. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  316. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  317. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  318. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  319. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  320. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  321. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  322. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  323. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  324. }
  325. func (XtDialysisSolution) TableName() string {
  326. return "xt_dialysis_solution"
  327. }
  328. type XtPatientRescueRecords struct {
  329. ID int64 `gorm:"column:id" json:"id" form:"id"`
  330. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  331. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  332. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  333. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  334. Content string `gorm:"column:content" json:"content" form:"content"`
  335. Status int64 `gorm:"column:status" json:"status" form:"status"`
  336. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  337. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  338. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  339. Name string `gorm:"column:name" json:"name" form:"name"`
  340. }
  341. type XtPatientRescueRecord struct {
  342. ID int64 `gorm:"column:id" json:"id" form:"id"`
  343. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  344. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  345. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  346. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  347. Content string `gorm:"column:content" json:"content" form:"content"`
  348. Status int64 `gorm:"column:status" json:"status" form:"status"`
  349. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  350. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  351. }
  352. func (XtPatientRescueRecord) TableName() string {
  353. return "xt_patient_rescue_record"
  354. }
  355. type XtScheduless struct {
  356. ID int64 `gorm:"column:id" json:"id" form:"id"`
  357. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  358. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  359. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  360. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  361. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  362. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  363. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  364. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  365. Status int64 `gorm:"column:status" json:"status" form:"status"`
  366. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  367. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  368. Number string `gorm:"column:number" json:"number"`
  369. Name string `gorm:"column:name" json:"name"`
  370. }
  371. type XtSchedules struct {
  372. ID int64 `gorm:"column:id" json:"id" form:"id"`
  373. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  374. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  375. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  376. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  377. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  378. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  379. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  380. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  381. Status int64 `gorm:"column:status" json:"status" form:"status"`
  382. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  383. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  384. Number string `gorm:"column:number" json:"number"`
  385. Name string `gorm:"column:name" json:"name"`
  386. }
  387. func (XtSchedules) TableName() string {
  388. return "xt_schedule"
  389. }
  390. type XtTreatmentSummarys struct {
  391. ID int64 `gorm:"column:id" json:"id" form:"id"`
  392. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  393. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  394. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  395. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  396. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  397. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  398. Change int64 `gorm:"column:change" json:"change" form:"change"`
  399. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  400. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  401. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  402. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  403. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  404. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  405. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  406. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  407. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  408. Status int64 `gorm:"column:status" json:"status" form:"status"`
  409. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  410. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  411. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  412. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  413. Name string `gorm:"column:name" json:"name"`
  414. }
  415. type XtTreatmentSummary struct {
  416. ID int64 `gorm:"column:id" json:"id" form:"id"`
  417. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  418. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  419. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  420. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  421. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  422. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  423. Change int64 `gorm:"column:change" json:"change" form:"change"`
  424. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  425. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  426. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  427. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  428. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  429. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  430. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  431. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  432. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  433. Status int64 `gorm:"column:status" json:"status" form:"status"`
  434. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  435. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  436. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  437. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  438. NursingRecord string `gorm:"column:nursing_record" json:"nursing_record" form:"nursing_record"`
  439. SpecialRecord string `gorm:"column:special_record" json:"special_record" form:"special_record"`
  440. }
  441. func (XtTreatmentSummary) TableName() string {
  442. return "xt_treatment_summary"
  443. }