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

@XmlType(name = "ResidentialTreatmentPracticeSetting")
@XmlEnum
@XmlRootElement(name = "ResidentialTreatmentPracticeSetting")
public enum ResidentialTreatmentPracticeSetting {
	@XmlEnumValue("324500000N")
	_324500000N("324500000N"),
	@XmlEnumValue("PRC")
	PRC("PRC"),
	@XmlEnumValue("RTF")
	RTF("RTF"),
	@XmlEnumValue("SURF")
	SURF("SURF");
	
	private final String value;

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

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