Class LinkType
- 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.LinkType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class LinkType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkType.Builderstatic classLinkType.ValueSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkType.Builderbuilder()static Codecode(String value)Inherited factory method for creating LinkType objects from a passed string value.booleanequals(Object obj)LinkType.ValueSetgetValueAsEnumConstant()inthashCode()static LinkTypeof(LinkType.ValueSet value)Factory method for creating LinkType objects from a passed enum value.static LinkTypeof(String value)Factory method for creating LinkType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating LinkType objects from a passed string value.LinkType.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
-
REPLACED_BY
public static final LinkType REPLACED_BY
Replaced-byThe patient resource containing this link must no longer be used. The link points forward to another patient resource that must be used in lieu of the patient resource that contains this link.
-
REPLACES
public static final LinkType REPLACES
ReplacesThe patient resource containing this link is the current active patient record. The link points back to an inactive patient resource that has been merged into this resource, and should be consulted to retrieve additional referenced information.
-
REFER
public static final LinkType REFER
ReferThe patient resource containing this link is in use and valid but not considered the main source of information about a patient. The link points forward to another patient resource that should be consulted to retrieve additional patient information.
-
SEEALSO
public static final LinkType SEEALSO
See alsoThe patient resource containing this link is in use and valid, but points to another patient resource that is known to contain data about the same person. Data in this resource might overlap or contradict information found in the other patient resource. This link does not indicate any relative importance of the resources concerned, and both should be regarded as equally valid.
-
-
Method Detail
-
getValueAsEnumConstant
public LinkType.ValueSet getValueAsEnumConstant()
-
of
public static LinkType of(LinkType.ValueSet value)
Factory method for creating LinkType objects from a passed enum value.
-
of
public static LinkType of(String value)
Factory method for creating LinkType 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 LinkType 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 LinkType 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 LinkType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static LinkType.Builder builder()
-
-