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

@XmlType(name = "TherapyAppropriateManagementCode")
@XmlEnum
@XmlRootElement(name = "TherapyAppropriateManagementCode")
public enum TherapyAppropriateManagementCode {
	@XmlEnumValue("1")
	_1("1"),
	@XmlEnumValue("19")
	_19("19"),
	@XmlEnumValue("2")
	_2("2"),
	@XmlEnumValue("3")
	_3("3"),
	@XmlEnumValue("4")
	_4("4"),
	@XmlEnumValue("5")
	_5("5"),
	@XmlEnumValue("6")
	_6("6"),
	@XmlEnumValue("7")
	_7("7");
	
	private final String value;

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

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