Class HsHealthDetailsType
A data type for the details about a person's mental health, substance abuse, medical health and medications.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class HsHealthDetailsType : IEquatable<HsHealthDetailsType>
Properties
Context
hsHealthDetailsType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public HsHealthDetailsType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<HsHealthDetailsType.ContextEnum> | hsHealthDetailsType JSON-LD context |
Medical
A person's medical health details. NIEM reference is hs:MedicalHealthDetails
Declaration
[DataMember(Name = "medical")]
public List<HsMedicalHealthDetailsType> Medical { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsMedicalHealthDetailsType> | A person's medical health details. NIEM reference is hs:MedicalHealthDetails |
MedicationUse
A set of details about medication use for an individual. NIEM reference is hs:MedicationUse
Declaration
[DataMember(Name = "medicationUse")]
public List<HsMedicationUseType> MedicationUse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsMedicationUseType> | A set of details about medication use for an individual. NIEM reference is hs:MedicationUse |
Mental
An element that contains information about a person's mental health including social history and psychosocial information. NIEM reference is hs:MentalHealthDetails
Declaration
[DataMember(Name = "mental")]
public List<HsMentalHealthDetailsType> Mental { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsMentalHealthDetailsType> | An element that contains information about a person's mental health including social history and psychosocial information. NIEM reference is hs:MentalHealthDetails |
Prescription
A set of written instructions from a physician or dentist to a druggist concerning the form and dosage of a drug to be issued to a given patient NIEM reference is hs:Prescription
Declaration
[DataMember(Name = "prescription")]
public List<HsPrescriptionType> Prescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsPrescriptionType> | A set of written instructions from a physician or dentist to a druggist concerning the form and dosage of a drug to be issued to a given patient NIEM reference is hs:Prescription |
SubstanceAbuseDetails
A set of details about a person's substance abuse. NIEM reference is hs:SubstanceAbuseDetails
Declaration
[DataMember(Name = "substanceAbuseDetails")]
public List<HsSubstanceAbuseDetailsType> SubstanceAbuseDetails { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsSubstanceAbuseDetailsType> | A set of details about a person's substance abuse. NIEM reference is hs:SubstanceAbuseDetails |
Methods
Equals(HsHealthDetailsType)
Returns true if HsHealthDetailsType instances are equal
Declaration
public bool Equals(HsHealthDetailsType other)
Parameters
Type | Name | Description |
---|---|---|
HsHealthDetailsType | other | Instance of HsHealthDetailsType 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(HsHealthDetailsType, HsHealthDetailsType)
Declaration
public static bool operator ==(HsHealthDetailsType left, HsHealthDetailsType right)
Parameters
Type | Name | Description |
---|---|---|
HsHealthDetailsType | left | |
HsHealthDetailsType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(HsHealthDetailsType, HsHealthDetailsType)
Declaration
public static bool operator !=(HsHealthDetailsType left, HsHealthDetailsType right)
Parameters
Type | Name | Description |
---|---|---|
HsHealthDetailsType | left | |
HsHealthDetailsType | right |
Returns
Type | Description |
---|---|
System.Boolean |