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

@XmlType(name = "CaseTransmissionMode")
@XmlEnum
@XmlRootElement(name = "CaseTransmissionMode")
public enum CaseTransmissionMode {
	@XmlEnumValue("AIRTRNS")
	AIRTRNS("AIRTRNS"),
	@XmlEnumValue("ANANTRNS")
	ANANTRNS("ANANTRNS"),
	@XmlEnumValue("ANHUMTRNS")
	ANHUMTRNS("ANHUMTRNS"),
	@XmlEnumValue("BDYFLDTRNS")
	BDYFLDTRNS("BDYFLDTRNS"),
	@XmlEnumValue("BLDTRNS")
	BLDTRNS("BLDTRNS"),
	@XmlEnumValue("DERMTRNS")
	DERMTRNS("DERMTRNS"),
	@XmlEnumValue("ENVTRNS")
	ENVTRNS("ENVTRNS"),
	@XmlEnumValue("FECTRNS")
	FECTRNS("FECTRNS"),
	@XmlEnumValue("FOMTRNS")
	FOMTRNS("FOMTRNS"),
	@XmlEnumValue("FOODTRNS")
	FOODTRNS("FOODTRNS"),
	@XmlEnumValue("HUMHUMTRNS")
	HUMHUMTRNS("HUMHUMTRNS"),
	@XmlEnumValue("INDTRNS")
	INDTRNS("INDTRNS"),
	@XmlEnumValue("LACTTRNS")
	LACTTRNS("LACTTRNS"),
	@XmlEnumValue("NOSTRNS")
	NOSTRNS("NOSTRNS"),
	@XmlEnumValue("PARTRNS")
	PARTRNS("PARTRNS"),
	@XmlEnumValue("PLACTRNS")
	PLACTRNS("PLACTRNS"),
	@XmlEnumValue("SEXTRNS")
	SEXTRNS("SEXTRNS"),
	@XmlEnumValue("TRNSFTRNS")
	TRNSFTRNS("TRNSFTRNS"),
	@XmlEnumValue("VECTRNS")
	VECTRNS("VECTRNS"),
	@XmlEnumValue("WATTRNS")
	WATTRNS("WATTRNS");
	
	private final String value;

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

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