Class NcTreatmentType
A data type for a treatment of a person for a mental or physical condition.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcTreatmentType : NcActivityType, IEquatable<NcActivityType>, IEquatable<NcTreatmentType>
Properties
Context
ncTreatmentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcTreatmentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcTreatmentType.ContextEnum> | ncTreatmentType JSON-LD context |
HsAugmentation
Additional information about a treatment. NIEM reference is hs:TreatmentAugmentation
Declaration
[DataMember(Name = "hsAugmentation")]
public List<HsTreatmentAugmentationType> HsAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsTreatmentAugmentationType> | Additional information about a treatment. NIEM reference is hs:TreatmentAugmentation |
JAugmentation
Additional information about a treatment. NIEM reference is j:TreatmentAugmentation
Declaration
[DataMember(Name = "jAugmentation")]
public List<JTreatmentAugmentationType> JAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JTreatmentAugmentationType> | Additional information about a treatment. NIEM reference is j:TreatmentAugmentation |
Person
A human being. NIEM reference is nc:Person
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A human being. NIEM reference is nc:Person |
Provider
An entity that provides a treatment. NIEM reference is nc:TreatmentProvider
Declaration
[DataMember(Name = "provider")]
public List<NcEntityType> Provider { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity that provides a treatment. NIEM reference is nc:TreatmentProvider |
Text
A treatment that was provided or could be provisioned. NIEM reference is nc:TreatmentText
Declaration
[DataMember(Name = "text")]
public List<NcTextType> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A treatment that was provided or could be provisioned. NIEM reference is nc:TreatmentText |
Methods
Equals(NcTreatmentType)
Returns true if NcTreatmentType instances are equal
Declaration
public bool Equals(NcTreatmentType other)
Parameters
Type | Name | Description |
---|---|---|
NcTreatmentType | other | Instance of NcTreatmentType 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(NcTreatmentType, NcTreatmentType)
Declaration
public static bool operator ==(NcTreatmentType left, NcTreatmentType right)
Parameters
Type | Name | Description |
---|---|---|
NcTreatmentType | left | |
NcTreatmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcTreatmentType, NcTreatmentType)
Declaration
public static bool operator !=(NcTreatmentType left, NcTreatmentType right)
Parameters
Type | Name | Description |
---|---|---|
NcTreatmentType | left | |
NcTreatmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |