Enum RiskProbability
- java.lang.Object
-
- java.lang.Enum<RiskProbability>
-
- org.hl7.fhir.r4.model.codesystems.RiskProbability
-
- All Implemented Interfaces:
Serializable,Comparable<RiskProbability>
public enum RiskProbability extends Enum<RiskProbability>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTAINThe specified outcome is effectively guaranteed.HIGHThe specified outcome is more likely to occur than not.LOWThe specified outcome is possible but unlikely.MODERATEThe specified outcome has a reasonable likelihood of occurrence.NEGLIGIBLEThe specified outcome is exceptionally unlikely.NULLadded to help the parsers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RiskProbabilityfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static RiskProbabilityvalueOf(String name)Returns the enum constant of this type with the specified name.static RiskProbability[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEGLIGIBLE
public static final RiskProbability NEGLIGIBLE
The specified outcome is exceptionally unlikely.
-
LOW
public static final RiskProbability LOW
The specified outcome is possible but unlikely.
-
MODERATE
public static final RiskProbability MODERATE
The specified outcome has a reasonable likelihood of occurrence.
-
HIGH
public static final RiskProbability HIGH
The specified outcome is more likely to occur than not.
-
CERTAIN
public static final RiskProbability CERTAIN
The specified outcome is effectively guaranteed.
-
NULL
public static final RiskProbability NULL
added to help the parsers
-
-
Method Detail
-
values
public static RiskProbability[] 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 (RiskProbability c : RiskProbability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RiskProbability 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 RiskProbability fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-