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

@XmlType(name = "ActPriority")
@XmlEnum
@XmlRootElement(name = "ActPriority")
public enum ActPriority {
	@XmlEnumValue("A")
	A("A"),
	@XmlEnumValue("CR")
	CR("CR"),
	@XmlEnumValue("CS")
	CS("CS"),
	@XmlEnumValue("CSP")
	CSP("CSP"),
	@XmlEnumValue("CSR")
	CSR("CSR"),
	@XmlEnumValue("EL")
	EL("EL"),
	@XmlEnumValue("EM")
	EM("EM"),
	@XmlEnumValue("P")
	P("P"),
	@XmlEnumValue("PRN")
	PRN("PRN"),
	@XmlEnumValue("R")
	R("R"),
	@XmlEnumValue("RR")
	RR("RR"),
	@XmlEnumValue("S")
	S("S"),
	@XmlEnumValue("T")
	T("T"),
	@XmlEnumValue("UD")
	UD("UD"),
	@XmlEnumValue("UR")
	UR("UR");
	
	private final String value;

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

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