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 Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.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 return null.

      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 return null.

      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 return null.

      Definition: The target document of this relationship

    • setTarget

      Sets the value(s) for target ()

      Definition: The target document of this relationship