Package org.hl7.fhir.r5.model
Enum Encounter.EncounterStatus
- All Implemented Interfaces:
Serializable,Comparable<Encounter.EncounterStatus>
- Enclosing class:
- Encounter
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Encounter has ended before it has begun.The Encounter has ended.This instance should not have been part of this patient's medical record.The Encounter has begun and the patient is present / the practitioner and the patient are meeting.added to help the parsers with the generic typesThe Encounter has begun, but is currently on hold, e.g.The Encounter has not yet started.The encounter status is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic Encounter.EncounterStatustoCode()static Encounter.EncounterStatusReturns 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 Details
-
PLANNED
The Encounter has not yet started. -
INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting. -
ONHOLD
The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave. -
COMPLETED
The Encounter has ended. -
CANCELLED
The Encounter has ended before it has begun. -
ENTEREDINERROR
This instance should not have been part of this patient's medical record. -
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
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-