Package com.ibm.fhir.model.type.code
Class AllergyIntoleranceCriticality
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.AllergyIntoleranceCriticality
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AllergyIntoleranceCriticality extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllergyIntoleranceCriticality.Builderstatic classAllergyIntoleranceCriticality.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AllergyIntoleranceCriticalityHIGHHigh Riskstatic AllergyIntoleranceCriticalityLOWLow Riskstatic AllergyIntoleranceCriticalityUNABLE_TO_ASSESSUnable to Assess Risk
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllergyIntoleranceCriticality.Builderbuilder()static Codecode(String value)Inherited factory method for creating AllergyIntoleranceCriticality objects from a passed string value.booleanequals(Object obj)AllergyIntoleranceCriticality.ValueSetgetValueAsEnumConstant()inthashCode()static AllergyIntoleranceCriticalityof(AllergyIntoleranceCriticality.ValueSet value)Factory method for creating AllergyIntoleranceCriticality objects from a passed enum value.static AllergyIntoleranceCriticalityof(String value)Factory method for creating AllergyIntoleranceCriticality objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AllergyIntoleranceCriticality objects from a passed string value.AllergyIntoleranceCriticality.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
LOW
public static final AllergyIntoleranceCriticality LOW
Low RiskWorst case result of a future exposure is not assessed to be life-threatening or having high potential for organ system failure.
-
HIGH
public static final AllergyIntoleranceCriticality HIGH
High RiskWorst case result of a future exposure is assessed to be life-threatening or having high potential for organ system failure.
-
UNABLE_TO_ASSESS
public static final AllergyIntoleranceCriticality UNABLE_TO_ASSESS
Unable to Assess RiskUnable to assess the worst case result of a future exposure.
-
-
Method Detail
-
getValueAsEnumConstant
public AllergyIntoleranceCriticality.ValueSet getValueAsEnumConstant()
-
of
public static AllergyIntoleranceCriticality of(AllergyIntoleranceCriticality.ValueSet value)
Factory method for creating AllergyIntoleranceCriticality objects from a passed enum value.
-
of
public static AllergyIntoleranceCriticality of(String value)
Factory method for creating AllergyIntoleranceCriticality objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating AllergyIntoleranceCriticality objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating AllergyIntoleranceCriticality objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public AllergyIntoleranceCriticality.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AllergyIntoleranceCriticality.Builder builder()
-
-