# Class DrugValue

Namespace
  adas_core.Domain.Models.Observations

Assembly
  adas-core.Domain.dll

Represents a value or data entry associated with a drug, such as dosage, concentration, or other pharmaceutical-related information.

    public class DrugValue

Inheritance
  object
  DrugValue

Derived
  DrugDoubleValue
  DrugStringValue

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Constructors

### DrugValue()

    public DrugValue()

### DrugValue(PumpElement)

    public DrugValue(PumpElement pumpElement)

#### Parameters

`pumpElement` PumpElement

## Properties

### CodingSystem

    public string? CodingSystem { get; set; }

#### Property Value

string

### Id

    public string? Id { get; set; }

#### Property Value

string

### Result

    public char? Result { get; set; }

#### Property Value

char?

### Text

    public string? Text { get; set; }

#### Property Value

string

### Time

    public DateTime? Time { get; set; }

#### Property Value

DateTime?

### Units

    public string? Units { get; set; }

#### Property Value

string

## Methods

### Copy(DrugValue)

Copies the values from the specified DrugValue instance into the current instance, replacing the existing Id, Text, Units, Time, CodingSystem, and Result properties.

    public void Copy(DrugValue common)

#### Parameters

`common` DrugValue

  The DrugValue instance whose property values will be copied to the current instance.