target_data.go 42KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. package sz
  2. import "time"
  3. type TempHdHospital struct {
  4. ID int64 `gorm:"column:id" json:"id" form:"id"`
  5. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  6. InstType string `gorm:"column:inst_type" json:"inst_type" form:"inst_type"`
  7. DepartmentName string `gorm:"column:department_name" json:"department_name" form:"department_name"`
  8. AuthorizedBeds int64 `gorm:"column:authorized_beds" json:"authorized_beds" form:"authorized_beds"`
  9. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  10. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  11. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  12. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  13. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  14. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  15. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  16. }
  17. func (TempHdHospital) TableName() string {
  18. return "t_hd_hospital"
  19. }
  20. type TempHdStaff struct {
  21. ID int64 `gorm:"column:id" json:"id" form:"id"`
  22. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  23. StaffId string `gorm:"column:staff_id" json:"staff_id" form:"staff_id"`
  24. IdType string `gorm:"column:id_type" json:"id_type" form:"id_type"`
  25. IdNo string `gorm:"column:id_no" json:"id_no" form:"id_no"`
  26. StaffName string `gorm:"column:staff_name" json:"staff_name" form:"staff_name"`
  27. Position int64 `gorm:"column:position" json:"position" form:"position"`
  28. TrainingName string `gorm:"column:training_name" json:"training_name" form:"training_name"`
  29. PracticeCertificate string `gorm:"column:practice_certificate" json:"practice_certificate" form:"practice_certificate"`
  30. PracticeCertificateNo string `gorm:"column:practice_certificate_no" json:"practice_certificate_no" form:"practice_certificate_no"`
  31. QualificationCertificate string `gorm:"column:qualification_certificate" json:"qualification_certificate" form:"qualification_certificate"`
  32. QualificationType string `gorm:"column:qualification_type" json:"qualification_type" form:"qualification_type"`
  33. PermanentType int64 `gorm:"column:permanent_type" json:"permanent_type" form:"permanent_type"`
  34. DiplomaFile string `gorm:"column:diploma_file" json:"diploma_file" form:"diploma_file"`
  35. DegreeCertificateFile string `gorm:"column:degree_certificate_file" json:"degree_certificate_file" form:"degree_certificate_file"`
  36. TrainingCertificateFile string `gorm:"column:training_certificate_file" json:"training_certificate_file" form:"training_certificate_file"`
  37. PracticeCertificateFile string `gorm:"column:practice_certificate_file" json:"practice_certificate_file" form:"practice_certificate_file"`
  38. QualificationCertificateFile string `gorm:"column:qualification_certificate_file" json:"qualification_certificate_file" form:"qualification_certificate_file"`
  39. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  40. TrainingDate time.Time `gorm:"column:training_date" json:"training_date" form:"training_date"`
  41. InDate time.Time `gorm:"column:in_date" json:"in_date" form:"in_date"`
  42. OutDate time.Time `gorm:"column:out_date" json:"out_date" form:"out_date"`
  43. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  44. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  45. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  46. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  47. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  48. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  49. TechnicalPosition int64 `gorm:"column:technical_position" json:"technical_position" form:"technical_position"`
  50. StaffLevel int64 `gorm:"column:staff_level" json:"staff_level" form:"staff_level"`
  51. IsAdvanced int64 `gorm:"column:is_advanced" json:"is_advanced" form:"is_advanced"`
  52. HospitalPosition int64 `gorm:"column:hospital_position" json:"hospital_position" form:"hospital_position"`
  53. StaffNo string `gorm:"column:staff_no" json:"staff_no" form:"staff_no"`
  54. Education string `gorm:"column:education" json:"education" form:"education"`
  55. Specialty string `gorm:"column:specialty" json:"specialty" form:"specialty"`
  56. StaffDegree string `gorm:"column:staff_degree" json:"staff_degree" form:"staff_degree"`
  57. StaffStatus int64 `gorm:"column:staff_status" json:"staff_status" form:"staff_status"`
  58. }
  59. func (TempHdStaff) TableName() string {
  60. return "t_hd_staff"
  61. }
  62. type TempHdLayout struct {
  63. ID int64 `gorm:"column:id" json:"id" form:"id"`
  64. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  65. PartitionName string `gorm:"column:partition_name" json:"partition_name" form:"partition_name"`
  66. PartitionImg string `gorm:"column:partition_img" json:"partition_img" form:"partition_img"`
  67. FunctionArea string `gorm:"column:function_area" json:"function_area" form:"function_area"`
  68. Xgbz string `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  69. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  70. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  71. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  72. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  73. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  74. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  75. }
  76. func (TempHdLayout) TableName() string {
  77. return "t_hd_layout"
  78. }
  79. type TempHdDm struct {
  80. ID int64 `gorm:"column:id" json:"id"`
  81. HospitalId string `gorm:"column:HOSPITAL_ID" json:"HOSPITAL_ID"`
  82. EquipmentId string `gorm:"column:EQUIPMENT_ID" json:"EQUIPMENT_ID"`
  83. SickbedNo string `gorm:"column:SICKBED_NO" json:"SICKBED_NO"`
  84. EquipmentBrand string `gorm:"column:EQUIPMENT_BRAND" json:"EQUIPMENT_BRAND"`
  85. EquipmentModel string `gorm:"column:EQUIPMENT_MODEL" json:"EQUIPMENT_MODEL"`
  86. EnableTime time.Time `gorm:"column:ENABLE_TIME" json:"ENABLE_TIME"`
  87. DiscardedTime time.Time `gorm:"column:DISCARDED_TIME" json:"DISCARDED_TIME"`
  88. Status string `gorm:"column:STATUS" json:"STATUS"`
  89. EquipmentType string `gorm:"column:EQUIPMENT_TYPE" json:"EQUIPMENT_TYPE"`
  90. Temperature string `gorm:"column:TEMPERATURE" json:"TEMPERATURE"`
  91. Humidity string `gorm:"column:HUMIDITY" json:"HUMIDITY"`
  92. Pressure string `gorm:"column:PRESSURE" json:"PRESSURE"`
  93. PressureUnit string `gorm:"column:PRESSURE_UNIT" json:"PRESSURE_UNIT"`
  94. WorkingVoltage string `gorm:"column:WORKING_VOLTAGE" json:"WORKING_VOLTAGE"`
  95. Xgbz string `gorm:"column:XGBZ" json:"XGBZ"`
  96. Bbp string `gorm:"column:BBP" json:"BBP"`
  97. CreateTime time.Time `gorm:"column:CREATE_TIME" json:"CREATE_TIME"`
  98. UpdateTime time.Time `gorm:"column:UPDATE_TIME" json:"UPDATE_TIME"`
  99. Sjscsj time.Time `gorm:"column:SJSCSJ" json:"SJSCSJ"`
  100. Mj string `gorm:"column:MJ" json:"MJ"`
  101. Ylyl1 string `gorm:"column:YLYL1" json:"YLYL1"`
  102. Ylyl2 string `gorm:"column:YLYL2" json:"YLYL2"`
  103. }
  104. func (TempHdDm) TableName() string {
  105. return "t_hd_dm"
  106. }
  107. type TempHdWm struct {
  108. ID int64 `gorm:"column:id" json:"id" form:"id"`
  109. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  110. EquipmentId string `gorm:"column:equipment_id" json:"equipment_id" form:"equipment_id"`
  111. EquipmentBrand string `gorm:"column:equipment_brand" json:"equipment_brand" form:"equipment_brand"`
  112. EquipmentModel string `gorm:"column:equipment_model" json:"equipment_model" form:"equipment_model"`
  113. EnableTime time.Time `gorm:"column:enable_time" json:"enable_time" form:"enable_time"`
  114. DiscardedTime time.Time `gorm:"column:discarded_time" json:"discarded_time" form:"discarded_time"`
  115. EquipmentType int64 `gorm:"column:equipment_type" json:"equipment_type" form:"equipment_type"`
  116. Temperature string `gorm:"column:temperature" json:"temperature" form:"temperature"`
  117. Humidity string `gorm:"column:humidity" json:"humidity" form:"humidity"`
  118. Pressure string `gorm:"column:pressure" json:"pressure" form:"pressure"`
  119. PressureUnit int64 `gorm:"column:pressure_unit" json:"pressure_unit" form:"pressure_unit"`
  120. QualityStandard string `gorm:"column:quality_standard" json:"quality_standard" form:"quality_standard"`
  121. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  122. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  123. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  124. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  125. Mj int64 `gorm:"column:mj" json:"mj" form:"mj"`
  126. Ylyl1 int64 `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  127. Ylyl2 int64 `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  128. }
  129. func (TempHdWm) TableName() string {
  130. return "t_hd_wm"
  131. }
  132. type TempHdMaintain struct {
  133. ID int64 `gorm:"column:id" json:"id" form:"id"`
  134. Sn string `gorm:"column:sn" json:"sn" form:"sn"`
  135. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  136. EquipmentId string `gorm:"column:equipment_id" json:"equipment_id" form:"equipment_id"`
  137. EquipmentType string `gorm:"column:equipment_type" json:"equipment_type" form:"equipment_type"`
  138. RepairTime time.Time `gorm:"column:repair_time" json:"repair_time" form:"repair_time"`
  139. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  140. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  141. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  142. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  143. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  144. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  145. }
  146. func (TempHdMaintain) TableName() string {
  147. return "t_hd_maintain"
  148. }
  149. type TempHdDisinfectMethod struct {
  150. ID int64 `gorm:"column:id" json:"id"`
  151. SN string `gorm:"column:SN" json:"SN"`
  152. HospitalId string `gorm:"column:HOSPITAL_ID" json:"HOSPITAL_ID"`
  153. EquipmentId string `gorm:"column:EQUIPMENT_ID" json:"EQUIPMENT_ID"`
  154. EquipmentType string `gorm:"column:EQUIPMENT_TYPE" json:"EQUIPMENT_TYPE"`
  155. EquipmentModel string `gorm:"column:EQUIPMENT_MODEL" json:"EQUIPMENT_MODEL"`
  156. DisinfectMethod string `gorm:"column:DISINFECT_METHOD" json:"DISINFECT_METHOD"`
  157. Disinfector string `gorm:"column:DISINFECTOR" json:"DISINFECTOR"`
  158. Concentration string `gorm:"column:CONCENTRATION" json:"CONCENTRATION"`
  159. Frequency string `gorm:"column:FREQUENCY" json:"FREQUENCY"`
  160. Xgbz string `gorm:"column:XGBZ" json:"XGBZ"`
  161. CreateTime time.Time `gorm:"column:CREATE_TIME" json:"CREATE_TIME"`
  162. UpdateTime time.Time `gorm:"column:UPDATE_TIME" json:"UPDATE_TIME"`
  163. Sjscsj time.Time `gorm:"column:SJSCSJ" json:"SJSCSJ"`
  164. Mj string `gorm:"column:MJ" json:"MJ"`
  165. Ylyl1 string `gorm:"column:YLYL1" json:"YLYL1"`
  166. Ylyl2 string `gorm:"column:YLYL2" json:"YLYL2"`
  167. }
  168. func (TempHdDisinfectMethod) TableName() string {
  169. return "t_hd_disinfect_method"
  170. }
  171. type TempHdOtherMachine struct {
  172. ID int64 `gorm:"column:id" json:"id" form:"id"`
  173. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  174. EquipmentId string `gorm:"column:equipment_id" json:"equipment_id" form:"equipment_id"`
  175. EquipmentBrand string `gorm:"column:equipment_brand" json:"equipment_brand" form:"equipment_brand"`
  176. EquipmentModel string `gorm:"column:equipment_model" json:"equipment_model" form:"equipment_model"`
  177. EnableTime time.Time `gorm:"column:enable_time" json:"enable_time" form:"enable_time"`
  178. DiscardedTime time.Time `gorm:"column:discarded_time" json:"discarded_time" form:"discarded_time"`
  179. Status int64 `gorm:"column:status" json:"status" form:"status"`
  180. Xgbz string `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  181. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  182. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  183. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  184. Mj int64 `gorm:"column:mj" json:"mj" form:"mj"`
  185. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  186. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  187. EquipmentType int64 `gorm:"column:equipment_type" json:"equipment_type" form:"equipment_type"`
  188. }
  189. func (TempHdOtherMachine) TableName() string {
  190. return "t_hd_other_machine"
  191. }
  192. type TempHdPatient struct {
  193. ID int64 `gorm:"column:id" json:"id" form:"id"`
  194. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  195. PatientNk int64 `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  196. CardNo string `gorm:"column:card_no" json:"card_no" form:"card_no"`
  197. CardType int64 `gorm:"column:card_type" json:"card_type" form:"card_type"`
  198. IdNo string `gorm:"column:id_no" json:"id_no" form:"id_no"`
  199. IdType string `gorm:"column:id_type" json:"id_type" form:"id_type"`
  200. PatientName string `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
  201. Gender string `gorm:"column:gender" json:"gender" form:"gender"`
  202. BornDate time.Time `gorm:"column:born_date" json:"born_date" form:"born_date"`
  203. OutpatientNo string `gorm:"column:outpatient_no" json:"outpatient_no" form:"outpatient_no"`
  204. DiagnosisSummary string `gorm:"column:diagnosis_summary" json:"diagnosis_summary" form:"diagnosis_summary"`
  205. IsCrf string `gorm:"column:is_crf" json:"is_crf" form:"is_crf"`
  206. AllergyHistory string `gorm:"column:allergy_history" json:"allergy_history" form:"allergy_history"`
  207. PayMethod string `gorm:"column:pay_method" json:"pay_method" form:"pay_method"`
  208. RrtStartTime time.Time `gorm:"column:rrt_start_time" json:"rrt_start_time" form:"rrt_start_time"`
  209. DialysisStartTime time.Time `gorm:"column:dialysis_start_time" json:"dialysis_start_time" form:"dialysis_start_time"`
  210. LocalStartTime time.Time `gorm:"column:local_start_time" json:"local_start_time" form:"local_start_time"`
  211. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  212. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  213. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  214. Mj int64 `gorm:"column:mj" json:"mj" form:"mj"`
  215. Ylyl1 int64 `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  216. Ylyl2 int64 `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  217. PatientPhoneNo string `gorm:"column:patient_phone_no" json:"patient_phone_no" form:"patient_phone_no"`
  218. FolkPhoneNo string `gorm:"column:folk_phone_no" json:"folk_phone_no" form:"folk_phone_no"`
  219. PatientNationality int64 `gorm:"column:patient_nationality" json:"patient_nationality" form:"patient_nationality"`
  220. Province int64 `gorm:"column:province" json:"province" form:"province"`
  221. City int64 `gorm:"column:city" json:"city" form:"city"`
  222. District int64 `gorm:"column:district" json:"district" form:"district"`
  223. Subdistrict int64 `gorm:"column:subdistrict" json:"subdistrict" form:"subdistrict"`
  224. DetailAddress string `gorm:"column:detail_address" json:"detail_address" form:"detail_address"`
  225. PatientHeight int64 `gorm:"column:patient_height" json:"patient_height" form:"patient_height"`
  226. HospitalizedNo string `gorm:"column:hospitalized_no" json:"hospitalized_no" form:"hospitalized_no"`
  227. IsTerminated int64 `gorm:"column:is_terminated" json:"is_terminated" form:"is_terminated"`
  228. InCrrtDate time.Time `gorm:"column:in_crrt_date" json:"in_crrt_date" form:"in_crrt_date"`
  229. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  230. LocalInsurance int64 `gorm:"column:local_insurance" json:"local_insurance" form:"local_insurance"`
  231. }
  232. func (TempHdPatient) TableName() string {
  233. return "t_hd_patient"
  234. }
  235. type TempHdPatientOut struct {
  236. ID int64 `gorm:"column:id" json:"id" form:"id"`
  237. Sn string `gorm:"column:sn" json:"sn" form:"sn"`
  238. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  239. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  240. SequelaeDate time.Time `gorm:"column:sequelae_date" json:"sequelae_date" form:"sequelae_date"`
  241. SequelaeType string `gorm:"column:sequelae_type" json:"sequelae_type" form:"sequelae_type"`
  242. SequelaeSubType string `gorm:"column:sequelae_sub_type" json:"sequelae_sub_type" form:"sequelae_sub_type"`
  243. ExtReason string `gorm:"column:ext_reason" json:"ext_reason" form:"ext_reason"`
  244. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  245. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  246. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  247. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  248. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  249. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  250. }
  251. func (TempHdPatientOut) TableName() string {
  252. return "t_hd_patient_out"
  253. }
  254. type TempHdPs struct {
  255. ID int64 `gorm:"column:id" json:"id" form:"id"`
  256. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  257. PrescribeId string `gorm:"column:prescribe_id" json:"prescribe_id" form:"prescribe_id"`
  258. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  259. MedicalId string `gorm:"column:medical_id" json:"medical_id" form:"medical_id"`
  260. DrId int64 `gorm:"column:dr_id" json:"dr_id" form:"dr_id"`
  261. Sn string `gorm:"column:sn" json:"sn" form:"sn"`
  262. DialysisFrequency int64 `gorm:"column:dialysis_frequency" json:"dialysis_frequency" form:"dialysis_frequency"`
  263. FrequencyUnit int64 `gorm:"column:frequency_unit" json:"frequency_unit" form:"frequency_unit"`
  264. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  265. Hdf string `gorm:"column:hdf" json:"hdf" form:"hdf"`
  266. HdfFrequencyUnit int64 `gorm:"column:hdf_frequency_unit" json:"hdf_frequency_unit" form:"hdf_frequency_unit"`
  267. HdfFrequency int64 `gorm:"column:hdf_frequency" json:"hdf_frequency" form:"hdf_frequency"`
  268. HdfDuration float64 `gorm:"column:hdf_duration" json:"hdf_duration" form:"hdf_duration"`
  269. Hp string `gorm:"column:hp" json:"hp" form:"hp"`
  270. HpFrequency int64 `gorm:"column:hp_frequency" json:"hp_frequency" form:"hp_frequency"`
  271. HpFrequencyUnit int64 `gorm:"column:hp_frequency_unit" json:"hp_frequency_unit" form:"hp_frequency_unit"`
  272. HpDuration float64 `gorm:"column:hp_duration" json:"hp_duration" form:"hp_duration"`
  273. K float64 `gorm:"column:k" json:"k" form:"k"`
  274. DialysisId int64 `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
  275. MedicineTypeId int64 `gorm:"column:medicine_type_id" json:"medicine_type_id" form:"medicine_type_id"`
  276. Ca float64 `gorm:"column:ca" json:"ca" form:"ca"`
  277. Na float64 `gorm:"column:na" json:"na" form:"na"`
  278. Glucose int64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  279. FluxLevel int64 `gorm:"column:flux_level" json:"flux_level" form:"flux_level"`
  280. FluxValue string `gorm:"column:flux_value" json:"flux_value" form:"flux_value"`
  281. UseType int64 `gorm:"column:use_type" json:"use_type" form:"use_type"`
  282. PrescribeTime time.Time `gorm:"column:prescribe_time" json:"prescribe_time" form:"prescribe_time"`
  283. DialysisMembrane int64 `gorm:"column:dialysis_membrane" json:"dialysis_membrane" form:"dialysis_membrane"`
  284. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  285. PatientNo int64 `gorm:"column:patient_no" json:"patient_no" form:"patient_no"`
  286. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  287. Mj int64 `gorm:"column:mj" json:"mj" form:"mj"`
  288. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  289. AType int64 `gorm:"column:a_type" json:"a_type" form:"a_type"`
  290. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  291. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  292. RrtType int64 `gorm:"column:rrt_type" json:"rrt_type" form:"rrt_type"`
  293. MedicineId int64 `gorm:"column:medicine_id" json:"medicine_id" form:"medicine_id"`
  294. ABSource int64 `gorm:"column:a_b_source" json:"a_b_source" form:"a_b_source"`
  295. B int64 `gorm:"column:b" json:"b" form:"b"`
  296. EquipmentType int64 `gorm:"column:equipment_type" json:"equipment_type" form:"equipment_type"`
  297. DialysisMembraneSize int64 `gorm:"column:dialysis_membrane_size" json:"dialysis_membrane_size" form:"dialysis_membrane_size"`
  298. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  299. }
  300. func (TempHdPs) TableName() string {
  301. return "t_hd_ps"
  302. }
  303. type TempHdPsMedicine struct {
  304. ID int64 `gorm:"column:id" json:"id" form:"id"`
  305. Sn string `gorm:"column:sn" json:"sn" form:"sn"`
  306. PrescribeId string `gorm:"column:prescribe_id" json:"prescribe_id" form:"prescribe_id"`
  307. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  308. MedicineTypeId string `gorm:"column:medicine_type_id" json:"medicine_type_id" form:"medicine_type_id"`
  309. MedicineId string `gorm:"column:medicine_id" json:"medicine_id" form:"medicine_id"`
  310. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  311. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  312. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  313. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  314. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  315. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  316. }
  317. func (TempHdPsMedicine) TableName() string {
  318. return "t_hd_ps_medicine"
  319. }
  320. type TempHdInfection struct {
  321. ID int64 `gorm:"column:id" json:"id" form:"id"`
  322. Sn string `gorm:"column:sn" json:"sn" form:"sn"`
  323. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  324. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  325. Hbv string `gorm:"column:hbv" json:"hbv" form:"hbv"`
  326. Hcv string `gorm:"column:hcv" json:"hcv" form:"hcv"`
  327. Rpr string `gorm:"column:rpr" json:"rpr" form:"rpr"`
  328. Hiv string `gorm:"column:hiv" json:"hiv" form:"hiv"`
  329. Hbsag string `gorm:"column:hbsag" json:"hbsag" form:"hbsag"`
  330. Hbs string `gorm:"column:hbs" json:"hbs" form:"hbs"`
  331. Hbeag string `gorm:"column:hbeag" json:"hbeag" form:"hbeag"`
  332. Hbe string `gorm:"column:hbe" json:"hbe" form:"hbe"`
  333. Hbc string `gorm:"column:hbc" json:"hbc" form:"hbc"`
  334. CheckDate time.Time `gorm:"column:check_date" json:"check_date" form:"check_date"`
  335. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  336. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  337. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  338. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  339. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  340. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  341. Hbsab string `gorm:"column:hbsab" json:"hbsab" form:"hbsab"`
  342. Hbeab string `gorm:"column:hbeab" json:"hbeab" form:"hbeab"`
  343. Hbcab string `gorm:"column:hbcab" json:"hbcab" form:"hbcab"`
  344. }
  345. func (TempHdInfection) TableName() string {
  346. return "t_hd_infection"
  347. }
  348. type TempHdInhospital struct {
  349. ID int64 `gorm:"column:id" json:"id" form:"id"`
  350. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  351. MedicalNo string `gorm:"column:medical_no" json:"medical_no" form:"medical_no"`
  352. AdmissionTime time.Time `gorm:"column:admission_time" json:"admission_time" form:"admission_time"`
  353. AdmissionCause int64 `gorm:"column:admission_cause" json:"admission_cause" form:"admission_cause"`
  354. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  355. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  356. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  357. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  358. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  359. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  360. PatientNk int64 `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  361. AdmissionCauseDesc string `gorm:"column:admission_cause_desc" json:"admission_cause_desc" form:"admission_cause_desc"`
  362. }
  363. func (TempHdInhospital) TableName() string {
  364. return "t_hd_inhospital"
  365. }
  366. type TempHdOuthospital struct {
  367. ID int64 `gorm:"column:id" json:"id" form:"id"`
  368. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  369. MedicalNo string `gorm:"column:medical_no" json:"medical_no" form:"medical_no"`
  370. DischargeDate time.Time `gorm:"column:discharge_date" json:"discharge_date" form:"discharge_date"`
  371. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  372. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  373. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  374. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  375. Ylyl1 int64 `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  376. Ylyl2 int64 `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  377. PatientNk int64 `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  378. }
  379. func (TempHdOuthospital) TableName() string {
  380. return "t_hd_outhospital"
  381. }
  382. type DataUpload struct {
  383. ID int64 `gorm:"column:id" json:"id" form:"id"`
  384. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  385. SyncType int64 `gorm:"column:sync_type" json:"sync_type" form:"sync_type"`
  386. SyncTime int64 `gorm:"column:sync_time" json:"sync_time" form:"sync_time"`
  387. SyncResultType int `gorm:"column:sync_result_type" json:"sync_result_type" form:"sync_result_type"`
  388. SyncRsultRemark string `gorm:"column:sync_result_remark" json:"sync_result_remark" form:"sync_result_remark"`
  389. SyncTotalNum int64 `gorm:"column:sync_total_num" json:"sync_total_num" form:"sync_total_num"`
  390. SyncSuccessNum int64 `gorm:"column:sync_success_num" json:"sync_success_num" form:"sync_success_num"`
  391. SyncInfo string `gorm:"column:sync_info" json:"sync_info" form:"sync_info"`
  392. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  393. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  394. }
  395. func (DataUpload) TableName() string {
  396. return "data_sync_info"
  397. }
  398. type DataUploadConfig struct {
  399. ID int64 `gorm:"column:id" json:"id"`
  400. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  401. ProvinceId int64 `gorm:"column:province_id" json:"province_id"`
  402. CityId int64 `gorm:"column:city_id" json:"city_id"`
  403. GatewayAddress string `gorm:"column:gateway_address" json:"gateway_address"`
  404. AppId string `gorm:"column:app_id" json:"app_id"`
  405. Key string `gorm:"column:key" json:"key"`
  406. Status int64 `gorm:"column:status" json:"status"`
  407. CreateTime int64 `gorm:"column:create_time" json:"create_time"`
  408. ModifyTime int64 `gorm:"column:modify_time" json:"modify_time"`
  409. TimeQuantum int64 `gorm:"column:time_quantum" json:"time_quantum"`
  410. DepartmentName string `gorm:"column:department_name" json:"department_name"`
  411. HospitalId string `gorm:"column:hospital_id" json:"hospital_id"`
  412. InstType int64 `gorm:"column:inst_type" json:"inst_type"`
  413. DbHost string `gorm:"column:db_host" json:"db_host"`
  414. DbPort string `gorm:"column:db_port" json:"db_port"`
  415. DbUser string `gorm:"column:db_user" json:"db_user"`
  416. DbPass string `gorm:"column:db_pass" json:"db_pass"`
  417. DbName string `gorm:"column:db_name" json:"db_name"`
  418. }
  419. func (DataUploadConfig) TableName() string {
  420. return "data_upload_config"
  421. }
  422. type TempHdShift struct {
  423. ID int64 `gorm:"column:id" json:"id" form:"id"`
  424. PsId string `gorm:"column:ps_id" json:"ps_id" form:"ps_id"`
  425. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  426. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  427. ScheduleDate time.Time `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  428. ShiftType string `gorm:"column:shift_type" json:"shift_type" form:"shift_type"`
  429. SickbedNo string `gorm:"column:sickbed_no" json:"sickbed_no" form:"sickbed_no"`
  430. ScheduleStatus string `gorm:"column:schedule_status" json:"schedule_status" form:"schedule_status"`
  431. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  432. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  433. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  434. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  435. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  436. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  437. }
  438. func (TempHdShift) TableName() string {
  439. return "t_hd_shift"
  440. }
  441. type TempHdDoctorsAdvice struct {
  442. ID int64 `gorm:"column:id" json:"id" form:"id"`
  443. MedicalOrderId string `gorm:"column:medical_order_id" json:"medical_order_id" form:"medical_order_id"`
  444. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  445. DialysisId string `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
  446. OrderType string `gorm:"column:order_type" json:"order_type" form:"order_type"`
  447. RrtType int64 `gorm:"column:rrt_type" json:"rrt_type" form:"rrt_type"`
  448. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  449. DialysisDuration int64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  450. BloodVol int64 `gorm:"column:blood_vol" json:"blood_vol" form:"blood_vol"`
  451. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  452. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  453. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  454. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  455. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  456. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  457. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  458. HospitalizationNo string `gorm:"column:hospitalization_no" json:"hospitalization_no" form:"hospitalization_no"`
  459. OutpatientNo string `gorm:"column:outpatient_no" json:"outpatient_no" form:"outpatient_no"`
  460. RrtTypeName string `gorm:"column:rrt_type_name" json:"rrt_type_name" form:"rrt_type_name"`
  461. Txq int64 `gorm:"column:txq" json:"txq" form:"txq"`
  462. FluxLevel int64 `gorm:"column:flux_level" json:"flux_level" form:"flux_level"`
  463. ReuseFlag int64 `gorm:"column:reuse_flag" json:"reuse_flag" form:"reuse_flag"`
  464. MembraneType int64 `gorm:"column:membrane_type" json:"membrane_type" form:"membrane_type"`
  465. MembraneSize int64 `gorm:"column:membrane_size" json:"membrane_size" form:"membrane_size"`
  466. Dlflow int64 `gorm:"column:dlflow" json:"dlflow" form:"dlflow"`
  467. DlTemperature int64 `gorm:"column:dl_temperature" json:"dl_temperature" form:"dl_temperature"`
  468. ReplacementMode int64 `gorm:"column:replacement_mode" json:"replacement_mode" form:"replacement_mode"`
  469. RlAmount int64 `gorm:"column:rl_amount" json:"rl_amount" form:"rl_amount"`
  470. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  471. AnticoagulantQuantity int64 `gorm:"column:anticoagulant_quantity" json:"anticoagulant_quantity" form:"anticoagulant_quantity"`
  472. InitialAmount int64 `gorm:"column:initial_amount" json:"initial_amount" form:"initial_amount"`
  473. DlPotassium int64 `gorm:"column:dl_potassium" json:"dl_potassium" form:"dl_potassium"`
  474. DlSodium int64 `gorm:"column:dl_sodium" json:"dl_sodium" form:"dl_sodium"`
  475. BicarbonateRadical int64 `gorm:"column:bicarbonate_radical" json:"bicarbonate_radical" form:"bicarbonate_radical"`
  476. MaintenanceQuantity int64 `gorm:"column:maintenance_quantity" json:"maintenance_quantity" form:"maintenance_quantity"`
  477. Conductivity int64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  478. DlCalcium int64 `gorm:"column:dl_calcium" json:"dl_calcium" form:"dl_calcium"`
  479. ExecuteOrder int64 `gorm:"column:execute_order" json:"execute_order" form:"execute_order"`
  480. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  481. }
  482. func (TempHdDoctorsAdvice) TableName() string {
  483. return "t_hd_doctors_advice"
  484. }
  485. type TempHdDialysis struct {
  486. ID int64 `gorm:"column:id" json:"id" form:"id"`
  487. DialysisId string `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
  488. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  489. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  490. PsId string `gorm:"column:ps_id" json:"ps_id" form:"ps_id"`
  491. DialysisDate time.Time `gorm:"column:dialysis_date" json:"dialysis_date" form:"dialysis_date"`
  492. SickbedNo string `gorm:"column:sickbed_no" json:"sickbed_no" form:"sickbed_no"`
  493. DivisionId string `gorm:"column:division_id" json:"division_id" form:"division_id"`
  494. EquipmentId string `gorm:"column:equipment_id" json:"equipment_id" form:"equipment_id"`
  495. MixDialysis string `gorm:"column:mix_dialysis" json:"mix_dialysis" form:"mix_dialysis"`
  496. ActualufMl int64 `gorm:"column:actualuf_ml" json:"actualuf_ml" form:"actualuf_ml"`
  497. Ufv int64 `gorm:"column:ufv" json:"ufv" form:"ufv"`
  498. TotalReplace int64 `gorm:"column:total_replace" json:"total_replace" form:"total_replace"`
  499. TotalTreatDuration int64 `gorm:"column:total_treat_duration" json:"total_treat_duration" form:"total_treat_duration"`
  500. IsHospitalization string `gorm:"column:is_hospitalization" json:"is_hospitalization" form:"is_hospitalization"`
  501. IsEmergency string `gorm:"column:is_emergency" json:"is_emergency" form:"is_emergency"`
  502. EmergencyReason string `gorm:"column:emergency_reason" json:"emergency_reason" form:"emergency_reason"`
  503. IsPerioperativePeriod string `gorm:"column:is_perioperative_period" json:"is_perioperative_period" form:"is_perioperative_period"`
  504. BeforeSbp int64 `gorm:"column:before_sbp" json:"before_sbp" form:"before_sbp"`
  505. BeforeDbp int64 `gorm:"column:before_dbp" json:"before_dbp" form:"before_dbp"`
  506. AfterSbp int64 `gorm:"column:after_sbp" json:"after_sbp" form:"after_sbp"`
  507. AfterDbp int64 `gorm:"column:after_dbp" json:"after_dbp" form:"after_dbp"`
  508. BeforeWeight float64 `gorm:"column:before_weight" json:"before_weight" form:"before_weight"`
  509. AfterWeight float64 `gorm:"column:after_weight" json:"after_weight" form:"after_weight"`
  510. AccessId string `gorm:"column:access_id" json:"access_id" form:"access_id"`
  511. DialyzerId string `gorm:"column:dialyzer_id" json:"dialyzer_id" form:"dialyzer_id"`
  512. Ktv float64 `gorm:"column:ktv" json:"ktv" form:"ktv"`
  513. StartTime time.Time `gorm:"column:start_time" json:"start_time" form:"start_time"`
  514. EndTime time.Time `gorm:"column:end_time" json:"end_time" form:"end_time"`
  515. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  516. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  517. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  518. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  519. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  520. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  521. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  522. ChargeDoctorId string `gorm:"column:charge_doctor_id" json:"charge_doctor_id" form:"charge_doctor_id"`
  523. ChargeNurseId string `gorm:"column:charge_nurse_id" json:"charge_nurse_id" form:"charge_nurse_id"`
  524. UpNurseId string `gorm:"column:up_nurse_id" json:"up_nurse_id" form:"up_nurse_id"`
  525. DownNurseId string `gorm:"column:down_nurse_id" json:"down_nurse_id" form:"down_nurse_id"`
  526. CheckNurseId string `gorm:"column:check_nurse_id" json:"check_nurse_id" form:"check_nurse_id"`
  527. PunctureNurseId string `gorm:"column:puncture_nurse_id" json:"puncture_nurse_id" form:"puncture_nurse_id"`
  528. }
  529. func (TempHdDialysis) TableName() string {
  530. return "t_hd_dialysis"
  531. }
  532. type TempHdMiddle struct {
  533. ID int64 `gorm:"column:id" json:"id" form:"id"`
  534. Sn string `gorm:"column:sn" json:"sn" form:"sn"`
  535. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  536. PatientNk string `gorm:"column:patient_nk" json:"patient_nk" form:"patient_nk"`
  537. DialysisId string `gorm:"column:dialysis_id" json:"dialysis_id" form:"dialysis_id"`
  538. MonitorTime time.Time `gorm:"column:monitor_time" json:"monitor_time" form:"monitor_time"`
  539. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  540. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  541. P int64 `gorm:"column:p" json:"p" form:"p"`
  542. Ns int64 `gorm:"column:ns" json:"ns" form:"ns"`
  543. Qb int64 `gorm:"column:qb" json:"qb" form:"qb"`
  544. Ap int64 `gorm:"column:ap" json:"ap" form:"ap"`
  545. Vp int64 `gorm:"column:vp" json:"vp" form:"vp"`
  546. Tmp int64 `gorm:"column:tmp" json:"tmp" form:"tmp"`
  547. Ufr int64 `gorm:"column:ufr" json:"ufr" form:"ufr"`
  548. Ufv int64 `gorm:"column:ufv" json:"ufv" form:"ufv"`
  549. OnLine int64 `gorm:"column:on_line" json:"on_line" form:"on_line"`
  550. Spo2 float64 `gorm:"column:spo2" json:"spo2" form:"spo2"`
  551. R int64 `gorm:"column:r" json:"r" form:"r"`
  552. OtherSituation string `gorm:"column:other_situation" json:"other_situation" form:"other_situation"`
  553. Nurse string `gorm:"column:nurse" json:"nurse" form:"nurse"`
  554. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  555. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  556. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  557. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  558. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  559. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  560. UpdateBy int64 `gorm:"column:update_by" json:"update_by" form:"update_by"`
  561. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  562. }
  563. func (TempHdMiddle) TableName() string {
  564. return "t_hd_middle"
  565. }
  566. type TempHdDivision struct {
  567. ID int64 `gorm:"column:id" json:"id" form:"id"`
  568. DivisionId int64 `gorm:"column:division_id" json:"division_id" form:"division_id"`
  569. HospitalId string `gorm:"column:hospital_id" json:"hospital_id" form:"hospital_id"`
  570. DivisionName string `gorm:"column:division_name" json:"division_name" form:"division_name"`
  571. UpdateFlag int64 `gorm:"column:update_flag" json:"update_flag" form:"update_flag"`
  572. UpdateTime time.Time `gorm:"column:update_time" json:"update_time" form:"update_time"`
  573. CreateTime time.Time `gorm:"column:create_time" json:"create_time" form:"create_time"`
  574. Sjscsj time.Time `gorm:"column:sjscsj" json:"sjscsj" form:"sjscsj"`
  575. Mj string `gorm:"column:mj" json:"mj" form:"mj"`
  576. Xgbz int64 `gorm:"column:xgbz" json:"xgbz" form:"xgbz"`
  577. Ylyl1 string `gorm:"column:ylyl1" json:"ylyl1" form:"ylyl1"`
  578. Ylyl2 string `gorm:"column:ylyl2" json:"ylyl2" form:"ylyl2"`
  579. DivisionType int64 `gorm:"column:division_type" json:"division_type" form:"division_type"`
  580. }
  581. func (TempHdDivision) TableName() string {
  582. return "t_hd_division"
  583. }