patient_models.go 202KB

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