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

@XmlType(name = "MobilityImpaired")
@XmlEnum
@XmlRootElement(name = "MobilityImpaired")
public enum MobilityImpaired {
	@XmlEnumValue("5")
	_5("5"),
	@XmlEnumValue("CB")
	CB("CB"),
	@XmlEnumValue("CR")
	CR("CR"),
	@XmlEnumValue("G")
	G("G"),
	@XmlEnumValue("WC")
	WC("WC"),
	@XmlEnumValue("WK")
	WK("WK");
	
	private final String value;

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

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