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

@XmlType(name = "RefillPharmacySupplyType")
@XmlEnum
@XmlRootElement(name = "RefillPharmacySupplyType")
public enum RefillPharmacySupplyType {
	@XmlEnumValue("DF")
	DF("DF"),
	@XmlEnumValue("RF")
	RF("RF"),
	@XmlEnumValue("RFC")
	RFC("RFC"),
	@XmlEnumValue("RFCS")
	RFCS("RFCS"),
	@XmlEnumValue("RFF")
	RFF("RFF"),
	@XmlEnumValue("RFFS")
	RFFS("RFFS"),
	@XmlEnumValue("RFP")
	RFP("RFP"),
	@XmlEnumValue("RFPS")
	RFPS("RFPS"),
	@XmlEnumValue("RFS")
	RFS("RFS"),
	@XmlEnumValue("TB")
	TB("TB"),
	@XmlEnumValue("TBS")
	TBS("TBS"),
	@XmlEnumValue("UD")
	UD("UD");
	
	private final String value;

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

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