Enum ReferenceHandlingPolicy
java.lang.Object
java.lang.Enum<ReferenceHandlingPolicy>
org.hl7.fhir.dstu3.model.codesystems.ReferenceHandlingPolicy
- All Implemented Interfaces:
Serializable
,Comparable<ReferenceHandlingPolicy>
-
Enum Constant Summary
Enum ConstantDescriptionThe server enforces that references have integrity - e.g.The server supports and populates Literal references where they are known (this code does not guarantee that all references are literal; see 'enforced')The server does not support references that point to other serversThe server allows logical referencesadded to help the parsersThe server will attempt to resolve logical references to literal references (if resolution fails, the server may still accept resources; see logical) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceHandlingPolicy
toCode()
static ReferenceHandlingPolicy
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 Details
-
LITERAL
The server supports and populates Literal references where they are known (this code does not guarantee that all references are literal; see 'enforced') -
LOGICAL
The server allows logical references -
RESOLVES
The server will attempt to resolve logical references to literal references (if resolution fails, the server may still accept resources; see logical) -
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
The server does not support references that point to other servers -
NULL
added to help the parsers
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-