Class Composition.Section

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.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:
  • Constructor Details

  • Method Details

    • 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

      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

      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

      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

      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

      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

    • setOrderedBy

      Sets the value(s) for orderedBy ()

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

    • getEntry

      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

    • setEntry

      Sets the value(s) for entry ()

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

    • 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

      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

      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

      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

    • setSection

      Sets the value(s) for section ()

      Definition: A nested sub-section within this section

    • addSection

      Adds and returns a new value for section ()

      Definition: A nested sub-section within this section

    • addSection

      Adds a given new value for section ()

      Definition: A nested sub-section within this section

      Parameters:
      theValue - The section to add (must not be null)
    • getSectionFirstRep

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

      Definition: A nested sub-section within this section