Class Narrative

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType, org.hl7.fhir.instance.model.api.INarrative

public class Narrative extends BaseNarrative implements org.hl7.fhir.instance.model.api.INarrative
A human-readable formatted text, including images.
See Also:
  • Field Details

    • status

      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.
    • div

      protected org.hl7.fhir.utilities.xhtml.XhtmlNode div
      The actual narrative content, a stripped down version of XHTML.
  • Constructor Details

  • Method Details

    • getStatusElement

      Specified by:
      getStatusElement in class BaseNarrative
      Returns:
      status (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.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • hasStatusElement

      public boolean hasStatusElement()
    • hasStatus

      public boolean hasStatus()
    • setStatusElement

      Parameters:
      value - status (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.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • getStatus

      Returns:
      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

      Parameters:
      value - 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.
    • getDiv

      public org.hl7.fhir.utilities.xhtml.XhtmlNode getDiv()
      Specified by:
      getDiv in class BaseNarrative
      Returns:
      div (The actual narrative content, a stripped down version of XHTML.)
    • hasDiv

      public boolean hasDiv()
    • setDiv

      public Narrative setDiv(org.hl7.fhir.utilities.xhtml.XhtmlNode value)
      Specified by:
      setDiv in class BaseNarrative
      Parameters:
      value - div (The actual narrative content, a stripped down version of XHTML.)
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class Element
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class Element
    • copy

      public Narrative copy()
      Overrides:
      copy in class Type
    • typedCopy

      protected Narrative typedCopy()
      Specified by:
      typedCopy in class Type
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class Element
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class Element
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.INarrative
      Overrides:
      isEmpty in class Element