src_data.go 49KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. package models
  2. type UserOrg struct {
  3. ID int64 `gorm:"column:id" json:"id"`
  4. Creator int64 `gorm:"column:creator" json:"creator"`
  5. OrgName string `gorm:"column:org_name" json:"org_name"`
  6. OrgShortName string `gorm:"column:org_short_name" json:"org_short_name"`
  7. OrgLogo string `gorm:"column:org_logo" json:"org_logo"`
  8. OrgIntroduction string `gorm:"column:org_introduction" json:"org_introduction"`
  9. Illness string `gorm:"column:illness" json:"illness"`
  10. Province int64 `gorm:"column:province" json:"province"`
  11. City int64 `gorm:"column:city" json:"city"`
  12. District int64 `gorm:"column:district" json:"district"`
  13. Address string `gorm:"column:address" json:"address"`
  14. Longitude string `gorm:"column:longitude" json:"longitude"`
  15. Latitude string `gorm:"column:latitude" json:"latitude"`
  16. OrgType int64 `gorm:"column:org_type" json:"org_type"`
  17. Comments int64 `gorm:"column:comments" json:"comments"`
  18. Evaluate float64 `gorm:"column:evaluate" json:"evaluate"`
  19. Gallery string `gorm:"column:gallery" json:"gallery"`
  20. BusinessWeek string `gorm:"column:business_week" json:"business_week"`
  21. BusinessTime string `gorm:"column:business_time" json:"business_time"`
  22. ContactName string `gorm:"column:contact_name" json:"contact_name"`
  23. Telephone string `gorm:"column:telephone" json:"telephone"`
  24. Claim int64 `gorm:"column:claim" json:"claim"`
  25. OperatingState int64 `gorm:"column:operating_state" json:"operating_state"`
  26. Status int64 `gorm:"column:status" json:"status"`
  27. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  28. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  29. Source int64 `gorm:"column:source" json:"source"`
  30. Ttype int64 `gorm:"column:ttype" json:"ttype"`
  31. Ttid int64 `gorm:"column:ttid" json:"ttid"`
  32. Tuid int64 `gorm:"column:tuid" json:"tuid"`
  33. Reason string `gorm:"column:reason" json:"reason"`
  34. Level int64 `gorm:"column:level" json:"level"`
  35. Website string `gorm:"column:website" json:"website"`
  36. Import int64 `gorm:"column:import" json:"import"`
  37. Sortno int64 `gorm:"column:sortno" json:"sortno"`
  38. DeviceNumber []*DeviceNumber `gorm:"ForeignKey:OrgId;AssociationForeignKey:ID" json:"device_number"`
  39. }
  40. func (UserOrg) TableName() string {
  41. return "sgj_user_org"
  42. }
  43. type UserAdminRole struct {
  44. ID int64 `gorm:"column:id" json:"id"`
  45. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  46. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  47. AppId int64 `gorm:"column:app_id" json:"app_id"`
  48. RoleId int64 `gorm:"column:role_id" json:"role_id"`
  49. UserName string `gorm:"column:user_name" json:"user_name"`
  50. Avatar string `gorm:"column:avatar" json:"avatar"`
  51. UserType int64 `gorm:"column:user_type" json:"user_type"`
  52. UserTitle int64 `gorm:"column:user_title" json:"user_title"`
  53. Intro string `gorm:"column:intro" json:"intro"`
  54. Status int64 `gorm:"column:status" json:"status"`
  55. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  56. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  57. }
  58. func (UserAdminRole) TableName() string {
  59. return "sgj_user_admin_role"
  60. }
  61. type Patients struct {
  62. ID int64 `gorm:"column:id" json:"id"`
  63. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  64. UserId int64 `gorm:"column:user_id" json:"user_id"`
  65. Avatar string `gorm:"column:avatar" json:"avatar"`
  66. PatientType int64 `gorm:"column:patient_type" json:"patient_type"`
  67. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no"`
  68. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number"`
  69. Source int64 `gorm:"column:source" json:"source"`
  70. Lapseto int64 `gorm:"column:lapseto" json:"lapseto"`
  71. PartitionId int64 `gorm:"column:partition_id" json:"partition_id"`
  72. BedId int64 `gorm:"column:bed_id" json:"bed_id"`
  73. Name string `gorm:"column:name" json:"name"`
  74. Alias string `gorm:"column:alias" json:"alias"`
  75. Gender int64 `gorm:"column:gender" json:"gender"`
  76. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status"`
  77. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no"`
  78. Birthday int64 `gorm:"column:birthday" json:"birthday"`
  79. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id"`
  80. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type"`
  81. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no"`
  82. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date"`
  83. Height int64 `gorm:"column:height" json:"height"`
  84. BloodType int64 `gorm:"column:blood_type" json:"blood_type"`
  85. Rh int64 `gorm:"column:rh" json:"rh"`
  86. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date"`
  87. EducationLevel int64 `gorm:"column:education_level" json:"education_level"`
  88. Profession int64 `gorm:"column:profession" json:"profession"`
  89. Phone string `gorm:"column:phone" json:"phone"`
  90. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone"`
  91. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone"`
  92. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations"`
  93. HomeAddress string `gorm:"column:home_address" json:"home_address"`
  94. WorkUnit string `gorm:"column:work_unit" json:"work_unit"`
  95. UnitAddress string `gorm:"column:unit_address" json:"unit_address"`
  96. Children int64 `gorm:"column:children" json:"children"`
  97. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date"`
  98. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis"`
  99. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date"`
  100. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital"`
  101. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition"`
  102. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency"`
  103. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times"`
  104. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date"`
  105. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period"`
  106. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis"`
  107. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis"`
  108. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id"`
  109. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id"`
  110. Evaluate string `gorm:"column:evaluate" json:"evaluate"`
  111. Diagnose string `gorm:"column:diagnose" json:"diagnose"`
  112. Remark string `gorm:"column:remark" json:"remark"`
  113. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id"`
  114. Registrars string `gorm:"column:registrars" json:"registrars"`
  115. QrCode string `gorm:"column:qr_code" json:"qr_code"`
  116. BindingState int64 `gorm:"column:binding_state" json:"binding_state"`
  117. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"`
  118. PresentHistory string `gorm:"column:present_history" json:"present_history"`
  119. PastHistory string `gorm:"column:past_history" json:"past_history"`
  120. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  121. Pulse int64 `gorm:"column:pulse" json:"pulse"`
  122. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"`
  123. Sbp int64 `gorm:"column:sbp" json:"sbp"`
  124. Dbp int64 `gorm:"column:dbp" json:"dbp"`
  125. Status int64 `gorm:"column:status" json:"status"`
  126. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  127. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  128. Nation string `gorm:"column:nation" json:"nation"`
  129. NativePlace string `gorm:"column:native_place" json:"native_place"`
  130. Age int64 `gorm:"column:age" json:"age"`
  131. PatientLapseto []*PatientLapseto `gorm:"ForeignKey:PatientId,LapsetoType;AssociationForeignKey:ID,Lapseto" json:"lapseto"`
  132. }
  133. func (Patients) TableName() string {
  134. return "xt_patients"
  135. }
  136. type Device struct {
  137. ID int64 `gorm:"column:id" json:"id"`
  138. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  139. DeviceType int64 `gorm:"column:device_type" json:"device_type"`
  140. DmId int64 `gorm:"column:dm_id" json:"dm_id"`
  141. WteId int64 `gorm:"column:wte_id" json:"wte_id"`
  142. SerialNumber string `gorm:"column:serial_number" json:"serial_number"`
  143. Name string `gorm:"column:name" json:"name"`
  144. Model string `gorm:"column:model" json:"model"`
  145. DeviceNumberId int64 `gorm:"column:device_number_id" json:"device_number_id"`
  146. DeviceNumber string `gorm:"column:device_number" json:"device_number"`
  147. DeviceZoneId int64 `gorm:"column:device_zone_id" json:"device_zone_id"`
  148. DeviceGroupId int64 `gorm:"column:device_group_id" json:"device_group_id"`
  149. Status int64 `gorm:"column:status" json:"status"`
  150. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  151. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  152. }
  153. func (Device) TableName() string {
  154. return "xt_device"
  155. }
  156. type DeviceNumber struct {
  157. ID int64 `gorm:"column:id" json:"id"`
  158. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  159. Number string `gorm:"column:number" json:"number"`
  160. GroupId int64 `gorm:"column:group_id" json:"group_id"`
  161. ZoneId int64 `gorm:"column:zone_id" json:"zone_id"`
  162. Status int64 `gorm:"column:status" json:"status"`
  163. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  164. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  165. }
  166. func (DeviceNumber) TableName() string {
  167. return "xt_device_number"
  168. }
  169. type DeviceZone struct {
  170. ID int64 `gorm:"column:id" json:"id"`
  171. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  172. Name string `gorm:"column:name" json:"name"`
  173. Type int64 `gorm:"column:type" json:"type"`
  174. Status int64 `gorm:"column:status" json:"status"`
  175. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  176. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  177. }
  178. func (DeviceZone) TableName() string {
  179. return "xt_device_zone"
  180. }
  181. type Schedule struct {
  182. ID int64 `gorm:"column:id" json:"id"`
  183. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  184. PartitionId int64 `gorm:"column:partition_id" json:"partition_id"`
  185. BedId int64 `gorm:"column:bed_id" json:"bed_id"`
  186. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  187. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date"`
  188. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type"`
  189. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week"`
  190. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  191. Status int64 `gorm:"column:status" json:"status"`
  192. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  193. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  194. DeviceNumber DeviceNumber `gorm:"ForeignKey:ID;AssociationForeignKey:BedId" json:"device"`
  195. }
  196. func (Schedule) TableName() string {
  197. return "xt_schedule"
  198. }
  199. type DialysisPrescription struct {
  200. ID int64 `gorm:"column:id" json:"id"`
  201. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  202. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  203. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  204. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  205. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
  206. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  207. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
  208. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  209. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  210. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  211. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  212. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
  213. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
  214. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  215. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  216. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  217. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  218. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  219. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  220. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  221. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
  222. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
  223. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  224. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
  225. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
  226. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  227. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
  228. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
  229. Kalium float64 `gorm:"column:kalium" json:"kalium"`
  230. Sodium float64 `gorm:"column:sodium" json:"sodium"`
  231. Calcium float64 `gorm:"column:calcium" json:"calcium"`
  232. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
  233. Glucose float64 `gorm:"column:glucose" json:"glucose"`
  234. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  235. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  236. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
  237. Creater int64 `gorm:"column:creater" json:"creater"`
  238. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  239. Remark string `gorm:"column:remark" json:"remark"`
  240. Status int64 `gorm:"column:status" json:"status"`
  241. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  242. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  243. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  244. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  245. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  246. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  247. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  248. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  249. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  250. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  251. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  252. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  253. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  254. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  255. Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
  256. Jms int64 `gorm:"column:jms" json:"jms"`
  257. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
  258. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
  259. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
  260. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
  261. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
  262. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  263. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  264. Injector int64 `gorm:"column:injector" json:"injector"`
  265. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
  266. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
  267. Package int64 `gorm:"column:package" json:"package"`
  268. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
  269. AssessmentBeforeDislysis AssessmentBeforeDislysis `gorm:"ForeignKey:PatientId,AssessmentDate;AssociationForeignKey:PatientId,RecordDate" json:"before"`
  270. DialysisOrder DialysisOrder `gorm:"ForeignKey:PatientId,DialysisDate;AssociationForeignKey:PatientId,RecordDate" json:"order"`
  271. }
  272. func (DialysisPrescription) TableName() string {
  273. return "xt_dialysis_prescription"
  274. }
  275. type DoctorAdvice struct {
  276. ID int64 `gorm:"column:id" json:"id"`
  277. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  278. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  279. AdviceType int64 `gorm:"column:advice_type" json:"advice_type"`
  280. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date"`
  281. StartTime int64 `gorm:"column:start_time" json:"start_time"`
  282. AdviceName string `gorm:"column:advice_name" json:"advice_name"`
  283. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc"`
  284. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date"`
  285. SingleDose float64 `gorm:"column:single_dose" json:"single_dose"`
  286. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit"`
  287. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number"`
  288. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit"`
  289. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way"`
  290. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency"`
  291. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor"`
  292. Status int64 `gorm:"column:status" json:"status"`
  293. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  294. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  295. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm"`
  296. Remark string `gorm:"column:remark" json:"remark"`
  297. StopTime int64 `gorm:"column:stop_time" json:"stop_time"`
  298. StopReason string `gorm:"column:stop_reason" json:"stop_reason"`
  299. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor"`
  300. StopState int64 `gorm:"column:stop_state" json:"stop_state"`
  301. ParentId int64 `gorm:"column:parent_id" json:"parent_id"`
  302. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time"`
  303. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff"`
  304. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state"`
  305. Checker int64 `gorm:"column:checker" json:"checker"`
  306. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  307. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  308. CheckTime int64 `gorm:"column:check_time" json:"check_time"`
  309. CheckState int64 `gorm:"column:check_state" json:"check_state"`
  310. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec"`
  311. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit"`
  312. Groupno int64 `gorm:"column:groupno" json:"groupno"`
  313. }
  314. func (DoctorAdvice) TableName() string {
  315. return "xt_doctor_advice"
  316. }
  317. type AssessmentAfterDislysis struct {
  318. ID int64 `gorm:"column:id" json:"id"`
  319. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  320. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  321. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  322. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  323. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  324. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  325. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  326. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  327. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  328. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  329. ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration"`
  330. ActualDisplacement float64 `gorm:"column:actual_displacement" json:"actual_displacement"`
  331. ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour"`
  332. ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute"`
  333. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
  334. WeightAfter float64 `gorm:"column:weight_after" json:"weight_after"`
  335. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss"`
  336. Cruor string `gorm:"column:cruor" json:"cruor"`
  337. SymptomAfterDialysis string `gorm:"column:symptom_after_dialysis" json:"symptom_after_dialysis"`
  338. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula"`
  339. Catheter string `gorm:"column:catheter" json:"catheter"`
  340. Complication string `gorm:"column:complication" json:"complication"`
  341. Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
  342. Remark string `gorm:"column:remark" json:"remark"`
  343. DialysisIntakes int64 `gorm:"column:dialysis_intakes" json:"dialysis_intakes"`
  344. DialysisIntakesFeed int64 `gorm:"column:dialysis_intakes_feed" json:"dialysis_intakes_feed"`
  345. DialysisIntakesTransfusion int64 `gorm:"column:dialysis_intakes_transfusion" json:"dialysis_intakes_transfusion"`
  346. DialysisIntakesBloodTransfusion int64 `gorm:"column:dialysis_intakes_blood_transfusion" json:"dialysis_intakes_blood_transfusion"`
  347. DialysisIntakesWashpipe int64 `gorm:"column:dialysis_intakes_washpipe" json:"dialysis_intakes_washpipe"`
  348. Status int64 `gorm:"column:status" json:"status"`
  349. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  350. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  351. Creater int64 `gorm:"column:creater" json:"creater"`
  352. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  353. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
  354. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
  355. PuncturePointOozingBlood int64 `gorm:"column:puncture_point_oozing_blood" json:"puncture_point_oozing_blood"`
  356. PuncturePointHaematoma int64 `gorm:"column:puncture_point_haematoma" json:"puncture_point_haematoma"`
  357. InternalFistulaTremorAc int64 `gorm:"column:internal_fistula_tremor_ac" json:"internal_fistula_tremor_ac"`
  358. PatientGose int64 `gorm:"column:patient_gose" json:"patient_gose"`
  359. InpatientDepartment string `gorm:"column:inpatient_department" json:"inpatient_department"`
  360. ObservationContent string `gorm:"column:observation_content" json:"observation_content"`
  361. ObservationContentOther string `gorm:"column:observation_content_other" json:"observation_content_other"`
  362. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  363. DialysisProcess int64 `gorm:"column:dialysis_process" json:"dialysis_process"`
  364. InAdvanceMinute float64 `gorm:"column:in_advance_minute" json:"in_advance_minute"`
  365. InAdvanceReason string `gorm:"column:in_advance_reason" json:"in_advance_reason"`
  366. HemostasisMinute int64 `gorm:"column:hemostasis_minute" json:"hemostasis_minute"`
  367. HemostasisOpera int64 `gorm:"column:hemostasis_opera" json:"hemostasis_opera"`
  368. TremorNoise int64 `gorm:"column:tremor_noise" json:"tremor_noise"`
  369. DisequilibriumSyndrome int64 `gorm:"column:disequilibrium_syndrome" json:"disequilibrium_syndrome"`
  370. DisequilibriumSyndromeOption string `gorm:"column:disequilibrium_syndrome_option" json:"disequilibrium_syndrome_option"`
  371. ArterialTube int64 `gorm:"column:arterial_tube" json:"arterial_tube"`
  372. IntravenousTube int64 `gorm:"column:intravenous_tube" json:"intravenous_tube"`
  373. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  374. InAdvanceReasonOther string `gorm:"column:in_advance_reason_other" json:"in_advance_reason_other"`
  375. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor"`
  376. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time"`
  377. IsEat int64 `gorm:"column:is_eat" json:"is_eat"`
  378. }
  379. func (AssessmentAfterDislysis) TableName() string {
  380. return "xt_assessment_after_dislysis"
  381. }
  382. type AssessmentBeforeDislysis struct {
  383. ID int64 `gorm:"column:id" json:"id"`
  384. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  385. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  386. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  387. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  388. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  389. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  390. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  391. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  392. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  393. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  394. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  395. WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency"`
  396. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
  397. WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before"`
  398. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight"`
  399. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before"`
  400. WeightGain float64 `gorm:"column:weight_gain" json:"weight_gain"`
  401. PreloadedDewatering float64 `gorm:"column:preloaded_dewatering" json:"preloaded_dewatering"`
  402. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount"`
  403. DialysisInterphase string `gorm:"column:dialysis_interphase" json:"dialysis_interphase"`
  404. LastPostDialysis string `gorm:"column:last_post_dialysis" json:"last_post_dialysis"`
  405. SymptomBeforeDialysis string `gorm:"column:symptom_before_dialysis" json:"symptom_before_dialysis"`
  406. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula"`
  407. InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin"`
  408. CatheterBend int64 `gorm:"column:catheter_bend" json:"catheter_bend"`
  409. Catheter string `gorm:"column:catheter" json:"catheter"`
  410. Complication string `gorm:"column:complication" json:"complication"`
  411. Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
  412. Creater int64 `gorm:"column:creater" json:"creater"`
  413. Remark string `gorm:"column:remark" json:"remark"`
  414. Status int64 `gorm:"column:status" json:"status"`
  415. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  416. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  417. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  418. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
  419. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
  420. IsHemorrhage int64 `gorm:"column:is_hemorrhage" json:"is_hemorrhage"`
  421. Hemorrhage string `gorm:"column:hemorrhage" json:"hemorrhage"`
  422. HemorrhageOther string `gorm:"column:hemorrhage_other" json:"hemorrhage_other"`
  423. PunctureMethod string `gorm:"column:puncture_method" json:"puncture_method"`
  424. BloodAccessInternalFistula string `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula"`
  425. InternalFistulaOther string `gorm:"column:internal_fistula_other" json:"internal_fistula_other"`
  426. BloodAccessNoise int64 `gorm:"column:blood_access_noise" json:"blood_access_noise"`
  427. PunctureWay int64 `gorm:"column:puncture_way" json:"puncture_way"`
  428. VenousCatheterization int64 `gorm:"column:venous_catheterization" json:"venous_catheterization"`
  429. VenousCatheterizationPart int64 `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part"`
  430. VenousCatheterizationPartOther string `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other"`
  431. DuctusArantii string `gorm:"column:ductus_arantii" json:"ductus_arantii"`
  432. EmergencyTreatment int64 `gorm:"column:emergency_treatment" json:"emergency_treatment"`
  433. EmergencyTreatmentOther string `gorm:"column:emergency_treatment_other" json:"emergency_treatment_other"`
  434. DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count"`
  435. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor"`
  436. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time"`
  437. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  438. IsInfect int64 `gorm:"column:is_infect" json:"is_infect"`
  439. Exposed float64 `gorm:"column:exposed" json:"exposed"`
  440. Skin int64 `gorm:"column:skin" json:"skin"`
  441. SkinOther string `gorm:"column:skin_other" json:"skin_other"`
  442. InfectOther string `gorm:"column:infect_other" json:"infect_other"`
  443. DuctusArantiiOther string `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other"`
  444. }
  445. func (AssessmentBeforeDislysis) TableName() string {
  446. return "xt_assessment_before_dislysis"
  447. }
  448. type MonitoringRecord struct {
  449. ID int64 `gorm:"column:id" json:"id"`
  450. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  451. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  452. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  453. MonitoringDate int64 `gorm:"column:monitoring_date" json:"monitoring_date"`
  454. MonitoringTime string `gorm:"column:monitoring_time" json:"monitoring_time"`
  455. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  456. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  457. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  458. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  459. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  460. Pic string `gorm:"column:pic" json:"pic"`
  461. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  462. VenousPressure float64 `gorm:"column:venous_pressure" json:"venous_pressure"`
  463. VenousPressureUnit string `gorm:"column:venous_pressure_unit" json:"venous_pressure_unit"`
  464. ArterialPressure float64 `gorm:"column:arterial_pressure" json:"arterial_pressure"`
  465. TransmembranePressure float64 `gorm:"column:transmembrane_pressure" json:"transmembrane_pressure"`
  466. TransmembranePressureUnit string `gorm:"column:transmembrane_pressure_unit" json:"transmembrane_pressure_unit"`
  467. UltrafiltrationRate float64 `gorm:"column:ultrafiltration_rate" json:"ultrafiltration_rate"`
  468. UltrafiltrationVolume float64 `gorm:"column:ultrafiltration_volume" json:"ultrafiltration_volume"`
  469. SodiumConcentration float64 `gorm:"column:sodium_concentration" json:"sodium_concentration"`
  470. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  471. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  472. ReplacementRate float64 `gorm:"column:replacement_rate" json:"replacement_rate"`
  473. DisplacementQuantity float64 `gorm:"column:displacement_quantity" json:"displacement_quantity"`
  474. Ktv float64 `gorm:"column:ktv" json:"ktv"`
  475. Symptom string `gorm:"column:symptom" json:"symptom"`
  476. Dispose string `gorm:"column:dispose" json:"dispose"`
  477. Result string `gorm:"column:result" json:"result"`
  478. MonitoringNurse int64 `gorm:"column:monitoring_nurse" json:"monitoring_nurse"`
  479. Status int64 `gorm:"column:status" json:"status"`
  480. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  481. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  482. OperateTime int64 `gorm:"column:operate_time" json:"operate_time"`
  483. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  484. DisplacementFlowQuantity float64 `gorm:"column:displacement_flow_quantity" json:"displacement_flow_quantity"`
  485. DialysisOrder DialysisOrder `gorm:"ForeignKey:PatientId,DialysisDate;AssociationForeignKey:PatientId,MonitoringDate" json:"order"`
  486. }
  487. func (MonitoringRecord) TableName() string {
  488. return "xt_monitoring_record"
  489. }
  490. type PatientLapseto struct {
  491. ID int64 `gorm:"column:id" json:"id"`
  492. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  493. LapsetoType int64 `gorm:"column:lapseto_type" json:"lapseto_type"`
  494. LapsetoTime int64 `gorm:"column:lapseto_time" json:"lapseto_time"`
  495. Status int64 `gorm:"column:status" json:"status"`
  496. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  497. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  498. }
  499. func (PatientLapseto) TableName() string {
  500. return "xt_patient_lapseto"
  501. }
  502. type DialysisOrder struct {
  503. ID int64 `gorm:"column:id" json:"id"`
  504. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  505. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  506. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  507. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
  508. Stage int64 `gorm:"column:stage" json:"stage"`
  509. Remark string `gorm:"column:remark" json:"remark"`
  510. BedId int64 `gorm:"column:bed_id" json:"bed_id"`
  511. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  512. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse"`
  513. Status int64 `gorm:"column:status" json:"status"`
  514. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  515. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  516. StartTime int64 `gorm:"column:start_time" json:"start_time"`
  517. EndTime int64 `gorm:"column:end_time" json:"end_time"`
  518. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse"`
  519. Creator int64 `gorm:"column:creator" json:"creator"`
  520. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  521. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator"`
  522. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier"`
  523. }
  524. func (DialysisOrder) TableName() string {
  525. return "xt_dialysis_order"
  526. }
  527. type VMSchedule struct {
  528. ID int64 `gorm:"column:id" json:"id"`
  529. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  530. PartitionId int64 `gorm:"column:partition_id" json:"partition_id"`
  531. BedId int64 `gorm:"column:bed_id" json:"bed_id"`
  532. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  533. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date"`
  534. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type"`
  535. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week"`
  536. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  537. Status int64 `gorm:"column:status" json:"status"`
  538. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  539. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  540. DeviceNumber DeviceNumber `gorm:"ForeignKey:ID;AssociationForeignKey:BedId" json:"device"`
  541. VMDialysisPrescription VMDialysisPrescription `gorm:"ForeignKey:RecordDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"prescription"`
  542. AssessmentBeforeDislysis AssessmentBeforeDislysis `gorm:"ForeignKey:AssessmentDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"before"`
  543. AssessmentAfterDislysis AssessmentAfterDislysis `gorm:"ForeignKey:AssessmentDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"after"`
  544. DialysisOrder DialysisOrder `gorm:"ForeignKey:DialysisDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"order"`
  545. MonitoringRecord []MonitoringRecord `gorm:"ForeignKey:MonitoringDate,PatientID;AssociationForeignKey:ScheduleDate,PatientID" json:"monitor"`
  546. }
  547. func (VMSchedule) TableName() string {
  548. return "xt_schedule"
  549. }
  550. type VMDialysisPrescription struct {
  551. ID int64 `gorm:"column:id" json:"id"`
  552. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  553. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  554. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  555. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  556. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
  557. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  558. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
  559. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  560. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  561. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  562. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  563. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
  564. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
  565. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  566. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  567. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  568. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  569. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  570. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  571. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  572. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
  573. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
  574. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  575. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
  576. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
  577. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  578. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
  579. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
  580. Kalium float64 `gorm:"column:kalium" json:"kalium"`
  581. Sodium float64 `gorm:"column:sodium" json:"sodium"`
  582. Calcium float64 `gorm:"column:calcium" json:"calcium"`
  583. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
  584. Glucose float64 `gorm:"column:glucose" json:"glucose"`
  585. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  586. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  587. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
  588. Creater int64 `gorm:"column:creater" json:"creater"`
  589. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  590. Remark string `gorm:"column:remark" json:"remark"`
  591. Status int64 `gorm:"column:status" json:"status"`
  592. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  593. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  594. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  595. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  596. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  597. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  598. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  599. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  600. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  601. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  602. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  603. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  604. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  605. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  606. Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
  607. Jms int64 `gorm:"column:jms" json:"jms"`
  608. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
  609. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
  610. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
  611. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
  612. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
  613. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  614. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  615. Injector int64 `gorm:"column:injector" json:"injector"`
  616. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
  617. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
  618. Package int64 `gorm:"column:package" json:"package"`
  619. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
  620. }
  621. func (VMDialysisPrescription) TableName() string {
  622. return "xt_dialysis_prescription"
  623. }