Package com.ibm.fhir.model.type.code
Enum EncounterStatus.ValueSet
- java.lang.Object
-
- java.lang.Enum<EncounterStatus.ValueSet>
-
- com.ibm.fhir.model.type.code.EncounterStatus.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<EncounterStatus.ValueSet>
- Enclosing class:
- EncounterStatus
public static enum EncounterStatus.ValueSet extends Enum<EncounterStatus.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRIVEDArrivedCANCELLEDCancelledENTERED_IN_ERROREntered in ErrorFINISHEDFinishedIN_PROGRESSIn ProgressONLEAVEOn LeavePLANNEDPlannedTRIAGEDTriagedUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncounterStatus.ValueSetfrom(String value)Factory method for creating EncounterStatus.ValueSet values from a passed string value.Stringvalue()static EncounterStatus.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static EncounterStatus.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLANNED
public static final EncounterStatus.ValueSet PLANNED
PlannedThe Encounter has not yet started.
-
ARRIVED
public static final EncounterStatus.ValueSet ARRIVED
ArrivedThe Patient is present for the encounter, however is not currently meeting with a practitioner.
-
TRIAGED
public static final EncounterStatus.ValueSet TRIAGED
TriagedThe patient has been assessed for the priority of their treatment based on the severity of their condition.
-
IN_PROGRESS
public static final EncounterStatus.ValueSet IN_PROGRESS
In ProgressThe Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONLEAVE
public static final EncounterStatus.ValueSet ONLEAVE
On LeaveThe Encounter has begun, but the patient is temporarily on leave.
-
FINISHED
public static final EncounterStatus.ValueSet FINISHED
FinishedThe Encounter has ended.
-
CANCELLED
public static final EncounterStatus.ValueSet CANCELLED
CancelledThe Encounter has ended before it has begun.
-
ENTERED_IN_ERROR
public static final EncounterStatus.ValueSet ENTERED_IN_ERROR
Entered in ErrorThis instance should not have been part of this patient's medical record.
-
UNKNOWN
public static final EncounterStatus.ValueSet UNKNOWN
UnknownThe encounter status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown".
-
-
Method Detail
-
values
public static EncounterStatus.ValueSet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EncounterStatus.ValueSet c : EncounterStatus.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncounterStatus.ValueSet valueOf(String name)
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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static EncounterStatus.ValueSet from(String value)
Factory method for creating EncounterStatus.ValueSet values 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
-
-