添加 TNMValue
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
fd04315f17
commit
d0352590ed
|
|
@ -139,7 +139,7 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
findPatient.PatientName = dataset.GetSingleValueOrDefault(DicomTag.PatientName, string.Empty);
|
findPatient.PatientName = dataset.GetSingleValueOrDefault(DicomTag.PatientName, string.Empty);
|
||||||
findPatient.PatientSex = dataset.GetSingleValueOrDefault(DicomTag.PatientSex, string.Empty);
|
findPatient.PatientSex = dataset.GetSingleValueOrDefault(DicomTag.PatientSex, string.Empty);
|
||||||
findPatient.PatientAge = dataset.GetSingleValueOrDefault(DicomTag.PatientAge, string.Empty);
|
findPatient.PatientAge = dataset.GetSingleValueOrDefault(DicomTag.PatientAge, string.Empty);
|
||||||
findPatient.PatientBirthDate = dataset.GetSingleValueOrDefault(DicomTag.PatientBirthDate, string.Empty),
|
findPatient.PatientBirthDate = dataset.GetSingleValueOrDefault(DicomTag.PatientBirthDate, string.Empty);
|
||||||
|
|
||||||
if (findPatient.PatientBirthDate.Length == 8)
|
if (findPatient.PatientBirthDate.Length == 8)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8793,6 +8793,11 @@
|
||||||
是否是裁判问题
|
是否是裁判问题
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetNextTaskInDto.EvaluateProgressEnum">
|
||||||
|
<summary>
|
||||||
|
评估进度
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingTaskDto.DigitPlaces">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingTaskDto.DigitPlaces">
|
||||||
<summary>
|
<summary>
|
||||||
修约小数点
|
修约小数点
|
||||||
|
|
@ -12648,6 +12653,20 @@
|
||||||
IR影像阅片
|
IR影像阅片
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ReadingImageTaskService.GetTNMValue(IRaCIS.Core.Application.Service.Reading.Dto.TNMValueDto)">
|
||||||
|
<summary>
|
||||||
|
获取TNMValue
|
||||||
|
</summary>
|
||||||
|
<param name="inDto"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ReadingImageTaskService.SetTNMValue(IRaCIS.Core.Application.Service.Reading.Dto.TNMValueDto)">
|
||||||
|
<summary>
|
||||||
|
设置tTNMValue
|
||||||
|
</summary>
|
||||||
|
<param name="inDto"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ReadingImageTaskService.DownLoadReadReport(IRaCIS.Core.Application.Service.Reading.Dto.DownLoadReadReportInDto)">
|
<member name="M:IRaCIS.Core.Application.Service.ReadingImageTaskService.DownLoadReadReport(IRaCIS.Core.Application.Service.Reading.Dto.DownLoadReadReportInDto)">
|
||||||
<summary>
|
<summary>
|
||||||
下载阅片报告
|
下载阅片报告
|
||||||
|
|
|
||||||
|
|
@ -301,7 +301,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public class TNMValueDto
|
||||||
|
{
|
||||||
|
public string TNMValue { get; set; } =string.Empty;
|
||||||
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public class DownLoadReadReportInDto
|
public class DownLoadReadReportInDto
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -64,8 +64,38 @@ namespace IRaCIS.Core.Application.Service
|
||||||
IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer, IFusionCache _fusionCache) : BaseService, IReadingImageTaskService
|
IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer, IFusionCache _fusionCache) : BaseService, IReadingImageTaskService
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取TNMValue
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inDto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<TNMValueDto> GetTNMValue(TNMValueDto inDto)
|
||||||
|
{
|
||||||
|
var result= await _visitTaskRepository.Where(x=>x.Id==inDto.VisitTaskId).Select(x => new TNMValueDto()
|
||||||
|
{
|
||||||
|
VisitTaskId=inDto.VisitTaskId,
|
||||||
|
TNMValue = x.TNMValue
|
||||||
|
}).FirstOrDefaultAsync();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 设置tTNMValue
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inDto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<TNMValueDto> SetTNMValue(TNMValueDto inDto)
|
||||||
|
{
|
||||||
|
await _visitTaskRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.VisitTaskId, x => new VisitTask()
|
||||||
|
{
|
||||||
|
TNMValue = inDto.TNMValue
|
||||||
|
},true);
|
||||||
|
return inDto;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 下载阅片报告
|
/// 下载阅片报告
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -309,6 +309,11 @@ public class VisitTask : BaseFullAuditEntity
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public EvaluateProgress EvaluateProgressEnum { get; set; } = EvaluateProgress.Default;
|
public EvaluateProgress EvaluateProgressEnum { get; set; } = EvaluateProgress.Default;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// TNM的值
|
||||||
|
/// </summary>
|
||||||
|
public string TNMValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public List<string> PIAuditImagePathList
|
public List<string> PIAuditImagePathList
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,30 @@
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class TNMValue : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "TNMValue",
|
||||||
|
table: "VisitTask",
|
||||||
|
type: "nvarchar(400)",
|
||||||
|
maxLength: 400,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "TNMValue",
|
||||||
|
table: "VisitTask");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -14241,6 +14241,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Property<DateTime?>("SuggesteFinishedTime")
|
b.Property<DateTime?>("SuggesteFinishedTime")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<string>("TNMValue")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(400)
|
||||||
|
.HasColumnType("nvarchar(400)");
|
||||||
|
|
||||||
b.Property<int>("TaskAllocationState")
|
b.Property<int>("TaskAllocationState")
|
||||||
.HasColumnType("int")
|
.HasColumnType("int")
|
||||||
.HasComment("分配状态");
|
.HasComment("分配状态");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue