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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelatesTo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCode()Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentRelationshipTypeEnum>getCodeElement()Gets the value(s) for code ().ResourceReferenceDtgetTarget()Gets the value(s) for target ().booleanisEmpty()DocumentReference.RelatesTosetCode(DocumentRelationshipTypeEnum theValue)Sets the value(s) for code ()DocumentReference.RelatesTosetCode(ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentRelationshipTypeEnum> theValue)Sets the value(s) for code ()DocumentReference.RelatesTosetTarget(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
-
-
-
-
Constructor Detail
-
RelatesTo
public RelatesTo()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCodeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentRelationshipTypeEnum> 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
public String 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
public DocumentReference.RelatesTo setCode(DocumentRelationshipTypeEnum theValue)
Sets the value(s) for code ()Definition: The type of relationship that this document has with anther document
-
getTarget
public ResourceReferenceDt 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
public DocumentReference.RelatesTo setTarget(ResourceReferenceDt theValue)
Sets the value(s) for target ()Definition: The target document of this relationship
-
-