Package org.hl7.fhir.r5.model
Enum Encounter.EncounterStatus
- java.lang.Object
-
- java.lang.Enum<Encounter.EncounterStatus>
-
- org.hl7.fhir.r5.model.Encounter.EncounterStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Encounter.EncounterStatus>
- Enclosing class:
- Encounter
public static enum Encounter.EncounterStatus extends Enum<Encounter.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 parsers with the generic typesONHOLDThe 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 Encounter.EncounterStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Encounter.EncounterStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Encounter.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 Encounter.EncounterStatus PLANNED
The Encounter has not yet started.
-
INPROGRESS
public static final Encounter.EncounterStatus INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONHOLD
public static final Encounter.EncounterStatus ONHOLD
The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave.
-
COMPLETED
public static final Encounter.EncounterStatus COMPLETED
The Encounter has ended.
-
CANCELLED
public static final Encounter.EncounterStatus CANCELLED
The Encounter has ended before it has begun.
-
ENTEREDINERROR
public static final Encounter.EncounterStatus ENTEREDINERROR
This instance should not have been part of this patient's medical record.
-
UNKNOWN
public static final Encounter.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 Encounter.EncounterStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Encounter.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 (Encounter.EncounterStatus c : Encounter.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 Encounter.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 Encounter.EncounterStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-