All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmrs.module.rulesengine.domain.Dose Maven / Gradle / Ivy

package org.openmrs.module.rulesengine.domain;

public class Dose {
    private double value;
    private DoseUnit doseUnit;
    private String drugName;

    public Dose(String drugName, double value, DoseUnit doseUnit) {
        this.drugName=drugName;
        this.value = value;
        this.doseUnit = doseUnit;
    }

    public double getValue() {
        return value;
    }

    public DoseUnit getDoseUnit() {
        return doseUnit;
    }

    public enum DoseUnit {
        mg
    }

    public String getDrugName() {
        return drugName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy