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

@XmlType(name = "ActInvoiceDetailGenericProviderCode")
@XmlEnum
@XmlRootElement(name = "ActInvoiceDetailGenericProviderCode")
public enum ActInvoiceDetailGenericProviderCode {
	@XmlEnumValue("CANCAPT")
	CANCAPT("CANCAPT"),
	@XmlEnumValue("DSC")
	DSC("DSC"),
	@XmlEnumValue("ESA")
	ESA("ESA"),
	@XmlEnumValue("FFSTOP")
	FFSTOP("FFSTOP"),
	@XmlEnumValue("FNLFEE")
	FNLFEE("FNLFEE"),
	@XmlEnumValue("FRSTFEE")
	FRSTFEE("FRSTFEE"),
	@XmlEnumValue("MARKUP")
	MARKUP("MARKUP"),
	@XmlEnumValue("MISSAPT")
	MISSAPT("MISSAPT"),
	@XmlEnumValue("PERFEE")
	PERFEE("PERFEE"),
	@XmlEnumValue("PERMBNS")
	PERMBNS("PERMBNS"),
	@XmlEnumValue("RESTOCK")
	RESTOCK("RESTOCK"),
	@XmlEnumValue("TRAVEL")
	TRAVEL("TRAVEL"),
	@XmlEnumValue("URGENT")
	URGENT("URGENT");
	
	private final String value;

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

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