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

@XmlType(name = "ActMedicationTherapyDurationWorkingListCode")
@XmlEnum
@XmlRootElement(name = "ActMedicationTherapyDurationWorkingListCode")
public enum ActMedicationTherapyDurationWorkingListCode {
	@XmlEnumValue("ACU")
	ACU("ACU"),
	@XmlEnumValue("CHRON")
	CHRON("CHRON"),
	@XmlEnumValue("ONET")
	ONET("ONET"),
	@XmlEnumValue("PRN")
	PRN("PRN");
	
	private final String value;

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

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