Class AnnotationDt

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.composite.AnnotationDt
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype, ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IDatatype, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.ICompositeType

public class AnnotationDt extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.ICompositeDatatype
HAPI/FHIR AnnotationDt Datatype ()

Definition: A text note which also contains information about who made the statement and when

Requirements:

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
     
    ca.uhn.fhir.model.api.IDatatype
    Gets the value(s) for author[x] ().
    Gets the value(s) for text ().
    ca.uhn.fhir.model.primitive.StringDt
    Gets the value(s) for text ().
    Gets the value(s) for time ().
    ca.uhn.fhir.model.primitive.DateTimeDt
    Gets the value(s) for time ().
    boolean
     
    setAuthor​(ca.uhn.fhir.model.api.IDatatype theValue)
    Sets the value(s) for author[x] ()
    setText​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for text ()
    setText​(String theString)
    Sets the value for text ()
    setTime​(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
    Sets the value(s) for time ()
    setTime​(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
    Sets the value for time ()
    Sets the value for time ()

    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
  • 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
    • getAuthor

      public ca.uhn.fhir.model.api.IDatatype getAuthor()
      Gets the value(s) for author[x] (). creating it if it does not exist. Will not return null.

      Definition: The individual responsible for making the annotation.

    • setAuthor

      public AnnotationDt setAuthor(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for author[x] ()

      Definition: The individual responsible for making the annotation.

    • getTimeElement

      public ca.uhn.fhir.model.primitive.DateTimeDt getTimeElement()
      Gets the value(s) for time (). creating it if it does not exist. Will not return null.

      Definition: Indicates when this particular annotation was made

    • getTime

      public Date getTime()
      Gets the value(s) for time (). creating it if it does not exist. This method may return null.

      Definition: Indicates when this particular annotation was made

    • setTime

      public AnnotationDt setTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
      Sets the value(s) for time ()

      Definition: Indicates when this particular annotation was made

    • setTime

      public AnnotationDt setTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
      Sets the value for time ()

      Definition: Indicates when this particular annotation was made

    • setTimeWithSecondsPrecision

      Sets the value for time ()

      Definition: Indicates when this particular annotation was made

    • getTextElement

      public ca.uhn.fhir.model.primitive.StringDt getTextElement()
      Gets the value(s) for text (). creating it if it does not exist. Will not return null.

      Definition: The text of the annotation

    • getText

      public String getText()
      Gets the value(s) for text (). creating it if it does not exist. This method may return null.

      Definition: The text of the annotation

    • setText

      public AnnotationDt setText(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for text ()

      Definition: The text of the annotation

    • setText

      public AnnotationDt setText(String theString)
      Sets the value for text ()

      Definition: The text of the annotation