Package com.ibm.fhir.model.type.code
Class EncounterLocationStatus
- 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.EncounterLocationStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class EncounterLocationStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncounterLocationStatus.Builderstatic classEncounterLocationStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static EncounterLocationStatusACTIVEActivestatic EncounterLocationStatusCOMPLETEDCompletedstatic EncounterLocationStatusPLANNEDPlannedstatic EncounterLocationStatusRESERVEDReserved
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncounterLocationStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating EncounterLocationStatus objects from a passed string value.booleanequals(Object obj)EncounterLocationStatus.ValueSetgetValueAsEnumConstant()inthashCode()static EncounterLocationStatusof(EncounterLocationStatus.ValueSet value)Factory method for creating EncounterLocationStatus objects from a passed enum value.static EncounterLocationStatusof(String value)Factory method for creating EncounterLocationStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating EncounterLocationStatus objects from a passed string value.EncounterLocationStatus.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 EncounterLocationStatus PLANNED
PlannedThe patient is planned to be moved to this location at some point in the future.
-
ACTIVE
public static final EncounterLocationStatus ACTIVE
ActiveThe patient is currently at this location, or was between the period specified. A system may update these records when the patient leaves the location to either reserved, or completed.
-
RESERVED
public static final EncounterLocationStatus RESERVED
ReservedThis location is held empty for this patient.
-
COMPLETED
public static final EncounterLocationStatus COMPLETED
CompletedThe patient was at this location during the period specified. Not to be used when the patient is currently at the location.
-
-
Method Detail
-
getValueAsEnumConstant
public EncounterLocationStatus.ValueSet getValueAsEnumConstant()
-
of
public static EncounterLocationStatus of(EncounterLocationStatus.ValueSet value)
Factory method for creating EncounterLocationStatus objects from a passed enum value.
-
of
public static EncounterLocationStatus of(String value)
Factory method for creating EncounterLocationStatus 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 EncounterLocationStatus 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 EncounterLocationStatus 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 EncounterLocationStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static EncounterLocationStatus.Builder builder()
-
-