| 
					
					
						
							
						
					
					
				 | 
				@ -829,27 +829,27 @@ namespace Shentun.Peis.PatientRegisters | 
			
		
		
	
		
			
				 | 
				 | 
				                JobPost = ent.JobPost, | 
				 | 
				 | 
				                JobPost = ent.JobPost, | 
			
		
		
	
		
			
				 | 
				 | 
				                JobTitle = ent.JobTitle, | 
				 | 
				 | 
				                JobTitle = ent.JobTitle, | 
			
		
		
	
		
			
				 | 
				 | 
				                MaritalStatusId = ent.MaritalStatusId, | 
				 | 
				 | 
				                MaritalStatusId = ent.MaritalStatusId, | 
			
		
		
	
		
			
				 | 
				 | 
				                MaritalStatusName = _cacheService.GetMaritalStatusNameAsync(ent.MaritalStatusId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                MaritalStatusName = _cacheService.GetMaritalStatusNameAsync(ent.MaritalStatusId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalCardNo = ent.MedicalCardNo, | 
				 | 
				 | 
				                MedicalCardNo = ent.MedicalCardNo, | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalConclusionId = ent.MedicalConclusionId, | 
				 | 
				 | 
				                MedicalConclusionId = ent.MedicalConclusionId, | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalPackageId = ent.MedicalPackageId, | 
				 | 
				 | 
				                MedicalPackageId = ent.MedicalPackageId, | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalStartDate = DataHelper.ConversionDateToString(ent.MedicalStartDate), | 
				 | 
				 | 
				                MedicalStartDate = DataHelper.ConversionDateToString(ent.MedicalStartDate), | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalTimes = ent.MedicalTimes, | 
				 | 
				 | 
				                MedicalTimes = ent.MedicalTimes, | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalTypeId = ent.MedicalTypeId, | 
				 | 
				 | 
				                MedicalTypeId = ent.MedicalTypeId, | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalTypeName = _cacheService.GetMedicalTypeNameAsync(ent.MedicalTypeId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                MedicalTypeName = _cacheService.GetMedicalTypeNameAsync(ent.MedicalTypeId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				                MedicalCenterId = ent.MedicalCenterId, | 
				 | 
				 | 
				                MedicalCenterId = ent.MedicalCenterId, | 
			
		
		
	
		
			
				 | 
				 | 
				                PatientId = ent.PatientId, | 
				 | 
				 | 
				                PatientId = ent.PatientId, | 
			
		
		
	
		
			
				 | 
				 | 
				                PatientName = ent.PatientName, | 
				 | 
				 | 
				                PatientName = ent.PatientName, | 
			
		
		
	
		
			
				 | 
				 | 
				                PatientRegisterNo = ent.PatientRegisterNo, | 
				 | 
				 | 
				                PatientRegisterNo = ent.PatientRegisterNo, | 
			
		
		
	
		
			
				 | 
				 | 
				                PersonnelTypeId = ent.PersonnelTypeId, | 
				 | 
				 | 
				                PersonnelTypeId = ent.PersonnelTypeId, | 
			
		
		
	
		
			
				 | 
				 | 
				                PersonnelTypeName = _cacheService.GetPersonnelTypeNameAsync(ent.PersonnelTypeId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                PersonnelTypeName = _cacheService.GetPersonnelTypeNameAsync(ent.PersonnelTypeId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				                Remark = ent.Remark, | 
				 | 
				 | 
				                Remark = ent.Remark, | 
			
		
		
	
		
			
				 | 
				 | 
				                ReportPrintTimes = ent.ReportPrintTimes, | 
				 | 
				 | 
				                ReportPrintTimes = ent.ReportPrintTimes, | 
			
		
		
	
		
			
				 | 
				 | 
				                Salesman = ent.Salesman, | 
				 | 
				 | 
				                Salesman = ent.Salesman, | 
			
		
		
	
		
			
				 | 
				 | 
				                SexHormoneTermId = ent.SexHormoneTermId, | 
				 | 
				 | 
				                SexHormoneTermId = ent.SexHormoneTermId, | 
			
		
		
	
		
			
				 | 
				 | 
				                Photo = ent.Photo, | 
				 | 
				 | 
				                Photo = ent.Photo, | 
			
		
		
	
		
			
				 | 
				 | 
				                CreatorName = _cacheService.GetSurnameAsync(ent.CreatorId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                LastModifierName = _cacheService.GetSurnameAsync(ent.LastModifierId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                CreatorName = _cacheService.GetSurnameAsync(ent.CreatorId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                LastModifierName = _cacheService.GetSurnameAsync(ent.LastModifierId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				                Address = ent.Patient.Address,  //档案表信息
 | 
				 | 
				 | 
				                Address = ent.Patient.Address,  //档案表信息
 | 
			
		
		
	
		
			
				 | 
				 | 
				                BirthPlaceId = ent.Patient.BirthPlaceId, | 
				 | 
				 | 
				                BirthPlaceId = ent.Patient.BirthPlaceId, | 
			
		
		
	
		
			
				 | 
				 | 
				                DisplayName = ent.Patient.DisplayName, | 
				 | 
				 | 
				                DisplayName = ent.Patient.DisplayName, | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -857,14 +857,14 @@ namespace Shentun.Peis.PatientRegisters | 
			
		
		
	
		
			
				 | 
				 | 
				                IdNo = ent.Patient.IdNo, | 
				 | 
				 | 
				                IdNo = ent.Patient.IdNo, | 
			
		
		
	
		
			
				 | 
				 | 
				                MobileTelephone = ent.Patient.MobileTelephone, | 
				 | 
				 | 
				                MobileTelephone = ent.Patient.MobileTelephone, | 
			
		
		
	
		
			
				 | 
				 | 
				                NationId = ent.Patient.NationId, | 
				 | 
				 | 
				                NationId = ent.Patient.NationId, | 
			
		
		
	
		
			
				 | 
				 | 
				                NationName = _cacheService.GetNationNameAsync(ent.Patient.NationId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                NationName = _cacheService.GetNationNameAsync(ent.Patient.NationId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				                PatientNo = ent.Patient.PatientNo, | 
				 | 
				 | 
				                PatientNo = ent.Patient.PatientNo, | 
			
		
		
	
		
			
				 | 
				 | 
				                PostalCode = ent.Patient.PostalCode, | 
				 | 
				 | 
				                PostalCode = ent.Patient.PostalCode, | 
			
		
		
	
		
			
				 | 
				 | 
				                Telephone = ent.Patient.Telephone, | 
				 | 
				 | 
				                Telephone = ent.Patient.Telephone, | 
			
		
		
	
		
			
				 | 
				 | 
				                CustomerOrgName = _cacheService.GetCustomerOrgNameAsync(ent.CustomerOrgId).Result, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                CustomerOrgParentId = _cacheService.GetTopCustomerOrgAsync(ent.CustomerOrgId).Result.Id, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                CustomerOrgParentName = _cacheService.GetTopCustomerOrgAsync(ent.CustomerOrgId).Result.DisplayName, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                IsPatientOccupationalDisease = _patientOccupationalDiseaseManager.GetPatientRegisterIsOccupationalDisease(ent.Id).Result | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                CustomerOrgName = _cacheService.GetCustomerOrgNameAsync(ent.CustomerOrgId).GetAwaiter().GetResult(), | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                CustomerOrgParentId = _cacheService.GetTopCustomerOrgAsync(ent.CustomerOrgId).GetAwaiter().GetResult().Id, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                CustomerOrgParentName = _cacheService.GetTopCustomerOrgAsync(ent.CustomerOrgId).GetAwaiter().GetResult().DisplayName, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                IsPatientOccupationalDisease = _patientOccupationalDiseaseManager.GetPatientRegisterIsOccupationalDisease(ent.Id).GetAwaiter().GetResult() | 
			
		
		
	
		
			
				 | 
				 | 
				            }; | 
				 | 
				 | 
				            }; | 
			
		
		
	
		
			
				 | 
				 | 
				            return entdto; | 
				 | 
				 | 
				            return entdto; | 
			
		
		
	
		
			
				 | 
				 | 
				        } | 
				 | 
				 | 
				        } | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |