归档增加字段-三个影像层级表

Test_IRC_Net8
hang 2025-10-22 10:25:11 +08:00
parent 8cabc8c96a
commit 7a37c01b7f
19 changed files with 22096 additions and 22 deletions

View File

@ -220,6 +220,12 @@ namespace IRaCIS.Core.SCP.Service
AcquisitionNumber = dataset.GetSingleValueOrDefault(DicomTag.AcquisitionNumber, string.Empty),
TriggerTime = dataset.GetSingleValueOrDefault(DicomTag.TriggerTime, string.Empty),
Manufacturer = dataset.GetSingleValueOrDefault(DicomTag.Manufacturer, string.Empty),
ManufacturerModelName = dataset.GetSingleValueOrDefault(DicomTag.ManufacturerModelName, string.Empty),
DeviceSerialNumber = dataset.GetSingleValueOrDefault(DicomTag.DeviceSerialNumber, string.Empty),
DeviceUID = dataset.GetSingleValueOrDefault(DicomTag.DeviceUID, string.Empty),
SoftwareVersions = dataset.GetSingleValueOrDefault(DicomTag.SoftwareVersions, string.Empty),
PatientWeight = dataset.GetSingleValueOrDefault(DicomTag.PatientWeight, string.Empty),
//IsDoubleReview = addtionalInfo.IsDoubleReview,
@ -281,6 +287,9 @@ namespace IRaCIS.Core.SCP.Service
AcquisitionNumber = dataset.GetSingleValueOrDefault(DicomTag.AcquisitionNumber, string.Empty),
TriggerTime = dataset.GetSingleValueOrDefault(DicomTag.TriggerTime, string.Empty),
RadiopharmaceuticalInformationSequence = dataset.GetSingleValueOrDefault(DicomTag.RadiopharmaceuticalInformationSequence, string.Empty),
AcquisitionDate = dataset.GetSingleValueOrDefault(DicomTag.AcquisitionDate, string.Empty),
InstanceCount = 0
};
@ -332,6 +341,21 @@ namespace IRaCIS.Core.SCP.Service
WindowCenter = dataset.GetSingleValueOrDefault(DicomTag.WindowCenter, string.Empty),
WindowWidth = dataset.GetSingleValueOrDefault(DicomTag.WindowWidth, string.Empty),
PhotometricInterpretation = dataset.GetSingleValueOrDefault(DicomTag.PhotometricInterpretation, string.Empty),
BitsAllocated = dataset.GetSingleValueOrDefault(DicomTag.BitsAllocated, 0),
PixelRepresentation = dataset.GetSingleValueOrDefault(DicomTag.PixelRepresentation, string.Empty),
RescaleIntercept = dataset.GetSingleValueOrDefault(DicomTag.RescaleIntercept, string.Empty),
RescaleSlope = dataset.GetSingleValueOrDefault(DicomTag.RescaleSlope, string.Empty),
ImagePositionPatient = dataset.GetSingleValueOrDefault(DicomTag.ImagePositionPatient, string.Empty),
ImageOrientationPatient = dataset.GetSingleValueOrDefault(DicomTag.ImageOrientationPatient, string.Empty),
SequenceOfUltrasoundRegions = dataset.GetSingleValueOrDefault(DicomTag.SequenceOfUltrasoundRegions, string.Empty),
FrameTime = dataset.GetSingleValueOrDefault(DicomTag.FrameTime, string.Empty),
CorrectedImage = dataset.GetSingleValueOrDefault(DicomTag.CorrectedImage, string.Empty),
Units = dataset.GetSingleValueOrDefault(DicomTag.Units, string.Empty),
DecayCorrection = dataset.GetSingleValueOrDefault(DicomTag.DecayCorrection, string.Empty),
EncapsulatedDocument = dataset.GetSingleValueOrDefault(DicomTag.EncapsulatedDocument, string.Empty),
Path = fileRelativePath,
FileSize= fileSize,

View File

@ -17060,6 +17060,13 @@
<param name="userInfo"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Contracts.TrialSiteSurveyService.GetTrialSiteLatestSurvey(System.Guid)">
<summary>
获取该中心最新调表信息 如果没有任何调研表会返回null
</summary>
<param name="trialSiteId"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Contracts.TrialSiteSurveyService.GetTrialSurveyInitInfo(System.Guid)">
<summary>
初始登陆界面 项目基本信息+下拉框数据

View File

