Package ca.uhn.fhir.model.dstu2.resource
Class DocumentReference.RelatesTo
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.DocumentReference.RelatesTo
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
DocumentReference
public static class DocumentReference.RelatesTo
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: DocumentReference.relatesTo ()
Definition: Relationships that this document has with other document references that already exist
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt
<DocumentRelationshipTypeEnum> Gets the value(s) for code ().Gets the value(s) for target ().boolean
isEmpty()
setCode
(DocumentRelationshipTypeEnum theValue) Sets the value(s) for code ()setCode
(ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentRelationshipTypeEnum> theValue) Sets the value(s) for code ()setTarget
(ResourceReferenceDt theValue) Sets the value(s) for target ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
RelatesTo
public RelatesTo()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCodeElement
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: The type of relationship that this document has with anther document
-
getCode
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull
.Definition: The type of relationship that this document has with anther document
-
setCode
public DocumentReference.RelatesTo setCode(ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentRelationshipTypeEnum> theValue) Sets the value(s) for code ()Definition: The type of relationship that this document has with anther document
-
setCode
Sets the value(s) for code ()Definition: The type of relationship that this document has with anther document
-
getTarget
Gets the value(s) for target (). creating it if it does not exist. Will not returnnull
.Definition: The target document of this relationship
-
setTarget
Sets the value(s) for target ()Definition: The target document of this relationship
-