patient_models.go 220KB

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