Class NarrativeDt

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.base.composite.BaseNarrativeDt
ca.uhn.fhir.model.dstu3.composite.NarrativeDt
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, org.hl7.fhir.instance.model.api.INarrative

public class NarrativeDt extends ca.uhn.fhir.model.base.composite.BaseNarrativeDt
HAPI/FHIR Narrative Datatype (A human-readable formatted text, including images)

Definition: A human-readable formatted text, including images

Requirements:

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
     
    ca.uhn.fhir.model.primitive.XhtmlDt
    Gets the value(s) for div (Limited xhtml content).
    ca.uhn.fhir.model.primitive.XhtmlDt
    Gets the value(s) for div (Limited xhtml content).
    ca.uhn.fhir.model.primitive.BoundCodeDt
     
    boolean
     
    void
    setDiv(ca.uhn.fhir.model.primitive.XhtmlDt theValue)
    Sets the value(s) for div (Limited xhtml content)
    void
    setDiv(String theTextDiv)
    Sets the value using a textual DIV (or simple text block which will be converted to XHTML)

    Methods inherited from class ca.uhn.fhir.model.base.composite.BaseNarrativeDt

    getDivAsString, getStatusAsString, setDivAsString, setStatusAsString

    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

    • NarrativeDt

      public NarrativeDt()
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
    • getDivElement

      public ca.uhn.fhir.model.primitive.XhtmlDt getDivElement()
      Gets the value(s) for div (Limited xhtml content). creating it if it does not exist. Will not return null.

      Definition: The actual narrative content, a stripped down version of XHTML

    • getDiv

      public ca.uhn.fhir.model.primitive.XhtmlDt getDiv()
      Gets the value(s) for div (Limited xhtml content). creating it if it does not exist. Will not return null.

      Definition: The actual narrative content, a stripped down version of XHTML

      Specified by:
      getDiv in class ca.uhn.fhir.model.base.composite.BaseNarrativeDt
    • setDiv

      public void setDiv(ca.uhn.fhir.model.primitive.XhtmlDt theValue)
      Sets the value(s) for div (Limited xhtml content)

      Definition: The actual narrative content, a stripped down version of XHTML

    • setDiv

      public void setDiv(String theTextDiv)
      Sets the value using a textual DIV (or simple text block which will be converted to XHTML)
    • getStatus

      public ca.uhn.fhir.model.primitive.BoundCodeDt getStatus()
      Specified by:
      getStatus in class ca.uhn.fhir.model.base.composite.BaseNarrativeDt