public enum ResponseCode extends Enum<ResponseCode>
| Enum Constant and Description |
|---|
FATALERROR
The message was rejected because of a problem with the content.
|
NULL
added to help the parsers
|
OK
The message was accepted and processed without error.
|
TRANSIENTERROR
Some internal unexpected error occurred - wait and try again.
|
| Modifier and Type | Method and Description |
|---|---|
static ResponseCode |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static ResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseCode OK
public static final ResponseCode TRANSIENTERROR
public static final ResponseCode FATALERROR
public static final ResponseCode NULL
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ResponseCode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.