All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.somda.sdc.biceps.model.participant.DerivationMethod Maven / Gradle / Ivy


package org.somda.sdc.biceps.model.participant;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * In some circumstances, e.g., in spot-check situations or when dealing with settings, METRIC values might be entered manually. DerivationMethod provides an enumeration to designate if a METRIC is set automatically or manually.
 * 
 * 

Java class for DerivationMethod

. * *

The following schema fragment specifies the expected content contained within this class.

*
{@code
 * 
 *   
 *     
 *     
 *   
 * 
 * }
* */ @XmlType(name = "DerivationMethod", namespace = "http://standards.ieee.org/downloads/11073/11073-10207-2017/participant") @XmlEnum public enum DerivationMethod { /** * Auto = Automatic derivation. The METRIC value is derived by an automatic mechanism (e.g., electronically measured). * */ @XmlEnumValue("Auto") AUTO("Auto"), /** * Man = Manual derivation. The METRIC is derived manually by a clinican/human. * */ @XmlEnumValue("Man") MAN("Man"); private final String value; DerivationMethod(String v) { value = v; } /** * Gets the value associated to the enum constant. * * @return * The value linked to the enum. */ public String value() { return value; } /** * Gets the enum associated to the value passed as parameter. * * @param v * The value to get the enum from. * @return * The enum which corresponds to the value, if it exists. * @throws IllegalArgumentException * If no value matches in the enum declaration. */ public static DerivationMethod fromValue(String v) { for (DerivationMethod c: DerivationMethod.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy