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

@XmlType(name = "FirstFillPharmacySupplyType")
@XmlEnum
@XmlRootElement(name = "FirstFillPharmacySupplyType")
public enum FirstFillPharmacySupplyType {
	@XmlEnumValue("FF")
	FF("FF"),
	@XmlEnumValue("FFC")
	FFC("FFC"),
	@XmlEnumValue("FFCS")
	FFCS("FFCS"),
	@XmlEnumValue("FFP")
	FFP("FFP"),
	@XmlEnumValue("FFPS")
	FFPS("FFPS"),
	@XmlEnumValue("FFS")
	FFS("FFS"),
	@XmlEnumValue("TF")
	TF("TF"),
	@XmlEnumValue("TFS")
	TFS("TFS");
	
	private final String value;

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

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