功能修改
parent
3d83f18c71
commit
ae5e9a75d6
|
|
@ -2978,6 +2978,20 @@
|
||||||
<param name="inCommand"></param>
|
<param name="inCommand"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.GetPatientInfo(IRaCIS.Core.Application.Contracts.GetPatientInfoInDto)">
|
||||||
|
<summary>
|
||||||
|
获取患者基本信息
|
||||||
|
</summary>
|
||||||
|
<param name="inDto"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.EditPatientInfo(IRaCIS.Core.Application.Contracts.EditPatientInfoCommand)">
|
||||||
|
<summary>
|
||||||
|
编辑患者基本信息
|
||||||
|
</summary>
|
||||||
|
<param name="command"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.Preview(System.Guid)">
|
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.Preview(System.Guid)">
|
||||||
<summary> 指定资源Id,渲染Dicom检查的Jpeg预览图像 </summary>
|
<summary> 指定资源Id,渲染Dicom检查的Jpeg预览图像 </summary>
|
||||||
<param name="studyId"> Dicom检查的Id </param>
|
<param name="studyId"> Dicom检查的Id </param>
|
||||||
|
|
@ -17255,17 +17269,17 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
||||||
<summary>
|
<summary>
|
||||||
质疑
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
||||||
<summary>
|
<summary>
|
||||||
一致性核查
|
һ<EFBFBD><EFBFBD><EFBFBD>Ժ˲<EFBFBD>
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
||||||
<summary>
|
<summary>
|
||||||
复制
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
||||||
|
|
@ -18386,6 +18400,66 @@
|
||||||
ISystemDocumentService
|
ISystemDocumentService
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.EditPatientInfoCommand.PatientSex">
|
||||||
|
<summary>
|
||||||
|
性别
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.EditPatientInfoCommand.PatientWeight">
|
||||||
|
<summary>
|
||||||
|
体重
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.EditPatientInfoCommand.RadionuclideTotalDose">
|
||||||
|
<summary>
|
||||||
|
总剂量
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.EditPatientInfoCommand.RadionuclideHalfLife">
|
||||||
|
<summary>
|
||||||
|
半衰期
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.EditPatientInfoCommand.RadiopharmaceuticalStartTime">
|
||||||
|
<summary>
|
||||||
|
注射时间
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.EditPatientInfoCommand.AcquisitionTime">
|
||||||
|
<summary>
|
||||||
|
成像 / 采集时间
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.PatientInfoDto.PatientSex">
|
||||||
|
<summary>
|
||||||
|
性别
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.PatientInfoDto.PatientWeight">
|
||||||
|
<summary>
|
||||||
|
体重
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.PatientInfoDto.RadionuclideTotalDose">
|
||||||
|
<summary>
|
||||||
|
总剂量
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.PatientInfoDto.RadionuclideHalfLife">
|
||||||
|
<summary>
|
||||||
|
半衰期
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.PatientInfoDto.RadiopharmaceuticalStartTime">
|
||||||
|
<summary>
|
||||||
|
注射时间
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Contracts.PatientInfoDto.AcquisitionTime">
|
||||||
|
<summary>
|
||||||
|
成像 / 采集时间
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Contracts.AddOrUpdateStudyDto.RadionuclideTotalDose">
|
<member name="P:IRaCIS.Core.Application.Contracts.AddOrUpdateStudyDto.RadionuclideTotalDose">
|
||||||
<summary>
|
<summary>
|
||||||
总剂量
|
总剂量
|
||||||
|
|
|
||||||
|
|
@ -194,6 +194,81 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class EditPatientInfoCommand
|
||||||
|
{
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// 性别
|
||||||
|
/// </summary>
|
||||||
|
public string PatientSex { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 体重
|
||||||
|
/// </summary>
|
||||||
|
public string PatientWeight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 总剂量
|
||||||
|
/// </summary>
|
||||||
|
public string RadionuclideTotalDose { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 半衰期
|
||||||
|
/// </summary>
|
||||||
|
public string RadionuclideHalfLife { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 注射时间
|
||||||
|
/// </summary>
|
||||||
|
public string RadiopharmaceuticalStartTime { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 成像 / 采集时间
|
||||||
|
/// </summary>
|
||||||
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class GetPatientInfoInDto
|
||||||
|
{
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class PatientInfoDto
|
||||||
|
{
|
||||||
|
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 性别
|
||||||
|
/// </summary>
|
||||||
|
public string PatientSex { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 体重
|
||||||
|
/// </summary>
|
||||||
|
public string PatientWeight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 总剂量
|
||||||
|
/// </summary>
|
||||||
|
public string RadionuclideTotalDose { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 半衰期
|
||||||
|
/// </summary>
|
||||||
|
public string RadionuclideHalfLife { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 注射时间
|
||||||
|
/// </summary>
|
||||||
|
public string RadiopharmaceuticalStartTime { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 成像 / 采集时间
|
||||||
|
/// </summary>
|
||||||
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
|
}
|
||||||
|
|
||||||
public class PreArchiveDicomStudyCommand
|
public class PreArchiveDicomStudyCommand
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -177,6 +177,41 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取患者基本信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inDto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<PatientInfoDto> GetPatientInfo(GetPatientInfoInDto inDto)
|
||||||
|
{
|
||||||
|
var study = await _dicomStudyRepository.Where(s => s.Id == inDto.StudyId).ProjectTo<PatientInfoDto>(_mapper.ConfigurationProvider).FirstNotNullAsync();
|
||||||
|
|
||||||
|
return study;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 编辑患者基本信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="command"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<IResponseOutput> EditPatientInfo(EditPatientInfoCommand command)
|
||||||
|
{
|
||||||
|
await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.StudyId, 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")]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
CreateMap<AddInstanceDto, TaskInstance>();
|
CreateMap<AddInstanceDto, TaskInstance>();
|
||||||
|
|
||||||
|
CreateMap<DicomStudy, PatientInfoDto>();
|
||||||
|
|
||||||
|
|
||||||
CreateMap<DicomSeries, DicomSeriesWithLabelDTO>();
|
CreateMap<DicomSeries, DicomSeriesWithLabelDTO>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,42 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public string BodyPartForEditOther { get; set; }
|
public string BodyPartForEditOther { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
#region 核验
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 性别
|
||||||
|
/// </summary>
|
||||||
|
public string PatientSex { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 体重
|
||||||
|
/// </summary>
|
||||||
|
public string PatientWeight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 总剂量
|
||||||
|
/// </summary>
|
||||||
|
public string RadionuclideTotalDose { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 半衰期
|
||||||
|
/// </summary>
|
||||||
|
public string RadionuclideHalfLife { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 注射时间
|
||||||
|
/// </summary>
|
||||||
|
public string RadiopharmaceuticalStartTime { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 成像 / 采集时间
|
||||||
|
/// </summary>
|
||||||
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
public List<DicomSeriesDTO> SeriesList { get; set; } = new List<DicomSeriesDTO>();
|
public List<DicomSeriesDTO> SeriesList { get; set; } = new List<DicomSeriesDTO>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -589,7 +589,14 @@ namespace IRaCIS.Core.Application.Services
|
||||||
StudyId = k.Id,
|
StudyId = k.Id,
|
||||||
|
|
||||||
BodyPartForEdit = k.BodyPartForEdit,
|
BodyPartForEdit = k.BodyPartForEdit,
|
||||||
BodyPartForEditOther = k.BodyPartForEditOther
|
BodyPartForEditOther = k.BodyPartForEditOther,
|
||||||
|
PatientSex=k.PatientSex,
|
||||||
|
PatientWeight=k.PatientWeight,
|
||||||
|
RadionuclideTotalDose=k.RadionuclideTotalDose,
|
||||||
|
RadionuclideHalfLife=k.RadionuclideHalfLife,
|
||||||
|
RadiopharmaceuticalStartTime=k.RadiopharmaceuticalStartTime,
|
||||||
|
AcquisitionTime= k.AcquisitionTime,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}).ToListAsync();
|
}).ToListAsync();
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public string AcquisitionNumber { get; set; } = null!;
|
public string AcquisitionNumber { get; set; } = null!;
|
||||||
|
|
||||||
public string AcquisitionTime { get; set; } = null!;
|
|
||||||
|
|
||||||
public string BodyPartExamined { get; set; } = null!;
|
public string BodyPartExamined { get; set; } = null!;
|
||||||
|
|
||||||
|
|
@ -157,6 +157,10 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string RadiopharmaceuticalStartTime { get; set; } = null!;
|
public string RadiopharmaceuticalStartTime { get; set; } = null!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 成像 / 采集时间
|
||||||
|
/// </summary>
|
||||||
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue