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:
    Serialized Form
    • Field Detail

      • status

        protected Enumeration<Narrative.NarrativeStatus> 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.
    • Method Detail

      • getStatusElement

        public Enumeration<Narrative.NarrativeStatusgetStatusElement()
        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
      • setStatusElement

        public Narrative setStatusElement​(Enumeration<Narrative.NarrativeStatus> value)
        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

        public Narrative.NarrativeStatus 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

        public Narrative setStatus​(Narrative.NarrativeStatus value)
        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.)
      • 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
      • 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