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

@XmlType(name = "CounselorProviderCodes")
@XmlEnum
@XmlRootElement(name = "CounselorProviderCodes")
public enum CounselorProviderCodes {
	@XmlEnumValue("101Y00000X")
	_101Y00000X("101Y00000X"),
	@XmlEnumValue("101YA0400X")
	_101YA0400X("101YA0400X"),
	@XmlEnumValue("101YM0800X")
	_101YM0800X("101YM0800X"),
	@XmlEnumValue("101YP1600X")
	_101YP1600X("101YP1600X"),
	@XmlEnumValue("101YP2500X")
	_101YP2500X("101YP2500X"),
	@XmlEnumValue("101YS0200X")
	_101YS0200X("101YS0200X");
	
	private final String value;

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

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