Class JInvoluntaryMedicationActionType
A data type for a set of details about actions or events involving involuntary medication of a subject.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JInvoluntaryMedicationActionType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JInvoluntaryMedicationActionType>
Properties
Context
jInvoluntaryMedicationActionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JInvoluntaryMedicationActionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JInvoluntaryMedicationActionType.ContextEnum> | jInvoluntaryMedicationActionType JSON-LD context |
EndDate
A date when a schedule of involuntary medication for a subject will end. NIEM reference is j:InvoluntaryMedicationActionEndDate
Declaration
[DataMember(Name = "endDate")]
public List<NcDateType> EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date when a schedule of involuntary medication for a subject will end. NIEM reference is j:InvoluntaryMedicationActionEndDate |
IsEvidenceIncluded
True if evidence included additional documents; false otherwise. NIEM reference is j:InvoluntaryMedicationActionEvidenceIncludedIndicator
Declaration
[DataMember(Name = "isEvidenceIncluded")]
public List<NiemXsboolean> IsEvidenceIncluded { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if evidence included additional documents; false otherwise. NIEM reference is j:InvoluntaryMedicationActionEvidenceIncludedIndicator |
MedicationReason
A kind of reason a subject was placed on involuntary medication. NIEM reference is j:InvoluntaryMedicationActionMedicationReasonText
Declaration
[DataMember(Name = "medicationReason")]
public List<NcTextType> MedicationReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of reason a subject was placed on involuntary medication. NIEM reference is j:InvoluntaryMedicationActionMedicationReasonText |
Methods
Equals(JInvoluntaryMedicationActionType)
Returns true if JInvoluntaryMedicationActionType instances are equal
Declaration
public bool Equals(JInvoluntaryMedicationActionType other)
Parameters
Type | Name | Description |
---|---|---|
JInvoluntaryMedicationActionType | other | Instance of JInvoluntaryMedicationActionType 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(JInvoluntaryMedicationActionType, JInvoluntaryMedicationActionType)
Declaration
public static bool operator ==(JInvoluntaryMedicationActionType left, JInvoluntaryMedicationActionType right)
Parameters
Type | Name | Description |
---|---|---|
JInvoluntaryMedicationActionType | left | |
JInvoluntaryMedicationActionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JInvoluntaryMedicationActionType, JInvoluntaryMedicationActionType)
Declaration
public static bool operator !=(JInvoluntaryMedicationActionType left, JInvoluntaryMedicationActionType right)
Parameters
Type | Name | Description |
---|---|---|
JInvoluntaryMedicationActionType | left | |
JInvoluntaryMedicationActionType | right |
Returns
Type | Description |
---|---|
System.Boolean |