Class HsMedicationUseType
A data type for recording medication use for an individual.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class HsMedicationUseType : NcActivityType, IEquatable<NcActivityType>, IEquatable<HsMedicationUseType>
Properties
Context
hsMedicationUseType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public HsMedicationUseType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<HsMedicationUseType.ContextEnum> | hsMedicationUseType JSON-LD context |
Dispenser
A pharmacy or pharmacist who filled the prescription. NIEM reference is hs:Dispenser
Declaration
[DataMember(Name = "dispenser")]
public List<NcEntityType> Dispenser { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | A pharmacy or pharmacist who filled the prescription. NIEM reference is hs:Dispenser |
Frequency
A frequency of medication use, e.g. daily with food, as needed for discomfort, not more than every 8 hours, etc. NIEM reference is hs:MedicationUseFrequencyText
Declaration
[DataMember(Name = "frequency")]
public List<NcTextType> Frequency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A frequency of medication use, e.g. daily with food, as needed for discomfort, not more than every 8 hours, etc. NIEM reference is hs:MedicationUseFrequencyText |
FrequencyCode
A frequency of medication use, e.g. daily with food, as needed for discomfort, not more than every 8 hours, etc. NIEM reference is hs:MedicationUseFrequencyCode
Declaration
[DataMember(Name = "frequencyCode")]
public List<HsMedicationUseFrequencyCodeType> FrequencyCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsMedicationUseFrequencyCodeType> | A frequency of medication use, e.g. daily with food, as needed for discomfort, not more than every 8 hours, etc. NIEM reference is hs:MedicationUseFrequencyCode |
Medication
A medication in use. NIEM reference is hs:Medication
Declaration
[DataMember(Name = "medication")]
public List<NcDrugType> Medication { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDrugType> | A medication in use. NIEM reference is hs:Medication |
MedicationDispensingDate
A date when the medication was last dispensed from a dispensing entity. NIEM reference is hs:MedicationDispensingDate
Declaration
[DataMember(Name = "medicationDispensingDate")]
public List<NcDateType> MedicationDispensingDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date when the medication was last dispensed from a dispensing entity. NIEM reference is hs:MedicationDispensingDate |
MedicationDoseMeasure
A specified dosage of medication. NIEM reference is hs:MedicationDoseMeasure
Declaration
[DataMember(Name = "medicationDoseMeasure")]
public List<NcMeasureType> MedicationDoseMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcMeasureType> | A specified dosage of medication. NIEM reference is hs:MedicationDoseMeasure |
MedicationLastTakenDate
A date when the medication was last taken. NIEM reference is hs:MedicationLastTakenDate
Declaration
[DataMember(Name = "medicationLastTakenDate")]
public List<NcDateType> MedicationLastTakenDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date when the medication was last taken. NIEM reference is hs:MedicationLastTakenDate |
MedicationTreatmentReason
A description of the treatment reason or condition being treated with the medication. This should include any 'off label' use. NIEM reference is hs:MedicationTreatmentReasonText
Declaration
[DataMember(Name = "medicationTreatmentReason")]
public List<NcTextType> MedicationTreatmentReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the treatment reason or condition being treated with the medication. This should include any 'off label' use. NIEM reference is hs:MedicationTreatmentReasonText |
Prescriber
A medical professional or organization that authorizes a prescription drug. NIEM reference is hs:Prescriber
Declaration
[DataMember(Name = "prescriber")]
public List<NcEntityType> Prescriber { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | A medical professional or organization that authorizes a prescription drug. NIEM reference is hs:Prescriber |
PrescriptionUseInstructions
A set of instructions for use of medication e.g. daily with food for 7 days, as needed for discomfort, not more than every 8 hours, etc. NIEM reference is hs:PrescriptionUseInstructionsText
Declaration
[DataMember(Name = "prescriptionUseInstructions")]
public List<NcTextType> PrescriptionUseInstructions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A set of instructions for use of medication e.g. daily with food for 7 days, as needed for discomfort, not more than every 8 hours, etc. NIEM reference is hs:PrescriptionUseInstructionsText |
Methods
Equals(HsMedicationUseType)
Returns true if HsMedicationUseType instances are equal
Declaration
public bool Equals(HsMedicationUseType other)
Parameters
Type | Name | Description |
---|---|---|
HsMedicationUseType | other | Instance of HsMedicationUseType 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(HsMedicationUseType, HsMedicationUseType)
Declaration
public static bool operator ==(HsMedicationUseType left, HsMedicationUseType right)
Parameters
Type | Name | Description |
---|---|---|
HsMedicationUseType | left | |
HsMedicationUseType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(HsMedicationUseType, HsMedicationUseType)
Declaration
public static bool operator !=(HsMedicationUseType left, HsMedicationUseType right)
Parameters
Type | Name | Description |
---|---|---|
HsMedicationUseType | left | |
HsMedicationUseType | right |
Returns
Type | Description |
---|---|
System.Boolean |