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

@XmlType(name = "CreamDrugForm")
@XmlEnum
@XmlRootElement(name = "CreamDrugForm")
public enum CreamDrugForm {
	@XmlEnumValue("CRM")
	CRM("CRM"),
	@XmlEnumValue("NASCRM")
	NASCRM("NASCRM"),
	@XmlEnumValue("OPCRM")
	OPCRM("OPCRM"),
	@XmlEnumValue("ORCRM")
	ORCRM("ORCRM"),
	@XmlEnumValue("OTCRM")
	OTCRM("OTCRM"),
	@XmlEnumValue("RECCRM")
	RECCRM("RECCRM"),
	@XmlEnumValue("TOPCRM")
	TOPCRM("TOPCRM"),
	@XmlEnumValue("VAGCRM")
	VAGCRM("VAGCRM"),
	@XmlEnumValue("VAGCRMAPL")
	VAGCRMAPL("VAGCRMAPL");
	
	private final String value;

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

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