user_models.go 47KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  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. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  185. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  186. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  187. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  188. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  189. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  190. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  191. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  192. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  193. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  194. }
  195. func (XtDialysisPrescription) TableName() string {
  196. return "xt_dialysis_prescription"
  197. }
  198. type XtDialysisPrescriptions struct {
  199. ID int64 `gorm:"column:id" json:"id" form:"id"`
  200. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  201. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  202. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  203. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  204. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  205. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  206. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  207. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  208. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  209. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  210. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  211. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  212. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  213. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  214. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  215. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  216. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  217. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  218. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  219. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  220. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  221. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  222. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  223. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  224. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  225. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  226. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  227. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  228. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  229. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  230. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  231. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  232. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  233. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  234. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  235. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  236. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  237. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  238. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  239. Status int64 `gorm:"column:status" json:"status" form:"status"`
  240. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  241. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  242. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  243. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  244. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  245. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  246. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  247. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  248. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  249. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  250. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  251. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  252. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  253. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  254. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  255. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  256. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  257. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  258. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  259. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  260. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  261. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  262. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  263. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  264. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  265. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  266. Package int64 `gorm:"column:package" json:"package" form:"package"`
  267. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  268. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  269. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  270. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  271. }
  272. type XtDialysisSolution struct {
  273. ID int64 `gorm:"column:id" json:"id" form:"id"`
  274. Name string `gorm:"column:name" json:"name" form:"name"`
  275. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  276. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  277. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  278. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  279. Type int64 `gorm:"column:type" json:"type" form:"type"`
  280. Period string `gorm:"column:period" json:"period" form:"period"`
  281. Times string `gorm:"column:times" json:"times" form:"times"`
  282. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  283. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  284. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  285. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  286. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  287. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  288. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  289. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  290. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  291. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  292. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  293. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  294. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  295. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  296. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  297. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  298. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  299. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  300. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  301. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  302. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  303. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  304. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  305. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  306. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  307. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  308. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  309. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  310. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  311. Status int64 `gorm:"column:status" json:"status" form:"status"`
  312. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  313. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  314. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  315. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  316. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  317. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  318. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  319. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  320. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  321. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  322. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  323. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  324. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  325. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  326. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  327. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  328. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  329. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  330. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  331. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  332. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  333. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  334. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  335. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  336. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  337. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  338. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  339. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  340. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  341. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  342. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  343. PrescriptionWater float64 `gorm:"column:prescription_water" json:"prescription_water" form:"prescription_water"`
  344. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  345. }
  346. func (XtDialysisSolution) TableName() string {
  347. return "xt_dialysis_solution"
  348. }
  349. type XtPatientRescueRecords struct {
  350. ID int64 `gorm:"column:id" json:"id" form:"id"`
  351. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  352. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  353. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  354. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  355. Content string `gorm:"column:content" json:"content" form:"content"`
  356. Status int64 `gorm:"column:status" json:"status" form:"status"`
  357. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  358. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  359. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  360. Name string `gorm:"column:name" json:"name" form:"name"`
  361. }
  362. type XtPatientRescueRecord struct {
  363. ID int64 `gorm:"column:id" json:"id" form:"id"`
  364. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  365. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  366. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  367. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  368. Content string `gorm:"column:content" json:"content" form:"content"`
  369. Status int64 `gorm:"column:status" json:"status" form:"status"`
  370. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  371. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  372. }
  373. func (XtPatientRescueRecord) TableName() string {
  374. return "xt_patient_rescue_record"
  375. }
  376. type XtScheduless struct {
  377. ID int64 `gorm:"column:id" json:"id" form:"id"`
  378. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  379. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  380. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  381. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  382. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  383. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  384. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  385. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  386. Status int64 `gorm:"column:status" json:"status" form:"status"`
  387. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  388. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  389. Number string `gorm:"column:number" json:"number"`
  390. Name string `gorm:"column:name" json:"name"`
  391. }
  392. type XtSchedules struct {
  393. ID int64 `gorm:"column:id" json:"id" form:"id"`
  394. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  395. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  396. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  397. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  398. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  399. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  400. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  401. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  402. Status int64 `gorm:"column:status" json:"status" form:"status"`
  403. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  404. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  405. Number string `gorm:"column:number" json:"number"`
  406. Name string `gorm:"column:name" json:"name"`
  407. }
  408. func (XtSchedules) TableName() string {
  409. return "xt_schedule"
  410. }
  411. type XtTreatmentSummarys 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. Name string `gorm:"column:name" json:"name"`
  435. }
  436. type XtTreatmentSummary struct {
  437. ID int64 `gorm:"column:id" json:"id" form:"id"`
  438. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  439. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  440. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  441. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  442. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  443. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  444. Change int64 `gorm:"column:change" json:"change" form:"change"`
  445. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  446. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  447. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  448. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  449. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  450. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  451. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  452. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  453. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  454. Status int64 `gorm:"column:status" json:"status" form:"status"`
  455. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  456. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  457. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  458. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  459. NursingRecord string `gorm:"column:nursing_record" json:"nursing_record" form:"nursing_record"`
  460. SpecialRecord string `gorm:"column:special_record" json:"special_record" form:"special_record"`
  461. }
  462. func (XtTreatmentSummary) TableName() string {
  463. return "xt_treatment_summary"
  464. }
  465. type XtPatientVascularAccess struct {
  466. ID int64 `gorm:"column:id" json:"id" form:"id"`
  467. AccessProject int64 `gorm:"column:access_project" json:"access_project" form:"access_project"`
  468. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  469. InflowPass string `gorm:"column:inflow_pass" json:"inflow_pass" form:"inflow_pass"`
  470. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  471. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  472. BloodAccessPartOperaId string `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  473. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  474. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  475. UserStatus int64 `gorm:"column:user_status" json:"user_status" form:"user_status"`
  476. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  477. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  478. Status int64 `gorm:"column:status" json:"status" form:"status"`
  479. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  480. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  481. Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
  482. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  483. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  484. OtherVascular string `gorm:"column:other_vascular" json:"other_vascular" form:"other_vascular"`
  485. CiType int64 `gorm:"column:ci_type" json:"ci_type" form:"ci_type"`
  486. BloodCultupe int64 `gorm:"column:blood_cultupe" json:"blood_cultupe" form:"blood_cultupe"`
  487. SequelaeType int64 `gorm:"column:sequelae_type" json:"sequelae_type" form:"sequelae_type"`
  488. }
  489. func (XtPatientVascularAccess) TableName() string {
  490. return "xt_patient_vascular_access"
  491. }
  492. type XtPatientPasswayAssessment struct {
  493. ID int64 `gorm:"column:id" json:"id" form:"id"`
  494. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  495. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  496. BloodProject string `gorm:"column:blood_project" json:"blood_project" form:"blood_project"`
  497. BloodResult string `gorm:"column:blood_result" json:"blood_result" form:"blood_result"`
  498. BloodDealwith string `gorm:"column:blood_dealwith" json:"blood_dealwith" form:"blood_dealwith"`
  499. Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
  500. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  501. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  502. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  503. Status int64 `gorm:"column:status" json:"status" form:"status"`
  504. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  505. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  506. }
  507. func (XtPatientPasswayAssessment) TableName() string {
  508. return "xt_patient_passway_assessment"
  509. }
  510. type XtAerialDetection struct {
  511. ID int64 `gorm:"column:id" json:"id" form:"id"`
  512. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  513. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  514. Class int64 `gorm:"column:class" json:"class" form:"class"`
  515. DisinfectionMethods string `gorm:"column:disinfection_methods" json:"disinfection_methods" form:"disinfection_methods"`
  516. DisinfectionFluid string `gorm:"column:disinfection_fluid" json:"disinfection_fluid" form:"disinfection_fluid"`
  517. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  518. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  519. DetectionTime int64 `gorm:"column:detection_time" json:"detection_time" form:"detection_time"`
  520. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  521. UploadTime int64 `gorm:"column:upload_time" json:"upload_time" form:"upload_time"`
  522. CheckOut int64 `gorm:"column:check_out" json:"check_out" form:"check_out"`
  523. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  524. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  525. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  526. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  527. Status int64 `gorm:"column:status" json:"status" form:"status"`
  528. }
  529. func (XtAerialDetection) TableName() string {
  530. return "xt_aerial_detection"
  531. }
  532. type XtBodyDetection struct {
  533. ID int64 `gorm:"column:id" json:"id" form:"id"`
  534. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  535. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  536. Class int64 `gorm:"column:class" json:"class" form:"class"`
  537. DisinfectionMethods string `gorm:"column:disinfection_methods" json:"disinfection_methods" form:"disinfection_methods"`
  538. DisinfectionFluid string `gorm:"column:disinfection_fluid" json:"disinfection_fluid" form:"disinfection_fluid"`
  539. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  540. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  541. DetectionTime int64 `gorm:"column:detection_time" json:"detection_time" form:"detection_time"`
  542. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  543. UploadTime int64 `gorm:"column:upload_time" json:"upload_time" form:"upload_time"`
  544. CheckOut int64 `gorm:"column:check_out" json:"check_out" form:"check_out"`
  545. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  546. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  547. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  548. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  549. Status int64 `gorm:"column:status" json:"status" form:"status"`
  550. }
  551. func (XtBodyDetection) TableName() string {
  552. return "xt_body_detection"
  553. }