diff --git a/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs b/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs index ec37ec9..aacb9df 100644 --- a/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs +++ b/src/Shentun.Peis.Application.Contracts/PrintReports/MedicalReportDto.cs @@ -63,6 +63,8 @@ namespace Shentun.Peis.PrintReports /// 出生日期 /// public DateTime? BirthDate { get; set; } + + public string MaritalStatusName { get; set; } /// /// 民族名称 /// diff --git a/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs b/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs index f645cfb..f4b4146 100644 --- a/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs +++ b/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs @@ -315,6 +315,7 @@ namespace Shentun.Peis.PrintReports SexName = _cacheService.GetSexNameAsync(patientRegister.SexId).Result, BirthDate = patientRegister.BirthDate, Age = patientRegister.Age, + MaritalStatusName = _cacheService.GetMaritalStatusNameAsync(patientRegister.MaritalStatusId).Result, NationName = _cacheService.GetNationNameAsync(patientRegister.Patient.NationId).Result, MobileTelephone = patientRegister.Patient.MobileTelephone, IsVip = patientRegister.IsVip,