Enum AdverseEventSeriousness
- java.lang.Object
-
- java.lang.Enum<AdverseEventSeriousness>
-
- org.hl7.fhir.r4.model.codesystems.AdverseEventSeriousness
-
- All Implemented Interfaces:
Serializable
,Comparable<AdverseEventSeriousness>
public enum AdverseEventSeriousness extends Enum<AdverseEventSeriousness>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONSERIOUS
Non-serious.NULL
added to help the parsersSERIOUS
Serious.SERIOUSISBIRTHDEFECT
Is a congenital anomaly/birth defect.SERIOUSISLIFETHREATENING
Is Life-threatening.SERIOUSREQUIRESPREVENTIMPAIRMENT
Requires intervention to prevent permanent impairment or damage (i.e., an important medical event that requires medical judgement).SERIOUSRESULTSINDEATH
Results in death.SERIOUSRESULTSINDISABILITY
Results in persistent or significant disability/incapacity.SERIOUSRESULTSINHOSPITALIZATION
Requires inpatient hospitalization or causes prolongation of existing hospitalization.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdverseEventSeriousness
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static AdverseEventSeriousness
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdverseEventSeriousness[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONSERIOUS
public static final AdverseEventSeriousness NONSERIOUS
Non-serious.
-
SERIOUS
public static final AdverseEventSeriousness SERIOUS
Serious.
-
SERIOUSRESULTSINDEATH
public static final AdverseEventSeriousness SERIOUSRESULTSINDEATH
Results in death.
-
SERIOUSISLIFETHREATENING
public static final AdverseEventSeriousness SERIOUSISLIFETHREATENING
Is Life-threatening.
-
SERIOUSRESULTSINHOSPITALIZATION
public static final AdverseEventSeriousness SERIOUSRESULTSINHOSPITALIZATION
Requires inpatient hospitalization or causes prolongation of existing hospitalization.
-
SERIOUSRESULTSINDISABILITY
public static final AdverseEventSeriousness SERIOUSRESULTSINDISABILITY
Results in persistent or significant disability/incapacity.
-
SERIOUSISBIRTHDEFECT
public static final AdverseEventSeriousness SERIOUSISBIRTHDEFECT
Is a congenital anomaly/birth defect.
-
SERIOUSREQUIRESPREVENTIMPAIRMENT
public static final AdverseEventSeriousness SERIOUSREQUIRESPREVENTIMPAIRMENT
Requires intervention to prevent permanent impairment or damage (i.e., an important medical event that requires medical judgement).
-
NULL
public static final AdverseEventSeriousness NULL
added to help the parsers
-
-
Method Detail
-
values
public static AdverseEventSeriousness[] 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 (AdverseEventSeriousness c : AdverseEventSeriousness.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdverseEventSeriousness 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 AdverseEventSeriousness fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-