Package com.ibm.fhir.model.type.code
Class EncounterStatus
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.EncounterStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class EncounterStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncounterStatus.Builderstatic classEncounterStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static EncounterStatusARRIVEDArrivedstatic EncounterStatusCANCELLEDCancelledstatic EncounterStatusENTERED_IN_ERROREntered in Errorstatic EncounterStatusFINISHEDFinishedstatic EncounterStatusIN_PROGRESSIn Progressstatic EncounterStatusONLEAVEOn Leavestatic EncounterStatusPLANNEDPlannedstatic EncounterStatusTRIAGEDTriagedstatic EncounterStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncounterStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating EncounterStatus objects from a passed string value.booleanequals(Object obj)EncounterStatus.ValueSetgetValueAsEnumConstant()inthashCode()static EncounterStatusof(EncounterStatus.ValueSet value)Factory method for creating EncounterStatus objects from a passed enum value.static EncounterStatusof(String value)Factory method for creating EncounterStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating EncounterStatus objects from a passed string value.EncounterStatus.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
PLANNED
public static final EncounterStatus PLANNED
PlannedThe Encounter has not yet started.
-
ARRIVED
public static final EncounterStatus ARRIVED
ArrivedThe Patient is present for the encounter, however is not currently meeting with a practitioner.
-
TRIAGED
public static final EncounterStatus TRIAGED
TriagedThe patient has been assessed for the priority of their treatment based on the severity of their condition.
-
IN_PROGRESS
public static final EncounterStatus IN_PROGRESS
In ProgressThe Encounter has begun and the patient is present / the practitioner and the patient are meeting.
-
ONLEAVE
public static final EncounterStatus ONLEAVE
On LeaveThe Encounter has begun, but the patient is temporarily on leave.
-
FINISHED
public static final EncounterStatus FINISHED
FinishedThe Encounter has ended.
-
CANCELLED
public static final EncounterStatus CANCELLED
CancelledThe Encounter has ended before it has begun.
-
ENTERED_IN_ERROR
public static final EncounterStatus ENTERED_IN_ERROR
Entered in ErrorThis instance should not have been part of this patient's medical record.
-
UNKNOWN
public static final EncounterStatus UNKNOWN
UnknownThe 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".
-
-
Method Detail
-
getValueAsEnumConstant
public EncounterStatus.ValueSet getValueAsEnumConstant()
-
of
public static EncounterStatus of(EncounterStatus.ValueSet value)
Factory method for creating EncounterStatus objects from a passed enum value.
-
of
public static EncounterStatus of(String value)
Factory method for creating EncounterStatus objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating EncounterStatus objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating EncounterStatus objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public EncounterStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static EncounterStatus.Builder builder()
-
-