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

@XmlType(name = "ParticipationIndirectTarget")
@XmlEnum
@XmlRootElement(name = "ParticipationIndirectTarget")
public enum ParticipationIndirectTarget {
	@XmlEnumValue("BEN")
	BEN("BEN"),
	@XmlEnumValue("CAGNT")
	CAGNT("CAGNT"),
	@XmlEnumValue("COV")
	COV("COV"),
	@XmlEnumValue("GUAR")
	GUAR("GUAR"),
	@XmlEnumValue("HLD")
	HLD("HLD"),
	@XmlEnumValue("IND")
	IND("IND"),
	@XmlEnumValue("RCT")
	RCT("RCT"),
	@XmlEnumValue("RCV")
	RCV("RCV");
	
	private final String value;

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

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