Package ca.uhn.fhir.model.dstu2.valueset
Enum SpecimenStatusEnum
- java.lang.Object
-
- java.lang.Enum<SpecimenStatusEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SpecimenStatusEnum>
public enum SpecimenStatusEnum extends Enum<SpecimenStatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLEDisplay: Available
Code Value: available The physical specimen is present and in good condition.ENTERED_IN_ERRORDisplay: Entered-in-error
Code Value: entered-in-error The specimen was entered in error and therefore nullified.UNAVAILABLEDisplay: Unavailable
Code Value: unavailable There is no physical specimen because it is either lost, destroyed or consumed.UNSATISFACTORYDisplay: Unsatisfactory
Code Value: unsatisfactory The specimen cannot be used because of a quality issue such as a broken container, contamination, or too old.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<SpecimenStatusEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: SpecimenStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpecimenStatusEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic SpecimenStatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SpecimenStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final SpecimenStatusEnum AVAILABLE
Display: Available
Code Value: available The physical specimen is present and in good condition.
-
UNAVAILABLE
public static final SpecimenStatusEnum UNAVAILABLE
Display: Unavailable
Code Value: unavailable There is no physical specimen because it is either lost, destroyed or consumed.
-
UNSATISFACTORY
public static final SpecimenStatusEnum UNSATISFACTORY
Display: Unsatisfactory
Code Value: unsatisfactory The specimen cannot be used because of a quality issue such as a broken container, contamination, or too old.
-
ENTERED_IN_ERROR
public static final SpecimenStatusEnum ENTERED_IN_ERROR
Display: Entered-in-error
Code Value: entered-in-error The specimen was entered in error and therefore nullified.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: SpecimenStatus- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<SpecimenStatusEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static SpecimenStatusEnum[] 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 (SpecimenStatusEnum c : SpecimenStatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecimenStatusEnum 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
-
forCode
public static SpecimenStatusEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-