132 lines
2.9 KiB
C#
132 lines
2.9 KiB
C#
namespace IRaCIS.Core.Domain.Models;
|
|
|
|
[Comment("归档 - Instance表")]
|
|
[Table("DicomInstance")]
|
|
public class DicomInstance : BaseFullDeleteAuditEntity, IEntitySeqId
|
|
{
|
|
#region 导航属性
|
|
[JsonIgnore]
|
|
[ForeignKey("SeriesId")]
|
|
public DicomSeries DicomSerie { get; set; }
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("StudyId")]
|
|
public DicomStudy DicomStudy { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public List<ReadingTableAnswerRowInfo> ReadingTableAnswerRowInfoList { get; set; }
|
|
#endregion
|
|
|
|
public bool Anonymize { get; set; }
|
|
|
|
public bool CPIStatus { get; set; }
|
|
|
|
public long? FileSize { get; set; }
|
|
|
|
public string FrameOfReferenceUID { get; set; } = null!;
|
|
|
|
[StringLength(1000)]
|
|
public string HtmlPath { get; set; } = null!;
|
|
|
|
public int ImageColumns { get; set; }
|
|
|
|
public int ImageRows { get; set; }
|
|
|
|
|
|
public string ImagerPixelSpacing { get; set; } = null!;
|
|
|
|
public int InstanceNumber { get; set; }
|
|
|
|
public DateTime? InstanceTime { get; set; }
|
|
|
|
public int NumberOfFrames { get; set; }
|
|
|
|
[StringLength(1000)]
|
|
public string Path { get; set; } = null!;
|
|
|
|
|
|
public string PixelSpacing { get; set; } = null!;
|
|
|
|
public Guid SeqId { get; set; }
|
|
|
|
public Guid SeriesId { get; set; }
|
|
|
|
public string SeriesInstanceUid { get; set; } = null!;
|
|
|
|
public int SliceLocation { get; set; }
|
|
|
|
|
|
public string SliceThickness { get; set; } = null!;
|
|
|
|
public string SopInstanceUid { get; set; } = null!;
|
|
|
|
public Guid StudyId { get; set; }
|
|
|
|
public string StudyInstanceUid { get; set; } = null!;
|
|
|
|
public Guid SubjectId { get; set; }
|
|
|
|
public Guid SubjectVisitId { get; set; }
|
|
|
|
public Guid TrialId { get; set; }
|
|
|
|
|
|
public string WindowCenter { get; set; } = null!;
|
|
|
|
|
|
public string WindowWidth { get; set; } = null!;
|
|
|
|
public bool IsReading { get; set; } = true;
|
|
|
|
|
|
|
|
#region DIR 增加
|
|
|
|
public string SOPClassUID { get; set; }
|
|
|
|
public string MediaStorageSOPClassUID { get; set; }
|
|
|
|
public string TransferSytaxUID { get; set; }
|
|
|
|
public string MediaStorageSOPInstanceUID { get; set; }
|
|
|
|
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
|
|
}
|