Class BiomDNADonorType
A data type for a subject of a DNA sample
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class BiomDNADonorType : NcPersonType, IEquatable<NcPersonType>, IEquatable<BiomDNADonorType>
Properties
CategoryCode
A kind of DNA donor NIEM reference is biom:DNADonorCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<BiomDNADonorCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomDNADonorCategoryCodeType> | A kind of DNA donor NIEM reference is biom:DNADonorCategoryCode |
CollectionLocationDescription
A description of the location where the DNA donor's sample was collected NIEM reference is biom:DNADonorCollectionLocationDescriptionText
Declaration
[DataMember(Name = "collectionLocationDescription")]
public List<NcTextType> CollectionLocationDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the location where the DNA donor's sample was collected NIEM reference is biom:DNADonorCollectionLocationDescriptionText |
Context
biomDNADonorType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public BiomDNADonorType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BiomDNADonorType.ContextEnum> | biomDNADonorType JSON-LD context |
DentalRecordsAvailableCode
An indication of whether the DNA donor's dental records are available NIEM reference is biom:DNADonorDentalRecordsAvailableCode
Declaration
[DataMember(Name = "dentalRecordsAvailableCode")]
public List<BiomDNADonorDentalRecordsAvailableCodeType> DentalRecordsAvailableCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomDNADonorDentalRecordsAvailableCodeType> | An indication of whether the DNA donor's dental records are available NIEM reference is biom:DNADonorDentalRecordsAvailableCode |
LastContactDate
A date of last contact of a DNA donor NIEM reference is biom:DNADonorLastContactDate
Declaration
[DataMember(Name = "lastContactDate")]
public List<NcDateType> LastContactDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date of last contact of a DNA donor NIEM reference is biom:DNADonorLastContactDate |
StatusCode
A status of a DNA donor NIEM reference is biom:DNADonorStatusCode
Declaration
[DataMember(Name = "statusCode")]
public List<BiomDNADonorStatusCodeType> StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomDNADonorStatusCodeType> | A status of a DNA donor NIEM reference is biom:DNADonorStatusCode |
Methods
Equals(BiomDNADonorType)
Returns true if BiomDNADonorType instances are equal
Declaration
public bool Equals(BiomDNADonorType other)
Parameters
Type | Name | Description |
---|---|---|
BiomDNADonorType | other | Instance of BiomDNADonorType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(BiomDNADonorType, BiomDNADonorType)
Declaration
public static bool operator ==(BiomDNADonorType left, BiomDNADonorType right)
Parameters
Type | Name | Description |
---|---|---|
BiomDNADonorType | left | |
BiomDNADonorType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(BiomDNADonorType, BiomDNADonorType)
Declaration
public static bool operator !=(BiomDNADonorType left, BiomDNADonorType right)
Parameters
Type | Name | Description |
---|---|---|
BiomDNADonorType | left | |
BiomDNADonorType | right |
Returns
Type | Description |
---|---|
System.Boolean |