/**
 * EpiduralRoute.java
 * <p>
 * File generated from the voc::EpiduralRoute 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 EpiduralRoute.
 *
 */

@XmlType(name = "EpiduralRoute")
@XmlEnum
@XmlRootElement(name = "EpiduralRoute")
public enum EpiduralRoute {
	@XmlEnumValue("EPI")
	EPI("EPI"),
	@XmlEnumValue("EPIDURINJ")
	EPIDURINJ("EPIDURINJ"),
	@XmlEnumValue("EPIINJ")
	EPIINJ("EPIINJ"),
	@XmlEnumValue("EPINJSP")
	EPINJSP("EPINJSP");
	
	private final String value;

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

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