Class ConfidentialityProfile
Namespace: Aspose.Medical.Dicom.Anonymization
Assembly: Aspose.Medical.dll (25.11.0)
Describes a Confidentiality Profile that controls the anonymization process. It allows for specifying which data should be anonymized and how it should be modified. See https://dicom.nema.org/medical/dicom/current/output/chtml/part15/chapter_E.html .
public sealed class ConfidentialityProfile : Dictionary<regex, confidentialityprofileactions="">, IDictionary<regex, confidentialityprofileactions="">, ICollection<keyvaluepair<regex, confidentialityprofileactions="">>, IDictionary, ICollection, IReadOnlyDictionary<regex, confidentialityprofileactions="">, IReadOnlyCollection<keyvaluepair<regex, confidentialityprofileactions="">>, IEnumerable<keyvaluepair<regex, confidentialityprofileactions="">>, IEnumerable, ISerializable, IDeserializationCallbackInheritance
object ← Dictionary<regex, confidentialityprofileactions=""> ← ConfidentialityProfile
Implements
IDictionary<regex, confidentialityprofileactions=""> , ICollection<keyvaluepair<regex, confidentialityprofileactions="">> , IDictionary , ICollection , IReadOnlyDictionary<regex, confidentialityprofileactions=""> , IReadOnlyCollection<keyvaluepair<regex, confidentialityprofileactions="">> , IEnumerable<keyvaluepair<regex, confidentialityprofileactions="">> , IEnumerable , ISerializable , IDeserializationCallback
Inherited Members
Dictionary<regex, confidentialityprofileactions="">.Add(Regex, ConfidentialityProfileActions) , Dictionary<regex, confidentialityprofileactions="">.Clear() , Dictionary<regex, confidentialityprofileactions="">.ContainsKey(Regex) , Dictionary<regex, confidentialityprofileactions="">.ContainsValue(ConfidentialityProfileActions) , Dictionary<regex, confidentialityprofileactions="">.GetEnumerator() , Dictionary<regex, confidentialityprofileactions="">.OnDeserialization(object?) , Dictionary<regex, confidentialityprofileactions="">.Remove(Regex) , Dictionary<regex, confidentialityprofileactions="">.Remove(Regex, out ConfidentialityProfileActions) , Dictionary<regex, confidentialityprofileactions="">.TryGetValue(Regex, out ConfidentialityProfileActions) , Dictionary<regex, confidentialityprofileactions="">.TryAdd(Regex, ConfidentialityProfileActions) , Dictionary<regex, confidentialityprofileactions="">.EnsureCapacity(int) , Dictionary<regex, confidentialityprofileactions="">.TrimExcess() , Dictionary<regex, confidentialityprofileactions="">.TrimExcess(int) , Dictionary<regex, confidentialityprofileactions="">.Comparer , Dictionary<regex, confidentialityprofileactions="">.Count , Dictionary<regex, confidentialityprofileactions="">.Keys , Dictionary<regex, confidentialityprofileactions="">.Values , Dictionary<regex, confidentialityprofileactions="">.this[Regex] , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ConfidentialityProfile()
public ConfidentialityProfile()Properties
PatientId
Optional. Replacement patient ID.
public string? PatientId { get; set; }Property Value
string ?
PatientName
Optional. Replacement patient name (random or alias).
public string? PatientName { get; set; }Property Value
string ?
Methods
CreateDefault(ConfidentialityProfileOptions)
Creates default Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile for the given options
with instructions specified in
https://dicom.nema.org/medical/dicom/current/output/chtml/part15/chapter_E.html#table_E.1-1
.
public static ConfidentialityProfile CreateDefault(ConfidentialityProfileOptions options)Parameters
options ConfidentialityProfileOptions
Options that specifies requested confidentiality profiles to be created.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromCsv(TextReader, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
source.
public static ConfidentialityProfile LoadFromCsv(TextReader source, ConfidentialityProfileOptions options)Parameters
source TextReader
Text reader with the loaded Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromCsvFile(string, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
filePath.
public static ConfidentialityProfile LoadFromCsvFile(string filePath, ConfidentialityProfileOptions options)Parameters
filePath string
CSV file with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromCsvString(string, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
csvString.
public static ConfidentialityProfile LoadFromCsvString(string csvString, ConfidentialityProfileOptions options)Parameters
csvString string
CSV string with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromJsonFile(string, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
filePath.
public static ConfidentialityProfile LoadFromJsonFile(string filePath, ConfidentialityProfileOptions options)Parameters
filePath string
JSON file with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromJsonStream(Stream, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
stream.
public static ConfidentialityProfile LoadFromJsonStream(Stream stream, ConfidentialityProfileOptions options)Parameters
stream Stream
JSON stream with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromJsonString(string, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
jsonString.
public static ConfidentialityProfile LoadFromJsonString(string jsonString, ConfidentialityProfileOptions options)Parameters
jsonString string
JSON string with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromXmlFile(string, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
filePath.
public static ConfidentialityProfile LoadFromXmlFile(string filePath, ConfidentialityProfileOptions options)Parameters
filePath string
XML file with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromXmlStream(Stream, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
stream.
public static ConfidentialityProfile LoadFromXmlStream(Stream stream, ConfidentialityProfileOptions options)Parameters
stream Stream
XML stream with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile.
LoadFromXmlString(string, ConfidentialityProfileOptions)
Creates Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile based on the configuration specified in the given
xmlString.
public static ConfidentialityProfile LoadFromXmlString(string xmlString, ConfidentialityProfileOptions options)Parameters
xmlString string
XML string with the Confidentiality Profile configuration.
options ConfidentialityProfileOptions
Specifies what profiles have to be used.
Returns
The Aspose.Medical.Dicom.Anonymization.ConfidentialityProfile. </regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></regex,></keyvaluepair<regex,></keyvaluepair<regex,></regex,></keyvaluepair<regex,></regex,></regex,></keyvaluepair<regex,></keyvaluepair<regex,></regex,></keyvaluepair<regex,></regex,></regex,>