Class NcInjuryType
A data type for a form of harm or damage sustained by a person.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcInjuryType : IEquatable<NcInjuryType>
Properties
Augmentation
Additional information about a Injury. NIEM reference is j:InjuryAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<JInjuryAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JInjuryAugmentationType> | Additional information about a Injury. NIEM reference is j:InjuryAugmentation |
Category
A kind of bodily harm or injury. NIEM reference is nc:InjuryCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of bodily harm or injury. NIEM reference is nc:InjuryCategoryText |
CategoryCode
A general category of harm or injury. NIEM reference is j:InjuryCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<UcrInjuryCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrInjuryCategoryCodeType> | A general category of harm or injury. NIEM reference is j:InjuryCategoryCode |
CategoryNdExCode
A bodily injury suffered by a victim. NIEM reference is j:InjuryCategoryNDExCode
Declaration
[DataMember(Name = "categoryNdExCode")]
public List<NdexInjuryCategoryCodeType> CategoryNdExCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexInjuryCategoryCodeType> | A bodily injury suffered by a victim. NIEM reference is j:InjuryCategoryNDExCode |
CauserForce
A causer of an injury. NIEM reference is j:InjuryCauserForce
Declaration
[DataMember(Name = "causerForce")]
public List<JForceType> CauserForce { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JForceType> | A causer of an injury. NIEM reference is j:InjuryCauserForce |
CauserPerson
A person who caused an injury. NIEM reference is nc:InjuryCauserPerson
Declaration
[DataMember(Name = "causerPerson")]
public List<NcPersonType> CauserPerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person who caused an injury. NIEM reference is nc:InjuryCauserPerson |
Context
ncInjuryType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcInjuryType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcInjuryType.ContextEnum> | ncInjuryType JSON-LD context |
Date
A date on which an injury occurred. NIEM reference is nc:InjuryDate
Declaration
[DataMember(Name = "date")]
public List<NcDateType> Date { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date on which an injury occurred. NIEM reference is nc:InjuryDate |
Description
A description of an injury. NIEM reference is nc:InjuryDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of an injury. NIEM reference is nc:InjuryDescriptionText |
Location
A place on the body of a person where an injury occurred. NIEM reference is nc:InjuryLocationText
Declaration
[DataMember(Name = "location")]
public List<NcTextType> Location { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A place on the body of a person where an injury occurred. NIEM reference is nc:InjuryLocationText |
LocationCode
A primary or most obvious area of the persons body injured during the crash. NIEM reference is j:InjuryLocationCode
Declaration
[DataMember(Name = "locationCode")]
public List<MmuccPersonInjuryLocationCodeType> LocationCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MmuccPersonInjuryLocationCodeType> | A primary or most obvious area of the persons body injured during the crash. NIEM reference is j:InjuryLocationCode |
LocationNdexCode
A location of the victim's injury. NIEM reference is j:InjuryLocationNDEXCode
Declaration
[DataMember(Name = "locationNdexCode")]
public List<NdexInjuryLocationCodeType> LocationNdexCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexInjuryLocationCodeType> | A location of the victim's injury. NIEM reference is j:InjuryLocationNDEXCode |
Severity
A degree of the seriousness or intensity of an injury. NIEM reference is nc:InjurySeverityText
Declaration
[DataMember(Name = "severity")]
public List<NcTextType> Severity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A degree of the seriousness or intensity of an injury. NIEM reference is nc:InjurySeverityText |
SeverityCode
A severity of an injury received by a person involved into a Traffic Accident. NIEM reference is j:InjurySeverityCode
Declaration
[DataMember(Name = "severityCode")]
public List<AamvaD20AccidentSeverityCodeType> SeverityCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20AccidentSeverityCodeType> | A severity of an injury received by a person involved into a Traffic Accident. NIEM reference is j:InjurySeverityCode |
Sustainer
A person who receives or sustains an injury. NIEM reference is nc:InjurySustainer
Declaration
[DataMember(Name = "sustainer")]
public List<NcPersonType> Sustainer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person who receives or sustains an injury. NIEM reference is nc:InjurySustainer |
Methods
Equals(NcInjuryType)
Returns true if NcInjuryType instances are equal
Declaration
public bool Equals(NcInjuryType other)
Parameters
Type | Name | Description |
---|---|---|
NcInjuryType | other | Instance of NcInjuryType 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(NcInjuryType, NcInjuryType)
Declaration
public static bool operator ==(NcInjuryType left, NcInjuryType right)
Parameters
Type | Name | Description |
---|---|---|
NcInjuryType | left | |
NcInjuryType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcInjuryType, NcInjuryType)
Declaration
public static bool operator !=(NcInjuryType left, NcInjuryType right)
Parameters
Type | Name | Description |
---|---|---|
NcInjuryType | left | |
NcInjuryType | right |
Returns
Type | Description |
---|---|
System.Boolean |