Enum SafetyClassification
- java.lang.Object
-
- java.lang.Enum<SafetyClassification>
-
- org.somda.sdc.biceps.model.participant.SafetyClassification
-
- All Implemented Interfaces:
Serializable,Comparable<SafetyClassification>
public enum SafetyClassification extends Enum<SafetyClassification>
Java class for SafetyClassification.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SafetyClassification"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Inf"/> <enumeration value="MedA"/> <enumeration value="MedB"/> <enumeration value="MedC"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SafetyClassificationfromValue(String v)Stringvalue()static SafetyClassificationvalueOf(String name)Returns the enum constant of this type with the specified name.static SafetyClassification[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INF
public static final SafetyClassification INF
Inf = Informational. The descriptor and the related state information are intended to be used for information purposes only. They are not intended to be used in clinical functions.
-
MED_A
public static final SafetyClassification MED_A
MedA = Medical Class A. The descriptor and related state information are intended to be used in clinical functions, specifically for general display in order to support patient and device monitoring. The displayed data is not intended to be used as sole source for diagnostic or therapeutic decisions. Deviations from this intended use are in the sole responsibility of the SERVICE CONSUMER.
-
MED_B
public static final SafetyClassification MED_B
MedB = Medical Class B. The descriptor and related state information are intended to be used in clinical functions. The manufacturer has specified and considered a specific intended use for the data, which could result in non-serious injury. Deviations from this intended use are in the sole responsibility of the SERVICE CONSUMER.
-
MED_C
public static final SafetyClassification MED_C
MedC = Medical Class C. The descriptor and related state information are intended to be used in clinical functions. The manufacturer has specified and considered a specific intended use for the data, which could result in serious injury. Deviations from this intended use are in the sole responsibility of the SERVICE CONSUMER.
-
-
Method Detail
-
values
public static SafetyClassification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SafetyClassification c : SafetyClassification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SafetyClassification valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static SafetyClassification fromValue(String v)
-
-