patient_models.go 139KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784
  1. package models
  2. type PatientListForFaceList struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  5. }
  6. func (PatientListForFaceList) TableName() string {
  7. return "xt_patients"
  8. }
  9. type MSchedualPatientList struct {
  10. ID int64 `gorm:"column:id" json:"id" form:"id"`
  11. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  12. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  13. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  14. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  15. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  16. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  17. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  18. Age int64 `gorm:"column:age" json:"age"`
  19. Name string `gorm:"column:name" json:"name" form:"name"`
  20. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  21. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  22. TrobleShoot int64 `gorm:"column:troble_shoot" json:"troble_shoot" form:"troble_shoot"`
  23. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  24. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  25. }
  26. func (MSchedualPatientList) TableName() string {
  27. return "xt_patients"
  28. }
  29. type MDialysisOrderForList struct {
  30. ID int64 `gorm:"column:id" json:"id"`
  31. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  32. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  33. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  34. // PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
  35. Stage int64 `gorm:"column:stage" json:"stage"`
  36. // Remark string `gorm:"column:remark" json:"remark"`
  37. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  38. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  39. Status int64 `gorm:"column:status" json:"status"`
  40. DeviceNumber *MDeviceNumberForList `gorm:"ForeignKey:BedID" json:"device_number"`
  41. Creator int64 `gorm:"column:creator" json:"creator"`
  42. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  43. NucleinDate int64 `gorm:"column:nuclein_date" json:"nuclein_date" form:"nuclein_date"`
  44. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  45. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  46. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  47. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  48. }
  49. func (MDialysisOrderForList) TableName() string {
  50. return "xt_dialysis_order"
  51. }
  52. type MDialysisOrderForListSix struct {
  53. ID int64 `gorm:"column:id" json:"id"`
  54. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  55. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  56. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  57. Stage int64 `gorm:"column:stage" json:"stage"`
  58. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  59. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  60. Status int64 `gorm:"column:status" json:"status"`
  61. Creator int64 `gorm:"column:creator" json:"creator"`
  62. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  63. NucleinDate int64 `gorm:"column:nuclein_date" json:"nuclein_date" form:"nuclein_date"`
  64. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  65. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  66. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  67. }
  68. func (MDialysisOrderForListSix) TableName() string {
  69. return "xt_dialysis_order"
  70. }
  71. type VMTreatmentSummaryForList struct {
  72. ID int64 `gorm:"column:id" json:"id"`
  73. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  74. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  75. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  76. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  77. }
  78. func (VMTreatmentSummaryForList) TableName() string {
  79. return "xt_treatment_summary"
  80. }
  81. type VMDoctorAdviceForList struct {
  82. ID int64 `gorm:"column:id" json:"id" form:"id"`
  83. GroupNo int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  84. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  85. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  86. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  87. Status int64 `gorm:"column:status" json:"status" form:"status"`
  88. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  89. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  90. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  91. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  92. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  93. }
  94. func (VMDoctorAdviceForList) TableName() string {
  95. return "xt_doctor_advice"
  96. }
  97. type PatientListForFace struct {
  98. ID int64 `gorm:"column:id" json:"id" form:"id"`
  99. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  100. Name string `gorm:"column:name" json:"name" form:"name"`
  101. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  102. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  103. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  104. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  105. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  106. Age int64 `gorm:"column:age" json:"age"`
  107. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  108. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  109. }
  110. func (PatientListForFace) TableName() string {
  111. return "xt_patients"
  112. }
  113. type Patients struct {
  114. ID int64 `gorm:"column:id" json:"id" form:"id"`
  115. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  116. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  117. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  118. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  119. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  120. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  121. Source int64 `gorm:"column:source" json:"source" form:"source"`
  122. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  123. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  124. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  125. Name string `gorm:"column:name" json:"name" form:"name"`
  126. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  127. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  128. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  129. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  130. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  131. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  132. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  133. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  134. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  135. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  136. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  137. Height int64 `gorm:"column:height" json:"height" form:"height"`
  138. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  139. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  140. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  141. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  142. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  143. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  144. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  145. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  146. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  147. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  148. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  149. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  150. Children int64 `gorm:"column:children" json:"children" form:"children"`
  151. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  152. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  153. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  154. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  155. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  156. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  157. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  158. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  159. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  160. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  161. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  162. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  163. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  164. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  165. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  166. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  167. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  168. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  169. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  170. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  171. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
  172. PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
  173. PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
  174. Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
  175. Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
  176. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
  177. SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
  178. DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
  179. Status int64 `gorm:"column:status" json:"status" form:"status"`
  180. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  181. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  182. DialysisSolutions []DialysisSolution `json:"solutions" gorm:"foreignkey:PatientId"`
  183. Age int64 `gorm:"column:age" json:"age"`
  184. Schedules []Schedule `json:"schedules" gorm:"foreignkey:PatientId"`
  185. Contagions []InfectiousDiseases `json:"contagions" gorm:"foreignkey:PatientId"`
  186. Diseases []ChronicDiseases `json:"diseases" gorm:"foreignkey:PatientId"`
  187. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time"`
  188. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious"`
  189. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle"`
  190. ResponseResult string `gorm:"column:response_result" json:"response_result"`
  191. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  192. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  193. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  194. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  195. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  196. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  197. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  198. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  199. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  200. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  201. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  202. TrobleShoot int64 `gorm:"column:troble_shoot" json:"troble_shoot" form:"troble_shoot"`
  203. ContagionIds []int64 `gorm:"-"`
  204. DryWeight float64 `gorm:"-"`
  205. ZbPatientId string `gorm:"column:zb_patient_id" json:"zb_patient_id" form:"zb_patient_id"`
  206. TreatmentPlan string `gorm:"column:treatment_plan" json:"treatment_plan" form:"treatment_plan"`
  207. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  208. }
  209. func (Patients) TableName() string {
  210. return "xt_patients"
  211. }
  212. type ChronicDiseases struct {
  213. ID int64 `gorm:"column:id" json:"id" form:"id"`
  214. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  215. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  216. Status int64 `gorm:"column:status" json:"status" form:"status"`
  217. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  218. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  219. }
  220. func (ChronicDiseases) TableName() string {
  221. return "xt_patients_chronic_diseases"
  222. }
  223. type InfectiousDiseases struct {
  224. ID int64 `gorm:"column:id" json:"id" form:"id"`
  225. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  226. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  227. Status int64 `gorm:"column:status" json:"status" form:"status"`
  228. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  229. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  230. }
  231. func (InfectiousDiseases) TableName() string {
  232. return "xt_patients_infectious_diseases"
  233. }
  234. type DialysisPrescription struct {
  235. ID int64 `gorm:"column:id" json:"id"`
  236. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  237. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  238. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  239. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  240. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
  241. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
  242. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  243. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  244. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  245. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  246. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
  247. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
  248. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  249. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  250. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  251. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  252. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  253. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
  254. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
  255. //DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  256. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
  257. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
  258. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  259. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
  260. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
  261. Kalium float64 `gorm:"column:kalium" json:"kalium"`
  262. Sodium float64 `gorm:"column:sodium" json:"sodium"`
  263. Calcium float64 `gorm:"column:calcium" json:"calcium"`
  264. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
  265. Glucose float64 `gorm:"column:glucose" json:"glucose"`
  266. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  267. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  268. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
  269. Remark string `gorm:"column:remark" json:"remark"`
  270. Status int64 `gorm:"column:status" json:"status"`
  271. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  272. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  273. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  274. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  275. Creater int64 `gorm:"column:creater" json:"creater"`
  276. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  277. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  278. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  279. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  280. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  281. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  282. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  283. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  284. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  285. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  286. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  287. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  288. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  289. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  290. Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
  291. Jms int64 `gorm:"column:jms" json:"jms"`
  292. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
  293. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
  294. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
  295. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
  296. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
  297. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  298. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  299. Injector int64 `gorm:"column:injector" json:"injector"`
  300. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
  301. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
  302. Package int64 `gorm:"column:package" json:"package"`
  303. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
  304. UserAdminRole UserAdminRole `json:"role" gorm:"foreignkey:AdminUserId;AssociationForeignKey:Creater;"`
  305. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  306. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  307. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  308. Blood string `gorm:"column:blood" json:"blood"`
  309. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  310. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  311. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  312. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  313. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  314. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  315. SingleTime string `gorm:"column:single_time" json:"single_time" form:"single_time"`
  316. SingleWater string `gorm:"column:single_water" json:"single_water" form:"single_water"`
  317. ReplacementFlow string `gorm:"column:replacement_flow" json:"replacement_flow" form:"replacement_flow"`
  318. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  319. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  320. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  321. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  322. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  323. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  324. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  325. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  326. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  327. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  328. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  329. MaxUltrafiltrationRate float64 `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  330. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  331. IsWater int64 `gorm:"column:is_water" json:"is_water" form:"is_water"`
  332. DrhyWater string `gorm:"column:drhy_water" json:"drhy_water" form:"drhy_water"`
  333. DryWaterHour string `gorm:"column:dry_water_hour" json:"dry_water_hour" form:"dry_water_hour"`
  334. WaterMachine string `gorm:"column:water_machine" json:"water_machine" form:"water_machine"`
  335. AddAmount float64 `gorm:"column:add_amount" json:"add_amount" form:"add_amount"`
  336. ReduceAmount float64 `gorm:"column:reduce_amount" json:"reduce_amount" form:"reduce_amount"`
  337. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  338. }
  339. func (DialysisPrescription) TableName() string {
  340. return "xt_dialysis_prescription"
  341. }
  342. type DialysisPrescriptionList struct {
  343. ID int64 `gorm:"column:id" json:"id" form:"id"`
  344. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  345. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  346. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  347. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  348. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  349. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  350. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  351. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  352. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  353. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  354. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  355. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  356. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  357. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  358. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  359. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  360. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  361. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  362. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  363. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  364. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  365. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  366. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  367. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  368. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  369. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  370. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  371. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  372. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  373. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  374. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  375. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  376. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  377. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  378. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  379. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  380. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  381. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  382. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  383. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  384. Status int64 `gorm:"column:status" json:"status" form:"status"`
  385. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  386. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  387. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  388. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  389. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  390. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  391. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  392. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  393. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  394. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  395. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  396. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  397. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  398. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  399. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  400. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  401. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  402. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  403. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  404. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  405. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  406. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  407. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  408. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  409. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  410. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  411. Package int64 `gorm:"column:package" json:"package" form:"package"`
  412. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  413. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  414. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  415. HeparinSodium string `gorm:"column:heparin_sodium" json:"heparin_sodium" form:"heparin_sodium"`
  416. Nucleoprotamine string `gorm:"column:nucleoprotamine" json:"nucleoprotamine" form:"nucleoprotamine"`
  417. PushTheProtamine string `gorm:"column:push_the_protamine" json:"push_the_protamine" form:"push_the_protamine"`
  418. NoHeparinRemarks string `gorm:"column:no_heparin_remarks" json:"no_heparin_remarks" form:"no_heparin_remarks"`
  419. Blood string `gorm:"column:blood" json:"blood" form:"blood"`
  420. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  421. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  422. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  423. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  424. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  425. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  426. SingleTime string `gorm:"column:single_time" json:"single_time" form:"single_time"`
  427. SingleWater string `gorm:"column:single_water" json:"single_water" form:"single_water"`
  428. ReplacementFlow string `gorm:"column:replacement_flow" json:"replacement_flow" form:"replacement_flow"`
  429. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  430. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  431. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  432. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  433. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  434. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  435. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  436. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  437. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  438. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  439. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  440. MaxUltrafiltrationRate string `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  441. WaterMachine string `gorm:"column:water_machine" json:"water_machine" form:"water_machine"`
  442. }
  443. func (DialysisPrescriptionList) TableName() string {
  444. return "xt_dialysis_prescription"
  445. }
  446. type DialysisAssesmentBefor struct {
  447. ID int64 `gorm:"column:id" json:"id"`
  448. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  449. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  450. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  451. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  452. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  453. }
  454. func (DialysisAssesmentBefor) TableName() string {
  455. return "xt_assessment_before_dislysis"
  456. }
  457. type DialysisSolution struct {
  458. ID int64 `gorm:"column:id" json:"id" form:"id"`
  459. Name string `gorm:"column:name" json:"name" form:"name"`
  460. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  461. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  462. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  463. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  464. Type int64 `gorm:"column:type" json:"type" form:"type"`
  465. Period string `gorm:"column:period" json:"period" form:"period"`
  466. Times string `gorm:"column:times" json:"times" form:"times"`
  467. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  468. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  469. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  470. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  471. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  472. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  473. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  474. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  475. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  476. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  477. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  478. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  479. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  480. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  481. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  482. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  483. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  484. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  485. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  486. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  487. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  488. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  489. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  490. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  491. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  492. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  493. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  494. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  495. Status int64 `gorm:"column:status" json:"status" form:"status"`
  496. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  497. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  498. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  499. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  500. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  501. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  502. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  503. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  504. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  505. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  506. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  507. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  508. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  509. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  510. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  511. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  512. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  513. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialysate_formulation"`
  514. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  515. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  516. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  517. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  518. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  519. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  520. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  521. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  522. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  523. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  524. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  525. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  526. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  527. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  528. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  529. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  530. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  531. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  532. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  533. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  534. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  535. MaxUltrafiltrationRate float64 `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  536. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  537. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  538. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  539. }
  540. func (DialysisSolution) TableName() string {
  541. return "xt_dialysis_solution"
  542. }
  543. type UserAdminRole struct {
  544. ID int64 `gorm:"column:id" json:"id"`
  545. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  546. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  547. AppId int64 `gorm:"column:app_id" json:"app_id"`
  548. RoleId int64 `gorm:"column:role_id" json:"role_id"`
  549. UserName string `gorm:"column:user_name" json:"user_name"`
  550. Avatar string `gorm:"column:avatar" json:"avatar"`
  551. UserType int64 `gorm:"column:user_type" json:"user_type"`
  552. UserTitle int64 `gorm:"column:user_title" json:"user_title"`
  553. Intro string `gorm:"column:intro" json:"intro"`
  554. Status int64 `gorm:"column:status" json:"status"`
  555. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  556. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  557. DoctorNumber string `gorm:"column:doctor_number" json:"doctor_number"`
  558. Department string `gorm:"column:department" json:"department"`
  559. DepartmentId int64 `gorm:"column:department_id" json:"department_id"`
  560. XtHisDepartment XtHisDepartment `json:"department" gorm:"foreignkey:DepartmentId;AssociationForeignKey:ID;"`
  561. }
  562. func (UserAdminRole) TableName() string {
  563. return "sgj_user_admin_role"
  564. }
  565. type PatientDialysisRecord struct {
  566. DialysisOrder
  567. ScheduleType int64 `gorm:"-" json:"schedule_type" form:"schedule_type"`
  568. PartitionId int64 `gorm:"-" json:"partition_id" form:"partition_id"`
  569. PartitionName string `gorm:"-" json:"partition_name" form:"partition_name"`
  570. DeviceNumber string `gorm:"-" json:"device_number" form:"device_number"`
  571. // DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordId"`
  572. // PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:DialysisOrderId"`
  573. // AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:DialysisOrderId"`
  574. // TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:DialysisOrderId"`
  575. DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordDate;AssociationForeignKey:DialysisDate;"`
  576. PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  577. AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  578. TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  579. Device DeviceNumber `json:"device" gorm:"foreignkey:ID;AssociationForeignKey:BedID;"`
  580. MonitoringRecord []MonitoringRecord `json:"monitoring_record" gorm:"foreignkey:MonitoringDate;AssociationForeignKey:DialysisDate;"`
  581. }
  582. type DialysisPrescriptionAddtional struct {
  583. DialysisPrescription
  584. Device Device `json:"device" gorm:"foreignkey:dialyzer"`
  585. }
  586. type PatientDiseaseCourse struct {
  587. ID int64 `gorm:"column:id" json:"id" form:"id"`
  588. OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  589. PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  590. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  591. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  592. Content string `gorm:"column:content" json:"content" form:"content"`
  593. Status int64 `gorm:"column:status" json:"-" form:"-"`
  594. CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
  595. ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
  596. Title string `gorm:"column:title" json:"title"`
  597. }
  598. func (PatientDiseaseCourse) TableName() string {
  599. return "xt_patient_course_of_disease"
  600. }
  601. type PatientRescueRecord struct {
  602. ID int64 `gorm:"column:id" json:"id" form:"id"`
  603. OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  604. PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  605. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  606. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  607. Content string `gorm:"column:content" json:"content" form:"content"`
  608. Status int64 `gorm:"column:status" json:"-" form:"-"`
  609. CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
  610. ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
  611. }
  612. func (PatientRescueRecord) TableName() string {
  613. return "xt_patient_rescue_record"
  614. }
  615. type PatientLapseto struct {
  616. ID int64 `gorm:"column:id" json:"id" form:"id"`
  617. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  618. LapsetoType int64 `gorm:"column:lapseto_type" json:"lapseto_type" form:"lapseto_type"`
  619. LapsetoTime int64 `gorm:"column:lapseto_time" json:"lapseto_time" form:"lapseto_time"`
  620. Status int64 `gorm:"column:status" json:"status" form:"status"`
  621. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  622. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  623. }
  624. func (PatientLapseto) TableName() string {
  625. return "xt_patient_lapseto"
  626. }
  627. type FormItem struct {
  628. ID int64 `json:"id"`
  629. ProjectId int64 `json:"project_id"`
  630. ProjectName string `json:"project_name"`
  631. ItemId int64 `json:"item_id"`
  632. Item string `json:"item"`
  633. ItemName string `json:"item_name"`
  634. RangeType int64 `json:"range_type"`
  635. Value string `json:"value"`
  636. }
  637. type SgjUserIllness struct {
  638. ID int64 `gorm:"column:id" json:"id" form:"id"`
  639. IllnessName string `gorm:"column:illness_name" json:"illness_name" form:"illness_name"`
  640. Status int64 `gorm:"column:status" json:"status" form:"status"`
  641. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  642. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  643. }
  644. func (SgjUserIllness) TableName() string {
  645. return "sgj_user_illness"
  646. }
  647. type XtPatientsNew struct {
  648. ID int64 `gorm:"column:id" json:"id" form:"id"`
  649. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  650. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  651. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  652. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  653. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  654. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  655. Source int64 `gorm:"column:source" json:"source" form:"source"`
  656. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  657. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  658. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  659. Name string `gorm:"column:name" json:"name" form:"name"`
  660. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  661. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  662. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  663. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  664. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  665. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  666. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  667. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  668. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  669. Height int64 `gorm:"column:height" json:"height" form:"height"`
  670. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  671. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  672. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  673. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  674. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  675. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  676. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  677. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  678. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  679. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  680. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  681. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  682. Children int64 `gorm:"column:children" json:"children" form:"children"`
  683. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  684. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  685. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  686. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  687. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  688. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  689. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  690. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  691. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  692. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  693. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  694. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  695. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  696. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  697. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  698. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  699. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  700. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  701. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  702. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  703. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  704. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  705. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  706. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  707. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  708. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  709. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  710. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  711. Status int64 `gorm:"column:status" json:"status" form:"status"`
  712. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  713. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  714. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  715. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  716. Age int64 `gorm:"column:age" json:"age" form:"age"`
  717. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  718. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  719. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  720. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  721. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  722. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  723. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  724. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  725. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  726. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  727. BloodPatients int64 `gorm:"column:blood_patients" json:"blood_patients" form:"blood_patients"`
  728. SlowPatients int64 `gorm:"column:slow_patients" json:"slow_patients" form:"slow_patients"`
  729. MemberPatients int64 `gorm:"column:member_patients" json:"member_patients" form:"member_patients"`
  730. EcommerPatients string `gorm:"column:ecommer_patients" json:"ecommer_patients" form:"ecommer_patients"`
  731. BloodId int64 `gorm:"column:blood_id" json:"blood_id" form:"blood_id"`
  732. SlowId int64 `gorm:"column:slow_id" json:"slow_id" form:"slow_id"`
  733. MemberId int64 `gorm:"column:member_id" json:"member_id" form:"member_id"`
  734. MemberFistdate int64 `gorm:"column:member_fistdate" json:"member_fistdate" form:"member_fistdate"`
  735. MemberPatienttype int64 `gorm:"column:member_patienttype" json:"member_patienttype" form:"member_patienttype"`
  736. MemberTreatement int64 `gorm:"column:member_treatement" json:"member_treatement" form:"member_treatement"`
  737. EquitmentId string `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  738. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  739. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  740. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  741. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  742. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  743. TrobleShoot int64 `gorm:"column:troble_shoot" json:"troble_shoot" form:"troble_shoot"`
  744. TreatmentPlan string `gorm:"column:treatment_plan" json:"treatment_plan" form:"treatment_plan"`
  745. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  746. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  747. }
  748. func (XtPatientsNew) TableName() string {
  749. return "xt_patients_new"
  750. }
  751. type PatientsNew struct {
  752. ID int64 `gorm:"column:id" json:"id" form:"id"`
  753. Name string `gorm:"column:name" json:"name" form:"name"`
  754. }
  755. type CdmPatients struct {
  756. ID int64 `gorm:"column:id" json:"id" form:"id"`
  757. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  758. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  759. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  760. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  761. Source int64 `gorm:"column:source" json:"source" form:"source"`
  762. Name string `gorm:"column:name" json:"name" form:"name"`
  763. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  764. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  765. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  766. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  767. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  768. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  769. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  770. Height int64 `gorm:"column:height" json:"height" form:"height"`
  771. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  772. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  773. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  774. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  775. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  776. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  777. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  778. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  779. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  780. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  781. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  782. Children int64 `gorm:"column:children" json:"children" form:"children"`
  783. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  784. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  785. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  786. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  787. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  788. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  789. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  790. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  791. Status int64 `gorm:"column:status" json:"status" form:"status"`
  792. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  793. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  794. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  795. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  796. }
  797. func (CdmPatients) TableName() string {
  798. return "xt_patients"
  799. }
  800. type CdmPatientsInfectiousDiseases struct {
  801. ID int64 `gorm:"column:id" json:"id" form:"id"`
  802. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  803. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  804. Status int64 `gorm:"column:status" json:"status" form:"status"`
  805. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  806. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  807. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  808. }
  809. func (CdmPatientsInfectiousDiseases) TableName() string {
  810. return "xt_patients_infectious_diseases"
  811. }
  812. type CdmPatientsChronicDiseases struct {
  813. ID int64 `gorm:"column:id" json:"id" form:"id"`
  814. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  815. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  816. Status int64 `gorm:"column:status" json:"status" form:"status"`
  817. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  818. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  819. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  820. }
  821. func (CdmPatientsChronicDiseases) TableName() string {
  822. return "xt_patients_chronic_diseases"
  823. }
  824. type SgjUserCustomer struct {
  825. ID int64 `gorm:"column:id" json:"id" form:"id"`
  826. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  827. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  828. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  829. Name string `gorm:"column:name" json:"name" form:"name"`
  830. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  831. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  832. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  833. Address string `gorm:"column:address" json:"address" form:"address"`
  834. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  835. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  836. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  837. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  838. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  839. Membership int64 `gorm:"column:membership" json:"membership" form:"membership"`
  840. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  841. Status int64 `gorm:"column:status" json:"status" form:"status"`
  842. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  843. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  844. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  845. WechatUnionid string `gorm:"column:wechat_unionid" json:"wechat_unionid" form:"wechat_unionid"`
  846. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  847. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  848. YzUid int64 `gorm:"column:yz_uid" json:"yz_uid" form:"yz_uid"`
  849. Tttime int64 `gorm:"column:tttime" json:"tttime" form:"tttime"`
  850. IllDate int64 `gorm:"column:ill_date" json:"ill_date" form:"ill_date"`
  851. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  852. }
  853. func (SgjUserCustomer) TableName() string {
  854. return "sgj_user_customer"
  855. }
  856. type PatientCourseOfDiseases struct {
  857. ID int64 `gorm:"column:id" json:"id" form:"id"`
  858. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  859. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  860. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  861. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  862. Content string `gorm:"column:content" json:"content" form:"content"`
  863. Status int64 `gorm:"column:status" json:"status" form:"status"`
  864. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  865. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  866. Title string `gorm:"column:title" json:"title" form:"title"`
  867. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  868. }
  869. type PatientCourseOfDiseasess struct {
  870. ID int64 `gorm:"column:id" json:"id" form:"id"`
  871. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  872. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  873. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  874. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  875. Content string `gorm:"column:content" json:"content" form:"content"`
  876. Status int64 `gorm:"column:status" json:"status" form:"status"`
  877. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  878. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  879. Title string `gorm:"column:title" json:"title" form:"title"`
  880. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  881. Name string `gorm:"column:name" json:"name" form:"name"`
  882. }
  883. type PatientCourseOfDisease struct {
  884. ID int64 `gorm:"column:id" json:"id" form:"id"`
  885. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  886. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  887. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  888. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  889. Content string `gorm:"column:content" json:"content" form:"content"`
  890. Status int64 `gorm:"column:status" json:"status" form:"status"`
  891. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  892. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  893. Title string `gorm:"column:title" json:"title" form:"title"`
  894. }
  895. func (PatientCourseOfDisease) TableName() string {
  896. return "xt_patient_course_of_disease"
  897. }
  898. type XtPatientsInfectiousDiseases struct {
  899. ID int64 `gorm:"column:id" json:"id" form:"id"`
  900. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  901. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  902. Status int64 `gorm:"column:status" json:"status" form:"status"`
  903. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  904. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  905. }
  906. func (XtPatientsInfectiousDiseases) TableName() string {
  907. return "xt_patients_infectious_diseases"
  908. }
  909. type XtInspectionReference struct {
  910. ID int64 `gorm:"column:id" json:"id" form:"id"`
  911. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  912. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  913. Project string `gorm:"column:project" json:"project" form:"project"`
  914. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  915. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  916. ItemNameAddition string `gorm:"column:item_name_addition" json:"item_name_addition" form:"item_name_addition"`
  917. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  918. Item string `gorm:"column:item" json:"item" form:"item"`
  919. RangeType int64 `gorm:"column:range_type" json:"range_type" form:"range_type"`
  920. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  921. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  922. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  923. RangeOptions string `gorm:"column:range_options" json:"range_options" form:"range_options"`
  924. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  925. Status int64 `gorm:"column:status" json:"status" form:"status"`
  926. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  927. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  928. }
  929. func (XtInspectionReference) TableName() string {
  930. return "xt_inspection_reference"
  931. }
  932. type VmXtInspection struct {
  933. ID int64 `gorm:"column:id" json:"id" form:"id"`
  934. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  935. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  936. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  937. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  938. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  939. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  940. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  941. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  942. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  943. Status int64 `gorm:"column:status" json:"status" form:"status"`
  944. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  945. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  946. RangeType int64 `gorm:"column:range_type" json:"range_type" form:"range_type"`
  947. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  948. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  949. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  950. }
  951. type XtInspection struct {
  952. ID int64 `gorm:"column:id" json:"id" form:"id"`
  953. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  954. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  955. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  956. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  957. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  958. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  959. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  960. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  961. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  962. Status int64 `gorm:"column:status" json:"status" form:"status"`
  963. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  964. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  965. }
  966. func (XtInspection) TableName() string {
  967. return "xt_inspection"
  968. }
  969. type VmInspection struct {
  970. ID int64 `gorm:"column:id" json:"id" form:"id"`
  971. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  972. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  973. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  974. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  975. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  976. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  977. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  978. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  979. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  980. Status int64 `gorm:"column:status" json:"status" form:"status"`
  981. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  982. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  983. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  984. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  985. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  986. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  987. }
  988. type BloodXtPatients struct {
  989. ID int64 `gorm:"column:id" json:"id" form:"id"`
  990. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  991. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  992. Name string `gorm:"column:name" json:"name" form:"name"`
  993. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  994. }
  995. func (BloodXtPatients) TableName() string {
  996. return "xt_patients"
  997. }
  998. type XtPatients struct {
  999. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1000. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1001. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  1002. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  1003. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  1004. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1005. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  1006. Source int64 `gorm:"column:source" json:"source" form:"source"`
  1007. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1008. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1009. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1010. Name string `gorm:"column:name" json:"name" form:"name"`
  1011. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  1012. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  1013. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  1014. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1015. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  1016. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  1017. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  1018. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  1019. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  1020. Height int64 `gorm:"column:height" json:"height" form:"height"`
  1021. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  1022. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  1023. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  1024. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  1025. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  1026. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  1027. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  1028. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  1029. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  1030. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  1031. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  1032. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  1033. Children int64 `gorm:"column:children" json:"children" form:"children"`
  1034. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  1035. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  1036. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  1037. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  1038. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  1039. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  1040. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  1041. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  1042. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  1043. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  1044. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  1045. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  1046. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  1047. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  1048. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  1049. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1050. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  1051. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  1052. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  1053. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  1054. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  1055. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  1056. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  1057. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1058. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  1059. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  1060. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  1061. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  1062. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1063. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1064. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1065. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  1066. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  1067. Age int64 `gorm:"column:age" json:"age" form:"age"`
  1068. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  1069. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  1070. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  1071. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  1072. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  1073. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  1074. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  1075. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  1076. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  1077. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  1078. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  1079. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  1080. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  1081. }
  1082. func (XtPatients) TableName() string {
  1083. return "xt_patients"
  1084. }
  1085. type SgjUserAdminLoginLog struct {
  1086. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1087. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1088. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1089. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  1090. Ip string `gorm:"column:ip" json:"ip" form:"ip"`
  1091. OperateType int64 `gorm:"column:operate_type" json:"operate_type" form:"operate_type"`
  1092. AppType int64 `gorm:"column:app_type" json:"app_type" form:"app_type"`
  1093. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1094. }
  1095. func (SgjUserAdminLoginLog) TableName() string {
  1096. return "sgj_user_admin_login_log"
  1097. }
  1098. type KyActivityTable struct {
  1099. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1100. Name string `gorm:"column:name" json:"name" form:"name"`
  1101. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  1102. Address string `gorm:"column:address" json:"address" form:"address"`
  1103. Position int64 `gorm:"column:position" json:"position" form:"position"`
  1104. HospitalName string `gorm:"column:hospital_name" json:"hospital_name" form:"hospital_name"`
  1105. IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  1106. IsThink int64 `gorm:"column:is_think" json:"is_think" form:"is_think"`
  1107. OtherMode string `gorm:"column:other_mode" json:"other_mode" form:"other_mode"`
  1108. OtherRemark string `gorm:"column:other_remark" json:"other_remark" form:"other_remark"`
  1109. Gift int64 `gorm:"column:gift" json:"gift" form:"gift"`
  1110. OtherMessage string `gorm:"column:other_message" json:"other_message" form:"other_message"`
  1111. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1112. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1113. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1114. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1115. SystemName string `gorm:"column:system_name" json:"system_name" form:"system_name"`
  1116. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1117. }
  1118. func (KyActivityTable) TableName() string {
  1119. return "ky_activity_table"
  1120. }
  1121. type SgjUserRole struct {
  1122. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1123. RoleName string `gorm:"column:role_name" json:"role_name" form:"role_name"`
  1124. RoleIntroduction string `gorm:"column:role_introduction" json:"role_introduction" form:"role_introduction"`
  1125. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  1126. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1127. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  1128. IsSuperAdmin int64 `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
  1129. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1130. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1131. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1132. Number int64 `gorm:"column:number" json:"number" form:"number"`
  1133. IsSystem int64 `gorm:"column:is_system" json:"is_system" form:"is_system"`
  1134. }
  1135. func (SgjUserRole) TableName() string {
  1136. return "sgj_user_role"
  1137. }
  1138. type ExportErrLog struct {
  1139. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1140. LogType int64 `gorm:"column:log_type" json:"log_type" form:"log_type"`
  1141. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1142. ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
  1143. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  1144. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  1145. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1146. ExportTime int64 `gorm:"column:export_time" json:"export_time" form:"export_time"`
  1147. }
  1148. func (ExportErrLog) TableName() string {
  1149. return "xt_export_err_log"
  1150. }
  1151. type ExportLog struct {
  1152. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1153. LogType int64 `gorm:"column:log_type" json:"log_type" form:"log_type"`
  1154. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1155. TotalNum int64 `gorm:"column:total_num" json:"total_num" form:"total_num"`
  1156. FailNum int64 `gorm:"column:fail_num" json:"fail_num" form:"fail_num"`
  1157. SuccessNum int64 `gorm:"column:success_num" json:"success_num" form:"success_num"`
  1158. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  1159. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  1160. ExportTime int64 `gorm:"column:export_time" json:"export_time" form:"export_time"`
  1161. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1162. ExportErrLog []*ExportErrLog `json:"err_logs" gorm:"foreignkey:ExportTime;AssociationForeignKey:ExportTime;"`
  1163. }
  1164. func (ExportLog) TableName() string {
  1165. return "xt_export_log"
  1166. }
  1167. type XtTemplateSummary struct {
  1168. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1169. StartYear int64 `gorm:"column:start_year" json:"start_year" form:"start_year"`
  1170. StartMonth int64 `gorm:"column:start_month" json:"start_month" form:"start_month"`
  1171. Radio int64 `gorm:"column:radio" json:"radio" form:"radio"`
  1172. Quarter int64 `gorm:"column:quarter" json:"quarter" form:"quarter"`
  1173. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  1174. DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
  1175. HdCount int64 `gorm:"column:hd_count" json:"hd_count" form:"hd_count"`
  1176. HdfCount int64 `gorm:"column:hdf_count" json:"hdf_count" form:"hdf_count"`
  1177. HpCount int64 `gorm:"column:hp_count" json:"hp_count" form:"hp_count"`
  1178. OtherCount int64 `gorm:"column:other_count" json:"other_count" form:"other_count"`
  1179. DialzerApparatus string `gorm:"column:dialzer_apparatus" json:"dialzer_apparatus" form:"dialzer_apparatus"`
  1180. PerfusionApparatus string `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  1181. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1182. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  1183. Autunite float64 `gorm:"column:autunite" json:"autunite" form:"autunite"`
  1184. Natrium float64 `gorm:"column:natrium" json:"natrium" form:"natrium"`
  1185. Hour int64 `gorm:"column:hour" json:"hour" form:"hour"`
  1186. Minute int64 `gorm:"column:minute" json:"minute" form:"minute"`
  1187. BeforWeight float64 `gorm:"column:befor_weight" json:"befor_weight" form:"befor_weight"`
  1188. AfterWeight float64 `gorm:"column:after_weight" json:"after_weight" form:"after_weight"`
  1189. BeforPressure string `gorm:"column:befor_pressure" json:"befor_pressure" form:"befor_pressure"`
  1190. AfterPressure string `gorm:"column:after_pressure" json:"after_pressure" form:"after_pressure"`
  1191. TemplateSummaryId int64 `gorm:"column:template_summary_id" json:"template_summary_id" form:"template_summary_id"`
  1192. TemplateSummaryContent string `gorm:"column:template_summary_content" json:"template_summary_content" form:"template_summary_content"`
  1193. TemplatePlanId int64 `gorm:"column:template_plan_id" json:"template_plan_id" form:"template_plan_id"`
  1194. TemplatePlanContent string `gorm:"column:template_plan_content" json:"template_plan_content" form:"template_plan_content"`
  1195. TemplateInspectionId int64 `gorm:"column:template_inspection_id" json:"template_inspection_id" form:"template_inspection_id"`
  1196. TemplateInspectionContent string `gorm:"column:template_inspection_content" json:"template_inspection_content" form:"template_inspection_content"`
  1197. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1198. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  1199. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1200. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1201. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1202. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1203. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1204. Title string `gorm:"column:title" json:"title" form:"title"`
  1205. ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
  1206. InspectDate string `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  1207. Patients VmPatients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
  1208. Children []*VmInspection `gorm:"column:children" json:"children" form:"children"`
  1209. }
  1210. func (XtTemplateSummary) TableName() string {
  1211. return "xt_template_summary"
  1212. }
  1213. type VmPatients struct {
  1214. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1215. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1216. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  1217. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  1218. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  1219. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1220. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  1221. Source int64 `gorm:"column:source" json:"source" form:"source"`
  1222. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1223. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1224. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1225. Name string `gorm:"column:name" json:"name" form:"name"`
  1226. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  1227. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  1228. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  1229. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1230. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  1231. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  1232. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  1233. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  1234. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  1235. Height int64 `gorm:"column:height" json:"height" form:"height"`
  1236. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  1237. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  1238. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  1239. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  1240. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  1241. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  1242. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  1243. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  1244. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  1245. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  1246. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  1247. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  1248. Children int64 `gorm:"column:children" json:"children" form:"children"`
  1249. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  1250. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  1251. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  1252. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  1253. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  1254. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  1255. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  1256. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  1257. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  1258. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  1259. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  1260. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  1261. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  1262. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  1263. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  1264. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1265. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  1266. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  1267. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  1268. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  1269. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  1270. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  1271. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  1272. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1273. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  1274. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  1275. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  1276. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  1277. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1278. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1279. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1280. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  1281. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  1282. Age int64 `gorm:"column:age" json:"age" form:"age"`
  1283. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  1284. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  1285. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  1286. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  1287. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  1288. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  1289. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  1290. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  1291. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  1292. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  1293. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  1294. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  1295. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  1296. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  1297. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  1298. }
  1299. func (VmPatients) TableName() string {
  1300. return "xt_patients"
  1301. }
  1302. type XtAssessmentBeforeDislysis struct {
  1303. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1304. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1305. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1306. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  1307. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  1308. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1309. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency" form:"pulse_frequency"`
  1310. BreathingRate string `gorm:"column:breathing_rate" json:"breathing_rate" form:"breathing_rate"`
  1311. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure" form:"systolic_blood_pressure"`
  1312. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure" form:"diastolic_blood_pressure"`
  1313. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type" form:"blood_pressure_type"`
  1314. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  1315. WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency" form:"weight_after_last_transparency"`
  1316. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way" form:"weighing_way"`
  1317. WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before" form:"weighing_before"`
  1318. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight" form:"additional_weight"`
  1319. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before" form:"weight_before"`
  1320. WeightGain float64 `gorm:"column:weight_gain" json:"weight_gain" form:"weight_gain"`
  1321. PreloadedDewatering float64 `gorm:"column:preloaded_dewatering" json:"preloaded_dewatering" form:"preloaded_dewatering"`
  1322. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount" form:"ultrafiltration_amount"`
  1323. DialysisInterphase string `gorm:"column:dialysis_interphase" json:"dialysis_interphase" form:"dialysis_interphase"`
  1324. LastPostDialysis string `gorm:"column:last_post_dialysis" json:"last_post_dialysis" form:"last_post_dialysis"`
  1325. SymptomBeforeDialysis string `gorm:"column:symptom_before_dialysis" json:"symptom_before_dialysis" form:"symptom_before_dialysis"`
  1326. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula" form:"internal_fistula"`
  1327. InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin" form:"internal_fistula_skin"`
  1328. CatheterBend int64 `gorm:"column:catheter_bend" json:"catheter_bend" form:"catheter_bend"`
  1329. Catheter string `gorm:"column:catheter" json:"catheter" form:"catheter"`
  1330. Complication string `gorm:"column:complication" json:"complication" form:"complication"`
  1331. Evaluator int64 `gorm:"column:evaluator" json:"evaluator" form:"evaluator"`
  1332. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  1333. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1334. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1335. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1336. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1337. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  1338. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  1339. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  1340. IsHemorrhage int64 `gorm:"column:is_hemorrhage" json:"is_hemorrhage" form:"is_hemorrhage"`
  1341. Hemorrhage string `gorm:"column:hemorrhage" json:"hemorrhage" form:"hemorrhage"`
  1342. HemorrhageOther string `gorm:"column:hemorrhage_other" json:"hemorrhage_other" form:"hemorrhage_other"`
  1343. PunctureMethod string `gorm:"column:puncture_method" json:"puncture_method" form:"puncture_method"`
  1344. BloodAccessInternalFistula string `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula" form:"blood_access_internal_fistula"`
  1345. InternalFistulaOther string `gorm:"column:internal_fistula_other" json:"internal_fistula_other" form:"internal_fistula_other"`
  1346. BloodAccessNoise int64 `gorm:"column:blood_access_noise" json:"blood_access_noise" form:"blood_access_noise"`
  1347. PunctureWay string `gorm:"column:puncture_way" json:"puncture_way" form:"puncture_way"`
  1348. VenousCatheterization int64 `gorm:"column:venous_catheterization" json:"venous_catheterization" form:"venous_catheterization"`
  1349. VenousCatheterizationPart int64 `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part" form:"venous_catheterization_part"`
  1350. VenousCatheterizationPartOther string `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other" form:"venous_catheterization_part_other"`
  1351. DuctusArantii string `gorm:"column:ductus_arantii" json:"ductus_arantii" form:"ductus_arantii"`
  1352. EmergencyTreatment int64 `gorm:"column:emergency_treatment" json:"emergency_treatment" form:"emergency_treatment"`
  1353. EmergencyTreatmentOther string `gorm:"column:emergency_treatment_other" json:"emergency_treatment_other" form:"emergency_treatment_other"`
  1354. DialysisCount string `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
  1355. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor" form:"assessment_doctor"`
  1356. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time" form:"assessment_time"`
  1357. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  1358. IsInfect int64 `gorm:"column:is_infect" json:"is_infect" form:"is_infect"`
  1359. Exposed float64 `gorm:"column:exposed" json:"exposed" form:"exposed"`
  1360. Skin string `gorm:"column:skin" json:"skin" form:"skin"`
  1361. SkinOther string `gorm:"column:skin_other" json:"skin_other" form:"skin_other"`
  1362. InfectOther string `gorm:"column:infect_other" json:"infect_other" form:"infect_other"`
  1363. DuctusArantiiOther string `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other" form:"ductus_arantii_other"`
  1364. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  1365. DialysisIntakesUnit int64 `gorm:"column:dialysis_intakes_unit" json:"dialysis_intakes_unit" form:"dialysis_intakes_unit"`
  1366. HumorExcessiveSymptom string `gorm:"column:humor_excessive_symptom" json:"humor_excessive_symptom" form:"humor_excessive_symptom"`
  1367. LastPostDialysisOther string `gorm:"column:last_post_dialysis_other" json:"last_post_dialysis_other" form:"last_post_dialysis_other"`
  1368. SymptomBeforeDialysisOther string `gorm:"column:symptom_before_dialysis_other" json:"symptom_before_dialysis_other" form:"symptom_before_dialysis_other"`
  1369. DialysisInterphaseOther string `gorm:"column:dialysis_interphase_other" json:"dialysis_interphase_other" form:"dialysis_interphase_other"`
  1370. Pinholing string `gorm:"column:pinholing" json:"pinholing" form:"pinholing"`
  1371. CatheterSuture string `gorm:"column:catheter_suture" json:"catheter_suture" form:"catheter_suture"`
  1372. CatheterSutureOther string `gorm:"column:catheter_suture_other" json:"catheter_suture_other" form:"catheter_suture_other"`
  1373. UrineVolume float64 `gorm:"column:urine_volume" json:"urine_volume" form:"urine_volume"`
  1374. Edema string `gorm:"column:edema" json:"edema" form:"edema"`
  1375. SpecialTreatment string `gorm:"column:special_treatment" json:"special_treatment" form:"special_treatment"`
  1376. CatheterMaintenance string `gorm:"column:catheter_maintenance" json:"catheter_maintenance" form:"catheter_maintenance"`
  1377. ThrombusAv string `gorm:"column:thrombus_av" json:"thrombus_av" form:"thrombus_av"`
  1378. ThromubusA string `gorm:"column:thromubus_a" json:"thromubus_a" form:"thromubus_a"`
  1379. ThromubusV string `gorm:"column:thromubus_v" json:"thromubus_v" form:"thromubus_v"`
  1380. ThromubusType int64 `gorm:"column:thromubus_type" json:"thromubus_type" form:"thromubus_type"`
  1381. Dehydration string `gorm:"column:dehydration" json:"dehydration" form:"dehydration"`
  1382. PreDialysisDrugs string `gorm:"column:pre_dialysis_drugs" json:"pre_dialysis_drugs" form:"pre_dialysis_drugs"`
  1383. EstimatedFoodIntake string `gorm:"column:estimated_food_intake" json:"estimated_food_intake" form:"estimated_food_intake"`
  1384. Period int64 `gorm:"column:period" json:"period" form:"period"`
  1385. BloodPressureDuringDialysis string `gorm:"column:blood_pressure_during_dialysis" json:"blood_pressure_during_dialysis" form:"blood_pressure_during_dialysis"`
  1386. }
  1387. func (XtAssessmentBeforeDislysis) TableName() string {
  1388. return "xt_assessment_before_dislysis"
  1389. }
  1390. type MsDeviceNumber struct {
  1391. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1392. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1393. Number string `gorm:"column:number" json:"number" form:"number"`
  1394. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1395. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1396. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1397. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1398. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1399. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1400. }
  1401. func (MsDeviceNumber) TableName() string {
  1402. return "xt_device_number"
  1403. }
  1404. type MsDeviceZone struct {
  1405. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1406. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1407. Name string `gorm:"column:name" json:"name" form:"name"`
  1408. Type int64 `gorm:"column:type" json:"type" form:"type"`
  1409. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1410. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1411. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1412. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1413. }
  1414. func (MsDeviceZone) TableName() string {
  1415. return "xt_device_zone"
  1416. }
  1417. type XtHospitalSummary struct {
  1418. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1419. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1420. AdmissionTime int64 `gorm:"column:admission_time" json:"admission_time" form:"admission_time"`
  1421. DischargeTime int64 `gorm:"column:discharge_time" json:"discharge_time" form:"discharge_time"`
  1422. SickPersonnel string `gorm:"column:sick_personnel" json:"sick_personnel" form:"sick_personnel"`
  1423. Xray string `gorm:"column:xray" json:"xray" form:"xray"`
  1424. Connecticut string `gorm:"column:connecticut" json:"connecticut" form:"connecticut"`
  1425. NuclearMagneticResonance string `gorm:"column:nuclear_magnetic_resonance" json:"nuclear_magnetic_resonance" form:"nuclear_magnetic_resonance"`
  1426. Ultrasound string `gorm:"column:ultrasound" json:"ultrasound" form:"ultrasound"`
  1427. Pathology string `gorm:"column:pathology" json:"pathology" form:"pathology"`
  1428. AdmittingDiagnosisId string `gorm:"column:admitting_diagnosis_id" json:"admitting_diagnosis_id" form:"admitting_diagnosis_id"`
  1429. AdmittingDiagnosis string `gorm:"column:admitting_diagnosis" json:"admitting_diagnosis" form:"admitting_diagnosis"`
  1430. DischargeDiagnosisId string `gorm:"column:discharge_diagnosis_id" json:"discharge_diagnosis_id" form:"discharge_diagnosis_id"`
  1431. DischargeDiagnosis string `gorm:"column:discharge_diagnosis" json:"discharge_diagnosis" form:"discharge_diagnosis"`
  1432. DiagnosisAdmissionId string `gorm:"column:diagnosis_admission_id" json:"diagnosis_admission_id" form:"diagnosis_admission_id"`
  1433. DiagnosisAdmission string `gorm:"column:diagnosis_admission" json:"diagnosis_admission" form:"diagnosis_admission"`
  1434. TreatmentId string `gorm:"column:treatment_id" json:"treatment_id" form:"treatment_id"`
  1435. Treatment string `gorm:"column:treatment" json:"treatment" form:"treatment"`
  1436. IllnessDischargeId string `gorm:"column:illness_discharge_id" json:"illness_discharge_id" form:"illness_discharge_id"`
  1437. IllnessDischarge string `gorm:"column:illness_discharge" json:"illness_discharge" form:"illness_discharge"`
  1438. DischargeAdviceId string `gorm:"column:discharge_advice_id" json:"discharge_advice_id" form:"discharge_advice_id"`
  1439. DischargeAdvice string `gorm:"column:discharge_advice" json:"discharge_advice" form:"discharge_advice"`
  1440. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1441. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1442. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1443. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1444. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  1445. Title string `gorm:"column:title" json:"title" form:"title"`
  1446. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  1447. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1448. DeanId int64 `gorm:"column:dean_id" json:"dean_id" form:"dean_id"`
  1449. }
  1450. func (XtHospitalSummary) TableName() string {
  1451. return "xt_hospital_summary"
  1452. }
  1453. type VmDialysisSolution struct {
  1454. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1455. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1456. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1457. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1458. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1459. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1460. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1461. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1462. DialysisSolution VmDialysisSolutionOne `gorm:"ForeignKey:PatientId,ModeId;AssociationForeignKey:PatientId,ModeId" json:"solution"`
  1463. }
  1464. func (VmDialysisSolution) TableName() string {
  1465. return "xt_dialysis_solution"
  1466. }
  1467. type VmDialysisSolutionOne struct {
  1468. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1469. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1470. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1471. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1472. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1473. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1474. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1475. }
  1476. func (VmDialysisSolutionOne) TableName() string {
  1477. return "xt_dialysis_solution"
  1478. }
  1479. type VmDialysisPrescription struct {
  1480. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1481. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1482. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1483. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1484. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1485. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1486. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1487. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1488. }
  1489. func (VmDialysisPrescription) TableName() string {
  1490. return "xt_dialysis_prescription"
  1491. }
  1492. type XtScheduleList struct {
  1493. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1494. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1495. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1496. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1497. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1498. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1499. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1500. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1501. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  1502. DialysisSolution VmDialysisSolution `gorm:"ForeignKey:PatientId,ModeId;AssociationForeignKey:PatientId,ModeId" json:"vmsolution"`
  1503. }
  1504. func (XtScheduleList) TableName() string {
  1505. return "xt_schedule"
  1506. }
  1507. type DialysisPrescriptionTwenty struct {
  1508. ID int64 `gorm:"column:id" json:"id"`
  1509. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1510. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1511. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  1512. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  1513. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  1514. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1515. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1516. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1517. }
  1518. func (DialysisPrescriptionTwenty) TableName() string {
  1519. return "xt_dialysis_prescription"
  1520. }
  1521. type DialysisPrescriptionThrity struct {
  1522. ID int64 `gorm:"column:id" json:"id"`
  1523. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1524. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1525. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1526. }
  1527. func (DialysisPrescriptionThrity) TableName() string {
  1528. return "xt_dialysis_prescription"
  1529. }
  1530. type PatientsThirty struct {
  1531. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1532. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1533. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1534. Name string `gorm:"column:name" json:"name" form:"name"`
  1535. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  1536. }
  1537. func (PatientsThirty) TableName() string {
  1538. return "xt_patients"
  1539. }
  1540. type XtNewPatients struct {
  1541. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1542. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1543. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1544. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  1545. Source int64 `gorm:"column:source" json:"source" form:"source"`
  1546. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1547. Name string `gorm:"column:name" json:"name" form:"name"`
  1548. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  1549. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1550. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  1551. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  1552. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  1553. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  1554. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1555. }
  1556. func (XtNewPatients) TableName() string {
  1557. return "xt_patients"
  1558. }
  1559. type XtNewAssessmentBeforeDislysis struct {
  1560. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1561. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1562. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1563. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  1564. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  1565. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before" form:"weight_before"`
  1566. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount" form:"ultrafiltration_amount"`
  1567. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1568. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1569. }
  1570. func (XtNewAssessmentBeforeDislysis) TableName() string {
  1571. return "xt_assessment_before_dislysis"
  1572. }
  1573. type NewDialysisSolution struct {
  1574. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1575. Name string `gorm:"column:name" json:"name" form:"name"`
  1576. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1577. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1578. Type int64 `gorm:"column:type" json:"type" form:"type"`
  1579. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1580. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  1581. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  1582. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  1583. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1584. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1585. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  1586. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  1587. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  1588. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  1589. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1590. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1591. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  1592. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  1593. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  1594. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  1595. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1596. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1597. MaxUltrafiltrationRate float64 `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  1598. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  1599. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  1600. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  1601. }
  1602. func (NewDialysisSolution) TableName() string {
  1603. return "xt_dialysis_solution"
  1604. }
  1605. type NewDialysisPrescription struct {
  1606. ID int64 `gorm:"column:id" json:"id"`
  1607. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1608. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1609. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  1610. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  1611. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  1612. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  1613. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  1614. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  1615. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  1616. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  1617. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  1618. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  1619. Remark string `gorm:"column:remark" json:"remark"`
  1620. Status int64 `gorm:"column:status" json:"status"`
  1621. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  1622. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  1623. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  1624. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  1625. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  1626. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  1627. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  1628. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  1629. Blood string `gorm:"column:blood" json:"blood"`
  1630. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1631. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1632. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1633. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  1634. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1635. }
  1636. func (NewDialysisPrescription) TableName() string {
  1637. return "xt_dialysis_prescription"
  1638. }
  1639. type NewDialysisSolutionOne struct {
  1640. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1641. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1642. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1643. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1644. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1645. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1646. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1647. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1648. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  1649. }
  1650. func (NewDialysisSolutionOne) TableName() string {
  1651. return "xt_dialysis_solution"
  1652. }