Class FhirFileStorageMetadata
- Namespace
- Monai.Deploy.InformaticsGateway.Api.Storage
- Assembly
- Monai.Deploy.InformaticsGateway.Api.dll
Provides basic information for a FHIR resource and storage hierarchy/path.
public sealed record FhirFileStorageMetadata : FileStorageMetadata, IEquatable<FileStorageMetadata>, IEquatable<FhirFileStorageMetadata>
- Inheritance
-
FhirFileStorageMetadata
- Implements
- Inherited Members
Constructors
FhirFileStorageMetadata()
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 FhirFileStorageMetadata()
FhirFileStorageMetadata(string, string, string, FhirStorageFormat, DataService, string)
public FhirFileStorageMetadata(string transactionId, string resourceType, string resourceId, FhirStorageFormat fhirFileFormat, DataService dataType, string dataOrigin)
Parameters
transactionId
stringresourceType
stringresourceId
stringfhirFileFormat
FhirStorageFormatdataType
DataServicedataOrigin
string
Fields
FhirSubDirectoryName
public const string FhirSubDirectoryName = "ehr"
Field Value
JsonFilExtension
public const string JsonFilExtension = ".json"
Field Value
XmlFileExtension
public const string XmlFileExtension = ".xml"
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
ResourceId
Gets or set the FHIR resource ID.
[JsonPropertyName("resourceId")]
public string ResourceId { get; set; }
Property Value
ResourceType
Gets or set the FHIR resource type.
[JsonPropertyName("resourceType")]
public string ResourceType { get; set; }