Package org.hl7.fhir.dstu2.model
Enum Encounter.EncounterState
- java.lang.Object
-
- java.lang.Enum<Encounter.EncounterState>
-
- org.hl7.fhir.dstu2.model.Encounter.EncounterState
-
- All Implemented Interfaces:
Serializable,Comparable<Encounter.EncounterState>
- Enclosing class:
- Encounter
public static enum Encounter.EncounterState extends Enum<Encounter.EncounterState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRIVEDThe Patient is present for the encounter, however is not currently meeting with a practitioner.CANCELLEDThe Encounter has ended before it has begun.FINISHEDThe Encounter has ended.INPROGRESSThe Encounter has begun and the patient is present / the practitioner and the patient are meeting.NULLadded to help the parsersONLEAVEThe Encounter has begun, but the patient is temporarily on leave.PLANNEDThe Encounter has not yet started.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Encounter.EncounterStatefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Encounter.EncounterStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Encounter.EncounterState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLANNED
public static final Encounter.EncounterState PLANNED
The Encounter has not yet started.
-
ARRIVED
public static final Encounter.EncounterState ARRIVED
The Patient is present for the encounter, however is not currently meeting with a practitioner.
-
INPROGRESS
public static final Encounter.EncounterState INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONLEAVE
public static final Encounter.EncounterState ONLEAVE
The Encounter has begun, but the patient is temporarily on leave.
-
FINISHED
public static final Encounter.EncounterState FINISHED
The Encounter has ended.
-
CANCELLED
public static final Encounter.EncounterState CANCELLED
The Encounter has ended before it has begun.
-
NULL
public static final Encounter.EncounterState NULL
added to help the parsers
-
-
Method Detail
-
values
public static Encounter.EncounterState[] 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 (Encounter.EncounterState c : Encounter.EncounterState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Encounter.EncounterState 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
-
fromCode
public static Encounter.EncounterState fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-