| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -466,7 +466,8 @@ namespace Shentun.Pacs.PacsBusiness | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            deviceId = patientRegister.DeviceId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            medicalTypeId = patientRegister.MedicalTypeId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            encodingFlag = deviceHaveEmpty == null ? '0' : deviceHaveEmpty.EncodingFlag, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            isFilmRelease = asbitem.IsFilmRelease | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            isFilmRelease = asbitem.IsFilmRelease, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            checkDoctorId = registerCheck.CheckDoctorId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        }; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (!string.IsNullOrWhiteSpace(input.PatientName)) | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -536,6 +537,11 @@ namespace Shentun.Pacs.PacsBusiness | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                query = query.Where(m => m.medicalTypeId == input.MedicalTypeId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (!string.IsNullOrWhiteSpace(input.CheckDoctorId)) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                query = query.Where(m => m.checkDoctorId == input.CheckDoctorId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //#region 增加项目类别权限
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //string AdminId = _configuration.GetValue<string>("AdminId");
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -596,7 +602,10 @@ namespace Shentun.Pacs.PacsBusiness | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    PacsUploadDate = DataHelper.ConversionDateToString(fisrtItem.pacsUploadDate), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    RegisterCheckId = item.Key, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    CompleteFlag = fisrtItem.registerCheckCompleteFlag, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    PacsDesc = pacsDesc | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    PacsDesc = pacsDesc, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    MedicalTypeName = _cacheService.GetMedicalTypeNameAsync(fisrtItem.medicalTypeId).GetAwaiter().GetResult(), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    CheckDoctorId = fisrtItem.checkDoctorId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    CheckDoctorName = _cacheService.GetSurnameAsync(fisrtItem.checkDoctorId).GetAwaiter().GetResult() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -1889,7 +1898,7 @@ namespace Shentun.Pacs.PacsBusiness | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        #endregion
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        /// <summary>
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        /// 转换老系统性别
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |