Class CommunicationStatus
- 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.CommunicationStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class CommunicationStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommunicationStatus.Builderstatic classCommunicationStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static CommunicationStatusCOMPLETEDCompletedstatic CommunicationStatusENTERED_IN_ERROREntered in Errorstatic CommunicationStatusIN_PROGRESSIn Progressstatic CommunicationStatusNOT_DONENot Donestatic CommunicationStatusON_HOLDOn Holdstatic CommunicationStatusPREPARATIONPreparationstatic CommunicationStatusSTOPPEDStoppedstatic CommunicationStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommunicationStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating CommunicationStatus objects from a passed string value.booleanequals(Object obj)CommunicationStatus.ValueSetgetValueAsEnumConstant()inthashCode()static CommunicationStatusof(CommunicationStatus.ValueSet value)Factory method for creating CommunicationStatus objects from a passed enum value.static CommunicationStatusof(String value)Factory method for creating CommunicationStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating CommunicationStatus objects from a passed string value.CommunicationStatus.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
-
PREPARATION
public static final CommunicationStatus PREPARATION
PreparationThe core event has not started yet, but some staging activities have begun (e.g. surgical suite preparation). Preparation stages may be tracked for billing purposes.
-
IN_PROGRESS
public static final CommunicationStatus IN_PROGRESS
In ProgressThe event is currently occurring.
-
NOT_DONE
public static final CommunicationStatus NOT_DONE
Not DoneThe event was terminated prior to any activity beyond preparation. I.e. The 'main' activity has not yet begun. The boundary between preparatory and the 'main' activity is context-specific.
-
ON_HOLD
public static final CommunicationStatus ON_HOLD
On HoldThe event has been temporarily stopped but is expected to resume in the future.
-
STOPPED
public static final CommunicationStatus STOPPED
StoppedThe event was terminated prior to the full completion of the intended activity but after at least some of the 'main' activity (beyond preparation) has occurred.
-
COMPLETED
public static final CommunicationStatus COMPLETED
CompletedThe event has now concluded.
-
ENTERED_IN_ERROR
public static final CommunicationStatus ENTERED_IN_ERROR
Entered in ErrorThis electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "stopped" rather than "entered-in-error".).
-
UNKNOWN
public static final CommunicationStatus UNKNOWN
UnknownThe authoring/source system does not know which of the status values currently applies for this event. Note: This concept is not to be used for "other" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.
-
-
Method Detail
-
getValueAsEnumConstant
public CommunicationStatus.ValueSet getValueAsEnumConstant()
-
of
public static CommunicationStatus of(CommunicationStatus.ValueSet value)
Factory method for creating CommunicationStatus objects from a passed enum value.
-
of
public static CommunicationStatus of(String value)
Factory method for creating CommunicationStatus 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 CommunicationStatus 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 CommunicationStatus 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 CommunicationStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static CommunicationStatus.Builder builder()
-
-