Class MediaStatus
- 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.MediaStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class MediaStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMediaStatus.Builderstatic classMediaStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static MediaStatusCOMPLETEDCompletedstatic MediaStatusENTERED_IN_ERROREntered in Errorstatic MediaStatusIN_PROGRESSIn Progressstatic MediaStatusNOT_DONENot Donestatic MediaStatusON_HOLDOn Holdstatic MediaStatusPREPARATIONPreparationstatic MediaStatusSTOPPEDStoppedstatic MediaStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating MediaStatus objects from a passed string value.booleanequals(Object obj)MediaStatus.ValueSetgetValueAsEnumConstant()inthashCode()static MediaStatusof(MediaStatus.ValueSet value)Factory method for creating MediaStatus objects from a passed enum value.static MediaStatusof(String value)Factory method for creating MediaStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating MediaStatus objects from a passed string value.MediaStatus.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 MediaStatus 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 MediaStatus IN_PROGRESS
In ProgressThe event is currently occurring.
-
NOT_DONE
public static final MediaStatus 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 MediaStatus ON_HOLD
On HoldThe event has been temporarily stopped but is expected to resume in the future.
-
STOPPED
public static final MediaStatus 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 MediaStatus COMPLETED
CompletedThe event has now concluded.
-
ENTERED_IN_ERROR
public static final MediaStatus 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 MediaStatus 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 MediaStatus.ValueSet getValueAsEnumConstant()
-
of
public static MediaStatus of(MediaStatus.ValueSet value)
Factory method for creating MediaStatus objects from a passed enum value.
-
of
public static MediaStatus of(String value)
Factory method for creating MediaStatus 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 MediaStatus 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 MediaStatus 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 MediaStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static MediaStatus.Builder builder()
-
-