处方-导出

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
+1 -2
View File
@@ -25,7 +25,6 @@ type OrderPrescriptionDto struct {
IsAutoPharVerify int `json:"is_auto_phar_verify"` // 是否药师自动审核(0:否 1:是)
DoctorCreatedTime model.LocalTime `json:"doctor_created_time"` // 医生开具处方时间
ExpiredTime model.LocalTime `json:"expired_time"` // 处方过期时间
VoidTime model.LocalTime `json:"void_time"` // 处方作废时间
IsDelete int `json:"is_delete"` // 是否删除(0:否 1:是)
PrescriptionCode string `json:"prescription_code"` // 处方编号
DoctorName string `json:"doctor_name"` // 医生名称
@@ -168,7 +167,7 @@ func (r *OrderPrescriptionDto) LoadPatientMobileMask(m *model.User) *OrderPrescr
// LoadOrderPrescriptionIcdString 加载处方诊断疾病-字符串
func (r *OrderPrescriptionDto) LoadOrderPrescriptionIcdString(m []*model.OrderPrescriptionIcd) *OrderPrescriptionDto {
if m != nil {
if len(m) > 0 {
var orderPrescriptionIcd []string
for _, icd := range m {
orderPrescriptionIcd = append(orderPrescriptionIcd, icd.IcdName)