|
|
|
|
358
|
cms.Pno = item.HisPrescriptionProject.HisPrescription.HisOrder.MdtrtId
|
358
|
cms.Pno = item.HisPrescriptionProject.HisPrescription.HisOrder.MdtrtId
|
359
|
cms.Ptype = "门诊"
|
359
|
cms.Ptype = "门诊"
|
360
|
cms.Pname = item.HisPrescriptionProject.HisPrescription.HisOrder.XtHisPatient.Name
|
360
|
cms.Pname = item.HisPrescriptionProject.HisPrescription.HisOrder.XtHisPatient.Name
|
361
|
- if item.HisPrescriptionProject.HisPrescription.HisOrder.XtHisPatient.Gender == 1 {
|
|
|
|
|
361
|
+ if item.Patient.Gender == 1 {
|
362
|
cms.Psex = "男"
|
362
|
cms.Psex = "男"
|
363
|
- } else if item.HisPrescriptionProject.HisPrescription.HisOrder.XtHisPatient.Gender == 2 {
|
|
|
|
|
363
|
+ } else if item.Patient.Gender == 2 {
|
364
|
cms.Psex = "女"
|
364
|
cms.Psex = "女"
|
|
|
365
|
+ } else {
|
|
|
366
|
+ cms.Psex = "不详"
|
365
|
}
|
367
|
}
|
366
|
cms.Page = strconv.FormatInt(item.HisPrescriptionProject.HisPrescription.HisOrder.XtHisPatient.Age, 10)
|
368
|
cms.Page = strconv.FormatInt(item.HisPrescriptionProject.HisPrescription.HisOrder.XtHisPatient.Age, 10)
|
367
|
cms.Pageunit = "岁"
|
369
|
cms.Pageunit = "岁"
|