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

@XmlType(name = "PlaceEntityType")
@XmlEnum
@XmlRootElement(name = "PlaceEntityType")
public enum PlaceEntityType {
	@XmlEnumValue("BED")
	BED("BED"),
	@XmlEnumValue("BLDG")
	BLDG("BLDG"),
	@XmlEnumValue("FLOOR")
	FLOOR("FLOOR"),
	@XmlEnumValue("ROOM")
	ROOM("ROOM"),
	@XmlEnumValue("WING")
	WING("WING");
	
	private final String value;

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

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