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

@XmlType(name = "ActInformationAccessContextCode")
@XmlEnum
@XmlRootElement(name = "ActInformationAccessContextCode")
public enum ActInformationAccessContextCode {
	@XmlEnumValue("INFCON")
	INFCON("INFCON"),
	@XmlEnumValue("INFCRT")
	INFCRT("INFCRT"),
	@XmlEnumValue("INFDNG")
	INFDNG("INFDNG"),
	@XmlEnumValue("INFEMER")
	INFEMER("INFEMER"),
	@XmlEnumValue("INFPWR")
	INFPWR("INFPWR");
	
	private final String value;

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

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