
Package org.hl7.fhir.dstu3.model
Enum DocumentReference.DocumentRelationshipType
- java.lang.Object
-
- java.lang.Enum<DocumentReference.DocumentRelationshipType>
-
- org.hl7.fhir.dstu3.model.DocumentReference.DocumentRelationshipType
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentReference.DocumentRelationshipType>
- Enclosing class:
- DocumentReference
public static enum DocumentReference.DocumentRelationshipType extends Enum<DocumentReference.DocumentRelationshipType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPENDS
This document adds additional information to the target document.NULL
added to help the parsers with the generic typesREPLACES
This document logically replaces or supersedes the target document.SIGNS
This document is a signature of the target document.TRANSFORMS
This document was generated by transforming the target document (e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentReference.DocumentRelationshipType
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static DocumentReference.DocumentRelationshipType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentReference.DocumentRelationshipType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACES
public static final DocumentReference.DocumentRelationshipType REPLACES
This document logically replaces or supersedes the target document.
-
TRANSFORMS
public static final DocumentReference.DocumentRelationshipType TRANSFORMS
This document was generated by transforming the target document (e.g. format or language conversion).
-
SIGNS
public static final DocumentReference.DocumentRelationshipType SIGNS
This document is a signature of the target document.
-
APPENDS
public static final DocumentReference.DocumentRelationshipType APPENDS
This document adds additional information to the target document.
-
NULL
public static final DocumentReference.DocumentRelationshipType NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static DocumentReference.DocumentRelationshipType[] 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 (DocumentReference.DocumentRelationshipType c : DocumentReference.DocumentRelationshipType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentReference.DocumentRelationshipType 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 DocumentReference.DocumentRelationshipType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-