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

@XmlType(name = "EthnicityHispanicSouthAmerican")
@XmlEnum
@XmlRootElement(name = "EthnicityHispanicSouthAmerican")
public enum EthnicityHispanicSouthAmerican {
	@XmlEnumValue("2165-9")
	_21659("2165-9"),
	@XmlEnumValue("2166-7")
	_21667("2166-7"),
	@XmlEnumValue("2167-5")
	_21675("2167-5"),
	@XmlEnumValue("2168-3")
	_21683("2168-3"),
	@XmlEnumValue("2169-1")
	_21691("2169-1"),
	@XmlEnumValue("2170-9")
	_21709("2170-9"),
	@XmlEnumValue("2171-7")
	_21717("2171-7"),
	@XmlEnumValue("2172-5")
	_21725("2172-5"),
	@XmlEnumValue("2173-3")
	_21733("2173-3"),
	@XmlEnumValue("2174-1")
	_21741("2174-1"),
	@XmlEnumValue("2175-8")
	_21758("2175-8"),
	@XmlEnumValue("2176-6")
	_21766("2176-6");
	
	private final String value;

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

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