|
@@ -570,6 +570,19 @@ func (c *HisApiController) GetHisPatientInfo() {
|
570
|
570
|
}
|
571
|
571
|
}
|
572
|
572
|
|
|
573
|
+ if config.ID > 0 && config.IsOpen == 1 {
|
|
574
|
+ for _, item := range sch_prescriptions {
|
|
575
|
+ for _, subItem := range item.HisPrescriptionProjectTemplate {
|
|
576
|
+ if subItem.Type == 3 {
|
|
577
|
+ info, _ := service.GetGoodWarehoseInfoByGoodId(subItem.ProjectId, admin.CurrentOrgId)
|
|
578
|
+ if info.Price > 0 {
|
|
579
|
+ subItem.GoodInfo.PackingPrice = info.Price
|
|
580
|
+ }
|
|
581
|
+ }
|
|
582
|
+ }
|
|
583
|
+ }
|
|
584
|
+ }
|
|
585
|
+
|
573
|
586
|
//prescriptions, _ := service.GetHisPrescription(admin.CurrentOrgId, patient_id, his_patient_id, recordDateTime)
|
574
|
587
|
//monthPrescriptions, _ := service.GetMonthHisPrescriptionTwo(admin.CurrentOrgId, patient_id, startRecordDateTime, endRecordDateTime, p_type)
|
575
|
588
|
case_history, _ := service.GetHisPatientCaseHistoryInfo(admin.CurrentOrgId, patient_id, recordDateTime)
|