Class JAlcoholUseAssessmentType
A data type for an assessment specific to a subject's alcohol use.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JAlcoholUseAssessmentType : NcAssessmentType, IEquatable<NcActivityType>, IEquatable<NcAssessmentType>, IEquatable<JAlcoholUseAssessmentType>
Properties
AlcoholAbuseFirstAgeUsedNumeric
A number of the recorded age a subject reported first using alcohol. NIEM reference is j:AlcoholUseAssessmentAlcoholAbuseFirstAgeUsedNumeric
Declaration
[DataMember(Name = "alcoholAbuseFirstAgeUsedNumeric")]
public List<NcNumericType> AlcoholAbuseFirstAgeUsedNumeric { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcNumericType> | A number of the recorded age a subject reported first using alcohol. NIEM reference is j:AlcoholUseAssessmentAlcoholAbuseFirstAgeUsedNumeric |
AlcoholAbuseLengthOfTreatmentNumeric
A number of the length of an alcohol treatment program. NIEM reference is j:AlcoholUseAssessmentAlcoholAbuseLengthOfTreatmentNumeric
Declaration
[DataMember(Name = "alcoholAbuseLengthOfTreatmentNumeric")]
public List<NcNumericType> AlcoholAbuseLengthOfTreatmentNumeric { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcNumericType> | A number of the length of an alcohol treatment program. NIEM reference is j:AlcoholUseAssessmentAlcoholAbuseLengthOfTreatmentNumeric |
AlcoholAbuseMaximumDurationAbstainedNumeric
A number indicating the longest period of time subject reported abstaining from alcohol use. NIEM reference is j:AlcoholUseAssessmentAlcoholAbuseMaximumDurationAbstainedNumeric
Declaration
[DataMember(Name = "alcoholAbuseMaximumDurationAbstainedNumeric")]
public List<NcNumericType> AlcoholAbuseMaximumDurationAbstainedNumeric { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcNumericType> | A number indicating the longest period of time subject reported abstaining from alcohol use. NIEM reference is j:AlcoholUseAssessmentAlcoholAbuseMaximumDurationAbstainedNumeric |
AlcoholConsumptionFrequency
A comment on the frequency a subject reported consuming alcohol. NIEM reference is j:AlcoholUseAssessmentAlcoholConsumptionFrequencyText
Declaration
[DataMember(Name = "alcoholConsumptionFrequency")]
public List<NcTextType> AlcoholConsumptionFrequency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment on the frequency a subject reported consuming alcohol. NIEM reference is j:AlcoholUseAssessmentAlcoholConsumptionFrequencyText |
AlcoholUseConsumptionQuantity
A number of the quantity of alcohol the subject reported consuming. NIEM reference is j:AlcoholUseAssessmentAlcoholUseConsumptionQuantity
Declaration
[DataMember(Name = "alcoholUseConsumptionQuantity")]
public List<NcQuantityType> AlcoholUseConsumptionQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of the quantity of alcohol the subject reported consuming. NIEM reference is j:AlcoholUseAssessmentAlcoholUseConsumptionQuantity |
Comment
A comment about the subject's use of alcohol. NIEM reference is j:AlcoholUseAssessmentComment
Declaration
[DataMember(Name = "comment")]
public List<NcCommentType> Comment { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCommentType> | A comment about the subject's use of alcohol. NIEM reference is j:AlcoholUseAssessmentComment |
Context
jAlcoholUseAssessmentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JAlcoholUseAssessmentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JAlcoholUseAssessmentType.ContextEnum> | jAlcoholUseAssessmentType JSON-LD context |
Summary
A summary on the alcohol use of a subject. NIEM reference is j:AlcoholUseAssessmentSummaryText
Declaration
[DataMember(Name = "summary")]
public List<NcTextType> Summary { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A summary on the alcohol use of a subject. NIEM reference is j:AlcoholUseAssessmentSummaryText |
Methods
Equals(JAlcoholUseAssessmentType)
Returns true if JAlcoholUseAssessmentType instances are equal
Declaration
public bool Equals(JAlcoholUseAssessmentType other)
Parameters
Type | Name | Description |
---|---|---|
JAlcoholUseAssessmentType | other | Instance of JAlcoholUseAssessmentType 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(JAlcoholUseAssessmentType, JAlcoholUseAssessmentType)
Declaration
public static bool operator ==(JAlcoholUseAssessmentType left, JAlcoholUseAssessmentType right)
Parameters
Type | Name | Description |
---|---|---|
JAlcoholUseAssessmentType | left | |
JAlcoholUseAssessmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JAlcoholUseAssessmentType, JAlcoholUseAssessmentType)
Declaration
public static bool operator !=(JAlcoholUseAssessmentType left, JAlcoholUseAssessmentType right)
Parameters
Type | Name | Description |
---|---|---|
JAlcoholUseAssessmentType | left | |
JAlcoholUseAssessmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |