Class DicomFileStorageMetadata
- Namespace
- Monai.Deploy.InformaticsGateway.Api.Storage
- Assembly
- Monai.Deploy.InformaticsGateway.Api.dll
Provides basic information for a DICOM instance and storage hierarchy/path.
public sealed record DicomFileStorageMetadata : FileStorageMetadata, IEquatable<FileStorageMetadata>, IEquatable<DicomFileStorageMetadata>
- Inheritance
-
DicomFileStorageMetadata
- Implements
- Inherited Members
Constructors
DicomFileStorageMetadata()
DO NOT USE This constructor is intended for JSON serializer. Due to limitation in current version of .NET, the constructor must be public. https://github.com/dotnet/runtime/issues/31511
[JsonConstructor]
public DicomFileStorageMetadata()
DicomFileStorageMetadata(string, string, string, string, string, DataService, string, string)
public DicomFileStorageMetadata(string associationId, string identifier, string studyInstanceUid, string seriesInstanceUid, string sopInstanceUid, DataService dataService, string callingAeTitle, string calledAeTitle)
Parameters
associationId
stringidentifier
stringstudyInstanceUid
stringseriesInstanceUid
stringsopInstanceUid
stringdataService
DataServicecallingAeTitle
stringcalledAeTitle
string
Fields
DicomContentType
public static readonly string DicomContentType
Field Value
DicomJsonContentType
public static readonly string DicomJsonContentType
Field Value
DicomJsonFileExtension
public static readonly string DicomJsonFileExtension
Field Value
DicomSubDirectoryName
public static readonly string DicomSubDirectoryName
Field Value
FileExtension
public static readonly string FileExtension
Field Value
Properties
DataTypeDirectoryName
Gets the root directory name
[JsonIgnore]
public override string DataTypeDirectoryName { get; }
Property Value
File
Gets the storage object associated.
[JsonPropertyName("file")]
public override StorageObjectMetadata File { get; set; }
Property Value
IsMoveCompleted
[JsonIgnore]
public override bool IsMoveCompleted { get; }
Property Value
IsUploadFailed
[JsonIgnore]
public override bool IsUploadFailed { get; }
Property Value
IsUploaded
[JsonIgnore]
public override bool IsUploaded { get; }
Property Value
JsonFile
Gets the storage object metadata for the JSON file associated with the DICOM instance.
[JsonPropertyName("jsonFile")]
public StorageObjectMetadata JsonFile { get; set; }
Property Value
SeriesInstanceUid
Gets or set the Series Instance UID of the DICOM instance.
[JsonPropertyName("seriesInstanceUid")]
public string SeriesInstanceUid { get; init; }
Property Value
SopInstanceUid
Gets or set the SOP Instance UID of the DICOM instance.
[JsonPropertyName("sopInstanceUid")]
public string SopInstanceUid { get; init; }
Property Value
StudyInstanceUid
Gets or set the Study Instance UID of the DICOM instance.
[JsonPropertyName("studyInstanceUid")]
public string StudyInstanceUid { get; set; }
Property Value
Methods
SetFailed()
public override void SetFailed()
SetStudyInstanceUid(string)
public void SetStudyInstanceUid(string newStudyInstanceUid)
Parameters
newStudyInstanceUid
string
SetupGivenFilePaths(string?)
public void SetupGivenFilePaths(string? DestinationFolder)
Parameters
DestinationFolder
string