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

@XmlType(name = "RoleClassAssignedEntity")
@XmlEnum
@XmlRootElement(name = "RoleClassAssignedEntity")
public enum RoleClassAssignedEntity {
	@XmlEnumValue("ASSIGNED")
	ASSIGNED("ASSIGNED"),
	@XmlEnumValue("COMPAR")
	COMPAR("COMPAR"),
	@XmlEnumValue("CON")
	CON("CON"),
	@XmlEnumValue("ECON")
	ECON("ECON"),
	@XmlEnumValue("NOK")
	NOK("NOK"),
	@XmlEnumValue("SGNOFF")
	SGNOFF("SGNOFF");
	
	private final String value;

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

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