@ -324,13 +324,26 @@ namespace IRaCIS.Core.Application.Contracts
public string BodyPartExamined { get; set; } = string.Empty;
public string DicomStudyDate { get; set; }
public string DicomStudyDate { get; set; } = string.Empty;
public string DicomStudyTime { get; set; }
public string DicomStudyTime { get; set; } = string.Empty;
public List<AddOrUpdateSeriesDto> SeriesList { get; set; }
#region 模态支持增加字段
public string Manufacturer { get; set; } = string.Empty;
public string ManufacturerModelName { get; set; } = string.Empty;
public string DeviceSerialNumber { get; set; } = string.Empty;
public string DeviceUID { get; set; } = string.Empty;
public string SoftwareVersions { get; set; } = string.Empty;
public string PatientWeight { get; set; } = string.Empty;
#endregion
}
@ -358,14 +371,22 @@ namespace IRaCIS.Core.Application.Contracts
public string ImageResizePath { get; set; } = string.Empty;
public string DicomSeriesDate { get; set; }
public string DicomSeriesDate { get; set; } = string.Empty;
public string DicomSeriesTime { get; set; }
public string DicomSeriesTime { get; set; } = string.Empty;
public List<AddInstanceDto> InstanceList { get; set; }
public Guid? VisitTaskId { get; set; }
#region 模态增加
public string RadiopharmaceuticalInformationSequence { get; set; } = string.Empty;
public string AcquisitionDate { get; set; } = string.Empty;
#endregion
}
@ -398,15 +419,46 @@ namespace IRaCIS.Core.Application.Contracts
public long FileSize { get; set; }
public string SOPClassUID { get; set; }
public string SOPClassUID { get; set; } = string.Empty;
public string MediaStorageSOPClassUID { get; set; }
public string MediaStorageSOPClassUID { get; set; } = string.Empty;
public string TransferSytaxUID { get; set; }
public string TransferSytaxUID { get; set; } = string.Empty;
public string MediaStorageSOPInstanceUID { get; set; }
public string MediaStorageSOPInstanceUID { get; set; } = string.Empty;
public bool IsEncapsulated => DicomTransferSyntax.Lookup(DicomUID.Parse(TransferSytaxUID)).IsEncapsulated;
public bool IsEncapsulated => !string.IsNullOrEmpty(TransferSytaxUID) ? DicomTransferSyntax.Lookup(DicomUID.Parse(TransferSytaxUID)).IsEncapsulated : false;
#region 模态支持增加字段
public string PhotometricInterpretation { get; set; } = string.Empty;
public int BitsAllocated { get; set; }
public string PixelRepresentation { get; set; } = string.Empty;
public string RescaleIntercept { get; set; } = string.Empty;
public string RescaleSlope { get; set; } = string.Empty;
public string ImagePositionPatient { get; set; } = string.Empty;
public string ImageOrientationPatient { get; set; } = string.Empty;
//可能大
public string SequenceOfUltrasoundRegions { get; set; } = string.Empty;
public string FrameTime { get; set; } = string.Empty;
public string CorrectedImage { get; set; } = string.Empty;
public string Units { get; set; } = string.Empty;
public string DecayCorrection { get; set; } = string.Empty;
public string EncapsulatedDocument { get; set; } = string.Empty;
#endregion
}
@ -536,11 +588,11 @@ namespace IRaCIS.Core.Application.Contracts
public string TaskBlindName { get; set; }
public Guid VisitId { get; set; }
public List<DownloadDicomStudyDto> StudyList { get; set; }
public List<DownloadNoneDicomStudyDto> NoneDicomStudyList { get; set; }
public List<DownloadNoneDicomStudyDto> NoneDicomStudyList { get; set; }
}
public class DownloadDicomStudyDto
@ -551,14 +603,14 @@ namespace IRaCIS.Core.Application.Contracts
public string StudyInstanceUid { get; set; }
public string StudyDIRPath { get; set; }
public List<DownloadDicomSeriesDto> SeriesList { get; set; }
public List<DownloadDicomSeriesDto> SeriesList { get; set; }
}
public class DownloadDicomSeriesDto
{
public string Modality { get; set; }
public List<DownloadDicomInstanceDto> InstanceList { get; set; }
public List<DownloadDicomInstanceDto> InstanceList { get; set; }
}
public class DownloadDicomInstanceDto
@ -735,7 +787,7 @@ namespace IRaCIS.Core.Application.Contracts
? $"{TotalReadingImageSize.Value / 1024d / 1024d:F3} MB"
: "0.000 MB";
public string ImageTypeStr => $"{(IsHaveDicom ? "DICOM" : "")}{(IsHaveNoneDicom&&IsHaveDicom?" , ":"")}{(IsHaveNoneDicom ? "Non-DICOM" : "")}";
public string ImageTypeStr => $"{(IsHaveDicom ? "DICOM" : "")}{(IsHaveNoneDicom && IsHaveDicom ? " , " : "")}{(IsHaveNoneDicom ? "Non-DICOM" : "")}";
public bool IsHaveDicom { get; set; }

