Package com.ibm.fhir.model.type.code
Class MedicationKnowledgeStatus
- 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.MedicationKnowledgeStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class MedicationKnowledgeStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicationKnowledgeStatus.Builderstatic classMedicationKnowledgeStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static MedicationKnowledgeStatusACTIVEActivestatic MedicationKnowledgeStatusENTERED_IN_ERROREntered in Errorstatic MedicationKnowledgeStatusINACTIVEInactive
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationKnowledgeStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating MedicationKnowledgeStatus objects from a passed string value.booleanequals(Object obj)MedicationKnowledgeStatus.ValueSetgetValueAsEnumConstant()inthashCode()static MedicationKnowledgeStatusof(MedicationKnowledgeStatus.ValueSet value)Factory method for creating MedicationKnowledgeStatus objects from a passed enum value.static MedicationKnowledgeStatusof(String value)Factory method for creating MedicationKnowledgeStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating MedicationKnowledgeStatus objects from a passed string value.MedicationKnowledgeStatus.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
-
ACTIVE
public static final MedicationKnowledgeStatus ACTIVE
ActiveThe medication is available for use.
-
INACTIVE
public static final MedicationKnowledgeStatus INACTIVE
InactiveThe medication is not available for use.
-
ENTERED_IN_ERROR
public static final MedicationKnowledgeStatus ENTERED_IN_ERROR
Entered in ErrorThe medication was entered in error.
-
-
Method Detail
-
getValueAsEnumConstant
public MedicationKnowledgeStatus.ValueSet getValueAsEnumConstant()
-
of
public static MedicationKnowledgeStatus of(MedicationKnowledgeStatus.ValueSet value)
Factory method for creating MedicationKnowledgeStatus objects from a passed enum value.
-
of
public static MedicationKnowledgeStatus of(String value)
Factory method for creating MedicationKnowledgeStatus 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 MedicationKnowledgeStatus 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 MedicationKnowledgeStatus 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 MedicationKnowledgeStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static MedicationKnowledgeStatus.Builder builder()
-
-