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

@XmlType(name = "Other")
@XmlEnum
@XmlRootElement(name = "Other")
public enum Other {
	@XmlEnumValue("NINF")
	NINF("NINF"),
	@XmlEnumValue("OTH")
	OTH("OTH"),
	@XmlEnumValue("PINF")
	PINF("PINF");
	
	private final String value;

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

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