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

@XmlType(name = "RoleClassPassive")
@XmlEnum
@XmlRootElement(name = "RoleClassPassive")
public enum RoleClassPassive {
	@XmlEnumValue("ACCESS")
	ACCESS("ACCESS"),
	@XmlEnumValue("ADMM")
	ADMM("ADMM"),
	@XmlEnumValue("BIRTHPL")
	BIRTHPL("BIRTHPL"),
	@XmlEnumValue("DEATHPLC")
	DEATHPLC("DEATHPLC"),
	@XmlEnumValue("DSDLOC")
	DSDLOC("DSDLOC"),
	@XmlEnumValue("DST")
	DST("DST"),
	@XmlEnumValue("EXPR")
	EXPR("EXPR"),
	@XmlEnumValue("HLD")
	HLD("HLD"),
	@XmlEnumValue("HLTHCHRT")
	HLTHCHRT("HLTHCHRT"),
	@XmlEnumValue("IDENT")
	IDENT("IDENT"),
	@XmlEnumValue("ISDLOC")
	ISDLOC("ISDLOC"),
	@XmlEnumValue("MANU")
	MANU("MANU"),
	@XmlEnumValue("MNT")
	MNT("MNT"),
	@XmlEnumValue("OWN")
	OWN("OWN"),
	@XmlEnumValue("RET")
	RET("RET"),
	@XmlEnumValue("RGPR")
	RGPR("RGPR"),
	@XmlEnumValue("SDLOC")
	SDLOC("SDLOC"),
	@XmlEnumValue("TERR")
	TERR("TERR"),
	@XmlEnumValue("THER")
	THER("THER"),
	@XmlEnumValue("WRTE")
	WRTE("WRTE");
	
	private final String value;

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

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