View File

@ -302,6 +302,19 @@ namespace IRaCIS.Core.Application.Contracts
#region 中心调研修改
/// <summary>
/// 获取该中心最新调表信息 如果没有任何调研表会返回null
/// </summary>
/// <param name="trialSiteId"></param>
/// <returns></returns>
public async Task<TrialSiteSurveyView?> GetTrialSiteLatestSurvey(Guid trialSiteId)
{
return await _trialSiteSurveyRepository.Where(t => t.TrialSiteId == trialSiteId).OrderByDescending(t => t.CreateTime).ProjectTo<TrialSiteSurveyView>(_mapper.ConfigurationProvider).FirstOrDefaultAsync();
}
/// <summary>
/// 初始登陆界面 项目基本信息+下拉框数据
/// </summary>
@ -631,11 +644,11 @@ namespace IRaCIS.Core.Application.Contracts
copy.State = TrialSiteSurveyEnum.ToSubmit;
copy.IsDeleted = false;
copy.Phone = string.Empty;
copy.UserName = string.Empty;
//copy.Phone = string.Empty;
//copy.UserName = string.Empty;
copy.Email = userInfo.EmailOrPhone;
copy.Id = Guid.Empty;
copy.CreateTime = DateAndTime.Now;
copy.CreateTime = DateTime.Now;
if (userInfo.ReplaceUserEmailOrPhone != userInfo.EmailOrPhone)
{

View File

@ -427,7 +427,7 @@ namespace IRaCIS.Application.Contracts
public class SiteStatDTO : SiteStatSimpleDTO
{
public bool IsHaveSiteSurveyRecord { get; set; }
//public int? VisitCount { get; set; }
//public int? SubjectCount { get; set; }

View File

@ -128,7 +128,8 @@ namespace IRaCIS.Core.Application.Service
.ForMember(d => d.VisitCount, u => u.MapFrom(s => s.SubjectVisitList.Count(t => t.IsDeleted == false && t.SubmitState != SubmitStateEnum.None)))
.ForMember(d => d.SubjectCount, u => u.MapFrom(s => s.SubjectList.Count(t => t.IsDeleted == false)))
//.ForMember(d => d.UserCount, u => u.MapFrom(s => s.CRCUserList.Count()))
.ForMember(d => d.UserNameList, u => u.MapFrom(s => s.CRCUserList.Where(t => t.IsDeleted == false).Select(u => u.UserRole.IdentityUser.FullName)));
.ForMember(d => d.UserNameList, u => u.MapFrom(s => s.CRCUserList.Where(t => t.IsDeleted == false).Select(u => u.UserRole.IdentityUser.FullName)))
.ForMember(t => t.IsHaveSiteSurveyRecord, u => u.MapFrom(t => t.TrialSiteSurveyList.Any()));
#endregion

View File

@ -92,5 +92,40 @@ public class DicomInstance : BaseFullDeleteAuditEntity, IEntitySeqId
public bool IsEncapsulated { get; set; }
#endregion
//public int Rows { get; set; }
//public int Columns { get; set; }
#region 模态支持增加字段
public string PhotometricInterpretation { get; set; }
public int BitsAllocated { get; set; }
public string PixelRepresentation { get; set; }
public string RescaleIntercept { get; set; }
public string RescaleSlope { get; set; }
public string ImagePositionPatient { get; set; }
public string ImageOrientationPatient { get; set; }
//可能大
public string SequenceOfUltrasoundRegions { get; set; }
public string FrameTime { get; set; }
public string CorrectedImage { get; set; }
public string Units { get; set; }
public string DecayCorrection { get; set; }
public string EncapsulatedDocument { get; set; }
#endregion
}

View File

@ -80,5 +80,13 @@ public class DicomSeries : BaseFullDeleteAuditEntity, IEntitySeqId
public string DicomSeriesTime { get; set; }
#endregion
#region 模态增加
public string RadiopharmaceuticalInformationSequence { get; set; }
public string AcquisitionDate { get; set; }
#endregion
}

