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

@XmlType(name = "HospitalPracticeSetting")
@XmlEnum
@XmlRootElement(name = "HospitalPracticeSetting")
public enum HospitalPracticeSetting {
	@XmlEnumValue("281PC2000N")
	_281PC2000N("281PC2000N"),
	@XmlEnumValue("282NC2000N")
	_282NC2000N("282NC2000N"),
	@XmlEnumValue("282NR1301N")
	_282NR1301N("282NR1301N"),
	@XmlEnumValue("282NW0100N")
	_282NW0100N("282NW0100N"),
	@XmlEnumValue("283XC2000N")
	_283XC2000N("283XC2000N"),
	@XmlEnumValue("2865C1500N")
	_2865C1500N("2865C1500N"),
	@XmlEnumValue("2865M2000N")
	_2865M2000N("2865M2000N"),
	@XmlEnumValue("2865X1600N")
	_2865X1600N("2865X1600N"),
	@XmlEnumValue("CHR")
	CHR("CHR"),
	@XmlEnumValue("GACH")
	GACH("GACH"),
	@XmlEnumValue("HOSP")
	HOSP("HOSP"),
	@XmlEnumValue("MHSP")
	MHSP("MHSP"),
	@XmlEnumValue("PSYCHF")
	PSYCHF("PSYCHF"),
	@XmlEnumValue("RH")
	RH("RH");
	
	private final String value;

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

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