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

@XmlType(name = "OptometristProviderCodes")
@XmlEnum
@XmlRootElement(name = "OptometristProviderCodes")
public enum OptometristProviderCodes {
	@XmlEnumValue("152W00000X")
	_152W00000X("152W00000X"),
	@XmlEnumValue("152WC0802X")
	_152WC0802X("152WC0802X"),
	@XmlEnumValue("152WL0500X")
	_152WL0500X("152WL0500X"),
	@XmlEnumValue("152WP0200X")
	_152WP0200X("152WP0200X"),
	@XmlEnumValue("152WS0006X")
	_152WS0006X("152WS0006X"),
	@XmlEnumValue("152WV0400X")
	_152WV0400X("152WV0400X"),
	@XmlEnumValue("152WX0102X")
	_152WX0102X("152WX0102X");
	
	private final String value;

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

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