Package org.hl7.fhir.r4.model
Enum Endpoint.EndpointStatus
- java.lang.Object
-
- java.lang.Enum<Endpoint.EndpointStatus>
-
- org.hl7.fhir.r4.model.Endpoint.EndpointStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Endpoint.EndpointStatus>
- Enclosing class:
- Endpoint
public static enum Endpoint.EndpointStatus extends Enum<Endpoint.EndpointStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThis endpoint is expected to be active and can be used.ENTEREDINERRORThis instance should not have been part of this patient's medical record.ERRORThis endpoint has exceeded connectivity thresholds and is considered in an error state and should no longer be attempted to connect to until corrective action is taken.NULLadded to help the parsers with the generic typesOFFThis endpoint is no longer to be used.SUSPENDEDThis endpoint is temporarily unavailable.TESTThis endpoint is not intended for production usage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Endpoint.EndpointStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Endpoint.EndpointStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Endpoint.EndpointStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final Endpoint.EndpointStatus ACTIVE
This endpoint is expected to be active and can be used.
-
SUSPENDED
public static final Endpoint.EndpointStatus SUSPENDED
This endpoint is temporarily unavailable.
-
ERROR
public static final Endpoint.EndpointStatus ERROR
This endpoint has exceeded connectivity thresholds and is considered in an error state and should no longer be attempted to connect to until corrective action is taken.
-
OFF
public static final Endpoint.EndpointStatus OFF
This endpoint is no longer to be used.
-
ENTEREDINERROR
public static final Endpoint.EndpointStatus ENTEREDINERROR
This instance should not have been part of this patient's medical record.
-
TEST
public static final Endpoint.EndpointStatus TEST
This endpoint is not intended for production usage.
-
NULL
public static final Endpoint.EndpointStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static Endpoint.EndpointStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Endpoint.EndpointStatus c : Endpoint.EndpointStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Endpoint.EndpointStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static Endpoint.EndpointStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-