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

@XmlType(name = "ActMedicationList")
@XmlEnum
@XmlRootElement(name = "ActMedicationList")
public enum ActMedicationList {
	@XmlEnumValue("CURMEDLIST")
	CURMEDLIST("CURMEDLIST"),
	@XmlEnumValue("DISCMEDLIST")
	DISCMEDLIST("DISCMEDLIST"),
	@XmlEnumValue("HISTMEDLIST")
	HISTMEDLIST("HISTMEDLIST"),
	@XmlEnumValue("MEDLIST")
	MEDLIST("MEDLIST");
	
	private final String value;

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

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