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

@XmlType(name = "HL7CommitteeIDInRIM")
@XmlEnum
@XmlRootElement(name = "HL7CommitteeIDInRIM")
public enum HL7CommitteeIDInRIM {
	@XmlEnumValue("C00")
	C00("C00"),
	@XmlEnumValue("C01")
	C01("C01"),
	@XmlEnumValue("C02")
	C02("C02"),
	@XmlEnumValue("C03")
	C03("C03"),
	@XmlEnumValue("C04")
	C04("C04"),
	@XmlEnumValue("C06")
	C06("C06"),
	@XmlEnumValue("C09")
	C09("C09"),
	@XmlEnumValue("C10")
	C10("C10"),
	@XmlEnumValue("C12")
	C12("C12"),
	@XmlEnumValue("C20")
	C20("C20"),
	@XmlEnumValue("C21")
	C21("C21");
	
	private final String value;

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

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