Class ReferenceHandlingPolicy
- 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.ReferenceHandlingPolicy
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ReferenceHandlingPolicy extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReferenceHandlingPolicy.Builderstatic classReferenceHandlingPolicy.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ReferenceHandlingPolicyENFORCEDReference Integrity Enforcedstatic ReferenceHandlingPolicyLITERALLiteral Referencesstatic ReferenceHandlingPolicyLOCALLocal References Onlystatic ReferenceHandlingPolicyLOGICALLogical Referencesstatic ReferenceHandlingPolicyRESOLVESResolves References
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceHandlingPolicy.Builderbuilder()static Codecode(String value)Inherited factory method for creating ReferenceHandlingPolicy objects from a passed string value.booleanequals(Object obj)ReferenceHandlingPolicy.ValueSetgetValueAsEnumConstant()inthashCode()static ReferenceHandlingPolicyof(ReferenceHandlingPolicy.ValueSet value)Factory method for creating ReferenceHandlingPolicy objects from a passed enum value.static ReferenceHandlingPolicyof(String value)Factory method for creating ReferenceHandlingPolicy objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ReferenceHandlingPolicy objects from a passed string value.ReferenceHandlingPolicy.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
-
LITERAL
public static final ReferenceHandlingPolicy LITERAL
Literal ReferencesThe 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
Logical ReferencesThe server allows logical references (i.e. using Reference.identifier).
-
RESOLVES
public static final ReferenceHandlingPolicy RESOLVES
Resolves ReferencesThe 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
Reference Integrity EnforcedThe 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
Local References OnlyThe server does not support references that point to other servers.
-
-
Method Detail
-
getValueAsEnumConstant
public ReferenceHandlingPolicy.ValueSet getValueAsEnumConstant()
-
of
public static ReferenceHandlingPolicy of(ReferenceHandlingPolicy.ValueSet value)
Factory method for creating ReferenceHandlingPolicy objects from a passed enum value.
-
of
public static ReferenceHandlingPolicy of(String value)
Factory method for creating ReferenceHandlingPolicy 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 ReferenceHandlingPolicy 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 ReferenceHandlingPolicy 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 ReferenceHandlingPolicy.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ReferenceHandlingPolicy.Builder builder()
-
-