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

@XmlType(name = "ActInvoiceRootGroupCode")
@XmlEnum
@XmlRootElement(name = "ActInvoiceRootGroupCode")
public enum ActInvoiceRootGroupCode {
	@XmlEnumValue("CPINV")
	CPINV("CPINV"),
	@XmlEnumValue("CSINV")
	CSINV("CSINV"),
	@XmlEnumValue("CSPINV")
	CSPINV("CSPINV"),
	@XmlEnumValue("FININV")
	FININV("FININV"),
	@XmlEnumValue("OHSINV")
	OHSINV("OHSINV"),
	@XmlEnumValue("PAINV")
	PAINV("PAINV"),
	@XmlEnumValue("RXCINV")
	RXCINV("RXCINV"),
	@XmlEnumValue("RXDINV")
	RXDINV("RXDINV"),
	@XmlEnumValue("SBFINV")
	SBFINV("SBFINV"),
	@XmlEnumValue("VRXINV")
	VRXINV("VRXINV");
	
	private final String value;

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

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