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

@XmlType(name = "EthnicityHispanicMexican")
@XmlEnum
@XmlRootElement(name = "EthnicityHispanicMexican")
public enum EthnicityHispanicMexican {
	@XmlEnumValue("2148-5")
	_21485("2148-5"),
	@XmlEnumValue("2149-3")
	_21493("2149-3"),
	@XmlEnumValue("2150-1")
	_21501("2150-1"),
	@XmlEnumValue("2151-9")
	_21519("2151-9"),
	@XmlEnumValue("2152-7")
	_21527("2152-7"),
	@XmlEnumValue("2153-5")
	_21535("2153-5");
	
	private final String value;

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

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