影像检查的部位 增加字段
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
774e7ccc25
commit
71f978609b
|
@ -81,6 +81,8 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
public string VideoUrl { get; set; } = string.Empty;
|
||||
|
||||
public string BodyPartForEditOther { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
|||
|
||||
public string BodyPart { get; set; } = String.Empty;
|
||||
|
||||
public string BodyPartForEditOther { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QCQuestionAnswerCommand
|
||||
|
@ -427,6 +429,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
|||
|
||||
public bool IsCompleteClinicalData { get; set; }
|
||||
|
||||
public string BodyPartForEditOther { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QASeriesInfoDto
|
||||
|
|
|
@ -1066,6 +1066,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
|
||||
|
||||
study.BodyPartForEdit = updateModalityCommand.BodyPart;
|
||||
study.BodyPartForEditOther = updateModalityCommand.BodyPartForEditOther;
|
||||
|
||||
study.ModalityForEdit = updateModalityCommand.Modality;
|
||||
study.StudyName = updateModalityCommand.StudyName;
|
||||
|
|
|
@ -272,6 +272,10 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
public string StudyName { get; set; } = string.Empty;
|
||||
|
||||
public string BodyPartForEdit { get; set; }
|
||||
|
||||
public string BodyPartForEditOther { get; set; }
|
||||
|
||||
public List<DicomSeriesDTO> SeriesList { get; set; } = new List<DicomSeriesDTO>();
|
||||
}
|
||||
|
||||
|
|
|
@ -515,6 +515,10 @@ namespace IRaCIS.Core.Application.Services
|
|||
StudyCode = k.StudyCode,
|
||||
StudyId = k.Id,
|
||||
|
||||
BodyPartForEdit=k.BodyPartForEdit,
|
||||
BodyPartForEditOther=k.BodyPartForEditOther
|
||||
|
||||
|
||||
}).ToListAsync();
|
||||
var studyIds = dicomStudyList.Select(t => t.StudyId).ToList();
|
||||
|
||||
|
@ -718,6 +722,9 @@ namespace IRaCIS.Core.Application.Services
|
|||
StudyCode = x.StudyCode,
|
||||
IsDicom = false,
|
||||
|
||||
BodyPartForEdit=x.BodyPart,
|
||||
BodyPartForEditOther=x.BodyPartForEditOther
|
||||
|
||||
}).ToList();
|
||||
|
||||
var isExistTaskNoneDicomFile = _noneDicomStudyFileRepository.Any(t => t.VisitTaskId == indto.VisitTaskId);
|
||||
|
|
|
@ -41,6 +41,8 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
|||
|
||||
public string BodyPartForEdit { get; set; } = null!;
|
||||
|
||||
public string BodyPartForEditOther { get; set; }
|
||||
|
||||
public int Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -53,5 +53,7 @@ public class NoneDicomStudy : BaseFullDeleteAuditEntity
|
|||
#endregion
|
||||
|
||||
public string ModifyReason { get; set; }
|
||||
|
||||
public string BodyPartForEditOther { get; set; }
|
||||
}
|
||||
|
||||
|
|
19984
IRaCIS.Core.Infra.EFCore/Migrations/20250915034558_studyAddBodyPart.Designer.cs
generated
Normal file
19984
IRaCIS.Core.Infra.EFCore/Migrations/20250915034558_studyAddBodyPart.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,42 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class studyAddBodyPart : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "BodyPartForEditOther",
|
||||
table: "NoneDicomStudy",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "BodyPartForEditOther",
|
||||
table: "DicomStudy",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "BodyPartForEditOther",
|
||||
table: "NoneDicomStudy");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "BodyPartForEditOther",
|
||||
table: "DicomStudy");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1230,6 +1230,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("BodyPartForEditOther")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<int>("Code")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
@ -3262,6 +3267,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("BodyPartForEditOther")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<int>("Code")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
|
Loading…
Reference in New Issue