View File

@ -54,7 +54,7 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public int InstanceCount { get; set; }
public string InstitutionName { get; set; } = null!;
public bool IsDoubleReview { get; set; }
@ -80,7 +80,7 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public int SeriesCount { get; set; }
public string StudyCode { get; set; } = null!;
[Comment("DicomTag.StudyID")]
@ -114,4 +114,19 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public string StudyDIRPath { get; set; }
#endregion
#region 模态支持增加字段
public string Manufacturer { get; set; }
public string ManufacturerModelName { get; set; }
public string DeviceSerialNumber { get; set; }
public string DeviceUID { get; set; }
public string SoftwareVersions { get; set; }
public string PatientWeight { get; set; }
#endregion
}

View File

@ -55,5 +55,36 @@ public class SCPInstance : BaseFullAuditEntity, IEntitySeqId
public bool IsEncapsulated { get; set; }
#endregion
#region 模态支持增加字段
public string PhotometricInterpretation { get; set; }
public int BitsAllocated { get; set; }
public string PixelRepresentation { get; set; }
public string RescaleIntercept { get; set; }
public string RescaleSlope { get; set; }
public string ImagePositionPatient { get; set; }
public string ImageOrientationPatient { get; set; }
//可能大
public string SequenceOfUltrasoundRegions { get; set; }
public string FrameTime { get; set; }
public string CorrectedImage { get; set; }
public string Units { get; set; }
public string DecayCorrection { get; set; }
public string EncapsulatedDocument { get; set; }
#endregion
}

View File

@ -46,4 +46,12 @@ public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
public string DicomSeriesTime { get; set; }
#endregion
#region 模态增加
public string RadiopharmaceuticalInformationSequence { get; set; }
public string AcquisitionDate { get; set; } = null!;
#endregion
}

View File

@ -78,4 +78,19 @@ public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public string StudyDIRPath { get; set; }
#endregion
#region 模态支持增加字段
public string Manufacturer { get; set; }
public string ManufacturerModelName { get; set; }
public string DeviceSerialNumber { get; set; }
public string DeviceUID { get; set; }
public string SoftwareVersions { get; set; }
public string PatientWeight { get; set; }
#endregion
}

View File

@ -59,6 +59,37 @@ public class TaskInstance : BaseFullAuditEntity, IEntitySeqId
public bool IsEncapsulated { get; set; }
#endregion
#region 模态支持增加字段
public string PhotometricInterpretation { get; set; }
public int BitsAllocated { get; set; }
public string PixelRepresentation { get; set; }
public string RescaleIntercept { get; set; }
public string RescaleSlope { get; set; }
public string ImagePositionPatient { get; set; }
public string ImageOrientationPatient { get; set; }
//可能大
public string SequenceOfUltrasoundRegions { get; set; }
public string FrameTime { get; set; }
public string CorrectedImage { get; set; }
public string Units { get; set; }
public string DecayCorrection { get; set; }
public string EncapsulatedDocument { get; set; }
#endregion
}

View File

@ -49,4 +49,12 @@ public class TaskSeries : BaseFullDeleteAuditEntity, IEntitySeqId
public string DicomSeriesTime { get; set; }
#endregion
#region 模态增加
public string RadiopharmaceuticalInformationSequence { get; set; }
public string AcquisitionDate { get; set; } = null!;
#endregion
}

View File

@ -58,6 +58,7 @@ public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public string BodyPartForEditOther { get; set; }
#region DIR 增加字段
public string DicomStudyDate { get; set; }
@ -67,4 +68,19 @@ public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public string StudyDIRPath { get; set; }
#endregion
#region 模态支持增加字段
public string Manufacturer { get; set; }
public string ManufacturerModelName { get; set; }
public string DeviceSerialNumber { get; set; }
public string DeviceUID { get; set; }
public string SoftwareVersions { get; set; }
public string PatientWeight { get; set; }
#endregion
}

View File

