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

@XmlType(name = "Yokutsan")
@XmlEnum
@XmlRootElement(name = "Yokutsan")
public enum Yokutsan {
	@XmlEnumValue("x-ENH")
	XENH("x-ENH"),
	@XmlEnumValue("x-GSH")
	XGSH("x-GSH"),
	@XmlEnumValue("x-PYL")
	XPYL("x-PYL"),
	@XmlEnumValue("x-TKH")
	XTKH("x-TKH");
	
	private final String value;

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

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