user_models.go 47KB

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