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

@XmlType(name = "ActSubstanceAdministrationCode")
@XmlEnum
@XmlRootElement(name = "ActSubstanceAdministrationCode")
public enum ActSubstanceAdministrationCode {
	@XmlEnumValue("BOOSTER")
	BOOSTER("BOOSTER"),
	@XmlEnumValue("DRUG")
	DRUG("DRUG"),
	@XmlEnumValue("IMMUNIZ")
	IMMUNIZ("IMMUNIZ"),
	@XmlEnumValue("INITIMMUNIZ")
	INITIMMUNIZ("INITIMMUNIZ");
	
	private final String value;

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

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