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

@XmlType(name = "ExtendedReleaseTablet")
@XmlEnum
@XmlRootElement(name = "ExtendedReleaseTablet")
public enum ExtendedReleaseTablet {
	@XmlEnumValue("ERECTAB")
	ERECTAB("ERECTAB"),
	@XmlEnumValue("ERTAB")
	ERTAB("ERTAB"),
	@XmlEnumValue("ERTAB12")
	ERTAB12("ERTAB12"),
	@XmlEnumValue("ERTAB24")
	ERTAB24("ERTAB24");
	
	private final String value;

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

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