处方-导出

This commit is contained in:
2023-11-15 15:31:35 +08:00
parent cf02bd1541
commit 494c7e5aca
8 changed files with 435 additions and 14 deletions
+19 -1
View File
@@ -1,7 +1,8 @@
package requests
type OrderPrescriptionRequest struct {
GetOrderPrescriptionPage // 获取处方列表-分页
GetOrderPrescriptionPage // 获取处方列表-分页
OrderPrescriptionExportList // 处方-导出
}
// GetOrderPrescriptionPage 获取处方列表-分页
@@ -20,3 +21,20 @@ type GetOrderPrescriptionPage struct {
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:"药品订单编号"`
}