Package ca.uhn.fhir.model.dstu2.valueset
Enum DataElementStringencyEnum
- java.lang.Object
-
- java.lang.Enum<DataElementStringencyEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DataElementStringencyEnum>
public enum DataElementStringencyEnum extends Enum<DataElementStringencyEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPARABLEDisplay: Comparable
Code Value: comparable The data element is sufficiently well-constrained that multiple pieces of data captured according to the constraints of the data element will be comparable (though in some cases, a degree of automated conversion/normalization may be required).CONVERTABLEDisplay: Convertable
Code Value: convertable The data element allows multiple units of measure that are convertable between each other (e.g.EQUIVALENTDisplay: Equivalent
Code Value: equivalent The data element allows multiple units of measure having equivalent meaning; e.g.FLEXIBLEDisplay: Flexible
Code Value: flexible The data element is unconstrained in units, choice of data types and/or choice of vocabulary such that automated comparison of data captured using the data element is not possible.FULLY_SPECIFIEDDisplay: Fully Specified
Code Value: fully-specified The data element is fully specified down to a single value set, single unit of measure, single data type, etc.SCALEABLEDisplay: Scaleable
Code Value: scaleable A convertable data element where unit conversions are different only by a power of 10; e.g.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<DataElementStringencyEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: DataElementStringency
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataElementStringencyEnumforCode(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 DataElementStringencyEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DataElementStringencyEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPARABLE
public static final DataElementStringencyEnum COMPARABLE
Display: Comparable
Code Value: comparable The data element is sufficiently well-constrained that multiple pieces of data captured according to the constraints of the data element will be comparable (though in some cases, a degree of automated conversion/normalization may be required).
-
FULLY_SPECIFIED
public static final DataElementStringencyEnum FULLY_SPECIFIED
Display: Fully Specified
Code Value: fully-specified The data element is fully specified down to a single value set, single unit of measure, single data type, etc. Multiple pieces of data associated with this data element are fully comparable.
-
EQUIVALENT
public static final DataElementStringencyEnum EQUIVALENT
Display: Equivalent
Code Value: equivalent The data element allows multiple units of measure having equivalent meaning; e.g. "cc" (cubic centimeter) and "mL" (milliliter).
-
CONVERTABLE
public static final DataElementStringencyEnum CONVERTABLE
Display: Convertable
Code Value: convertable The data element allows multiple units of measure that are convertable between each other (e.g. inches and centimeters) and/or allows data to be captured in multiple value sets for which a known mapping exists allowing conversion of meaning.
-
SCALEABLE
public static final DataElementStringencyEnum SCALEABLE
Display: Scaleable
Code Value: scaleable A convertable data element where unit conversions are different only by a power of 10; e.g. g, mg, kg.
-
FLEXIBLE
public static final DataElementStringencyEnum FLEXIBLE
Display: Flexible
Code Value: flexible The data element is unconstrained in units, choice of data types and/or choice of vocabulary such that automated comparison of data captured using the data element is not possible.
-
-
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: DataElementStringency- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<DataElementStringencyEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static DataElementStringencyEnum[] 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 (DataElementStringencyEnum c : DataElementStringencyEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataElementStringencyEnum 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 DataElementStringencyEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-