Enum ReferenceHandlingPolicy
- java.lang.Object
-
- java.lang.Enum<ReferenceHandlingPolicy>
-
- org.hl7.fhir.r4.model.codesystems.ReferenceHandlingPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<ReferenceHandlingPolicy>
public enum ReferenceHandlingPolicy extends Enum<ReferenceHandlingPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENFORCED
The server enforces that references have integrity - e.g.LITERAL
The server supports and populates Literal references (i.e.LOCAL
The server does not support references that point to other servers.LOGICAL
The server allows logical references (i.e.NULL
added to help the parsersRESOLVES
The server will attempt to resolve logical references to literal references - i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceHandlingPolicy
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static ReferenceHandlingPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReferenceHandlingPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LITERAL
public static final ReferenceHandlingPolicy LITERAL
The server supports and populates Literal references (i.e. using Reference.reference) where they are known (this code does not guarantee that all references are literal; see 'enforced').
-
LOGICAL
public static final ReferenceHandlingPolicy LOGICAL
The server allows logical references (i.e. using Reference.identifier).
-
RESOLVES
public static final ReferenceHandlingPolicy RESOLVES
The server will attempt to resolve logical references to literal references - i.e. converting Reference.identifier to Reference.reference (if resolution fails, the server may still accept resources; see logical).
-
ENFORCED
public static final ReferenceHandlingPolicy ENFORCED
The server enforces that references have integrity - e.g. it ensures that references can always be resolved. This is typically the case for clinical record systems, but often not the case for middleware/proxy systems.
-
LOCAL
public static final ReferenceHandlingPolicy LOCAL
The server does not support references that point to other servers.
-
NULL
public static final ReferenceHandlingPolicy NULL
added to help the parsers
-
-
Method Detail
-
values
public static ReferenceHandlingPolicy[] 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 (ReferenceHandlingPolicy c : ReferenceHandlingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferenceHandlingPolicy 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 ReferenceHandlingPolicy fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-