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

@XmlType(name = "ActExposureCode")
@XmlEnum
@XmlRootElement(name = "ActExposureCode")
public enum ActExposureCode {
	@XmlEnumValue("CHLDCARE")
	CHLDCARE("CHLDCARE"),
	@XmlEnumValue("CONVEYNC")
	CONVEYNC("CONVEYNC"),
	@XmlEnumValue("HLTHCARE")
	HLTHCARE("HLTHCARE"),
	@XmlEnumValue("HOMECARE")
	HOMECARE("HOMECARE"),
	@XmlEnumValue("HOSPPTNT")
	HOSPPTNT("HOSPPTNT"),
	@XmlEnumValue("HOSPVSTR")
	HOSPVSTR("HOSPVSTR"),
	@XmlEnumValue("HOUSEHLD")
	HOUSEHLD("HOUSEHLD"),
	@XmlEnumValue("INMATE")
	INMATE("INMATE"),
	@XmlEnumValue("INTIMATE")
	INTIMATE("INTIMATE"),
	@XmlEnumValue("LTRMCARE")
	LTRMCARE("LTRMCARE"),
	@XmlEnumValue("PLACE")
	PLACE("PLACE"),
	@XmlEnumValue("PTNTCARE")
	PTNTCARE("PTNTCARE"),
	@XmlEnumValue("SCHOOL2")
	SCHOOL2("SCHOOL2"),
	@XmlEnumValue("SOCIAL2")
	SOCIAL2("SOCIAL2"),
	@XmlEnumValue("SUBSTNCE")
	SUBSTNCE("SUBSTNCE"),
	@XmlEnumValue("TRAVINT")
	TRAVINT("TRAVINT"),
	@XmlEnumValue("WORK2")
	WORK2("WORK2");
	
	private final String value;

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

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