Package org.hl7.fhir.dstu2.model
Enum DataElement.DataElementStringency
- java.lang.Object
-
- java.lang.Enum<DataElement.DataElementStringency>
-
- org.hl7.fhir.dstu2.model.DataElement.DataElementStringency
-
- All Implemented Interfaces:
Serializable,Comparable<DataElement.DataElementStringency>
- Enclosing class:
- DataElement
public static enum DataElement.DataElementStringency extends Enum<DataElement.DataElementStringency>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPARABLEThe 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).CONVERTABLEThe data element allows multiple units of measure that are convertable between each other (e.g.EQUIVALENTThe data element allows multiple units of measure having equivalent meaning; e.g.FLEXIBLEThe 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.FULLYSPECIFIEDThe data element is fully specified down to a single value set, single unit of measure, single data type, etc.NULLadded to help the parsersSCALEABLEA convertable data element where unit conversions are different only by a power of 10; e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataElement.DataElementStringencyfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static DataElement.DataElementStringencyvalueOf(String name)Returns the enum constant of this type with the specified name.static DataElement.DataElementStringency[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPARABLE
public static final DataElement.DataElementStringency 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).
-
FULLYSPECIFIED
public static final DataElement.DataElementStringency FULLYSPECIFIED
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 DataElement.DataElementStringency EQUIVALENT
The data element allows multiple units of measure having equivalent meaning; e.g. "cc" (cubic centimeter) and "mL" (milliliter).
-
CONVERTABLE
public static final DataElement.DataElementStringency 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 DataElement.DataElementStringency 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 DataElement.DataElementStringency 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.
-
NULL
public static final DataElement.DataElementStringency NULL
added to help the parsers
-
-
Method Detail
-
values
public static DataElement.DataElementStringency[] 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 (DataElement.DataElementStringency c : DataElement.DataElementStringency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataElement.DataElementStringency 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
-
fromCode
public static DataElement.DataElementStringency fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-