新增修正患者基本信息
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e3ee2cbe2f
commit
3a918f1aa5
|
|
@ -254,6 +254,28 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
|||
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")]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue