|
@@ -167,56 +167,57 @@ func (HisCaseHistoryTemplate) TableName() string {
|
167
|
167
|
}
|
168
|
168
|
|
169
|
169
|
type HisDoctorAdviceInfo struct {
|
170
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
171
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
172
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
173
|
|
- HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
174
|
|
- AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
|
175
|
|
- AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
|
176
|
|
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
177
|
|
- AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
178
|
|
- AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
179
|
|
- ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
|
180
|
|
- SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
181
|
|
- SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
182
|
|
- PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
183
|
|
- PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
184
|
|
- DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
185
|
|
- ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
186
|
|
- AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
187
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
188
|
|
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
189
|
|
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
190
|
|
- AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
|
191
|
|
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
192
|
|
- StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
|
193
|
|
- StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
|
194
|
|
- StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
|
195
|
|
- StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
|
196
|
|
- ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
|
197
|
|
- ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
198
|
|
- ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
199
|
|
- ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
200
|
|
- Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
201
|
|
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
202
|
|
- DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
|
203
|
|
- CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
204
|
|
- CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
205
|
|
- DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
206
|
|
- DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
207
|
|
- Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
208
|
|
- RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
209
|
|
- FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
210
|
|
- DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
211
|
|
- WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
212
|
|
- TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
213
|
|
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
214
|
|
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
215
|
|
- Price float64 `gorm:"column:price" json:"price" form:"price"`
|
216
|
|
- PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
217
|
|
- MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
218
|
|
- FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
219
|
|
- Day int64 `gorm:"column:day" json:"day" form:"day"`
|
|
170
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
171
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
172
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
173
|
+ HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
|
|
174
|
+ AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
|
|
175
|
+ AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
|
|
176
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
177
|
+ AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
|
|
178
|
+ AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
|
|
179
|
+ ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
|
|
180
|
+ SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
|
|
181
|
+ SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
|
|
182
|
+ PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
|
|
183
|
+ PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
|
|
184
|
+ DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
|
|
185
|
+ ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
|
|
186
|
+ AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
|
|
187
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
188
|
+ CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
|
189
|
+ UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
190
|
+ AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
|
|
191
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
192
|
+ StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
|
|
193
|
+ StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
|
|
194
|
+ StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
|
|
195
|
+ StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
|
|
196
|
+ ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
|
|
197
|
+ ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
|
|
198
|
+ ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
|
|
199
|
+ ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
|
|
200
|
+ Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
|
|
201
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
202
|
+ DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
|
|
203
|
+ CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
|
|
204
|
+ CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
|
|
205
|
+ DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
|
|
206
|
+ DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
|
|
207
|
+ Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
|
|
208
|
+ RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
|
|
209
|
+ FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
|
|
210
|
+ DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
|
|
211
|
+ WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
|
|
212
|
+ TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
|
|
213
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
214
|
+ DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
|
215
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
216
|
+ PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
|
|
217
|
+ MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
|
|
218
|
+ FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
|
|
219
|
+ Day int64 `gorm:"column:day" json:"day" form:"day"`
|
|
220
|
+ ChildDoctorAdvice []*HisDoctorAdviceInfo `gorm:"ForeignKey:ParentId;AssociationForeignKey:ID" json:"child"`
|
220
|
221
|
}
|
221
|
222
|
|
222
|
223
|
func (HisDoctorAdviceInfo) TableName() string {
|