hospital-admin-api/api/requests/orderPrescription.go
2023-11-15 15:31:35 +08:00

41 lines
3.8 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package requests
type OrderPrescriptionRequest struct {
GetOrderPrescriptionPage // 获取处方列表-分页
OrderPrescriptionExportList // 处方-导出
}
// GetOrderPrescriptionPage 获取处方列表-分页
type GetOrderPrescriptionPage struct {
Page int `json:"page" form:"page" label:"页码"`
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
PrescriptionCode string `json:"prescription_code" form:"prescription_code" label:"处方编号"`
DoctorName string `json:"doctor_name" form:"doctor_name" label:"医生名称"`
PatientName string `json:"patient_name" form:"patient_name" label:"患者姓名-就诊人"`
Mobile string `json:"mobile" form:"mobile" label:"手机号-医生/患者/就诊人"`
PrescriptionStatus *int `json:"prescription_status" form:"prescription_status" label:"处方状态"` // 1:待审核 2:待使用 3:已失效 4:已使用)
PharmacistAuditStatus *int `json:"pharmacist_audit_status" form:"pharmacist_audit_status" label:"药师审核状态"` // 0:审核中 1:审核成功 2:审核驳回)
PharmacistVerifyTime string `json:"pharmacist_verify_time" form:"pharmacist_verify_time" label:"药师审核时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
DoctorCreatedTime string `json:"doctor_created_time" form:"doctor_created_time" label:"医生开具处方时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
ExpiredTime string `json:"expired_time" form:"expired_time" label:"处方过期时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
InquiryNo string `json:"inquiry_no" form:"inquiry_no" label:"问诊订单编号"`
OrderProductNo string `json:"order_product_no" form:"order_product_no" label:"药品订单编号"`
}
// OrderPrescriptionExportList 处方-导出
type OrderPrescriptionExportList struct {
Type int `json:"type" form:"type" label:"类型" validate:"required,oneof=1 2 3"` // 1:当前搜索数据 2:当前选择数据 3:全部数据
Id string `json:"id" form:"id" label:"id"` // 选择数据的id逗号分隔当type为2时必填
PrescriptionCode string `json:"prescription_code" form:"prescription_code" label:"处方编号"`
DoctorName string `json:"doctor_name" form:"doctor_name" label:"医生名称"`
PatientName string `json:"patient_name" form:"patient_name" label:"患者姓名-就诊人"`
Mobile string `json:"mobile" form:"mobile" label:"手机号-医生/患者/就诊人"`
PrescriptionStatus *int `json:"prescription_status" form:"prescription_status" label:"处方状态"` // 1:待审核 2:待使用 3:已失效 4:已使用)
PharmacistAuditStatus *int `json:"pharmacist_audit_status" form:"pharmacist_audit_status" label:"药师审核状态"` // 0:审核中 1:审核成功 2:审核驳回)
PharmacistVerifyTime string `json:"pharmacist_verify_time" form:"pharmacist_verify_time" label:"药师审核时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
DoctorCreatedTime string `json:"doctor_created_time" form:"doctor_created_time" label:"医生开具处方时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
ExpiredTime string `json:"expired_time" form:"expired_time" label:"处方过期时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
InquiryNo string `json:"inquiry_no" form:"inquiry_no" label:"问诊订单编号"`
OrderProductNo string `json:"order_product_no" form:"order_product_no" label:"药品订单编号"`
}