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

@XmlType(name = "AerosolDrugForm")
@XmlEnum
@XmlRootElement(name = "AerosolDrugForm")
public enum AerosolDrugForm {
	@XmlEnumValue("AER")
	AER("AER"),
	@XmlEnumValue("BAINHL")
	BAINHL("BAINHL"),
	@XmlEnumValue("INHLSOL")
	INHLSOL("INHLSOL"),
	@XmlEnumValue("MDINHL")
	MDINHL("MDINHL"),
	@XmlEnumValue("NASSPRY")
	NASSPRY("NASSPRY");
	
	private final String value;

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

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