@@ -1,103 +1,82 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("项目中心 - 推送检查")]
|
||||
[Table("SCPStudy")]
|
||||
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
[Table("SCPStudy")]
|
||||
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||
{
|
||||
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
public List<SCPInstance> InstanceList { get; set; }
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
public List<SCPInstance> InstanceList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<SCPSeries> SeriesList { get; set; }
|
||||
[JsonIgnore]
|
||||
public SubjectVisit SubjectVisit { get; set; }
|
||||
[JsonIgnore]
|
||||
public List<SCPSeries> SeriesList { get; set; }
|
||||
[JsonIgnore]
|
||||
public SubjectVisit SubjectVisit { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public Trial Trial { get; set; }
|
||||
[JsonIgnore]
|
||||
public Trial Trial { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public TrialSite TrialSite { get; set; }
|
||||
[JsonIgnore]
|
||||
public TrialSite TrialSite { get; set; }
|
||||
|
||||
[ForeignKey("PatientId")]
|
||||
[JsonIgnore]
|
||||
public SCPPatient Patient { get; set; }
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
public string AccessionNumber { get; set; } = null!;
|
||||
|
||||
public string AcquisitionNumber { get; set; } = null!;
|
||||
//0 未知 1 单重 2 双重
|
||||
public bool IsDoubleReview { get; set; }
|
||||
|
||||
public string AcquisitionTime { get; set; } = null!;
|
||||
public Guid SeqId { get; set; }
|
||||
|
||||
[StringLength(512)]
|
||||
public string BodyPartExamined { get; set; } = null!;
|
||||
[ForeignKey("PatientId")]
|
||||
[JsonIgnore]
|
||||
public SCPPatient Patient { get; set; }
|
||||
public Guid PatientId { get; set; }
|
||||
|
||||
public string BodyPartForEdit { get; set; } = null!;
|
||||
public string StudyInstanceUid { get; set; } = string.Empty;
|
||||
public DateTime? StudyTime { get; set; }
|
||||
public string Modalities { get; set; } = string.Empty;
|
||||
|
||||
public string CalledAE { get; set; } = null!;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public int SeriesCount { get; set; } = 0;
|
||||
public int InstanceCount { get; set; } = 0;
|
||||
|
||||
public string CallingAE { get; set; } = null!;
|
||||
|
||||
[StringLength(1000)]
|
||||
public string Description { get; set; } = null!;
|
||||
public string InstitutionName { get; set; } = string.Empty;
|
||||
public string PatientIdStr { get; set; } = string.Empty;
|
||||
public string PatientName { get; set; } = string.Empty;
|
||||
public string PatientAge { get; set; } = string.Empty;
|
||||
public string PatientSex { get; set; } = string.Empty;
|
||||
|
||||
public int InstanceCount { get; set; }
|
||||
public string StudyId { get; set; } = string.Empty;
|
||||
public string AccessionNumber { get; set; } = string.Empty;
|
||||
public string PatientBirthDate { get; set; } = string.Empty;
|
||||
public string AcquisitionTime { get; set; } = string.Empty;
|
||||
public string AcquisitionNumber { get; set; } = string.Empty;
|
||||
public string TriggerTime { get; set; } = string.Empty;
|
||||
|
||||
public string InstitutionName { get; set; } = null!;
|
||||
public string BodyPartExamined { get; set; } = string.Empty;
|
||||
|
||||
public bool IsDoubleReview { get; set; }
|
||||
public string BodyPartForEdit { get; set; } = string.Empty;
|
||||
|
||||
public bool IsUploadFinished { get; set; }
|
||||
public string ModalityForEdit { get; set; } = string.Empty;
|
||||
|
||||
public string Modalities { get; set; } = null!;
|
||||
|
||||
public string ModalityForEdit { get; set; } = null!;
|
||||
|
||||
public string PatientAge { get; set; } = null!;
|
||||
public string CallingAE { get; set; } = string.Empty;
|
||||
|
||||
public string PatientBirthDate { get; set; } = null!;
|
||||
public string CalledAE { get; set; } = string.Empty;
|
||||
|
||||
public Guid PatientId { get; set; }
|
||||
public bool IsUploadFinished { get; set; }
|
||||
|
||||
public string PatientIdStr { get; set; } = null!;
|
||||
|
||||
public string PatientName { get; set; } = null!;
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid TrialSiteId { get; set; }
|
||||
|
||||
public string PatientSex { get; set; } = null!;
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
|
||||
[Comment(" 序列Id 避免内存移动")]
|
||||
public Guid SeqId { get; set; }
|
||||
|
||||
public int SeriesCount { get; set; }
|
||||
|
||||
[Comment(" DicomTag.StudyID")]
|
||||
public string StudyId { get; set; } = null!;
|
||||
|
||||
[StringLength(500)]
|
||||
public string StudyInstanceUid { get; set; } = null!;
|
||||
|
||||
public DateTime? StudyTime { get; set; }
|
||||
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid TrialSiteId { get; set; }
|
||||
|
||||
public string TriggerTime { get; set; } = null!;
|
||||
|
||||
[Comment(" 上传时间")]
|
||||
public DateTime? UploadedTime { get; set; }
|
||||
|
||||
public string Uploader { get; set; } = null!;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user