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