Package org.hl7.fhir.r5.model
Enum Medication.MedicationStatusCodes
java.lang.Object
java.lang.Enum<Medication.MedicationStatusCodes>
org.hl7.fhir.r5.model.Medication.MedicationStatusCodes
- All Implemented Interfaces:
Serializable
,Comparable<Medication.MedicationStatusCodes>
- Enclosing class:
Medication
-
Enum Constant Summary
Enum ConstantDescriptionThe medication record is current and is appropriate for reference in new instances.The medication record was created erroneously and is not appropriated for reference in new instances.The medication record is not current and is not is appropriate for reference in new instances.added to help the parsers with the generic types -
Method Summary
Modifier and TypeMethodDescriptiontoCode()
Returns the enum constant of this type with the specified name.static Medication.MedicationStatusCodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
The medication record is current and is appropriate for reference in new instances. -
INACTIVE
The medication record is not current and is not is appropriate for reference in new instances. -
ENTEREDINERROR
The medication record was created erroneously and is not appropriated for reference in new instances. -
NULL
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 Medication.MedicationStatusCodes fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-