Class JTestResultType
A data type for a calculation or score of a test.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JTestResultType : IEquatable<JTestResultType>
Properties
Category
A kind of test outcome. NIEM reference is j:TestResultCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of test outcome. NIEM reference is j:TestResultCategoryText |
Context
jTestResultType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JTestResultType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JTestResultType.ContextEnum> | jTestResultType JSON-LD context |
Measure
A measurement for a calculation or score of a test. NIEM reference is j:TestResultMeasure
Declaration
[DataMember(Name = "measure")]
public List<NcMeasureType> Measure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcMeasureType> | A measurement for a calculation or score of a test. NIEM reference is j:TestResultMeasure |
TestMonitorEntity
An individual who monitored the test. NIEM reference is j:TestMonitorEntity
Declaration
[DataMember(Name = "testMonitorEntity")]
public List<NcEntityType> TestMonitorEntity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An individual who monitored the test. NIEM reference is j:TestMonitorEntity |
TestSpecimenId
A unique identifier of a test specimen. NIEM reference is j:TestSpecimenID
Declaration
[DataMember(Name = "testSpecimenId")]
public List<NiemXsstring> TestSpecimenId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | A unique identifier of a test specimen. NIEM reference is j:TestSpecimenID |
Text
A test results. NIEM reference is j:TestResultText
Declaration
[DataMember(Name = "text")]
public List<NcTextType> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A test results. NIEM reference is j:TestResultText |
Methods
Equals(JTestResultType)
Returns true if JTestResultType instances are equal
Declaration
public bool Equals(JTestResultType other)
Parameters
Type | Name | Description |
---|---|---|
JTestResultType | other | Instance of JTestResultType 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(JTestResultType, JTestResultType)
Declaration
public static bool operator ==(JTestResultType left, JTestResultType right)
Parameters
Type | Name | Description |
---|---|---|
JTestResultType | left | |
JTestResultType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JTestResultType, JTestResultType)
Declaration
public static bool operator !=(JTestResultType left, JTestResultType right)
Parameters
Type | Name | Description |
---|---|---|
JTestResultType | left | |
JTestResultType | right |
Returns
Type | Description |
---|---|
System.Boolean |