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.dstu2.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
     
    NarrativeDt(ca.uhn.fhir.model.primitive.XhtmlDt theDiv, NarrativeStatusEnum theStatus)
     
  • 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<NarrativeStatusEnum>
    Gets the value(s) for status (generated | extensions | additional).
    ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum>
    Gets the value(s) for status (generated | extensions | additional).
    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)
    void
    Sets the value(s) for status (generated | extensions | additional)
    void
    setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> theValue)
    Sets the value(s) for status (generated | extensions | additional)

    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

  • Method Details

    • isEmpty

      public boolean isEmpty()
    • getAllPopulatedChildElementsOfType

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

      public ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> getStatusElement()
      Gets the value(s) for status (generated | extensions | additional). creating it if it does not exist. Will not return null.

      Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data

    • getStatus

      public ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> getStatus()
      Gets the value(s) for status (generated | extensions | additional). creating it if it does not exist. Will not return null.

      Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data

      Specified by:
      getStatus in class ca.uhn.fhir.model.base.composite.BaseNarrativeDt
    • setStatus

      public void setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> theValue)
      Sets the value(s) for status (generated | extensions | additional)

      Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data

    • setStatus

      public void setStatus(NarrativeStatusEnum theValue)
      Sets the value(s) for status (generated | extensions | additional)

      Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data

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