Package com.ibm.fhir.model.type.code
Class MedicationStatementStatus
- 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.MedicationStatementStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class MedicationStatementStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicationStatementStatus.Builderstatic classMedicationStatementStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static MedicationStatementStatusACTIVEActivestatic MedicationStatementStatusCOMPLETEDCompletedstatic MedicationStatementStatusENTERED_IN_ERROREntered in Errorstatic MedicationStatementStatusINTENDEDIntendedstatic MedicationStatementStatusNOT_TAKENNot Takenstatic MedicationStatementStatusON_HOLDOn Holdstatic MedicationStatementStatusSTOPPEDStoppedstatic MedicationStatementStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationStatementStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating MedicationStatementStatus objects from a passed string value.booleanequals(Object obj)MedicationStatementStatus.ValueSetgetValueAsEnumConstant()inthashCode()static MedicationStatementStatusof(MedicationStatementStatus.ValueSet value)Factory method for creating MedicationStatementStatus objects from a passed enum value.static MedicationStatementStatusof(String value)Factory method for creating MedicationStatementStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating MedicationStatementStatus objects from a passed string value.MedicationStatementStatus.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 MedicationStatementStatus ACTIVE
ActiveThe medication is still being taken.
-
COMPLETED
public static final MedicationStatementStatus COMPLETED
CompletedThe medication is no longer being taken.
-
ENTERED_IN_ERROR
public static final MedicationStatementStatus ENTERED_IN_ERROR
Entered in ErrorSome of the actions that are implied by the medication statement may have occurred. For example, the patient may have taken some of the medication. Clinical decision support systems should take this status into account.
-
INTENDED
public static final MedicationStatementStatus INTENDED
IntendedThe medication may be taken at some time in the future.
-
STOPPED
public static final MedicationStatementStatus STOPPED
StoppedActions implied by the statement have been permanently halted, before all of them occurred. This should not be used if the statement was entered in error.
-
ON_HOLD
public static final MedicationStatementStatus ON_HOLD
On HoldActions implied by the statement have been temporarily halted, but are expected to continue later. May also be called 'suspended'.
-
UNKNOWN
public static final MedicationStatementStatus UNKNOWN
UnknownThe state of the medication use is not currently known.
-
NOT_TAKEN
public static final MedicationStatementStatus NOT_TAKEN
Not TakenThe medication was not consumed by the patient
-
-
Method Detail
-
getValueAsEnumConstant
public MedicationStatementStatus.ValueSet getValueAsEnumConstant()
-
of
public static MedicationStatementStatus of(MedicationStatementStatus.ValueSet value)
Factory method for creating MedicationStatementStatus objects from a passed enum value.
-
of
public static MedicationStatementStatus of(String value)
Factory method for creating MedicationStatementStatus 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 MedicationStatementStatus 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 MedicationStatementStatus 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 MedicationStatementStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static MedicationStatementStatus.Builder builder()
-
-