Table of Contents

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 string
resourceType string
resourceId string
fhirFileFormat FhirStorageFormat
dataType DataService
dataOrigin string

Fields

FhirSubDirectoryName

public const string FhirSubDirectoryName = "ehr"

Field Value

string

JsonFilExtension

public const string JsonFilExtension = ".json"

Field Value

string

XmlFileExtension

public const string XmlFileExtension = ".xml"

Field Value

string

Properties

DataTypeDirectoryName

Gets the root directory name

[JsonIgnore]
public override string DataTypeDirectoryName { get; }

Property Value

string

File

Gets the storage object associated.

[JsonPropertyName("file")]
public override StorageObjectMetadata File { get; set; }

Property Value

StorageObjectMetadata

ResourceId

Gets or set the FHIR resource ID.

[JsonPropertyName("resourceId")]
public string ResourceId { get; set; }

Property Value

string

ResourceType

Gets or set the FHIR resource type.

[JsonPropertyName("resourceType")]
public string ResourceType { get; set; }

Property Value

string