Package com.ibm.fhir.model.type.code
Class AllergyIntoleranceSeverity
- 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.AllergyIntoleranceSeverity
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AllergyIntoleranceSeverity extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllergyIntoleranceSeverity.Builderstatic classAllergyIntoleranceSeverity.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AllergyIntoleranceSeverityMILDMildstatic AllergyIntoleranceSeverityMODERATEModeratestatic AllergyIntoleranceSeveritySEVERESevere
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllergyIntoleranceSeverity.Builderbuilder()static Codecode(String value)Inherited factory method for creating AllergyIntoleranceSeverity objects from a passed string value.booleanequals(Object obj)AllergyIntoleranceSeverity.ValueSetgetValueAsEnumConstant()inthashCode()static AllergyIntoleranceSeverityof(AllergyIntoleranceSeverity.ValueSet value)Factory method for creating AllergyIntoleranceSeverity objects from a passed enum value.static AllergyIntoleranceSeverityof(String value)Factory method for creating AllergyIntoleranceSeverity objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AllergyIntoleranceSeverity objects from a passed string value.AllergyIntoleranceSeverity.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
-
MILD
public static final AllergyIntoleranceSeverity MILD
MildCauses mild physiological effects.
-
MODERATE
public static final AllergyIntoleranceSeverity MODERATE
ModerateCauses moderate physiological effects.
-
SEVERE
public static final AllergyIntoleranceSeverity SEVERE
SevereCauses severe physiological effects.
-
-
Method Detail
-
getValueAsEnumConstant
public AllergyIntoleranceSeverity.ValueSet getValueAsEnumConstant()
-
of
public static AllergyIntoleranceSeverity of(AllergyIntoleranceSeverity.ValueSet value)
Factory method for creating AllergyIntoleranceSeverity objects from a passed enum value.
-
of
public static AllergyIntoleranceSeverity of(String value)
Factory method for creating AllergyIntoleranceSeverity 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 AllergyIntoleranceSeverity 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 AllergyIntoleranceSeverity 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 AllergyIntoleranceSeverity.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AllergyIntoleranceSeverity.Builder builder()
-
-