/**
 * ActSpecObsDilutionCode.java
 * <p>
 * File generated from the voc::ActSpecObsDilutionCode uml Enumeration
 * Generated by IHE - europe, gazelle team
 */
package net.ihe.gazelle.hl7v3.voc;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
 * Description of the enumeration ActSpecObsDilutionCode.
 *
 */

@XmlType(name = "ActSpecObsDilutionCode")
@XmlEnum
@XmlRootElement(name = "ActSpecObsDilutionCode")
public enum ActSpecObsDilutionCode {
	@XmlEnumValue("AUTO-HIGH")
	AUTOHIGH("AUTO-HIGH"),
	@XmlEnumValue("AUTO-LOW")
	AUTOLOW("AUTO-LOW"),
	@XmlEnumValue("DILUTION")
	DILUTION("DILUTION"),
	@XmlEnumValue("PRE")
	PRE("PRE"),
	@XmlEnumValue("RERUN")
	RERUN("RERUN");
	
	private final String value;

    ActSpecObsDilutionCode(String v) {
        value = v;
    }
    
     public String value() {
        return value;
    }

    public static ActSpecObsDilutionCode fromValue(String v) {
        for (ActSpecObsDilutionCode c: ActSpecObsDilutionCode.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
	
}