Enum EncounterStatus
- java.lang.Object
-
- java.lang.Enum<EncounterStatus>
-
- org.hl7.fhir.r4.model.codesystems.EncounterStatus
-
- All Implemented Interfaces:
Serializable,Comparable<EncounterStatus>
public enum EncounterStatus extends Enum<EncounterStatus>
-
-
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.ENTEREDINERRORThis instance should not have been part of this patient's medical record.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.TRIAGEDThe patient has been assessed for the priority of their treatment based on the severity of their condition.UNKNOWNThe encounter status is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncounterStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static EncounterStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static EncounterStatus[]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 PLANNED
The Encounter has not yet started.
-
ARRIVED
public static final EncounterStatus ARRIVED
The Patient is present for the encounter, however is not currently meeting with a practitioner.
-
TRIAGED
public static final EncounterStatus TRIAGED
The patient has been assessed for the priority of their treatment based on the severity of their condition.
-
INPROGRESS
public static final EncounterStatus INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONLEAVE
public static final EncounterStatus ONLEAVE
The Encounter has begun, but the patient is temporarily on leave.
-
FINISHED
public static final EncounterStatus FINISHED
The Encounter has ended.
-
CANCELLED
public static final EncounterStatus CANCELLED
The Encounter has ended before it has begun.
-
ENTEREDINERROR
public static final EncounterStatus ENTEREDINERROR
This instance should not have been part of this patient's medical record.
-
UNKNOWN
public static final EncounterStatus UNKNOWN
The 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".
-
NULL
public static final EncounterStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static EncounterStatus[] 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 c : EncounterStatus.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 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 EncounterStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-