patient_models.go 204KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833
  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. FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
  26. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  27. }
  28. func (MSchedualPatientList) TableName() string {
  29. return "xt_patients"
  30. }
  31. type MDialysisOrderForList struct {
  32. ID int64 `gorm:"column:id" json:"id"`
  33. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  34. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  35. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  36. // PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
  37. Stage int64 `gorm:"column:stage" json:"stage"`
  38. // Remark string `gorm:"column:remark" json:"remark"`
  39. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  40. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  41. Status int64 `gorm:"column:status" json:"status"`
  42. DeviceNumber *MDeviceNumberForList `gorm:"ForeignKey:BedID" json:"device_number"`
  43. Creator int64 `gorm:"column:creator" json:"creator"`
  44. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  45. NucleinDate int64 `gorm:"column:nuclein_date" json:"nuclein_date" form:"nuclein_date"`
  46. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  47. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  48. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  49. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  50. Url string `gorm:"column:url" json:"url" form:"url"`
  51. }
  52. func (MDialysisOrderForList) TableName() string {
  53. return "xt_dialysis_order"
  54. }
  55. type MDialysisOrderForListSix struct {
  56. ID int64 `gorm:"column:id" json:"id"`
  57. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  58. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  59. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  60. Stage int64 `gorm:"column:stage" json:"stage"`
  61. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  62. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  63. Status int64 `gorm:"column:status" json:"status"`
  64. Creator int64 `gorm:"column:creator" json:"creator"`
  65. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  66. NucleinDate int64 `gorm:"column:nuclein_date" json:"nuclein_date" form:"nuclein_date"`
  67. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  68. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  69. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  70. }
  71. func (MDialysisOrderForListSix) TableName() string {
  72. return "xt_dialysis_order"
  73. }
  74. type VMTreatmentSummaryForList struct {
  75. ID int64 `gorm:"column:id" json:"id"`
  76. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  77. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  78. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  79. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  80. }
  81. func (VMTreatmentSummaryForList) TableName() string {
  82. return "xt_treatment_summary"
  83. }
  84. type VMDoctorAdviceForList struct {
  85. ID int64 `gorm:"column:id" json:"id" form:"id"`
  86. GroupNo int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  87. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  88. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  89. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  90. Status int64 `gorm:"column:status" json:"status" form:"status"`
  91. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  92. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  93. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  94. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  95. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  96. }
  97. func (VMDoctorAdviceForList) TableName() string {
  98. return "xt_doctor_advice"
  99. }
  100. type PatientListForFace struct {
  101. ID int64 `gorm:"column:id" json:"id" form:"id"`
  102. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  103. Name string `gorm:"column:name" json:"name" form:"name"`
  104. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  105. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  106. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  107. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  108. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  109. Age int64 `gorm:"column:age" json:"age"`
  110. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  111. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  112. }
  113. func (PatientListForFace) TableName() string {
  114. return "xt_patients"
  115. }
  116. type Patients struct {
  117. ID int64 `gorm:"column:id" json:"id" form:"id"`
  118. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  119. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  120. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  121. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  122. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  123. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  124. Source int64 `gorm:"column:source" json:"source" form:"source"`
  125. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  126. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  127. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  128. Name string `gorm:"column:name" json:"name" form:"name"`
  129. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  130. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  131. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  132. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  133. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  134. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  135. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  136. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  137. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  138. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  139. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  140. Height int64 `gorm:"column:height" json:"height" form:"height"`
  141. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  142. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  143. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  144. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  145. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  146. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  147. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  148. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  149. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  150. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  151. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  152. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  153. Children int64 `gorm:"column:children" json:"children" form:"children"`
  154. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  155. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  156. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  157. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  158. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  159. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  160. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  161. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  162. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  163. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  164. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  165. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  166. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  167. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  168. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  169. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  170. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  171. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  172. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  173. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  174. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
  175. PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
  176. PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
  177. Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
  178. Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
  179. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
  180. SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
  181. DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
  182. Status int64 `gorm:"column:status" json:"status" form:"status"`
  183. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  184. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  185. DialysisSolutions []DialysisSolution `json:"solutions" gorm:"foreignkey:PatientId"`
  186. Age int64 `gorm:"column:age" json:"age"`
  187. Schedules []Schedule `json:"schedules" gorm:"foreignkey:PatientId"`
  188. Contagions []InfectiousDiseases `json:"contagions" gorm:"foreignkey:PatientId"`
  189. Diseases []ChronicDiseases `json:"diseases" gorm:"foreignkey:PatientId"`
  190. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time"`
  191. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious"`
  192. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle"`
  193. ResponseResult string `gorm:"column:response_result" json:"response_result"`
  194. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  195. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  196. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  197. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  198. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  199. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  200. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  201. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  202. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  203. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  204. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  205. TrobleShoot int64 `gorm:"column:troble_shoot" json:"troble_shoot" form:"troble_shoot"`
  206. ContagionIds []int64 `gorm:"-"`
  207. DryWeight float64 `gorm:"-"`
  208. ZbPatientId string `gorm:"column:zb_patient_id" json:"zb_patient_id" form:"zb_patient_id"`
  209. TreatmentPlan string `gorm:"column:treatment_plan" json:"treatment_plan" form:"treatment_plan"`
  210. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  211. RecordNumber string `gorm:"column:record_number" json:"record_number" form:"record_number"`
  212. PatientSource int64 `gorm:"column:patient_source" json:"patient_source" form:"patient_source"`
  213. PatientStartTime int64 `gorm:"column:patient_start_time" json:"patient_start_time" form:"patient_start_time"`
  214. PatientEndTime int64 `gorm:"column:patient_end_time" json:"patient_end_time" form:"patient_end_time"`
  215. InfectiousRemark string `gorm:"column:infectious_remark" json:"infectious_remark" form:"infectious_remark"`
  216. AllergicHistory string `gorm:"column:allergic_history" json:"allergic_history" form:"allergic_history"`
  217. PatientAddress string `gorm:"column:patient_address" json:"patient_address" form:"patient_address"`
  218. FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
  219. PrintDate int64 `gorm:"column:print_date" json:"print_date" form:"print_date"`
  220. FamalityRecord string `gorm:"column:famality_record" json:"famality_record" form:"famality_record"`
  221. InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
  222. }
  223. func (Patients) TableName() string {
  224. return "xt_patients"
  225. }
  226. type ChronicDiseases struct {
  227. ID int64 `gorm:"column:id" json:"id" form:"id"`
  228. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  229. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  230. Status int64 `gorm:"column:status" json:"status" form:"status"`
  231. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  232. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  233. }
  234. func (ChronicDiseases) TableName() string {
  235. return "xt_patients_chronic_diseases"
  236. }
  237. type InfectiousDiseases struct {
  238. ID int64 `gorm:"column:id" json:"id" form:"id"`
  239. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  240. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  241. Status int64 `gorm:"column:status" json:"status" form:"status"`
  242. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  243. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  244. }
  245. func (InfectiousDiseases) TableName() string {
  246. return "xt_patients_infectious_diseases"
  247. }
  248. type DialysisPrescription struct {
  249. ID int64 `gorm:"column:id" json:"id"`
  250. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  251. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  252. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  253. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  254. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount"`
  255. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering"`
  256. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  257. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  258. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  259. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  260. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng"`
  261. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang"`
  262. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  263. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  264. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  265. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  266. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  267. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter"`
  268. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus"`
  269. //DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  270. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode"`
  271. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access"`
  272. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  273. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow"`
  274. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui"`
  275. Kalium float64 `gorm:"column:kalium" json:"kalium"`
  276. Sodium float64 `gorm:"column:sodium" json:"sodium"`
  277. Calcium float64 `gorm:"column:calcium" json:"calcium"`
  278. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate"`
  279. Glucose float64 `gorm:"column:glucose" json:"glucose"`
  280. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  281. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  282. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor"`
  283. Remark string `gorm:"column:remark" json:"remark"`
  284. Status int64 `gorm:"column:status" json:"status"`
  285. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  286. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  287. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  288. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  289. Creater int64 `gorm:"column:creater" json:"creater"`
  290. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  291. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  292. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  293. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  294. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  295. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  296. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  297. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  298. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  299. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  300. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  301. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  302. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  303. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  304. Niprocart int64 `gorm:"column:niprocart" json:"niprocart"`
  305. Jms int64 `gorm:"column:jms" json:"jms"`
  306. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set"`
  307. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16"`
  308. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion"`
  309. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised"`
  310. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer"`
  311. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  312. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  313. Injector int64 `gorm:"column:injector" json:"injector"`
  314. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines"`
  315. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis"`
  316. Package int64 `gorm:"column:package" json:"package"`
  317. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid"`
  318. QCPatients QCPatients `json:"patient" gorm:"foreignkey:ID;AssociationForeignKey:PatientID;"`
  319. UserAdminRole UserAdminRole `json:"role" gorm:"foreignkey:AdminUserId;AssociationForeignKey:Creater;"`
  320. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  321. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  322. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  323. Blood string `gorm:"column:blood" json:"blood"`
  324. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  325. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  326. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  327. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  328. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  329. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  330. SingleTime string `gorm:"column:single_time" json:"single_time" form:"single_time"`
  331. SingleWater string `gorm:"column:single_water" json:"single_water" form:"single_water"`
  332. ReplacementFlow string `gorm:"column:replacement_flow" json:"replacement_flow" form:"replacement_flow"`
  333. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  334. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  335. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  336. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  337. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  338. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  339. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  340. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  341. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  342. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  343. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  344. MaxUltrafiltrationRate float64 `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  345. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  346. IsWater int64 `gorm:"column:is_water" json:"is_water" form:"is_water"`
  347. DrhyWater string `gorm:"column:drhy_water" json:"drhy_water" form:"drhy_water"`
  348. DryWaterHour string `gorm:"column:dry_water_hour" json:"dry_water_hour" form:"dry_water_hour"`
  349. WaterMachine string `gorm:"column:water_machine" json:"water_machine" form:"water_machine"`
  350. AddAmount float64 `gorm:"column:add_amount" json:"add_amount" form:"add_amount"`
  351. ReduceAmount float64 `gorm:"column:reduce_amount" json:"reduce_amount" form:"reduce_amount"`
  352. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  353. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  354. TreatmentRemark string `gorm:"column:treatment_remark" json:"treatment_remark" form:"treatment_remark"`
  355. PrescriptionSodium string `gorm:"column:prescription_sodium" json:"prescription_sodium" form:"prescription_sodium"`
  356. StartSodium string `gorm:"column:start_sodium" json:"start_sodium" form:"start_sodium"`
  357. SodiumCurve string `gorm:"column:sodium_curve" json:"sodium_curve" form:"sodium_curve"`
  358. DialysisFluidFlow string `gorm:"column:dialysis_fluid_flow" json:"dialysis_fluid_flow" form:"dialysis_fluid_flow"`
  359. SodiumBicarbonateFlow string `gorm:"column:sodium_bicarbonate_flow" json:"sodium_bicarbonate_flow" form:"sodium_bicarbonate_flow"`
  360. PrescriptionWater float64 `gorm:"column:prescription_water" json:"prescription_water" form:"prescription_water"`
  361. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  362. Chaptalization string `gorm:"column:chaptalization" json:"chaptalization" form:"chaptalization"`
  363. WarshCount string `gorm:"column:warsh_count" json:"warsh_count" form:"warsh_count"`
  364. WashingTime string `gorm:"column:washing_time" json:"washing_time" form:"washing_time"`
  365. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  366. AnticoagulantWeichiHour string `gorm:"column:anticoagulant_weichi_hour" json:"anticoagulant_weichi_hour" form:"anticoagulant_weichi_hour"`
  367. Dialyzate string `gorm:"column:dialyzate" json:"dialyzate" form:"dialyzate"`
  368. DialysisDialyszersId int64 `gorm:"column:dialysis_dialyszers_id" json:"dialysis_dialyszers_id" form:"dialysis_dialyszers_id"`
  369. DialysisStrainerId int64 `gorm:"column:dialysis_strainer_id" json:"dialysis_strainer_id" form:"dialysis_strainer_id"`
  370. DialysisIrrigationId int64 `gorm:"column:dialysis_irrigation_id" json:"dialysis_irrigation_id" form:"dialysis_irrigation_id"`
  371. }
  372. func (DialysisPrescription) TableName() string {
  373. return "xt_dialysis_prescription"
  374. }
  375. type DialysisPrescriptionList struct {
  376. ID int64 `gorm:"column:id" json:"id" form:"id"`
  377. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  378. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  379. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  380. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  381. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  382. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  383. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  384. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  385. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  386. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  387. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  388. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  389. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  390. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  391. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  392. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  393. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  394. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  395. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  396. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  397. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  398. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  399. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  400. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  401. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  402. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  403. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  404. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  405. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  406. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  407. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  408. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  409. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  410. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  411. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  412. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  413. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  414. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  415. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  416. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  417. Status int64 `gorm:"column:status" json:"status" form:"status"`
  418. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  419. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  420. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  421. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  422. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  423. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  424. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  425. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  426. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  427. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  428. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  429. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  430. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  431. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  432. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  433. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  434. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  435. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  436. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  437. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  438. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  439. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  440. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  441. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  442. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  443. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  444. Package int64 `gorm:"column:package" json:"package" form:"package"`
  445. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  446. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  447. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  448. HeparinSodium string `gorm:"column:heparin_sodium" json:"heparin_sodium" form:"heparin_sodium"`
  449. Nucleoprotamine string `gorm:"column:nucleoprotamine" json:"nucleoprotamine" form:"nucleoprotamine"`
  450. PushTheProtamine string `gorm:"column:push_the_protamine" json:"push_the_protamine" form:"push_the_protamine"`
  451. NoHeparinRemarks string `gorm:"column:no_heparin_remarks" json:"no_heparin_remarks" form:"no_heparin_remarks"`
  452. Blood string `gorm:"column:blood" json:"blood" form:"blood"`
  453. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  454. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  455. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  456. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  457. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  458. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  459. SingleTime string `gorm:"column:single_time" json:"single_time" form:"single_time"`
  460. SingleWater string `gorm:"column:single_water" json:"single_water" form:"single_water"`
  461. ReplacementFlow string `gorm:"column:replacement_flow" json:"replacement_flow" form:"replacement_flow"`
  462. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  463. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  464. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  465. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  466. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  467. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  468. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  469. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  470. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  471. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  472. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  473. MaxUltrafiltrationRate string `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  474. WaterMachine string `gorm:"column:water_machine" json:"water_machine" form:"water_machine"`
  475. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  476. PrescriptionWater float64 `gorm:"column:prescription_water" json:"prescription_water" form:"prescription_water"`
  477. }
  478. func (DialysisPrescriptionList) TableName() string {
  479. return "xt_dialysis_prescription"
  480. }
  481. type DialysisPrescriptionListSix struct {
  482. ID int64 `gorm:"column:id" json:"id" form:"id"`
  483. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  484. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  485. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  486. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  487. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  488. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  489. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  490. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  491. }
  492. func (DialysisPrescriptionListSix) TableName() string {
  493. return "xt_dialysis_solution"
  494. }
  495. type DialysisAssesmentBefor struct {
  496. ID int64 `gorm:"column:id" json:"id"`
  497. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  498. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  499. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  500. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  501. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  502. }
  503. func (DialysisAssesmentBefor) TableName() string {
  504. return "xt_assessment_before_dislysis"
  505. }
  506. type DialysisSolution struct {
  507. ID int64 `gorm:"column:id" json:"id" form:"id"`
  508. Name string `gorm:"column:name" json:"name" form:"name"`
  509. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  510. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  511. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  512. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  513. Type int64 `gorm:"column:type" json:"type" form:"type"`
  514. Period string `gorm:"column:period" json:"period" form:"period"`
  515. Times string `gorm:"column:times" json:"times" form:"times"`
  516. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  517. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  518. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  519. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  520. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  521. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  522. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  523. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  524. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  525. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  526. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  527. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  528. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  529. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  530. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  531. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  532. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  533. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  534. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  535. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  536. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  537. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  538. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  539. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  540. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  541. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  542. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  543. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  544. Status int64 `gorm:"column:status" json:"status" form:"status"`
  545. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  546. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  547. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  548. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  549. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  550. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  551. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid"`
  552. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine"`
  553. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other"`
  554. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part"`
  555. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value"`
  556. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  557. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  558. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  559. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  560. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  561. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  562. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialysate_formulation"`
  563. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  564. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  565. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other"`
  566. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv"`
  567. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  568. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  569. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  570. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  571. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  572. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  573. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  574. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  575. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  576. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  577. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  578. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  579. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  580. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  581. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  582. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  583. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  584. MaxUltrafiltrationRate float64 `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  585. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  586. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  587. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  588. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  589. TreatmentRemark string `gorm:"column:treatment_remark" json:"treatment_remark" form:"treatment_remark"`
  590. PrescriptionSodium string `gorm:"column:prescription_sodium" json:"prescription_sodium" form:"prescription_sodium"`
  591. StartSodium string `gorm:"column:start_sodium" json:"start_sodium" form:"start_sodium"`
  592. SodiumCurve string `gorm:"column:sodium_curve" json:"sodium_curve" form:"sodium_curve"`
  593. DialysisFluidFlow string `gorm:"column:dialysis_fluid_flow" json:"dialysis_fluid_flow" form:"dialysis_fluid_flow"`
  594. SodiumBicarbonateFlow string `gorm:"column:sodium_bicarbonate_flow" json:"sodium_bicarbonate_flow" form:"sodium_bicarbonate_flow"`
  595. PrescriptionWater float64 `gorm:"column:prescription_water" json:"prescription_water" form:"prescription_water"`
  596. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  597. Chaptalization string `gorm:"column:chaptalization" json:"chaptalization" form:"chaptalization"`
  598. WarshCount string `gorm:"column:warsh_count" json:"warsh_count" form:"warsh_count"`
  599. WashingTime string `gorm:"column:washing_time" json:"washing_time" form:"washing_time"`
  600. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  601. AnticoagulantWeichiHour string `gorm:"column:anticoagulant_weichi_hour" json:"anticoagulant_weichi_hour" form:"anticoagulant_weichi_hour"`
  602. Dialyzate string `gorm:"column:dialyzate" json:"dialyzate" form:"dialyzate"`
  603. DialysisDialyszersId int64 `gorm:"column:dialysis_dialyszers_id" json:"dialysis_dialyszers_id" form:"dialysis_dialyszers_id"`
  604. DialysisStrainerId int64 `gorm:"column:dialysis_strainer_id" json:"dialysis_strainer_id" form:"dialysis_strainer_id"`
  605. DialysisIrrigationId int64 `gorm:"column:dialysis_irrigation_id" json:"dialysis_irrigation_id" form:"dialysis_irrigation_id"`
  606. }
  607. func (DialysisSolution) TableName() string {
  608. return "xt_dialysis_solution"
  609. }
  610. type UserAdminRole struct {
  611. ID int64 `gorm:"column:id" json:"id"`
  612. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  613. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  614. AppId int64 `gorm:"column:app_id" json:"app_id"`
  615. RoleId int64 `gorm:"column:role_id" json:"role_id"`
  616. UserName string `gorm:"column:user_name" json:"user_name"`
  617. Avatar string `gorm:"column:avatar" json:"avatar"`
  618. UserType int64 `gorm:"column:user_type" json:"user_type"`
  619. UserTitle int64 `gorm:"column:user_title" json:"user_title"`
  620. Intro string `gorm:"column:intro" json:"intro"`
  621. Status int64 `gorm:"column:status" json:"status"`
  622. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  623. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  624. DoctorNumber string `gorm:"column:doctor_number" json:"doctor_number"`
  625. Department string `gorm:"column:department" json:"department"`
  626. DepartmentId int64 `gorm:"column:department_id" json:"department_id"`
  627. XtHisDepartment XtHisDepartment `json:"department" gorm:"foreignkey:DepartmentId;AssociationForeignKey:ID;"`
  628. }
  629. func (UserAdminRole) TableName() string {
  630. return "sgj_user_admin_role"
  631. }
  632. type PatientDialysisRecord struct {
  633. DialysisOrder
  634. ScheduleType int64 `gorm:"-" json:"schedule_type" form:"schedule_type"`
  635. PartitionId int64 `gorm:"-" json:"partition_id" form:"partition_id"`
  636. PartitionName string `gorm:"-" json:"partition_name" form:"partition_name"`
  637. DeviceNumber string `gorm:"-" json:"device_number" form:"device_number"`
  638. // DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordId"`
  639. // PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:DialysisOrderId"`
  640. // AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:DialysisOrderId"`
  641. // TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:DialysisOrderId"`
  642. DialysisPrescription DialysisPrescription `json:"prescription" gorm:"foreignkey:RecordDate;AssociationForeignKey:DialysisDate;"`
  643. PredialysisEvaluation PredialysisEvaluation `json:"predialysis_evaluation" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  644. AssessmentAfterDislysis AssessmentAfterDislysis `json:"assessment_after_dislysis" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  645. TreatmentSummary TreatmentSummary `json:"treatment_summary" gorm:"foreignkey:AssessmentDate;AssociationForeignKey:DialysisDate;"`
  646. Device DeviceNumber `json:"device" gorm:"foreignkey:ID;AssociationForeignKey:BedID;"`
  647. MonitoringRecord []MonitoringRecord `json:"monitoring_record" gorm:"foreignkey:MonitoringDate;AssociationForeignKey:DialysisDate;"`
  648. DoctorAdvice []DoctorAdvice `json:"doctor_advice" gorm:"foreignkey:AdviceDate;AssociationForeignKey:DialysisDate;"`
  649. }
  650. type DialysisPrescriptionAddtional struct {
  651. DialysisPrescription
  652. Device Device `json:"device" gorm:"foreignkey:dialyzer"`
  653. }
  654. type PatientDiseaseCourse struct {
  655. ID int64 `gorm:"column:id" json:"id" form:"id"`
  656. OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  657. PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  658. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  659. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  660. Content string `gorm:"column:content" json:"content" form:"content"`
  661. Status int64 `gorm:"column:status" json:"-" form:"-"`
  662. CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
  663. ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
  664. Title string `gorm:"column:title" json:"title"`
  665. }
  666. func (PatientDiseaseCourse) TableName() string {
  667. return "xt_patient_course_of_disease"
  668. }
  669. type PatientRescueRecord struct {
  670. ID int64 `gorm:"column:id" json:"id" form:"id"`
  671. OrgID int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  672. PatientID int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  673. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  674. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  675. Content string `gorm:"column:content" json:"content" form:"content"`
  676. Status int64 `gorm:"column:status" json:"-" form:"-"`
  677. CreateTime int64 `gorm:"column:ctime" json:"-" form:"-"`
  678. ModifyTime int64 `gorm:"column:mtime" json:"-" form:"-"`
  679. }
  680. func (PatientRescueRecord) TableName() string {
  681. return "xt_patient_rescue_record"
  682. }
  683. type PatientLapseto struct {
  684. ID int64 `gorm:"column:id" json:"id" form:"id"`
  685. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  686. LapsetoType int64 `gorm:"column:lapseto_type" json:"lapseto_type" form:"lapseto_type"`
  687. LapsetoTime int64 `gorm:"column:lapseto_time" json:"lapseto_time" form:"lapseto_time"`
  688. Status int64 `gorm:"column:status" json:"status" form:"status"`
  689. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  690. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  691. }
  692. func (PatientLapseto) TableName() string {
  693. return "xt_patient_lapseto"
  694. }
  695. type FormItem struct {
  696. ID int64 `json:"id"`
  697. ProjectId int64 `json:"project_id"`
  698. ProjectName string `json:"project_name"`
  699. ItemId int64 `json:"item_id"`
  700. Item string `json:"item"`
  701. ItemName string `json:"item_name"`
  702. RangeType int64 `json:"range_type"`
  703. Value string `json:"value"`
  704. }
  705. type SgjUserIllness struct {
  706. ID int64 `gorm:"column:id" json:"id" form:"id"`
  707. IllnessName string `gorm:"column:illness_name" json:"illness_name" form:"illness_name"`
  708. Status int64 `gorm:"column:status" json:"status" form:"status"`
  709. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  710. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  711. }
  712. func (SgjUserIllness) TableName() string {
  713. return "sgj_user_illness"
  714. }
  715. type XtPatientsNew struct {
  716. ID int64 `gorm:"column:id" json:"id" form:"id"`
  717. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  718. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  719. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  720. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  721. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  722. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  723. Source int64 `gorm:"column:source" json:"source" form:"source"`
  724. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  725. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  726. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  727. Name string `gorm:"column:name" json:"name" form:"name"`
  728. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  729. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  730. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  731. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  732. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  733. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  734. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  735. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  736. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  737. Height int64 `gorm:"column:height" json:"height" form:"height"`
  738. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  739. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  740. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  741. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  742. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  743. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  744. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  745. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  746. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  747. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  748. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  749. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  750. Children int64 `gorm:"column:children" json:"children" form:"children"`
  751. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  752. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  753. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  754. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  755. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  756. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  757. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  758. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  759. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  760. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  761. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  762. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  763. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  764. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  765. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  766. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  767. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  768. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  769. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  770. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  771. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  772. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  773. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  774. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  775. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  776. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  777. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  778. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  779. Status int64 `gorm:"column:status" json:"status" form:"status"`
  780. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  781. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  782. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  783. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  784. Age int64 `gorm:"column:age" json:"age" form:"age"`
  785. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  786. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  787. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  788. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  789. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  790. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  791. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  792. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  793. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  794. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  795. BloodPatients int64 `gorm:"column:blood_patients" json:"blood_patients" form:"blood_patients"`
  796. SlowPatients int64 `gorm:"column:slow_patients" json:"slow_patients" form:"slow_patients"`
  797. MemberPatients int64 `gorm:"column:member_patients" json:"member_patients" form:"member_patients"`
  798. EcommerPatients string `gorm:"column:ecommer_patients" json:"ecommer_patients" form:"ecommer_patients"`
  799. BloodId int64 `gorm:"column:blood_id" json:"blood_id" form:"blood_id"`
  800. SlowId int64 `gorm:"column:slow_id" json:"slow_id" form:"slow_id"`
  801. MemberId int64 `gorm:"column:member_id" json:"member_id" form:"member_id"`
  802. MemberFistdate int64 `gorm:"column:member_fistdate" json:"member_fistdate" form:"member_fistdate"`
  803. MemberPatienttype int64 `gorm:"column:member_patienttype" json:"member_patienttype" form:"member_patienttype"`
  804. MemberTreatement int64 `gorm:"column:member_treatement" json:"member_treatement" form:"member_treatement"`
  805. EquitmentId string `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  806. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  807. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  808. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  809. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  810. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  811. TrobleShoot int64 `gorm:"column:troble_shoot" json:"troble_shoot" form:"troble_shoot"`
  812. TreatmentPlan string `gorm:"column:treatment_plan" json:"treatment_plan" form:"treatment_plan"`
  813. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  814. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  815. RecordNumber string `gorm:"column:record_number" json:"record_number" form:"record_number"`
  816. PatientSource int64 `gorm:"column:patient_source" json:"patient_source" form:"patient_source"`
  817. PatientStartTime int64 `gorm:"column:patient_start_time" json:"patient_start_time" form:"patient_start_time"`
  818. PatientEndTime int64 `gorm:"column:patient_end_time" json:"patient_end_time" form:"patient_end_time"`
  819. InfectiousRemark string `gorm:"column:infectious_remark" json:"infectious_remark" form:"infectious_remark"`
  820. AllergicHistory string `gorm:"column:allergic_history" json:"allergic_history" form:"allergic_history"`
  821. PatientAddress string `gorm:"column:patient_address" json:"patient_address" form:"patient_address"`
  822. FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
  823. PrintDate int64 `gorm:"column:print_date" json:"print_date" form:"print_date"`
  824. FamalityRecord string `gorm:"column:famality_record" json:"famality_record" form:"famality_record"`
  825. }
  826. func (XtPatientsNew) TableName() string {
  827. return "xt_patients_new"
  828. }
  829. type PatientsNew struct {
  830. ID int64 `gorm:"column:id" json:"id" form:"id"`
  831. Name string `gorm:"column:name" json:"name" form:"name"`
  832. }
  833. type CdmPatients struct {
  834. ID int64 `gorm:"column:id" json:"id" form:"id"`
  835. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  836. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  837. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  838. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  839. Source int64 `gorm:"column:source" json:"source" form:"source"`
  840. Name string `gorm:"column:name" json:"name" form:"name"`
  841. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  842. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  843. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  844. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  845. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  846. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  847. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  848. Height int64 `gorm:"column:height" json:"height" form:"height"`
  849. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  850. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  851. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  852. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  853. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  854. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  855. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  856. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  857. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  858. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  859. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  860. Children int64 `gorm:"column:children" json:"children" form:"children"`
  861. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  862. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  863. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  864. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  865. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  866. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  867. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  868. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  869. Status int64 `gorm:"column:status" json:"status" form:"status"`
  870. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  871. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  872. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  873. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  874. }
  875. func (CdmPatients) TableName() string {
  876. return "xt_patients"
  877. }
  878. type CdmPatientsInfectiousDiseases struct {
  879. ID int64 `gorm:"column:id" json:"id" form:"id"`
  880. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  881. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  882. Status int64 `gorm:"column:status" json:"status" form:"status"`
  883. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  884. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  885. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  886. }
  887. func (CdmPatientsInfectiousDiseases) TableName() string {
  888. return "xt_patients_infectious_diseases"
  889. }
  890. type CdmPatientsChronicDiseases struct {
  891. ID int64 `gorm:"column:id" json:"id" form:"id"`
  892. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  893. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  894. Status int64 `gorm:"column:status" json:"status" form:"status"`
  895. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  896. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  897. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  898. }
  899. func (CdmPatientsChronicDiseases) TableName() string {
  900. return "xt_patients_chronic_diseases"
  901. }
  902. type SgjUserCustomer struct {
  903. ID int64 `gorm:"column:id" json:"id" form:"id"`
  904. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  905. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  906. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  907. Name string `gorm:"column:name" json:"name" form:"name"`
  908. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  909. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  910. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  911. Address string `gorm:"column:address" json:"address" form:"address"`
  912. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  913. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  914. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  915. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  916. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  917. Membership int64 `gorm:"column:membership" json:"membership" form:"membership"`
  918. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  919. Status int64 `gorm:"column:status" json:"status" form:"status"`
  920. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  921. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  922. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  923. WechatUnionid string `gorm:"column:wechat_unionid" json:"wechat_unionid" form:"wechat_unionid"`
  924. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  925. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  926. YzUid int64 `gorm:"column:yz_uid" json:"yz_uid" form:"yz_uid"`
  927. Tttime int64 `gorm:"column:tttime" json:"tttime" form:"tttime"`
  928. IllDate int64 `gorm:"column:ill_date" json:"ill_date" form:"ill_date"`
  929. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  930. }
  931. func (SgjUserCustomer) TableName() string {
  932. return "sgj_user_customer"
  933. }
  934. type PatientCourseOfDiseases struct {
  935. ID int64 `gorm:"column:id" json:"id" form:"id"`
  936. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  937. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  938. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  939. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  940. Content string `gorm:"column:content" json:"content" form:"content"`
  941. Status int64 `gorm:"column:status" json:"status" form:"status"`
  942. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  943. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  944. Title string `gorm:"column:title" json:"title" form:"title"`
  945. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  946. }
  947. type PatientCourseOfDiseasess struct {
  948. ID int64 `gorm:"column:id" json:"id" form:"id"`
  949. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  950. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  951. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  952. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  953. Content string `gorm:"column:content" json:"content" form:"content"`
  954. Status int64 `gorm:"column:status" json:"status" form:"status"`
  955. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  956. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  957. Title string `gorm:"column:title" json:"title" form:"title"`
  958. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  959. Name string `gorm:"column:name" json:"name" form:"name"`
  960. }
  961. type PatientCourseOfDisease struct {
  962. ID int64 `gorm:"column:id" json:"id" form:"id"`
  963. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  964. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  965. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  966. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  967. Content string `gorm:"column:content" json:"content" form:"content"`
  968. Status int64 `gorm:"column:status" json:"status" form:"status"`
  969. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  970. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  971. Title string `gorm:"column:title" json:"title" form:"title"`
  972. }
  973. func (PatientCourseOfDisease) TableName() string {
  974. return "xt_patient_course_of_disease"
  975. }
  976. type XtPatientsInfectiousDiseases struct {
  977. ID int64 `gorm:"column:id" json:"id" form:"id"`
  978. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  979. DiseaseId int64 `gorm:"column:disease_id" json:"disease_id" form:"disease_id"`
  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. }
  984. func (XtPatientsInfectiousDiseases) TableName() string {
  985. return "xt_patients_infectious_diseases"
  986. }
  987. type XtInspectionReference struct {
  988. ID int64 `gorm:"column:id" json:"id" form:"id"`
  989. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  990. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  991. Project string `gorm:"column:project" json:"project" form:"project"`
  992. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  993. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  994. ItemNameAddition string `gorm:"column:item_name_addition" json:"item_name_addition" form:"item_name_addition"`
  995. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  996. Item string `gorm:"column:item" json:"item" form:"item"`
  997. RangeType int64 `gorm:"column:range_type" json:"range_type" form:"range_type"`
  998. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  999. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  1000. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  1001. RangeOptions string `gorm:"column:range_options" json:"range_options" form:"range_options"`
  1002. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  1003. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1004. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1005. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1006. }
  1007. func (XtInspectionReference) TableName() string {
  1008. return "xt_inspection_reference"
  1009. }
  1010. type VmXtInspection struct {
  1011. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1012. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1013. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1014. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  1015. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  1016. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  1017. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  1018. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  1019. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  1020. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  1021. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1022. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1023. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1024. RangeType int64 `gorm:"column:range_type" json:"range_type" form:"range_type"`
  1025. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  1026. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  1027. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  1028. }
  1029. type XtInspection struct {
  1030. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1031. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1032. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1033. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  1034. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  1035. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  1036. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  1037. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  1038. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  1039. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  1040. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1041. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1042. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1043. }
  1044. func (XtInspection) TableName() string {
  1045. return "xt_inspection"
  1046. }
  1047. type VmInspection struct {
  1048. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1049. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1050. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1051. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  1052. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  1053. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  1054. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  1055. InspectType int64 `gorm:"column:inspect_type" json:"inspect_type" form:"inspect_type"`
  1056. InspectValue string `gorm:"column:inspect_value" json:"inspect_value" form:"inspect_value"`
  1057. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  1058. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1059. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1060. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1061. RangeMin string `gorm:"column:range_min" json:"range_min" form:"range_min"`
  1062. RangeMax string `gorm:"column:range_max" json:"range_max" form:"range_max"`
  1063. RangeValue string `gorm:"column:range_value" json:"range_value" form:"range_value"`
  1064. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  1065. }
  1066. type BloodXtPatients struct {
  1067. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1068. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1069. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1070. Name string `gorm:"column:name" json:"name" form:"name"`
  1071. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1072. }
  1073. func (BloodXtPatients) TableName() string {
  1074. return "xt_patients"
  1075. }
  1076. type XtPatients struct {
  1077. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1078. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1079. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  1080. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  1081. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  1082. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1083. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  1084. Source int64 `gorm:"column:source" json:"source" form:"source"`
  1085. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1086. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1087. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1088. Name string `gorm:"column:name" json:"name" form:"name"`
  1089. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  1090. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  1091. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  1092. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1093. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  1094. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  1095. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  1096. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  1097. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  1098. Height int64 `gorm:"column:height" json:"height" form:"height"`
  1099. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  1100. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  1101. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  1102. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  1103. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  1104. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  1105. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  1106. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  1107. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  1108. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  1109. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  1110. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  1111. Children int64 `gorm:"column:children" json:"children" form:"children"`
  1112. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  1113. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  1114. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  1115. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  1116. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  1117. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  1118. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  1119. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  1120. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  1121. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  1122. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  1123. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  1124. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  1125. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  1126. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  1127. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1128. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  1129. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  1130. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  1131. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  1132. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  1133. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  1134. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  1135. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1136. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  1137. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  1138. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  1139. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  1140. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1141. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1142. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1143. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  1144. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  1145. Age int64 `gorm:"column:age" json:"age" form:"age"`
  1146. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  1147. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  1148. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  1149. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  1150. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  1151. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  1152. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  1153. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  1154. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  1155. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  1156. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  1157. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  1158. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  1159. TreatmentPlan string `gorm:"column:treatment_plan" json:"treatment_plan" form:"treatment_plan"`
  1160. Url string `gorm:"column:url" json:"url" form:"url"`
  1161. FirstLetter string `gorm:"column:first_letter" json:"first_letter" form:"first_letter"`
  1162. }
  1163. func (XtPatients) TableName() string {
  1164. return "xt_patients"
  1165. }
  1166. type SgjUserAdminLoginLog struct {
  1167. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1168. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1169. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1170. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  1171. Ip string `gorm:"column:ip" json:"ip" form:"ip"`
  1172. OperateType int64 `gorm:"column:operate_type" json:"operate_type" form:"operate_type"`
  1173. AppType int64 `gorm:"column:app_type" json:"app_type" form:"app_type"`
  1174. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1175. }
  1176. func (SgjUserAdminLoginLog) TableName() string {
  1177. return "sgj_user_admin_login_log"
  1178. }
  1179. type KyActivityTable struct {
  1180. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1181. Name string `gorm:"column:name" json:"name" form:"name"`
  1182. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  1183. Address string `gorm:"column:address" json:"address" form:"address"`
  1184. Position int64 `gorm:"column:position" json:"position" form:"position"`
  1185. HospitalName string `gorm:"column:hospital_name" json:"hospital_name" form:"hospital_name"`
  1186. IsUser int64 `gorm:"column:is_user" json:"is_user" form:"is_user"`
  1187. IsThink int64 `gorm:"column:is_think" json:"is_think" form:"is_think"`
  1188. OtherMode string `gorm:"column:other_mode" json:"other_mode" form:"other_mode"`
  1189. OtherRemark string `gorm:"column:other_remark" json:"other_remark" form:"other_remark"`
  1190. Gift int64 `gorm:"column:gift" json:"gift" form:"gift"`
  1191. OtherMessage string `gorm:"column:other_message" json:"other_message" form:"other_message"`
  1192. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1193. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1194. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1195. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1196. SystemName string `gorm:"column:system_name" json:"system_name" form:"system_name"`
  1197. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1198. }
  1199. func (KyActivityTable) TableName() string {
  1200. return "ky_activity_table"
  1201. }
  1202. type SgjUserRole struct {
  1203. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1204. RoleName string `gorm:"column:role_name" json:"role_name" form:"role_name"`
  1205. RoleIntroduction string `gorm:"column:role_introduction" json:"role_introduction" form:"role_introduction"`
  1206. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  1207. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1208. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  1209. IsSuperAdmin int64 `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
  1210. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1211. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1212. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1213. Number int64 `gorm:"column:number" json:"number" form:"number"`
  1214. IsSystem int64 `gorm:"column:is_system" json:"is_system" form:"is_system"`
  1215. }
  1216. func (SgjUserRole) TableName() string {
  1217. return "sgj_user_role"
  1218. }
  1219. type ExportErrLog struct {
  1220. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1221. LogType int64 `gorm:"column:log_type" json:"log_type" form:"log_type"`
  1222. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1223. ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
  1224. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  1225. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  1226. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1227. ExportTime int64 `gorm:"column:export_time" json:"export_time" form:"export_time"`
  1228. }
  1229. func (ExportErrLog) TableName() string {
  1230. return "xt_export_err_log"
  1231. }
  1232. type ExportLog struct {
  1233. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1234. LogType int64 `gorm:"column:log_type" json:"log_type" form:"log_type"`
  1235. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1236. TotalNum int64 `gorm:"column:total_num" json:"total_num" form:"total_num"`
  1237. FailNum int64 `gorm:"column:fail_num" json:"fail_num" form:"fail_num"`
  1238. SuccessNum int64 `gorm:"column:success_num" json:"success_num" form:"success_num"`
  1239. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  1240. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  1241. ExportTime int64 `gorm:"column:export_time" json:"export_time" form:"export_time"`
  1242. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1243. ExportErrLog []*ExportErrLog `json:"err_logs" gorm:"foreignkey:ExportTime;AssociationForeignKey:ExportTime;"`
  1244. }
  1245. func (ExportLog) TableName() string {
  1246. return "xt_export_log"
  1247. }
  1248. type XtTemplateSummary struct {
  1249. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1250. StartYear int64 `gorm:"column:start_year" json:"start_year" form:"start_year"`
  1251. StartMonth int64 `gorm:"column:start_month" json:"start_month" form:"start_month"`
  1252. Radio int64 `gorm:"column:radio" json:"radio" form:"radio"`
  1253. Quarter int64 `gorm:"column:quarter" json:"quarter" form:"quarter"`
  1254. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  1255. DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
  1256. HdCount int64 `gorm:"column:hd_count" json:"hd_count" form:"hd_count"`
  1257. HdfCount int64 `gorm:"column:hdf_count" json:"hdf_count" form:"hdf_count"`
  1258. HpCount int64 `gorm:"column:hp_count" json:"hp_count" form:"hp_count"`
  1259. OtherCount int64 `gorm:"column:other_count" json:"other_count" form:"other_count"`
  1260. DialzerApparatus string `gorm:"column:dialzer_apparatus" json:"dialzer_apparatus" form:"dialzer_apparatus"`
  1261. PerfusionApparatus string `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  1262. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1263. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  1264. Autunite float64 `gorm:"column:autunite" json:"autunite" form:"autunite"`
  1265. Natrium float64 `gorm:"column:natrium" json:"natrium" form:"natrium"`
  1266. Hour int64 `gorm:"column:hour" json:"hour" form:"hour"`
  1267. Minute int64 `gorm:"column:minute" json:"minute" form:"minute"`
  1268. BeforWeight float64 `gorm:"column:befor_weight" json:"befor_weight" form:"befor_weight"`
  1269. AfterWeight float64 `gorm:"column:after_weight" json:"after_weight" form:"after_weight"`
  1270. BeforPressure string `gorm:"column:befor_pressure" json:"befor_pressure" form:"befor_pressure"`
  1271. AfterPressure string `gorm:"column:after_pressure" json:"after_pressure" form:"after_pressure"`
  1272. TemplateSummaryId int64 `gorm:"column:template_summary_id" json:"template_summary_id" form:"template_summary_id"`
  1273. TemplateSummaryContent string `gorm:"column:template_summary_content" json:"template_summary_content" form:"template_summary_content"`
  1274. TemplatePlanId int64 `gorm:"column:template_plan_id" json:"template_plan_id" form:"template_plan_id"`
  1275. TemplatePlanContent string `gorm:"column:template_plan_content" json:"template_plan_content" form:"template_plan_content"`
  1276. TemplateInspectionId int64 `gorm:"column:template_inspection_id" json:"template_inspection_id" form:"template_inspection_id"`
  1277. TemplateInspectionContent string `gorm:"column:template_inspection_content" json:"template_inspection_content" form:"template_inspection_content"`
  1278. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1279. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  1280. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1281. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1282. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1283. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1284. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1285. Title string `gorm:"column:title" json:"title" form:"title"`
  1286. ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
  1287. InspectDate string `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  1288. Patients VmPatients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
  1289. Children []*VmInspection `gorm:"column:children" json:"children" form:"children"`
  1290. }
  1291. func (XtTemplateSummary) TableName() string {
  1292. return "xt_template_summary"
  1293. }
  1294. type VmPatients struct {
  1295. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1296. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1297. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  1298. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  1299. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  1300. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1301. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  1302. Source int64 `gorm:"column:source" json:"source" form:"source"`
  1303. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1304. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1305. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1306. Name string `gorm:"column:name" json:"name" form:"name"`
  1307. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  1308. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  1309. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  1310. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1311. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  1312. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  1313. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  1314. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  1315. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  1316. Height int64 `gorm:"column:height" json:"height" form:"height"`
  1317. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  1318. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  1319. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  1320. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  1321. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  1322. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  1323. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  1324. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  1325. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  1326. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  1327. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  1328. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  1329. Children int64 `gorm:"column:children" json:"children" form:"children"`
  1330. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  1331. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  1332. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  1333. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  1334. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  1335. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  1336. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  1337. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  1338. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  1339. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  1340. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  1341. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  1342. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  1343. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  1344. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  1345. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1346. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  1347. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  1348. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  1349. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  1350. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  1351. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  1352. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  1353. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1354. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  1355. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  1356. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  1357. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  1358. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1359. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1360. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1361. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  1362. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  1363. Age int64 `gorm:"column:age" json:"age" form:"age"`
  1364. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  1365. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  1366. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  1367. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  1368. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  1369. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  1370. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  1371. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  1372. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  1373. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  1374. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  1375. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  1376. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  1377. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  1378. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  1379. }
  1380. func (VmPatients) TableName() string {
  1381. return "xt_patients"
  1382. }
  1383. type XtAssessmentBeforeDislysis struct {
  1384. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1385. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1386. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1387. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  1388. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  1389. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1390. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency" form:"pulse_frequency"`
  1391. BreathingRate string `gorm:"column:breathing_rate" json:"breathing_rate" form:"breathing_rate"`
  1392. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure" form:"systolic_blood_pressure"`
  1393. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure" form:"diastolic_blood_pressure"`
  1394. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type" form:"blood_pressure_type"`
  1395. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  1396. WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency" form:"weight_after_last_transparency"`
  1397. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way" form:"weighing_way"`
  1398. WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before" form:"weighing_before"`
  1399. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight" form:"additional_weight"`
  1400. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before" form:"weight_before"`
  1401. WeightGain float64 `gorm:"column:weight_gain" json:"weight_gain" form:"weight_gain"`
  1402. PreloadedDewatering float64 `gorm:"column:preloaded_dewatering" json:"preloaded_dewatering" form:"preloaded_dewatering"`
  1403. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount" form:"ultrafiltration_amount"`
  1404. DialysisInterphase string `gorm:"column:dialysis_interphase" json:"dialysis_interphase" form:"dialysis_interphase"`
  1405. LastPostDialysis string `gorm:"column:last_post_dialysis" json:"last_post_dialysis" form:"last_post_dialysis"`
  1406. SymptomBeforeDialysis string `gorm:"column:symptom_before_dialysis" json:"symptom_before_dialysis" form:"symptom_before_dialysis"`
  1407. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula" form:"internal_fistula"`
  1408. InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin" form:"internal_fistula_skin"`
  1409. CatheterBend int64 `gorm:"column:catheter_bend" json:"catheter_bend" form:"catheter_bend"`
  1410. Catheter string `gorm:"column:catheter" json:"catheter" form:"catheter"`
  1411. Complication string `gorm:"column:complication" json:"complication" form:"complication"`
  1412. Evaluator int64 `gorm:"column:evaluator" json:"evaluator" form:"evaluator"`
  1413. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  1414. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1415. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1416. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1417. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1418. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  1419. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  1420. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  1421. IsHemorrhage int64 `gorm:"column:is_hemorrhage" json:"is_hemorrhage" form:"is_hemorrhage"`
  1422. Hemorrhage string `gorm:"column:hemorrhage" json:"hemorrhage" form:"hemorrhage"`
  1423. HemorrhageOther string `gorm:"column:hemorrhage_other" json:"hemorrhage_other" form:"hemorrhage_other"`
  1424. PunctureMethod string `gorm:"column:puncture_method" json:"puncture_method" form:"puncture_method"`
  1425. BloodAccessInternalFistula string `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula" form:"blood_access_internal_fistula"`
  1426. InternalFistulaOther string `gorm:"column:internal_fistula_other" json:"internal_fistula_other" form:"internal_fistula_other"`
  1427. BloodAccessNoise int64 `gorm:"column:blood_access_noise" json:"blood_access_noise" form:"blood_access_noise"`
  1428. PunctureWay string `gorm:"column:puncture_way" json:"puncture_way" form:"puncture_way"`
  1429. VenousCatheterization int64 `gorm:"column:venous_catheterization" json:"venous_catheterization" form:"venous_catheterization"`
  1430. VenousCatheterizationPart int64 `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part" form:"venous_catheterization_part"`
  1431. VenousCatheterizationPartOther string `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other" form:"venous_catheterization_part_other"`
  1432. DuctusArantii string `gorm:"column:ductus_arantii" json:"ductus_arantii" form:"ductus_arantii"`
  1433. EmergencyTreatment int64 `gorm:"column:emergency_treatment" json:"emergency_treatment" form:"emergency_treatment"`
  1434. EmergencyTreatmentOther string `gorm:"column:emergency_treatment_other" json:"emergency_treatment_other" form:"emergency_treatment_other"`
  1435. DialysisCount string `gorm:"column:dialysis_count" json:"dialysis_count" form:"dialysis_count"`
  1436. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor" form:"assessment_doctor"`
  1437. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time" form:"assessment_time"`
  1438. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  1439. IsInfect int64 `gorm:"column:is_infect" json:"is_infect" form:"is_infect"`
  1440. Exposed float64 `gorm:"column:exposed" json:"exposed" form:"exposed"`
  1441. Skin string `gorm:"column:skin" json:"skin" form:"skin"`
  1442. SkinOther string `gorm:"column:skin_other" json:"skin_other" form:"skin_other"`
  1443. InfectOther string `gorm:"column:infect_other" json:"infect_other" form:"infect_other"`
  1444. DuctusArantiiOther string `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other" form:"ductus_arantii_other"`
  1445. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  1446. DialysisIntakesUnit int64 `gorm:"column:dialysis_intakes_unit" json:"dialysis_intakes_unit" form:"dialysis_intakes_unit"`
  1447. HumorExcessiveSymptom string `gorm:"column:humor_excessive_symptom" json:"humor_excessive_symptom" form:"humor_excessive_symptom"`
  1448. LastPostDialysisOther string `gorm:"column:last_post_dialysis_other" json:"last_post_dialysis_other" form:"last_post_dialysis_other"`
  1449. SymptomBeforeDialysisOther string `gorm:"column:symptom_before_dialysis_other" json:"symptom_before_dialysis_other" form:"symptom_before_dialysis_other"`
  1450. DialysisInterphaseOther string `gorm:"column:dialysis_interphase_other" json:"dialysis_interphase_other" form:"dialysis_interphase_other"`
  1451. Pinholing string `gorm:"column:pinholing" json:"pinholing" form:"pinholing"`
  1452. CatheterSuture string `gorm:"column:catheter_suture" json:"catheter_suture" form:"catheter_suture"`
  1453. CatheterSutureOther string `gorm:"column:catheter_suture_other" json:"catheter_suture_other" form:"catheter_suture_other"`
  1454. UrineVolume float64 `gorm:"column:urine_volume" json:"urine_volume" form:"urine_volume"`
  1455. Edema string `gorm:"column:edema" json:"edema" form:"edema"`
  1456. SpecialTreatment string `gorm:"column:special_treatment" json:"special_treatment" form:"special_treatment"`
  1457. CatheterMaintenance string `gorm:"column:catheter_maintenance" json:"catheter_maintenance" form:"catheter_maintenance"`
  1458. ThrombusAv string `gorm:"column:thrombus_av" json:"thrombus_av" form:"thrombus_av"`
  1459. ThromubusA string `gorm:"column:thromubus_a" json:"thromubus_a" form:"thromubus_a"`
  1460. ThromubusV string `gorm:"column:thromubus_v" json:"thromubus_v" form:"thromubus_v"`
  1461. ThromubusType int64 `gorm:"column:thromubus_type" json:"thromubus_type" form:"thromubus_type"`
  1462. Dehydration string `gorm:"column:dehydration" json:"dehydration" form:"dehydration"`
  1463. PreDialysisDrugs string `gorm:"column:pre_dialysis_drugs" json:"pre_dialysis_drugs" form:"pre_dialysis_drugs"`
  1464. EstimatedFoodIntake string `gorm:"column:estimated_food_intake" json:"estimated_food_intake" form:"estimated_food_intake"`
  1465. Period int64 `gorm:"column:period" json:"period" form:"period"`
  1466. BloodPressureDuringDialysis string `gorm:"column:blood_pressure_during_dialysis" json:"blood_pressure_during_dialysis" form:"blood_pressure_during_dialysis"`
  1467. }
  1468. func (XtAssessmentBeforeDislysis) TableName() string {
  1469. return "xt_assessment_before_dislysis"
  1470. }
  1471. type MsDeviceNumber struct {
  1472. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1473. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1474. Number string `gorm:"column:number" json:"number" form:"number"`
  1475. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1476. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1477. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1478. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1479. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1480. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1481. }
  1482. func (MsDeviceNumber) TableName() string {
  1483. return "xt_device_number"
  1484. }
  1485. type MsDeviceZone struct {
  1486. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1487. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1488. Name string `gorm:"column:name" json:"name" form:"name"`
  1489. Type int64 `gorm:"column:type" json:"type" form:"type"`
  1490. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1491. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1492. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1493. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1494. }
  1495. func (MsDeviceZone) TableName() string {
  1496. return "xt_device_zone"
  1497. }
  1498. type XtHospitalSummary struct {
  1499. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1500. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1501. AdmissionTime int64 `gorm:"column:admission_time" json:"admission_time" form:"admission_time"`
  1502. DischargeTime int64 `gorm:"column:discharge_time" json:"discharge_time" form:"discharge_time"`
  1503. SickPersonnel string `gorm:"column:sick_personnel" json:"sick_personnel" form:"sick_personnel"`
  1504. Xray string `gorm:"column:xray" json:"xray" form:"xray"`
  1505. Connecticut string `gorm:"column:connecticut" json:"connecticut" form:"connecticut"`
  1506. NuclearMagneticResonance string `gorm:"column:nuclear_magnetic_resonance" json:"nuclear_magnetic_resonance" form:"nuclear_magnetic_resonance"`
  1507. Ultrasound string `gorm:"column:ultrasound" json:"ultrasound" form:"ultrasound"`
  1508. Pathology string `gorm:"column:pathology" json:"pathology" form:"pathology"`
  1509. AdmittingDiagnosisId string `gorm:"column:admitting_diagnosis_id" json:"admitting_diagnosis_id" form:"admitting_diagnosis_id"`
  1510. AdmittingDiagnosis string `gorm:"column:admitting_diagnosis" json:"admitting_diagnosis" form:"admitting_diagnosis"`
  1511. DischargeDiagnosisId string `gorm:"column:discharge_diagnosis_id" json:"discharge_diagnosis_id" form:"discharge_diagnosis_id"`
  1512. DischargeDiagnosis string `gorm:"column:discharge_diagnosis" json:"discharge_diagnosis" form:"discharge_diagnosis"`
  1513. DiagnosisAdmissionId string `gorm:"column:diagnosis_admission_id" json:"diagnosis_admission_id" form:"diagnosis_admission_id"`
  1514. DiagnosisAdmission string `gorm:"column:diagnosis_admission" json:"diagnosis_admission" form:"diagnosis_admission"`
  1515. TreatmentId string `gorm:"column:treatment_id" json:"treatment_id" form:"treatment_id"`
  1516. Treatment string `gorm:"column:treatment" json:"treatment" form:"treatment"`
  1517. IllnessDischargeId string `gorm:"column:illness_discharge_id" json:"illness_discharge_id" form:"illness_discharge_id"`
  1518. IllnessDischarge string `gorm:"column:illness_discharge" json:"illness_discharge" form:"illness_discharge"`
  1519. DischargeAdviceId string `gorm:"column:discharge_advice_id" json:"discharge_advice_id" form:"discharge_advice_id"`
  1520. DischargeAdvice string `gorm:"column:discharge_advice" json:"discharge_advice" form:"discharge_advice"`
  1521. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1522. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1523. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1524. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1525. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  1526. Title string `gorm:"column:title" json:"title" form:"title"`
  1527. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  1528. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1529. DeanId int64 `gorm:"column:dean_id" json:"dean_id" form:"dean_id"`
  1530. }
  1531. func (XtHospitalSummary) TableName() string {
  1532. return "xt_hospital_summary"
  1533. }
  1534. type VmDialysisSolution struct {
  1535. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1536. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1537. DialysisStrainer string `gorm:"column:dialysis_strainer" json:"dialysis_strainer" form:"dialysis_strainer"`
  1538. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1539. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1540. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1541. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1542. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1543. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1544. DialysisSolution VmDialysisSolutionOne `gorm:"ForeignKey:PatientId,ModeId;AssociationForeignKey:PatientId,ModeId" json:"solution"`
  1545. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  1546. }
  1547. func (VmDialysisSolution) TableName() string {
  1548. return "xt_dialysis_solution"
  1549. }
  1550. type VmDialysisSolutionOne struct {
  1551. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1552. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1553. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1554. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1555. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1556. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1557. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1558. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  1559. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1560. }
  1561. func (VmDialysisSolutionOne) TableName() string {
  1562. return "xt_dialysis_solution"
  1563. }
  1564. type VmDialysisPrescription struct {
  1565. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1566. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1567. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1568. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1569. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1570. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1571. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1572. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1573. }
  1574. func (VmDialysisPrescription) TableName() string {
  1575. return "xt_dialysis_prescription"
  1576. }
  1577. type XtScheduleList struct {
  1578. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1579. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1580. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1581. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1582. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1583. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1584. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1585. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1586. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  1587. DialysisSolution VmDialysisSolution `gorm:"ForeignKey:PatientId,ModeId;AssociationForeignKey:PatientId,ModeId" json:"vmsolution"`
  1588. DialysisPrescription DialysisPrescription `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,ScheduleDate" json:"prescription"`
  1589. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1590. }
  1591. func (XtScheduleList) TableName() string {
  1592. return "xt_schedule"
  1593. }
  1594. type DialysisPrescriptionTwenty struct {
  1595. ID int64 `gorm:"column:id" json:"id"`
  1596. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1597. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1598. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  1599. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  1600. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  1601. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1602. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1603. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1604. }
  1605. func (DialysisPrescriptionTwenty) TableName() string {
  1606. return "xt_dialysis_prescription"
  1607. }
  1608. type DialysisPrescriptionThrity struct {
  1609. ID int64 `gorm:"column:id" json:"id"`
  1610. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1611. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1612. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1613. Chaptalization string `gorm:"column:chaptalization" json:"chaptalization" form:"chaptalization"`
  1614. }
  1615. func (DialysisPrescriptionThrity) TableName() string {
  1616. return "xt_dialysis_prescription"
  1617. }
  1618. type PatientsThirty struct {
  1619. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1620. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1621. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1622. Name string `gorm:"column:name" json:"name" form:"name"`
  1623. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  1624. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1625. }
  1626. func (PatientsThirty) TableName() string {
  1627. return "xt_patients"
  1628. }
  1629. type XtNewPatients struct {
  1630. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1631. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1632. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  1633. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  1634. Source int64 `gorm:"column:source" json:"source" form:"source"`
  1635. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  1636. Name string `gorm:"column:name" json:"name" form:"name"`
  1637. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  1638. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  1639. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  1640. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  1641. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  1642. ScheduleRemark string `gorm:"column:schedule_remark" json:"schedule_remark" form:"schedule_remark"`
  1643. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1644. }
  1645. func (XtNewPatients) TableName() string {
  1646. return "xt_patients"
  1647. }
  1648. type XtNewAssessmentBeforeDislysis struct {
  1649. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1650. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1651. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1652. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  1653. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  1654. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before" form:"weight_before"`
  1655. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount" form:"ultrafiltration_amount"`
  1656. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1657. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1658. }
  1659. func (XtNewAssessmentBeforeDislysis) TableName() string {
  1660. return "xt_assessment_before_dislysis"
  1661. }
  1662. type NewDialysisSolution struct {
  1663. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1664. Name string `gorm:"column:name" json:"name" form:"name"`
  1665. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1666. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1667. Type int64 `gorm:"column:type" json:"type" form:"type"`
  1668. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1669. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  1670. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  1671. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  1672. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  1673. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1674. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  1675. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  1676. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  1677. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  1678. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1679. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1680. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  1681. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  1682. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  1683. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  1684. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1685. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1686. MaxUltrafiltrationRate float64 `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  1687. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  1688. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  1689. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  1690. }
  1691. func (NewDialysisSolution) TableName() string {
  1692. return "xt_dialysis_solution"
  1693. }
  1694. type NewDialysisPrescription struct {
  1695. ID int64 `gorm:"column:id" json:"id"`
  1696. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1697. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1698. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  1699. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant"`
  1700. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji"`
  1701. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi"`
  1702. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang"`
  1703. ModeId int64 `gorm:"column:mode_id" json:"mode_id"`
  1704. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration"`
  1705. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total"`
  1706. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way"`
  1707. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine"`
  1708. Remark string `gorm:"column:remark" json:"remark"`
  1709. Status int64 `gorm:"column:status" json:"status"`
  1710. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  1711. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour"`
  1712. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute"`
  1713. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation"`
  1714. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration"`
  1715. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access"`
  1716. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration"`
  1717. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers"`
  1718. Blood string `gorm:"column:blood" json:"blood"`
  1719. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1720. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1721. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1722. DialysisRemark string `gorm:"column:dialysis_remark" json:"dialysis_remark" form:"dialysis_remark"`
  1723. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1724. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  1725. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  1726. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  1727. PrescriptionWater float64 `gorm:"column:prescription_water" json:"prescription_water" form:"prescription_water"`
  1728. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  1729. }
  1730. func (NewDialysisPrescription) TableName() string {
  1731. return "xt_dialysis_prescription"
  1732. }
  1733. type NewDialysisSolutionOne struct {
  1734. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1735. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1736. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1737. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1738. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1739. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  1740. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  1741. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  1742. SolutionStatus int64 `gorm:"column:solution_status" json:"solution_status" form:"solution_status"`
  1743. }
  1744. func (NewDialysisSolutionOne) TableName() string {
  1745. return "xt_dialysis_solution"
  1746. }
  1747. type XtPatientFirstDisease struct {
  1748. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1749. Title string `gorm:"column:title" json:"title" form:"title"`
  1750. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1751. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  1752. MainContent string `gorm:"column:main_content" json:"main_content" form:"main_content"`
  1753. PatientCase string `gorm:"column:patient_case" json:"patient_case" form:"patient_case"`
  1754. TentativeDiagnosis string `gorm:"column:tentative_diagnosis" json:"tentative_diagnosis" form:"tentative_diagnosis"`
  1755. DiagnosticBasis string `gorm:"column:diagnostic_basis" json:"diagnostic_basis" form:"diagnostic_basis"`
  1756. DifferentialDiagnosis string `gorm:"column:differential_diagnosis" json:"differential_diagnosis" form:"differential_diagnosis"`
  1757. TreatmentPlan string `gorm:"column:treatment_plan" json:"treatment_plan" form:"treatment_plan"`
  1758. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1759. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1760. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1761. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1762. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1763. ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
  1764. InspectDate string `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  1765. }
  1766. func (XtPatientFirstDisease) TableName() string {
  1767. return "xt_patient_first_disease"
  1768. }
  1769. type XtDialysisFinish struct {
  1770. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1771. IsFinish int64 `gorm:"column:is_finish" json:"is_finish" form:"is_finish"`
  1772. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1773. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1774. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1775. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1776. Module int64 `gorm:"column:module" json:"module" form:"module"`
  1777. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1778. Sourse int64 `gorm:"column:sourse" json:"sourse" form:"sourse"`
  1779. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1780. }
  1781. func (XtDialysisFinish) TableName() string {
  1782. return "xt_dialysis_finish"
  1783. }
  1784. type XtDialysisInformaitonSetting struct {
  1785. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1786. WeekDay int64 `gorm:"column:week_day" json:"week_day" form:"week_day"`
  1787. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1788. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1789. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1790. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1791. }
  1792. func (XtDialysisInformaitonSetting) TableName() string {
  1793. return "xt_dialysis_informaiton_setting"
  1794. }
  1795. type XtPatientSickHistory struct {
  1796. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1797. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1798. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1799. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  1800. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  1801. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1802. Content string `gorm:"column:content" json:"content" form:"content"`
  1803. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1804. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1805. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1806. Title string `gorm:"column:title" json:"title" form:"title"`
  1807. IsShenyizhiHistory int64 `gorm:"column:is_shenyizhi_history" json:"is_shenyizhi_history" form:"is_shenyizhi_history"`
  1808. IsFumoDialysisHistory int64 `gorm:"column:is_fumo_dialysis_history" json:"is_fumo_dialysis_history" form:"is_fumo_dialysis_history"`
  1809. HypersusceptibilityDesc string `gorm:"column:hypersusceptibility_desc" json:"hypersusceptibility_desc" form:"hypersusceptibility_desc"`
  1810. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  1811. IsHypersusceptibility int64 `gorm:"column:is_hypersusceptibility" json:"is_hypersusceptibility" form:"is_hypersusceptibility"`
  1812. XtPatientPhysiqueCheck XtPatientPhysiqueCheck `gorm:"json:"ppc"`
  1813. }
  1814. func (XtPatientSickHistory) TableName() string {
  1815. return "xt_patient_sick_history"
  1816. }
  1817. type XtPatientPhysiqueCheck struct {
  1818. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1819. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1820. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1821. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  1822. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  1823. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1824. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1825. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1826. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1827. T string `gorm:"column:t" json:"t" form:"t"`
  1828. P string `gorm:"column:p" json:"p" form:"p"`
  1829. R string `gorm:"column:r" json:"r" form:"r"`
  1830. BpRight string `gorm:"column:bp_right" json:"bp_right" form:"bp_right"`
  1831. BpLeft string `gorm:"column:bp_left" json:"bp_left" form:"bp_left"`
  1832. Pinxuerongmao int64 `gorm:"column:pinxuerongmao" json:"pinxuerongmao" form:"pinxuerongmao"`
  1833. Tiwei int64 `gorm:"column:tiwei" json:"tiwei" form:"tiwei"`
  1834. Fuzhong int64 `gorm:"column:fuzhong" json:"fuzhong" form:"fuzhong"`
  1835. Chuxuedian int64 `gorm:"column:chuxuedian" json:"chuxuedian" form:"chuxuedian"`
  1836. Fayu int64 `gorm:"column:fayu" json:"fayu" form:"fayu"`
  1837. Yinyang int64 `gorm:"column:yinyang" json:"yinyang" form:"yinyang"`
  1838. Shenzhi int64 `gorm:"column:shenzhi" json:"shenzhi" form:"shenzhi"`
  1839. Pifunianmo int64 `gorm:"column:pifunianmo" json:"pifunianmo" form:"pifunianmo"`
  1840. Buwei string `gorm:"column:buwei" json:"buwei" form:"buwei"`
  1841. Chengdu string `gorm:"column:chengdu" json:"chengdu" form:"chengdu"`
  1842. Pixiachuxue int64 `gorm:"column:pixiachuxue" json:"pixiachuxue" form:"pixiachuxue"`
  1843. Zidian int64 `gorm:"column:zidian" json:"zidian" form:"zidian"`
  1844. Pifuwendu int64 `gorm:"column:pifuwendu" json:"pifuwendu" form:"pifuwendu"`
  1845. Qita string `gorm:"column:qita" json:"qita" form:"qita"`
  1846. Linbazhongda int64 `gorm:"column:linbazhongda" json:"linbazhongda" form:"linbazhongda"`
  1847. Linbabuwei string `gorm:"column:linbabuwei" json:"linbabuwei" form:"linbabuwei"`
  1848. Yanlian int64 `gorm:"column:yanlian" json:"yanlian" form:"yanlian"`
  1849. Tongkong int64 `gorm:"column:tongkong" json:"tongkong" form:"tongkong"`
  1850. Zuo string `gorm:"column:zuo" json:"zuo" form:"zuo"`
  1851. You string `gorm:"column:you" json:"you" form:"you"`
  1852. Duiguangfanshe string `gorm:"column:duiguangfanshe" json:"duiguangfanshe" form:"duiguangfanshe"`
  1853. Biantaoti string `gorm:"column:biantaoti" json:"biantaoti" form:"biantaoti"`
  1854. Yanbu string `gorm:"column:yanbu" json:"yanbu" form:"yanbu"`
  1855. Toubuqita string `gorm:"column:toubuqita" json:"toubuqita" form:"toubuqita"`
  1856. Huxiyin string `gorm:"column:huxiyin" json:"huxiyin" form:"huxiyin"`
  1857. Xiongmomocayin int64 `gorm:"column:xiongmomocayin" json:"xiongmomocayin" form:"xiongmomocayin"`
  1858. Feizhangbuwei int64 `gorm:"column:feizhangbuwei" json:"feizhangbuwei" form:"feizhangbuwei"`
  1859. Luoyin int64 `gorm:"column:luoyin" json:"luoyin" form:"luoyin"`
  1860. Desc string `gorm:"column:desc" json:"desc" form:"desc"`
  1861. Xinzangdaxiao int64 `gorm:"column:xinzangdaxiao" json:"xinzangdaxiao" form:"xinzangdaxiao"`
  1862. Xinlv int64 `gorm:"column:xinlv" json:"xinlv" form:"xinlv"`
  1863. Xinbaomocasheng int64 `gorm:"column:xinbaomocasheng" json:"xinbaomocasheng" form:"xinbaomocasheng"`
  1864. Zayin int64 `gorm:"column:zayin" json:"zayin" form:"zayin"`
  1865. Fujiayin int64 `gorm:"column:fujiayin" json:"fujiayin" form:"fujiayin"`
  1866. Xinzangdesc string `gorm:"column:xinzangdesc" json:"xinzangdesc" form:"xinzangdesc"`
  1867. Fushuizheng int64 `gorm:"column:fushuizheng" json:"fushuizheng" form:"fushuizheng"`
  1868. Ganjingjingmai string `gorm:"column:ganjingjingmai" json:"ganjingjingmai" form:"ganjingjingmai"`
  1869. GangzhangYatong int64 `gorm:"column:gangzhang_yatong" json:"gangzhang_yatong" form:"gangzhang_yatong"`
  1870. GangzhangKoutong int64 `gorm:"column:gangzhang_koutong" json:"gangzhang_koutong" form:"gangzhang_koutong"`
  1871. PizhangYatong int64 `gorm:"column:pizhang_yatong" json:"pizhang_yatong" form:"pizhang_yatong"`
  1872. PizhangKoutong int64 `gorm:"column:pizhang_koutong" json:"pizhang_koutong" form:"pizhang_koutong"`
  1873. ShenzhangYatong int64 `gorm:"column:shenzhang_yatong" json:"shenzhang_yatong" form:"shenzhang_yatong"`
  1874. ShenzhangKoutong int64 `gorm:"column:shenzhang_koutong" json:"shenzhang_koutong" form:"shenzhang_koutong"`
  1875. FubuDesc string `gorm:"column:fubu_desc" json:"fubu_desc" form:"fubu_desc"`
  1876. OthDesc string `gorm:"column:oth_desc" json:"oth_desc" form:"oth_desc"`
  1877. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  1878. }
  1879. func (XtPatientPhysiqueCheck) TableName() string {
  1880. return "xt_patient_physique_check"
  1881. }
  1882. type ConScheduleList struct {
  1883. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1884. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1885. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1886. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1887. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1888. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1889. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1890. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1891. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  1892. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1893. }
  1894. func (ConScheduleList) TableName() string {
  1895. return "xt_schedule"
  1896. }
  1897. type XtPatientAllergic struct {
  1898. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1899. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1900. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1901. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  1902. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  1903. PatientSource int64 `gorm:"column:patient_source" json:"patient_source" form:"patient_source"`
  1904. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1905. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1906. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1907. Remake string `gorm:"column:remake" json:"remake" form:"remake"`
  1908. PatientAddress string `gorm:"column:patient_address" json:"patient_address" form:"patient_address"`
  1909. }
  1910. func (XtPatientAllergic) TableName() string {
  1911. return "xt_patient_allergic"
  1912. }
  1913. type VmDoubleCheck struct {
  1914. ID int64 `gorm:"column:id" json:"id"`
  1915. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  1916. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  1917. CheckDate int64 `gorm:"column:check_date" json:"check_date"`
  1918. Status int64 `gorm:"column:status" json:"status"`
  1919. Creater int64 `gorm:"column:creater" json:"creater"`
  1920. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  1921. CheckTime int64 `gorm:"column:check_time" json:"check_time"`
  1922. FirstCheckTime int64 `gorm:"column:first_check_time" json:"first_check_time"`
  1923. }
  1924. func (VmDoubleCheck) TableName() string {
  1925. return "xt_double_check"
  1926. }
  1927. type XtDialysisPrescriptionLog struct {
  1928. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1929. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1930. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1931. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1932. ErrLog string `gorm:"column:err_log" json:"err_log" form:"err_log"`
  1933. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1934. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1935. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1936. Source string `gorm:"column:source" json:"source" form:"source"`
  1937. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1938. }
  1939. func (XtDialysisPrescriptionLog) TableName() string {
  1940. return "xt_dialysis_prescription_log"
  1941. }
  1942. type XtAssessmentBeforeDislysisLog struct {
  1943. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1944. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1945. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1946. ErrLog string `gorm:"column:err_log" json:"err_log" form:"err_log"`
  1947. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1948. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1949. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1950. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1951. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1952. Source string `gorm:"column:source" json:"source" form:"source"`
  1953. }
  1954. func (XtAssessmentBeforeDislysisLog) TableName() string {
  1955. return "xt_assessment_before_dislysis_log"
  1956. }
  1957. type XtAssessmentAfterDialysisLog struct {
  1958. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1959. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1960. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1961. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1962. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1963. ErrLog string `gorm:"column:err_log" json:"err_log" form:"err_log"`
  1964. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1965. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1966. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1967. Source string `gorm:"column:source" json:"source" form:"source"`
  1968. }
  1969. func (XtAssessmentAfterDialysisLog) TableName() string {
  1970. return "xt_assessment_after_dialysis_log"
  1971. }
  1972. type XtDoctorAdviceLog struct {
  1973. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1974. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1975. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1976. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1977. Module int64 `gorm:"column:module" json:"module" form:"module"`
  1978. ErrLog string `gorm:"column:err_log" json:"err_log" form:"err_log"`
  1979. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1980. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1981. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1982. Source string `gorm:"column:source" json:"source" form:"source"`
  1983. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1984. }
  1985. func (XtDoctorAdviceLog) TableName() string {
  1986. return "xt_doctor_advice_log"
  1987. }
  1988. type XtMonitorRecordLog struct {
  1989. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1990. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1991. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1992. Module int64 `gorm:"column:module" json:"module" form:"module"`
  1993. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1994. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1995. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1996. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1997. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1998. ErrLog string `gorm:"column:err_log" json:"err_log" form:"err_log"`
  1999. Source string `gorm:"column:source" json:"source" form:"source"`
  2000. }
  2001. func (XtMonitorRecordLog) TableName() string {
  2002. return "xt_monitor_record_log"
  2003. }
  2004. type XtScheduleLog struct {
  2005. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2006. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2007. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  2008. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2009. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2010. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2011. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2012. ErrLog string `gorm:"column:err_log" json:"err_log" form:"err_log"`
  2013. Source string `gorm:"column:source" json:"source" form:"source"`
  2014. Module int64 `gorm:"column:module" json:"module" form:"module"`
  2015. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  2016. }
  2017. func (XtScheduleLog) TableName() string {
  2018. return "xt_schedule_log"
  2019. }
  2020. type XtDeviceValsualMap struct {
  2021. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2022. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2023. IsAppend int64 `gorm:"column:is_append" json:"is_append" form:"is_append"`
  2024. IsImgV int64 `gorm:"column:is_img_v" json:"is_img_v" form:"is_img_v"`
  2025. IsImgA int64 `gorm:"column:is_img_a" json:"is_img_a" form:"is_img_a"`
  2026. VNum float64 `gorm:"column:v_num" json:"v_num" form:"v_num"`
  2027. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2028. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2029. ATop float64 `gorm:"column:a_top" json:"a_top" form:"a_top"`
  2030. AvBkx float64 `gorm:"column:av_bkx" json:"av_bkx" form:"av_bkx"`
  2031. AvBky float64 `gorm:"column:av_bky" json:"av_bky" form:"av_bky"`
  2032. FangxiangALeft float64 `gorm:"column:fangxiang_a_left" json:"fangxiang_a_left" form:"fangxiang_a_left"`
  2033. FangxiangANum float64 `gorm:"column:fangxiang_a_num" json:"fangxiang_a_num" form:"fangxiang_a_num"`
  2034. FangxiangATop float64 `gorm:"column:fangxiang_a_top" json:"fangxiang_a_top" form:"fangxiang_a_top"`
  2035. FangxiangVLeft float64 `gorm:"column:fangxiang_v_left" json:"fangxiang_v_left" form:"fangxiang_v_left"`
  2036. FangxiangVNum float64 `gorm:"column:fangxiang_v_num" json:"fangxiang_v_num" form:"fangxiang_v_num"`
  2037. FangxiangVTop float64 `gorm:"column:fangxiang_v_top" json:"fangxiang_v_top" form:"fangxiang_v_top"`
  2038. FuzhuALeft float64 `gorm:"column:fuzhu_a_left" json:"fuzhu_a_left" form:"fuzhu_a_left"`
  2039. FuzhuANum float64 `gorm:"column:fuzhu_a_num" json:"fuzhu_a_num" form:"fuzhu_a_num"`
  2040. FuzhuATop float64 `gorm:"column:fuzhu_a_top" json:"fuzhu_a_top" form:"fuzhu_a_top"`
  2041. FuzhuVLeft float64 `gorm:"column:fuzhu_v_left" json:"fuzhu_v_left" form:"fuzhu_v_left"`
  2042. FuzhuVNum float64 `gorm:"column:fuzhu_v_num" json:"fuzhu_v_num" form:"fuzhu_v_num"`
  2043. FuzhuVTop float64 `gorm:"column:fuzhu_v_top" json:"fuzhu_v_top" form:"fuzhu_v_top"`
  2044. ScaleaNum float64 `gorm:"column:scalea_num" json:"scalea_num" form:"scalea_num"`
  2045. ScalevNum float64 `gorm:"column:scalev_num" json:"scalev_num" form:"scalev_num"`
  2046. TextLeft float64 `gorm:"column:text_left" json:"text_left" form:"text_left"`
  2047. TextNum float64 `gorm:"column:text_num" json:"text_num" form:"text_num"`
  2048. TextTop float64 `gorm:"column:text_top" json:"text_top" form:"text_top"`
  2049. VTop float64 `gorm:"column:v_top" json:"v_top" form:"v_top"`
  2050. XuanzhuanA float64 `gorm:"column:xuanzhuan_a" json:"xuanzhuan_a" form:"xuanzhuan_a"`
  2051. XuanzhuanV float64 `gorm:"column:xuanzhuan_v" json:"xuanzhuan_v" form:"xuanzhuan_v"`
  2052. ALeft float64 `gorm:"column:a_left" json:"a_left" form:"a_left"`
  2053. VLeft float64 `gorm:"column:v_left" json:"v_left" form:"v_left"`
  2054. ImgUrl string `gorm:"column:img_url" json:"img_url" form:"img_url"`
  2055. XtDeviceValsualALeft []*XtDeviceValsualALeft `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValsualALeft"`
  2056. XtDeviceValsualMapFangxiangA []*XtDeviceValsualMapFangxiangA `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValsualMapFangxiangA"`
  2057. XtDeviceValsualMapFangxiangV []*XtDeviceValsualMapFangxiangV `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValsualMapFangxiangV"`
  2058. XtDeviceValsualFuzhuA []*XtDeviceValsualFuzhuA `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValsualFuzhuA"`
  2059. XtDeviceValsualFuzhuV []*XtDeviceValsualFuzhuV `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValsualFuzhuV"`
  2060. XtDeviceValsualTextArr []*XtDeviceValsualTextArr `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValsualTextArr"`
  2061. XtDeviceValsualVLeft []*XtDeviceValsualVLeft `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"XtDeviceValsualVLeft"`
  2062. DeviceValusalMapArr []*XtDeviceValusalMapArr `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValusalMapArr"`
  2063. XtDeviceValusalMapVrr []*XtDeviceValusalMapVrr `gorm:"ForeignKey:PatientId;AssociationForeignKey:PatientId" json:"DeviceValusalMapVrr"`
  2064. }
  2065. func (XtDeviceValsualMap) TableName() string {
  2066. return "xt_device_valsual_map"
  2067. }
  2068. type XtDeviceValsualALeft struct {
  2069. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2070. ANum float64 `gorm:"column:a_num" json:"a_num" form:"a_num"`
  2071. MarkNum float64 `gorm:"column:mark_num" json:"mark_num" form:"mark_num"`
  2072. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2073. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2074. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2075. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2076. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2077. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2078. }
  2079. func (XtDeviceValsualALeft) TableName() string {
  2080. return "xt_device_valsual_a_left"
  2081. }
  2082. type XtDeviceValsualMapFangxiangA struct {
  2083. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2084. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2085. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2086. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2087. Left float64 `gorm:"column:left" json:"left" form:"left"`
  2088. MarkNum float64 `gorm:"column:mark_num" json:"mark_num" form:"mark_num"`
  2089. Top float64 `gorm:"column:top" json:"top" form:"top"`
  2090. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2091. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2092. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2093. }
  2094. func (XtDeviceValsualMapFangxiangA) TableName() string {
  2095. return "xt_device_valsual_map_fangxiang_a"
  2096. }
  2097. type XtDeviceValsualMapFangxiangV struct {
  2098. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2099. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2100. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2101. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2102. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2103. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2104. MarkNum float64 `gorm:"column:mark_num" json:"mark_num" form:"mark_num"`
  2105. Left float64 `gorm:"column:left" json:"left" form:"left"`
  2106. Top float64 `gorm:"column:top" json:"top" form:"top"`
  2107. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2108. }
  2109. func (XtDeviceValsualMapFangxiangV) TableName() string {
  2110. return "xt_device_valsual_map_fangxiang_v"
  2111. }
  2112. type XtDeviceValsualFuzhuA struct {
  2113. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2114. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2115. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2116. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2117. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2118. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2119. ALeft float64 `gorm:"column:a_left" json:"a_left" form:"a_left"`
  2120. AMarkNum float64 `gorm:"column:a_mark_num" json:"a_mark_num" form:"a_mark_num"`
  2121. ATop float64 `gorm:"column:a_top" json:"a_top" form:"a_top"`
  2122. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2123. }
  2124. func (XtDeviceValsualFuzhuA) TableName() string {
  2125. return "xt_device_valsual_fuzhu_a"
  2126. }
  2127. type XtDeviceValsualFuzhuV struct {
  2128. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2129. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2130. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2131. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2132. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2133. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2134. VMarkNum float64 `gorm:"column:v_mark_num" json:"v_mark_num" form:"v_mark_num"`
  2135. VLeft float64 `gorm:"column:v_left" json:"v_left" form:"v_left"`
  2136. VTop float64 `gorm:"column:v_top" json:"v_top" form:"v_top"`
  2137. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2138. }
  2139. func (XtDeviceValsualFuzhuV) TableName() string {
  2140. return "xt_device_valsual_fuzhu_v"
  2141. }
  2142. type XtDeviceValsualTextArr struct {
  2143. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2144. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2145. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2146. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2147. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2148. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2149. Left float64 `gorm:"column:left" json:"left" form:"left"`
  2150. Text string `gorm:"column:text" json:"text" form:"text"`
  2151. Top float64 `gorm:"column:top" json:"top" form:"top"`
  2152. Width float64 `gorm:"column:width" json:"width" form:"width"`
  2153. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2154. }
  2155. func (XtDeviceValsualTextArr) TableName() string {
  2156. return "xt_device_valsual_text_arr"
  2157. }
  2158. type XtDeviceValsualVLeft struct {
  2159. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2160. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2161. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2162. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2163. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2164. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2165. MarkNum float64 `gorm:"column:mark_num" json:"mark_num" form:"mark_num"`
  2166. VNum float64 `gorm:"column:v_num" json:"v_num" form:"v_num"`
  2167. MapId int64 `gorm:"column:map_id" json:"map_id" form:"map_id"`
  2168. }
  2169. func (XtDeviceValsualVLeft) TableName() string {
  2170. return "xt_device_valsual_v_left"
  2171. }
  2172. type XtDeviceValusalMapArr struct {
  2173. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2174. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2175. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2176. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2177. MarkNum float64 `gorm:"column:mark_num" json:"mark_num" form:"mark_num"`
  2178. Left float64 `gorm:"column:left" json:"left" form:"left"`
  2179. Top float64 `gorm:"column:top" json:"top" form:"top"`
  2180. IsStatus float64 `gorm:"column:is_status" json:"is_status" form:"is_status"`
  2181. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2182. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2183. }
  2184. func (XtDeviceValusalMapArr) TableName() string {
  2185. return "xt_device_valusal_map_arr"
  2186. }
  2187. type XtDeviceValusalMapVrr struct {
  2188. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2189. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2190. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2191. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2192. MarkNum float64 `gorm:"column:mark_num" json:"mark_num" form:"mark_num"`
  2193. Left float64 `gorm:"column:left" json:"left" form:"left"`
  2194. Top float64 `gorm:"column:top" json:"top" form:"top"`
  2195. IsStatus float64 `gorm:"column:is_status" json:"is_status" form:"is_status"`
  2196. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2197. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2198. }
  2199. func (XtDeviceValusalMapVrr) TableName() string {
  2200. return "xt_device_valusal_map_vrr"
  2201. }
  2202. type PatientsTwenty struct {
  2203. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2204. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2205. Name string `gorm:"column:name" json:"name" form:"name"`
  2206. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2207. }
  2208. func (PatientsTwenty) TableName() string {
  2209. return "xt_patients"
  2210. }
  2211. type XtFallOutPrint struct {
  2212. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2213. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2214. Content string `gorm:"column:content" json:"content" form:"content"`
  2215. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2216. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2217. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2218. }
  2219. func (XtFallOutPrint) TableName() string {
  2220. return "xt_fall_out_print"
  2221. }
  2222. type XtFilterInformed struct {
  2223. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2224. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2225. Content string `gorm:"column:content" json:"content" form:"content"`
  2226. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2227. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2228. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2229. }
  2230. func (XtFilterInformed) TableName() string {
  2231. return "xt_filter_informed"
  2232. }
  2233. type XtProfundaInformed struct {
  2234. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2235. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2236. Content string `gorm:"column:content" json:"content" form:"content"`
  2237. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2238. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2239. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2240. }
  2241. func (XtProfundaInformed) TableName() string {
  2242. return "xt_profunda_informed"
  2243. }
  2244. type XtArterOvenous struct {
  2245. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2246. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2247. Content string `gorm:"column:content" json:"content" form:"content"`
  2248. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2249. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2250. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2251. }
  2252. func (XtArterOvenous) TableName() string {
  2253. return "xt_arter_ovenous"
  2254. }
  2255. type XtHightRisk struct {
  2256. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2257. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2258. Content string `gorm:"column:content" json:"content" form:"content"`
  2259. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2260. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2261. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2262. }
  2263. func (XtHightRisk) TableName() string {
  2264. return "xt_hight_risk"
  2265. }
  2266. type XtAuticoagutionPrint struct {
  2267. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2268. Content string `gorm:"column:content" json:"content" form:"content"`
  2269. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2270. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2271. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2272. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2273. }
  2274. func (XtAuticoagutionPrint) TableName() string {
  2275. return "xt_auticoagution_print"
  2276. }
  2277. type XtCriticalinfomedPrint struct {
  2278. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2279. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2280. Content string `gorm:"column:content" json:"content" form:"content"`
  2281. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2282. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2283. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2284. }
  2285. func (XtCriticalinfomedPrint) TableName() string {
  2286. return "xt_criticalinfomed_print"
  2287. }
  2288. type XtHemoperfusionmedPrint struct {
  2289. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2290. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2291. Content string `gorm:"column:content" json:"content" form:"content"`
  2292. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2293. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2294. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2295. }
  2296. func (XtHemoperfusionmedPrint) TableName() string {
  2297. return "xt_hemoperfusionmed_print"
  2298. }
  2299. type XtBringinformedPrint struct {
  2300. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2301. Content string `gorm:"column:content" json:"content" form:"content"`
  2302. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2303. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2304. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2305. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2306. }
  2307. func (XtBringinformedPrint) TableName() string {
  2308. return "xt_bring_print"
  2309. }
  2310. type XtCathetercationPrint struct {
  2311. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2312. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2313. Content string `gorm:"column:content" json:"content" form:"content"`
  2314. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2315. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2316. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2317. }
  2318. func (XtCathetercationPrint) TableName() string {
  2319. return "xt_cathetercation_print"
  2320. }
  2321. type XtDialyszerinformedPrint struct {
  2322. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2323. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2324. Content string `gorm:"column:content" json:"content" form:"content"`
  2325. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2326. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2327. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2328. }
  2329. func (XtDialyszerinformedPrint) TableName() string {
  2330. return "xt_dialyszerinformed_print"
  2331. }
  2332. type XtTheapyinformedPrint struct {
  2333. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2334. Content string `gorm:"column:content" json:"content" form:"content"`
  2335. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2336. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2337. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2338. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2339. }
  2340. func (XtTheapyinformedPrint) TableName() string {
  2341. return "xt_theapyinformed_print"
  2342. }
  2343. type XtMedicalHistory struct {
  2344. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2345. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2346. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2347. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2348. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2349. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2350. Content string `gorm:"column:content" json:"content" form:"content"`
  2351. }
  2352. func (XtMedicalHistory) TableName() string {
  2353. return "xt_medical_history"
  2354. }
  2355. // 评分系统
  2356. type XtPatientFallassessment struct {
  2357. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2358. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2359. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2360. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  2361. PingDate int64 `gorm:"column:ping_date" json:"ping_date" form:"ping_date"`
  2362. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  2363. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2364. IsCheck int64 `gorm:"column:is_check" json:"is_check" form:"is_check"`
  2365. IsCheckOne int64 `gorm:"column:is_check_one" json:"is_check_one" form:"is_check_one"`
  2366. IsCheckTwo int64 `gorm:"column:is_check_two" json:"is_check_two" form:"is_check_two"`
  2367. IsCheckThree int64 `gorm:"column:is_check_three" json:"is_check_three" form:"is_check_three"`
  2368. IsCheckFour int64 `gorm:"column:is_check_four" json:"is_check_four" form:"is_check_four"`
  2369. IsCheckFive int64 `gorm:"column:is_check_five" json:"is_check_five" form:"is_check_five"`
  2370. IsCheckSix int64 `gorm:"column:is_check_six" json:"is_check_six" form:"is_check_six"`
  2371. IsCheckSeven int64 `gorm:"column:is_check_seven" json:"is_check_seven" form:"is_check_seven"`
  2372. IsCheckEight int64 `gorm:"column:is_check_eight" json:"is_check_eight" form:"is_check_eight"`
  2373. IsCheckNight int64 `gorm:"column:is_check_night" json:"is_check_night" form:"is_check_night"`
  2374. IsCheckTen int64 `gorm:"column:is_check_ten" json:"is_check_ten" form:"is_check_ten"`
  2375. IsCheckEleven int64 `gorm:"column:is_check_eleven" json:"is_check_eleven" form:"is_check_eleven"`
  2376. IsCheckTwelve int64 `gorm:"column:is_check_twelve" json:"is_check_twelve" form:"is_check_twelve"`
  2377. IsCheckThirteen int64 `gorm:"column:is_check_thirteen" json:"is_check_thirteen" form:"is_check_thirteen"`
  2378. IsCheckFourteen int64 `gorm:"column:is_check_fourteen" json:"is_check_fourteen" form:"is_check_fourteen"`
  2379. IsCheckFifteen int64 `gorm:"column:is_check_fifteen" json:"is_check_fifteen" form:"is_check_fifteen"`
  2380. IsCheckSixteen int64 `gorm:"column:is_check_sixteen" json:"is_check_sixteen" form:"is_check_sixteen"`
  2381. IsCheckSeventeen int64 `gorm:"column:is_check_seventeen" json:"is_check_seventeen" form:"is_check_seventeen"`
  2382. IsCheckEighteen int64 `gorm:"column:is_check_eighteen" json:"is_check_eighteen" form:"is_check_eighteen"`
  2383. IsCheckNineteen int64 `gorm:"column:is_check_nineteen" json:"is_check_nineteen" form:"is_check_nineteen"`
  2384. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2385. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2386. Total int64 `gorm:"column:total" json:"total" form:"total"`
  2387. Content string `gorm:"column:content" json:"content" form:"content"`
  2388. ContentOne string `gorm:"column:content_one" json:"content_one" form:"content_one"`
  2389. ContentTwo string `gorm:"column:content_two" json:"content_two" form:"content_two"`
  2390. ContentThree string `gorm:"column:content_three" json:"content_three" form:"content_three"`
  2391. ContentFour string `gorm:"column:content_four" json:"content_four" form:"content_four"`
  2392. ContentFive string `gorm:"column:content_five" json:"content_five" form:"content_five"`
  2393. ContentSix string `gorm:"column:content_six" json:"content_six" form:"content_six"`
  2394. ContentSeven string `gorm:"column:content_seven" json:"content_seven" form:"content_seven"`
  2395. ContentEight string `gorm:"column:content_eight" json:"content_eight" form:"content_eight"`
  2396. ContentNight string `gorm:"column:content_night" json:"content_night" form:"content_night"`
  2397. ContentAdd string `gorm:"column:content_add" json:"content_add" form:"content_add"`
  2398. ContentAddOne string `gorm:"column:content_add_one" json:"content_add_one" form:"content_add_one"`
  2399. }
  2400. func (XtPatientFallassessment) TableName() string {
  2401. return "xt_patient_fallassessment"
  2402. }
  2403. type XtPatientPedFallssessment struct {
  2404. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2405. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2406. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2407. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2408. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2409. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2410. Text string `gorm:"column:text" json:"text" form:"text"`
  2411. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  2412. Total int64 `gorm:"column:total" json:"total" form:"total"`
  2413. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  2414. Type int64 `gorm:"column:type" json:"type" form:"type"`
  2415. Age int64 `gorm:"column:age" json:"age" form:"age"`
  2416. Cognize int64 `gorm:"column:cognize" json:"cognize" form:"cognize"`
  2417. Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
  2418. Environment int64 `gorm:"column:environment" json:"environment" form:"environment"`
  2419. Medicine int64 `gorm:"column:medicine" json:"medicine" form:"medicine"`
  2420. Sex int64 `gorm:"column:sex" json:"sex" form:"sex"`
  2421. Tumble int64 `gorm:"column:tumble" json:"tumble" form:"tumble"`
  2422. }
  2423. func (XtPatientPedFallssessment) TableName() string {
  2424. return "xt_patient_ped_fallssessment"
  2425. }
  2426. type XtPatientCritical struct {
  2427. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2428. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2429. Content string `gorm:"column:content" json:"content" form:"content"`
  2430. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2431. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2432. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2433. }
  2434. func (XtPatientCritical) TableName() string {
  2435. return "xt_patient_critical"
  2436. }
  2437. type XtPatientCriticalOne struct {
  2438. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2439. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2440. Content string `gorm:"column:content" json:"content" form:"content"`
  2441. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2442. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2443. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2444. }
  2445. func (XtPatientCriticalOne) TableName() string {
  2446. return "xt_patient_critical_one"
  2447. }
  2448. type XtPatientBraden struct {
  2449. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2450. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2451. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2452. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  2453. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  2454. Total int64 `gorm:"column:total" json:"total" form:"total"`
  2455. FirstPingfen int64 `gorm:"column:first_pingfen" json:"first_pingfen" form:"first_pingfen"`
  2456. TwoPingfen int64 `gorm:"column:two_pingfen" json:"two_pingfen" form:"two_pingfen"`
  2457. ThreePingfen int64 `gorm:"column:three_pingfen" json:"three_pingfen" form:"three_pingfen"`
  2458. FourPingfen int64 `gorm:"column:four_pingfen" json:"four_pingfen" form:"four_pingfen"`
  2459. FivePingfen int64 `gorm:"column:five_pingfen" json:"five_pingfen" form:"five_pingfen"`
  2460. SixPingfen int64 `gorm:"column:six_pingfen" json:"six_pingfen" form:"six_pingfen"`
  2461. FamaliySign string `gorm:"column:famaliy_sign" json:"famaliy_sign" form:"famaliy_sign"`
  2462. PingDate int64 `gorm:"column:ping_date" json:"ping_date" form:"ping_date"`
  2463. FirstLapeso int64 `gorm:"column:first_lapeso" json:"first_lapeso" form:"first_lapeso"`
  2464. PingSign string `gorm:"column:ping_sign" json:"ping_sign" form:"ping_sign"`
  2465. LeaderSign string `gorm:"column:leader_sign" json:"leader_sign" form:"leader_sign"`
  2466. LeaderDate int64 `gorm:"column:leader_date" json:"leader_date" form:"leader_date"`
  2467. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2468. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2469. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2470. FirstCheck int64 `gorm:"column:first_check" json:"first_check" form:"first_check"`
  2471. TwoCheck int64 `gorm:"column:two_check" json:"two_check" form:"two_check"`
  2472. ThreeCheck int64 `gorm:"column:three_check" json:"three_check" form:"three_check"`
  2473. FourCheck int64 `gorm:"column:four_check" json:"four_check" form:"four_check"`
  2474. FiveCheck int64 `gorm:"column:five_check" json:"five_check" form:"five_check"`
  2475. SixCheck int64 `gorm:"column:six_check" json:"six_check" form:"six_check"`
  2476. TwoLapeso int64 `gorm:"column:two_lapeso" json:"two_lapeso" form:"two_lapeso"`
  2477. ThreeLapeso int64 `gorm:"column:three_lapeso" json:"three_lapeso" form:"three_lapeso"`
  2478. Content string `gorm:"column:content" json:"content" form:"content"`
  2479. }
  2480. func (XtPatientBraden) TableName() string {
  2481. return "xt_patient_braden"
  2482. }
  2483. type XtPatientBradenChild struct {
  2484. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2485. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2486. IsCheckStatus int64 `gorm:"column:is_check_status" json:"is_check_status" form:"is_check_status"`
  2487. FassementId int64 `gorm:"column:fassement_id" json:"fassement_id" form:"fassement_id"`
  2488. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2489. Content string `gorm:"column:content" json:"content" form:"content"`
  2490. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2491. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2492. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2493. }
  2494. func (XtPatientBradenChild) TableName() string {
  2495. return "xt_patient_braden_child"
  2496. }
  2497. type XtAgePatients struct {
  2498. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2499. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2500. Name string `gorm:"column:name" json:"name" form:"name"`
  2501. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2502. Age int64 `gorm:"column:age" json:"age" form:"age"`
  2503. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  2504. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  2505. BeforSystolicBloodPressure float64
  2506. BeforDiastolicBloodPressure float64
  2507. AfterSystolicBloodPressure float64
  2508. AfterDiastolicBloodPressure float64
  2509. XueLin string
  2510. XueHongDanBai string
  2511. XueGai string
  2512. JiaoZhengGai string
  2513. JiaPanSu string
  2514. YiTieDanBai string
  2515. TieDanBai string
  2516. QianBaiDanBai string
  2517. Crp string
  2518. Mg string
  2519. URR string
  2520. KTV string
  2521. }
  2522. func (XtAgePatients) TableName() string {
  2523. return "xt_patients"
  2524. }
  2525. type NewInspection struct {
  2526. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2527. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2528. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  2529. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  2530. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  2531. InspectDate int64 `gorm:"column:inspect_date" json:"inspect_date" form:"inspect_date"`
  2532. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2533. Count int64
  2534. LastInspectData int64
  2535. }
  2536. type XtTreatmentPlan struct {
  2537. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2538. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2539. Content string `gorm:"column:content" json:"content" form:"content"`
  2540. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2541. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2542. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2543. }
  2544. func (XtTreatmentPlan) TableName() string {
  2545. return "xt_treatment_plan"
  2546. }
  2547. type XtPatientLaspseRecord struct {
  2548. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2549. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2550. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  2551. LapseDate int64 `gorm:"column:lapse_date" json:"lapse_date" form:"lapse_date"`
  2552. LapseType int64 `gorm:"column:lapse_type" json:"lapse_type" form:"lapse_type"`
  2553. LapseClass int64 `gorm:"column:lapse_class" json:"lapse_class" form:"lapse_class"`
  2554. LapseReason string `gorm:"column:lapse_reason" json:"lapse_reason" form:"lapse_reason"`
  2555. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  2556. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  2557. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2558. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2559. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2560. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2561. LapseTypeName string `gorm:"column:lapse_type_name" json:"lapse_type_name" form:"lapse_type_name"`
  2562. HisType int64 `gorm:"column:his_type" json:"his_type" form:"his_type"`
  2563. HisZone string `gorm:"column:his_zone" json:"his_zone" form:"his_zone"`
  2564. HisBed string `gorm:"column:his_bed" json:"his_bed" form:"his_bed"`
  2565. PatientAddress string `gorm:"column:patient_address" json:"patient_address" form:"patient_address"`
  2566. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  2567. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  2568. StartTimeOne int64 `gorm:"column:start_time_one" json:"start_time_one" form:"start_time_one"`
  2569. EndTimeOne int64 `gorm:"column:end_time_one" json:"end_time_one" form:"end_time_one"`
  2570. }
  2571. func (XtPatientLaspseRecord) TableName() string {
  2572. return "xt_patient_laspse_record"
  2573. }
  2574. type XtDeathSummary struct {
  2575. ID int64 `gorm:"column:id" json:"id" form:"id"`
  2576. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  2577. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  2578. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  2579. ReasonOne string `gorm:"column:reason_one" json:"reason_one" form:"reason_one"`
  2580. ReasonTwo string `gorm:"column:reason_two" json:"reason_two" form:"reason_two"`
  2581. ReasonThree string `gorm:"column:reason_three" json:"reason_three" form:"reason_three"`
  2582. ReasonFour string `gorm:"column:reason_four" json:"reason_four" form:"reason_four"`
  2583. DeathWay string `gorm:"column:death_way" json:"death_way" form:"death_way"`
  2584. ReplaceWay string `gorm:"column:replace_way" json:"replace_way" form:"replace_way"`
  2585. ReplaceReason string `gorm:"column:replace_reason" json:"replace_reason" form:"replace_reason"`
  2586. Transplant string `gorm:"column:transplant" json:"transplant" form:"transplant"`
  2587. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  2588. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  2589. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  2590. Status int64 `gorm:"column:status" json:"status" form:"status"`
  2591. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  2592. UpdateCreater int64 `gorm:"column:update_creater" json:"update_creater" form:"update_creater"`
  2593. LastRecordDate int64 `gorm:"column:last_record_date" json:"last_record_date" form:"last_record_date"`
  2594. }
  2595. func (XtDeathSummary) TableName() string {
  2596. return "xt_death_summary"
  2597. }