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

@XmlType(name = "SubscriberCoveredPartyRoleType")
@XmlEnum
@XmlRootElement(name = "SubscriberCoveredPartyRoleType")
public enum SubscriberCoveredPartyRoleType {
	@XmlEnumValue("ACTMIL")
	ACTMIL("ACTMIL"),
	@XmlEnumValue("COCBEN")
	COCBEN("COCBEN"),
	@XmlEnumValue("MIL")
	MIL("MIL"),
	@XmlEnumValue("RETIREE")
	RETIREE("RETIREE"),
	@XmlEnumValue("RETMIL")
	RETMIL("RETMIL"),
	@XmlEnumValue("VET")
	VET("VET");
	
	private final String value;

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

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