@ -21,7 +21,7 @@ public class InspectionFile : BaseAddAuditEntity
public EDCCheckState? CheckState { get; set; }
public string ResultPath { get; set; }
#endregion
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,771 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class studyAddField : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "DeviceSerialNumber",
table: "TaskStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DeviceUID",
table: "TaskStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "Manufacturer",
table: "TaskStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ManufacturerModelName",
table: "TaskStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PatientWeight",
table: "TaskStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "SoftwareVersions",
table: "TaskStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "AcquisitionDate",
table: "TaskSeries",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RadiopharmaceuticalInformationSequence",
table: "TaskSeries",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<int>(
name: "BitsAllocated",
table: "TaskInstance",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<string>(
name: "CorrectedImage",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DecayCorrection",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "EncapsulatedDocument",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "FrameTime",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ImageOrientationPatient",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ImagePositionPatient",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PhotometricInterpretation",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PixelRepresentation",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RescaleIntercept",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RescaleSlope",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "SequenceOfUltrasoundRegions",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "Units",
table: "TaskInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DeviceSerialNumber",
table: "SCPStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DeviceUID",
table: "SCPStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "Manufacturer",
table: "SCPStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ManufacturerModelName",
table: "SCPStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PatientWeight",
table: "SCPStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "SoftwareVersions",
table: "SCPStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "AcquisitionDate",
table: "SCPSeries",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RadiopharmaceuticalInformationSequence",
table: "SCPSeries",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<int>(
name: "BitsAllocated",
table: "SCPInstance",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<string>(
name: "CorrectedImage",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DecayCorrection",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "EncapsulatedDocument",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "FrameTime",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ImageOrientationPatient",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ImagePositionPatient",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PhotometricInterpretation",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PixelRepresentation",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RescaleIntercept",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RescaleSlope",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "SequenceOfUltrasoundRegions",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "Units",
table: "SCPInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DeviceSerialNumber",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DeviceUID",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "Manufacturer",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ManufacturerModelName",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PatientWeight",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "SoftwareVersions",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "AcquisitionDate",
table: "DicomSeries",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RadiopharmaceuticalInformationSequence",
table: "DicomSeries",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<int>(
name: "BitsAllocated",
table: "DicomInstance",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<string>(
name: "CorrectedImage",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "DecayCorrection",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "EncapsulatedDocument",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "FrameTime",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ImageOrientationPatient",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "ImagePositionPatient",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PhotometricInterpretation",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "PixelRepresentation",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RescaleIntercept",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "RescaleSlope",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "SequenceOfUltrasoundRegions",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "Units",
table: "DicomInstance",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DeviceSerialNumber",
table: "TaskStudy");
migrationBuilder.DropColumn(
name: "DeviceUID",
table: "TaskStudy");
migrationBuilder.DropColumn(
name: "Manufacturer",
table: "TaskStudy");
migrationBuilder.DropColumn(
name: "ManufacturerModelName",
table: "TaskStudy");
migrationBuilder.DropColumn(
name: "PatientWeight",
table: "TaskStudy");
migrationBuilder.DropColumn(
name: "SoftwareVersions",
table: "TaskStudy");
migrationBuilder.DropColumn(
name: "AcquisitionDate",
table: "TaskSeries");
migrationBuilder.DropColumn(
name: "RadiopharmaceuticalInformationSequence",
table: "TaskSeries");
migrationBuilder.DropColumn(
name: "BitsAllocated",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "CorrectedImage",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "DecayCorrection",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "EncapsulatedDocument",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "FrameTime",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "ImageOrientationPatient",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "ImagePositionPatient",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "PhotometricInterpretation",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "PixelRepresentation",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "RescaleIntercept",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "RescaleSlope",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "SequenceOfUltrasoundRegions",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "Units",
table: "TaskInstance");
migrationBuilder.DropColumn(
name: "DeviceSerialNumber",
table: "SCPStudy");
migrationBuilder.DropColumn(
name: "DeviceUID",
table: "SCPStudy");
migrationBuilder.DropColumn(
name: "Manufacturer",
table: "SCPStudy");
migrationBuilder.DropColumn(
name: "ManufacturerModelName",
table: "SCPStudy");
migrationBuilder.DropColumn(
name: "PatientWeight",
table: "SCPStudy");
migrationBuilder.DropColumn(
name: "SoftwareVersions",
table: "SCPStudy");
migrationBuilder.DropColumn(
name: "AcquisitionDate",
table: "SCPSeries");
migrationBuilder.DropColumn(
name: "RadiopharmaceuticalInformationSequence",
table: "SCPSeries");
migrationBuilder.DropColumn(
name: "BitsAllocated",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "CorrectedImage",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "DecayCorrection",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "EncapsulatedDocument",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "FrameTime",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "ImageOrientationPatient",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "ImagePositionPatient",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "PhotometricInterpretation",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "PixelRepresentation",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "RescaleIntercept",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "RescaleSlope",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "SequenceOfUltrasoundRegions",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "Units",
table: "SCPInstance");
migrationBuilder.DropColumn(
name: "DeviceSerialNumber",
table: "DicomStudy");
migrationBuilder.DropColumn(
name: "DeviceUID",
table: "DicomStudy");
migrationBuilder.DropColumn(
name: "Manufacturer",
table: "DicomStudy");
migrationBuilder.DropColumn(
name: "ManufacturerModelName",
table: "DicomStudy");
migrationBuilder.DropColumn(
name: "PatientWeight",
table: "DicomStudy");
migrationBuilder.DropColumn(
name: "SoftwareVersions",
table: "DicomStudy");
migrationBuilder.DropColumn(
name: "AcquisitionDate",
table: "DicomSeries");
migrationBuilder.DropColumn(
name: "RadiopharmaceuticalInformationSequence",
table: "DicomSeries");
migrationBuilder.DropColumn(
name: "BitsAllocated",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "CorrectedImage",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "DecayCorrection",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "EncapsulatedDocument",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "FrameTime",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "ImageOrientationPatient",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "ImagePositionPatient",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "PhotometricInterpretation",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "PixelRepresentation",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "RescaleIntercept",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "RescaleSlope",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "SequenceOfUltrasoundRegions",
table: "DicomInstance");
migrationBuilder.DropColumn(
name: "Units",
table: "DicomInstance");
}
}
}

View File

@ -1017,21 +1017,39 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("Anonymize")
.HasColumnType("bit");
b.Property<int>("BitsAllocated")
.HasColumnType("int");
b.Property<bool>("CPIStatus")
.HasColumnType("bit");
b.Property<string>("CorrectedImage")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("CreateTime")
.HasColumnType("datetime2");
b.Property<Guid>("CreateUserId")
.HasColumnType("uniqueidentifier");
b.Property<string>("DecayCorrection")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid?>("DeleteUserId")
.HasColumnType("uniqueidentifier");
b.Property<DateTime?>("DeletedTime")
.HasColumnType("datetime2");
b.Property<string>("EncapsulatedDocument")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<long?>("FileSize")
.HasColumnType("bigint");
@ -1040,6 +1058,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("FrameTime")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("HtmlPath")
.IsRequired()
.HasMaxLength(1000)
@ -1051,6 +1074,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<int>("ImageColumns")
.HasColumnType("int");
b.Property<string>("ImageOrientationPatient")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ImagePositionPatient")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("ImageRows")
.HasColumnType("int");
@ -1092,16 +1125,41 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(1000)
.HasColumnType("nvarchar(1000)");
b.Property<string>("PhotometricInterpretation")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PixelRepresentation")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PixelSpacing")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RescaleIntercept")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RescaleSlope")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SOPClassUID")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SequenceOfUltrasoundRegions")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid>("SeriesId")
.HasColumnType("uniqueidentifier");
@ -1145,6 +1203,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<Guid>("TrialId")
.HasColumnType("uniqueidentifier");
b.Property<string>("Units")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("UpdateTime")
.HasColumnType("datetime2");
@ -1181,6 +1244,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<string>("AcquisitionDate")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("AcquisitionNumber")
.IsRequired()
.HasMaxLength(400)
@ -1270,6 +1338,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RadiopharmaceuticalInformationSequence")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SequenceName")
.IsRequired()
.HasMaxLength(400)
@ -1393,6 +1466,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceSerialNumber")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceUID")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DicomStudyDate")
.IsRequired()
.HasMaxLength(400)
@ -1423,6 +1506,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("IsFromPACS")
.HasColumnType("bit");
b.Property<string>("Manufacturer")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ManufacturerModelName")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("Modalities")
.IsRequired()
.HasMaxLength(400)
@ -1463,9 +1556,19 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PatientWeight")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("SeriesCount")
.HasColumnType("int");
b.Property<string>("SoftwareVersions")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("StudyCode")
.IsRequired()
.HasMaxLength(400)
@ -7907,15 +8010,33 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("Anonymize")
.HasColumnType("bit");
b.Property<int>("BitsAllocated")
.HasColumnType("int");
b.Property<bool>("CPIStatus")
.HasColumnType("bit");
b.Property<string>("CorrectedImage")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("CreateTime")
.HasColumnType("datetime2");
b.Property<Guid>("CreateUserId")
.HasColumnType("uniqueidentifier");
b.Property<string>("DecayCorrection")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("EncapsulatedDocument")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<long?>("FileSize")
.HasColumnType("bigint");
@ -7924,12 +8045,27 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("FrameTime")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid>("Id")
.HasColumnType("uniqueidentifier");
b.Property<int>("ImageColumns")
.HasColumnType("int");
b.Property<string>("ImageOrientationPatient")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ImagePositionPatient")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("ImageRows")
.HasColumnType("int");
@ -7965,16 +8101,41 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(1000)
.HasColumnType("nvarchar(1000)");
b.Property<string>("PhotometricInterpretation")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PixelRepresentation")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PixelSpacing")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RescaleIntercept")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RescaleSlope")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SOPClassUID")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SequenceOfUltrasoundRegions")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid>("SeriesId")
.HasColumnType("uniqueidentifier");
@ -8009,6 +8170,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("Units")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("UpdateTime")
.HasColumnType("datetime2");
@ -8121,6 +8287,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<string>("AcquisitionDate")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("AcquisitionNumber")
.IsRequired()
.HasMaxLength(400)
@ -8207,6 +8378,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RadiopharmaceuticalInformationSequence")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SequenceName")
.IsRequired()
.HasMaxLength(400)
@ -8322,6 +8498,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceSerialNumber")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceUID")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DicomStudyDate")
.IsRequired()
.HasMaxLength(400)
@ -8349,6 +8535,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("IsUploadFinished")
.HasColumnType("bit");
b.Property<string>("Manufacturer")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ManufacturerModelName")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("Modalities")
.IsRequired()
.HasMaxLength(400)
@ -8387,9 +8583,19 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PatientWeight")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("SeriesCount")
.HasColumnType("int");
b.Property<string>("SoftwareVersions")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("StudyDIRPath")
.IsRequired()
.HasMaxLength(400)
@ -10478,15 +10684,33 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("Anonymize")
.HasColumnType("bit");
b.Property<int>("BitsAllocated")
.HasColumnType("int");
b.Property<bool>("CPIStatus")
.HasColumnType("bit");
b.Property<string>("CorrectedImage")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("CreateTime")
.HasColumnType("datetime2");
b.Property<Guid>("CreateUserId")
.HasColumnType("uniqueidentifier");
b.Property<string>("DecayCorrection")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("EncapsulatedDocument")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<long?>("FileSize")
.HasColumnType("bigint");
@ -10495,6 +10719,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("FrameTime")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("HtmlPath")
.IsRequired()
.HasMaxLength(1000)
@ -10506,6 +10735,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<int>("ImageColumns")
.HasColumnType("int");
b.Property<string>("ImageOrientationPatient")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ImagePositionPatient")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("ImageRows")
.HasColumnType("int");
@ -10541,16 +10780,41 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PhotometricInterpretation")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PixelRepresentation")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PixelSpacing")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RescaleIntercept")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RescaleSlope")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SOPClassUID")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SequenceOfUltrasoundRegions")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<Guid>("SeriesId")
.HasColumnType("uniqueidentifier");
@ -10591,6 +10855,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<Guid>("TrialId")
.HasColumnType("uniqueidentifier");
b.Property<string>("Units")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<DateTime>("UpdateTime")
.HasColumnType("datetime2");
@ -10822,6 +11091,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<string>("AcquisitionDate")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("AcquisitionNumber")
.IsRequired()
.HasMaxLength(400)
@ -10908,6 +11182,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("RadiopharmaceuticalInformationSequence")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("SequenceName")
.IsRequired()
.HasMaxLength(400)
@ -11025,6 +11304,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceSerialNumber")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DeviceUID")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("DicomStudyDate")
.IsRequired()
.HasMaxLength(400)
@ -11049,6 +11338,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<bool>("IsDeleted")
.HasColumnType("bit");
b.Property<string>("Manufacturer")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ManufacturerModelName")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("Modalities")
.IsRequired()
.HasMaxLength(400)
@ -11084,9 +11383,19 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("PatientWeight")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("SeriesCount")
.HasColumnType("int");
b.Property<string>("SoftwareVersions")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("StudyCode")
.IsRequired()
.HasMaxLength(400)