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

@XmlType(name = "ActPatientTransportationModeCode")
@XmlEnum
@XmlRootElement(name = "ActPatientTransportationModeCode")
public enum ActPatientTransportationModeCode {
	@XmlEnumValue("AFOOT")
	AFOOT("AFOOT"),
	@XmlEnumValue("AMBAIR")
	AMBAIR("AMBAIR"),
	@XmlEnumValue("AMBGRND")
	AMBGRND("AMBGRND"),
	@XmlEnumValue("AMBHELO")
	AMBHELO("AMBHELO"),
	@XmlEnumValue("AMBT")
	AMBT("AMBT"),
	@XmlEnumValue("LAWENF")
	LAWENF("LAWENF"),
	@XmlEnumValue("PRVTRN")
	PRVTRN("PRVTRN"),
	@XmlEnumValue("PUBTRN")
	PUBTRN("PUBTRN");
	
	private final String value;

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

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