Package com.ibm.fhir.model.type.code
Enum NamingSystemIdentifierType.ValueSet
- java.lang.Object
-
- java.lang.Enum<NamingSystemIdentifierType.ValueSet>
-
- com.ibm.fhir.model.type.code.NamingSystemIdentifierType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<NamingSystemIdentifierType.ValueSet>
- Enclosing class:
- NamingSystemIdentifierType
public static enum NamingSystemIdentifierType.ValueSet extends Enum<NamingSystemIdentifierType.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamingSystemIdentifierType.ValueSetfrom(String value)Factory method for creating NamingSystemIdentifierType.ValueSet values from a passed string value.Stringvalue()static NamingSystemIdentifierType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static NamingSystemIdentifierType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OID
public static final NamingSystemIdentifierType.ValueSet OID
OIDAn ISO object identifier; e.g. 1.2.3.4.5.
-
UUID
public static final NamingSystemIdentifierType.ValueSet UUID
UUIDA universally unique identifier of the form a5afddf4-e880-459b-876e-e4591b0acc11.
-
URI
public static final NamingSystemIdentifierType.ValueSet URI
URIA uniform resource identifier (ideally a URL - uniform resource locator); e.g. http://unitsofmeasure.org.
-
OTHER
public static final NamingSystemIdentifierType.ValueSet OTHER
OtherSome other type of unique identifier; e.g. HL7-assigned reserved string such as LN for LOINC.
-
-
Method Detail
-
values
public static NamingSystemIdentifierType.ValueSet[] 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 (NamingSystemIdentifierType.ValueSet c : NamingSystemIdentifierType.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamingSystemIdentifierType.ValueSet 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()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static NamingSystemIdentifierType.ValueSet from(String value)
Factory method for creating NamingSystemIdentifierType.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-