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

@XmlType(name = "PersonNamePartQualifier")
@XmlEnum
@XmlRootElement(name = "PersonNamePartQualifier")
public enum PersonNamePartQualifier {
	@XmlEnumValue("AC")
	AC("AC"),
	@XmlEnumValue("AD")
	AD("AD"),
	@XmlEnumValue("BR")
	BR("BR"),
	@XmlEnumValue("CL")
	CL("CL"),
	@XmlEnumValue("IN")
	IN("IN"),
	@XmlEnumValue("NB")
	NB("NB"),
	@XmlEnumValue("PR")
	PR("PR"),
	@XmlEnumValue("SP")
	SP("SP"),
	@XmlEnumValue("TITLE")
	TITLE("TITLE"),
	@XmlEnumValue("VV")
	VV("VV");
	
	private final String value;

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

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