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

@XmlType(name = "ActEncounterCode")
@XmlEnum
@XmlRootElement(name = "ActEncounterCode")
public enum ActEncounterCode {
	@XmlEnumValue("ACUTE")
	ACUTE("ACUTE"),
	@XmlEnumValue("ALC")
	ALC("ALC"),
	@XmlEnumValue("AMB")
	AMB("AMB"),
	@XmlEnumValue("CARD")
	CARD("CARD"),
	@XmlEnumValue("CHR")
	CHR("CHR"),
	@XmlEnumValue("DNTL")
	DNTL("DNTL"),
	@XmlEnumValue("DRGRHB")
	DRGRHB("DRGRHB"),
	@XmlEnumValue("EMER")
	EMER("EMER"),
	@XmlEnumValue("FLD")
	FLD("FLD"),
	@XmlEnumValue("GENRL")
	GENRL("GENRL"),
	@XmlEnumValue("HH")
	HH("HH"),
	@XmlEnumValue("IMP")
	IMP("IMP"),
	@XmlEnumValue("MED")
	MED("MED"),
	@XmlEnumValue("NONAC")
	NONAC("NONAC"),
	@XmlEnumValue("OBS")
	OBS("OBS"),
	@XmlEnumValue("ONC")
	ONC("ONC"),
	@XmlEnumValue("PALL")
	PALL("PALL"),
	@XmlEnumValue("PED")
	PED("PED"),
	@XmlEnumValue("PHAR")
	PHAR("PHAR"),
	@XmlEnumValue("PHYRHB")
	PHYRHB("PHYRHB"),
	@XmlEnumValue("PSYCH")
	PSYCH("PSYCH"),
	@XmlEnumValue("SS")
	SS("SS"),
	@XmlEnumValue("SURG")
	SURG("SURG"),
	@XmlEnumValue("VR")
	VR("VR");
	
	private final String value;

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

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