新增修正患者基本信息
continuous-integration/drone/push Build is passing Details

Test_IRC_Net10
he 2026-04-29 10:35:27 +08:00
parent e3ee2cbe2f
commit 3a918f1aa5
1 changed files with 22 additions and 0 deletions

View File

@ -254,6 +254,28 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
return ResponseOutput.Ok(); return ResponseOutput.Ok();
} }
/// <summary>
/// 修正患者基本信息
/// </summary>
/// <param name="command"></param>
/// <returns></returns>
[HttpPost]
public async Task<IResponseOutput> AmendmentPatientInfo(EditPatientInfoCommand command)
{
await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.Id, x => new DicomStudy
{
PatientSex = command.PatientSex,
PatientWeight = command.PatientWeight,
RadionuclideTotalDose = command.RadionuclideTotalDose,
RadionuclideHalfLife = command.RadionuclideHalfLife,
RadiopharmaceuticalStartTime = command.RadiopharmaceuticalStartTime,
AcquisitionTime = command.AcquisitionTime,
});
await _dicomStudyRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}
[TrialGlobalLimit("AfterStopCannNotOpt")] [TrialGlobalLimit("AfterStopCannNotOpt")]