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

@XmlType(name = "StepChild")
@XmlEnum
@XmlRootElement(name = "StepChild")
public enum StepChild {
	@XmlEnumValue("STPCHLD")
	STPCHLD("STPCHLD"),
	@XmlEnumValue("STPDAU")
	STPDAU("STPDAU"),
	@XmlEnumValue("STPSON")
	STPSON("STPSON");
	
	private final String value;

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

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