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

@XmlType(name = "ActRelationshipConditional")
@XmlEnum
@XmlRootElement(name = "ActRelationshipConditional")
public enum ActRelationshipConditional {
	@XmlEnumValue("BLOCK")
	BLOCK("BLOCK"),
	@XmlEnumValue("CIND")
	CIND("CIND"),
	@XmlEnumValue("CURE")
	CURE("CURE"),
	@XmlEnumValue("CURE.ADJ")
	CUREADJ("CURE.ADJ"),
	@XmlEnumValue("DIAG")
	DIAG("DIAG"),
	@XmlEnumValue("MITGT")
	MITGT("MITGT"),
	@XmlEnumValue("MTGT.ADJ")
	MTGTADJ("MTGT.ADJ"),
	@XmlEnumValue("PRCN")
	PRCN("PRCN"),
	@XmlEnumValue("RCVY")
	RCVY("RCVY"),
	@XmlEnumValue("RSON")
	RSON("RSON"),
	@XmlEnumValue("SYMP")
	SYMP("SYMP"),
	@XmlEnumValue("TRIG")
	TRIG("TRIG");
	
	private final String value;

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

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