Enum EncounterState
- java.lang.Object
-
- java.lang.Enum<EncounterState>
-
- org.hl7.fhir.dstu2016may.model.codesystems.EncounterState
-
- All Implemented Interfaces:
Serializable,Comparable<EncounterState>
public enum EncounterState extends Enum<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 EncounterStatefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static EncounterStatevalueOf(String name)Returns the enum constant of this type with the specified name.static 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 EncounterState PLANNED
The Encounter has not yet started.
-
ARRIVED
public static final EncounterState ARRIVED
The Patient is present for the encounter, however is not currently meeting with a practitioner.
-
INPROGRESS
public static final EncounterState INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONLEAVE
public static final EncounterState ONLEAVE
The Encounter has begun, but the patient is temporarily on leave.
-
FINISHED
public static final EncounterState FINISHED
The Encounter has ended.
-
CANCELLED
public static final EncounterState CANCELLED
The Encounter has ended before it has begun.
-
NULL
public static final EncounterState NULL
added to help the parsers
-
-
Method Detail
-
values
public static 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 (EncounterState c : 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 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 EncounterState fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-