Enum EncounterStatus
- java.lang.Object
-
- java.lang.Enum<EncounterStatus>
-
- org.hl7.fhir.r5.model.codesystems.EncounterStatus
-
- All Implemented Interfaces:
Serializable,Comparable<EncounterStatus>
public enum EncounterStatus extends Enum<EncounterStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDThe Encounter has ended before it has begun.COMPLETEDThe Encounter has ended.ENTEREDINERRORThis instance should not have been part of this patient's medical record.INPROGRESSThe Encounter has begun and the patient is present / the practitioner and the patient are meeting.NULLadded to help the parsersONHOLDThe Encounter has begun, but is currently on hold, e.g.PLANNEDThe Encounter has not yet started.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.
-
INPROGRESS
public static final EncounterStatus INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONHOLD
public static final EncounterStatus ONHOLD
The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave.
-
COMPLETED
public static final EncounterStatus COMPLETED
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()
-
-