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

@XmlType(name = "HospitalUnitPracticeSetting")
@XmlEnum
@XmlRootElement(name = "HospitalUnitPracticeSetting")
public enum HospitalUnitPracticeSetting {
	@XmlEnumValue("273R00000N")
	_273R00000N("273R00000N"),
	@XmlEnumValue("273Y00000N")
	_273Y00000N("273Y00000N"),
	@XmlEnumValue("BMTU")
	BMTU("BMTU"),
	@XmlEnumValue("CCU")
	CCU("CCU"),
	@XmlEnumValue("CHEST")
	CHEST("CHEST"),
	@XmlEnumValue("EPIL")
	EPIL("EPIL"),
	@XmlEnumValue("ER")
	ER("ER"),
	@XmlEnumValue("ETU")
	ETU("ETU"),
	@XmlEnumValue("HD")
	HD("HD"),
	@XmlEnumValue("HU")
	HU("HU"),
	@XmlEnumValue("ICU")
	ICU("ICU"),
	@XmlEnumValue("NCCS")
	NCCS("NCCS"),
	@XmlEnumValue("NS")
	NS("NS"),
	@XmlEnumValue("PEDICU")
	PEDICU("PEDICU"),
	@XmlEnumValue("PEDNICU")
	PEDNICU("PEDNICU"),
	@XmlEnumValue("PEDU")
	PEDU("PEDU"),
	@XmlEnumValue("PHU")
	PHU("PHU"),
	@XmlEnumValue("RHU")
	RHU("RHU"),
	@XmlEnumValue("SLEEP")
	SLEEP("SLEEP");
	
	private final String value;

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

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