Class Composition.Section

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
    Enclosing class:
    Composition

    public static class Composition.Section
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: Composition.section ()

    Definition: The root of the sections that make up the composition

    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

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

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

        Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents

      • getTitle

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

        Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents

      • setTitle

        public Composition.Section setTitle​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for title ()

        Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents

      • setTitle

        public Composition.Section setTitle​(String theString)
        Sets the value for title ()

        Definition: The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents

      • getCode

        public CodeableConceptDt getCode()
        Gets the value(s) for code (). creating it if it does not exist. Will not return null.

        Definition: A code identifying the kind of content contained within the section. This must be consistent with the section title

      • setCode

        public Composition.Section setCode​(CodeableConceptDt theValue)
        Sets the value(s) for code ()

        Definition: A code identifying the kind of content contained within the section. This must be consistent with the section title

      • getText

        public NarrativeDt getText()
        Gets the value(s) for text (). creating it if it does not exist. Will not return null.

        Definition: A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.

      • setText

        public Composition.Section setText​(NarrativeDt theValue)
        Sets the value(s) for text ()

        Definition: A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.

      • getModeElement

        public ca.uhn.fhir.model.primitive.CodeDt getModeElement()
        Gets the value(s) for mode (). creating it if it does not exist. Will not return null.

        Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted

      • getMode

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

        Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted

      • setMode

        public Composition.Section setMode​(ca.uhn.fhir.model.primitive.CodeDt theValue)
        Sets the value(s) for mode ()

        Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted

      • setMode

        public Composition.Section setMode​(String theCode)
        Sets the value for mode ()

        Definition: How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted

      • getOrderedBy

        public CodeableConceptDt getOrderedBy()
        Gets the value(s) for orderedBy (). creating it if it does not exist. Will not return null.

        Definition: Specifies the order applied to the items in the section entries

      • getEntry

        public List<ResourceReferenceDtgetEntry()
        Gets the value(s) for entry (). creating it if it does not exist. Will not return null.

        Definition: A reference to the actual resource from which the narrative in the section is derived

      • addEntry

        public ResourceReferenceDt addEntry()
        Adds and returns a new value for entry ()

        Definition: A reference to the actual resource from which the narrative in the section is derived

      • getEmptyReason

        public CodeableConceptDt getEmptyReason()
        Gets the value(s) for emptyReason (). creating it if it does not exist. Will not return null.

        Definition: If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason

      • setEmptyReason

        public Composition.Section setEmptyReason​(CodeableConceptDt theValue)
        Sets the value(s) for emptyReason ()

        Definition: If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason

      • getSection

        public List<Composition.SectiongetSection()
        Gets the value(s) for section (). creating it if it does not exist. Will not return null.

        Definition: A nested sub-section within this section

      • addSection

        public Composition.Section addSection()
        Adds and returns a new value for section ()

        Definition: A nested sub-section within this section

      • getSectionFirstRep

        public Composition.Section getSectionFirstRep()
        Gets the first repetition for section (), creating it if it does not already exist.

        Definition: A nested sub-section within this section