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

@XmlType(name = "HospitalUnitsProviderCodes")
@XmlEnum
@XmlRootElement(name = "HospitalUnitsProviderCodes")
public enum HospitalUnitsProviderCodes {
	@XmlEnumValue("270000000X")
	_270000000X("270000000X"),
	@XmlEnumValue("273R00000X")
	_273R00000X("273R00000X"),
	@XmlEnumValue("273Y00000X")
	_273Y00000X("273Y00000X"),
	@XmlEnumValue("275N00000X")
	_275N00000X("275N00000X"),
	@XmlEnumValue("276400000X")
	_276400000X("276400000X");
	
	private final String value;

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

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